content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
namespace Notepads { using System; using System.Collections.Generic; using System.Threading.Tasks; using Windows.Storage; using Notepads.Controls.TextEditor; using Notepads.Services; using Notepads.Utilities; public sealed partial class NotepadsMainPage { private async Task...
35.117647
142
0.518425
[ "MIT" ]
Bolshevik35/Notepads
src/Notepads/NotepadsMainPage.IO.cs
4,778
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.ComponentModel.Design; using Xunit; namespace System.Windows.Forms....
30.12
74
0.649402
[ "MIT" ]
15835229565/winforms-1
src/System.Windows.Forms.Design.Editors/tests/UnitTests/SerializableAttributeTest.cs
755
C#
 using log4net.Core; using System; namespace Core.CrossCuttingConcerns.Logging.Log4Net { [Serializable] public class SerializableLogEvent { private LoggingEvent _loggingEvent; public SerializableLogEvent(LoggingEvent loggingEvent) { _loggingEvent = loggingEvent; } public object Messa...
18.05
58
0.745152
[ "MIT" ]
kurtbogan88/Sennedjem
Core/CrossCuttingConcerns/Logging/Log4Net/SerializableLogEvent.cs
363
C#
using EmbedIO; using EmbedIO.Routing; using EmbedIO.WebApi; using HttpMultipartParser; using OneShare.Object; using System; using System.IO; using System.Net; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Forms; namespace OneShare { ...
23.115385
94
0.705491
[ "MIT" ]
Jerrylum/OneShare
OneShare-Win/Controller/ExternalController.cs
603
C#
using System; using System.Buffers; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using TerraFX.Interop; using static DirectX12Template.Common.Errors; using sta...
31.858974
118
0.573441
[ "MIT" ]
john-h-k/DirectX12Template
DirectX12Template/Common/DirectXHelper.cs
4,972
C#
using MarcelloDB; using MarcelloDB.Collections; using Newtonsoft.Json; using ProMama.Models; using System.Collections.Generic; using System.Linq; using Xamarin.Forms; namespace ProMama.Database.Controllers { public class FotoDatabaseController { Session session = App.DB; private CollectionFil...
24.372881
117
0.4621
[ "Apache-2.0" ]
agharium/ProMama
ProMama/ProMama/Database/Controllers/FotoDatabaseController.cs
2,878
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using HIVCE.BusinessLayer; using HIVCE.Common; using System.Configuration; namespace HIVCE.Presentation { public partial class ClinicalEncounter : System.Web.UI.Page { ...
37.902256
147
0.509423
[ "MIT" ]
uon-crissp/IQCare
SourceBase/IQCare.HIVCE/HIVCE.Presentation/ClinicalEncounter.aspx.cs
10,084
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DB_LAB2.Models.Shared { public class PageViewModel { public int PageNumber { get; private set; } public int TotalPages { get; private set; } public PageViewModel(long count, int ...
21.388889
70
0.527273
[ "MIT" ]
FireAndBlood12/DB_Lab2
DB_LAB2/Models/Shared/PageViewModel.cs
772
C#
using Dnc.WPF.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Media.Animation; namespace Dnc.WPF.Ui { /// <summary> /// The basic class for a <see cref="Pag...
24.945055
101
0.522026
[ "MIT" ]
gainorloss/Dnc.Core
src/Dnc.WPF.Ui/Pages/BasePage.cs
2,272
C#
namespace Prometyum.Sample { public abstract class SampleDomainTestBase : SampleTestBase<SampleDomainTestModule> { } }
16.75
88
0.738806
[ "MIT" ]
ozturkmuslum/Prometyum.Abp.AspNetCore.Mvc.UI.Bootstrap
test/Prometyum.Sample.Domain.Tests/SampleDomainTestBase.cs
136
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Runtime.InteropServices; namespace System.ComponentModel.Design { /// <summary> /// This eve...
41.928571
143
0.764906
[ "MIT" ]
Amy-Li03/winforms
src/System.Windows.Forms.Design/src/System/ComponentModel/Design/DesignerActionListsChangedEventHandler.cs
589
C#
using System; using System.Collections.Generic; using System.IO; using System.Reflection; using GitVersion; using GitVersion.BuildServers; using GitVersion.VersionCalculation; using GitVersionCore.Tests.Helpers; using Microsoft.Extensions.DependencyInjection; using NUnit.Framework; using Shouldly; namespace GitVersion...
30.515464
102
0.607095
[ "MIT" ]
rainersigwald/GitVersion
src/GitVersionCore.Tests/BuildServers/GitLabCiTests.cs
2,960
C#
#region // // Bdev.Net.Dns by Rob Philpott, Big Developments Ltd. Please send all bugs/enhancements to // rob@bigdevelopments.co.uk This file and the code contained within is freeware and may be // distributed and edited without restriction. // // refactored by Hans Wolff #endregion using System.Net; namespace Bdev...
25.979592
92
0.689709
[ "MIT" ]
RandallFlagg/simple.mailserver
Simple.MailServer/Dns/ANameRecord.cs
1,273
C#
using LetsGraph.Model.Base.Graph; namespace LetsGraph.Model.Base { /// <summary> /// Base class of all relations in this model. /// </summary> public class Relation : Edge<Item> { /// <summary> /// The type of this relation. /// </summary> public RelationType Type {...
28.821429
93
0.568773
[ "MIT" ]
meolus/LetsGraph
LetsGraph.Model/Base/Relation.cs
809
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über folgende // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeordnet sind. [assembly: AssemblyT...
41.945946
106
0.76933
[ "MIT" ]
fablei/uprove_uprovecommunicationissuing
uprove_uprovecommunicationissuing_tests/Properties/AssemblyInfo.cs
1,569
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Buffers; using System.Diagnostics; using System.Runtime.InteropServices; namespace System.Text.Json { public sealed partial class JsonDocument { private...
33.265823
95
0.52207
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.StackRowStack.cs
2,628
C#
 using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Wikiled.Text.Analysis.Tests")]
25.75
61
0.815534
[ "MIT" ]
AndMu/Wikiled.Text.Analysis
src/Wikiled.Text.Analysis/Properties/AssemblyInfo.cs
105
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ch...
38.72973
84
0.75157
[ "CC0-1.0" ]
Lenscorpx/GOF_DesignPatterns_Fun
ChainOfResponsibilityPattern/Properties/AssemblyInfo.cs
1,436
C#
using System; using System.Collections.Generic; using System.Linq; using Eleon.Modding; namespace EmpyrionNetAPIDefinitions { public class APIEvent { public CmdId CmdId; public Type ParamType; public APIEvent(CmdId cmdId, Type paramType) { CmdId = cmdId; ...
64.787402
125
0.727516
[ "MIT" ]
GitHub-TC/EmpyrionNetAPIAccess
EmpyrionNetAPIDefinitions/APIManifest.cs
8,230
C#
namespace Plugin.Firebase.Auth { public sealed class ActionCodeSettings { public void SetAndroidPackageName(string packageName, bool installIfNotAvailable, string minimumVersion) { AndroidPackageName = packageName; AndroidInstallIfNotAvailable = installIfNotAvailable; ...
38.578947
112
0.667121
[ "MIT" ]
TobiasBuchholz/Plugin.Firebase
src/Shared/Auth/ActionCodeSettings.cs
733
C#
using System; using System.Collections.Generic; using System.Linq; using Tailviewer.Api; // ReSharper disable once CheckNamespace namespace Tailviewer.Core { /// <summary> /// A simple accessor which provides access to log entries produced by a <see cref="ILogEntryParser" />. /// Parsing happens on demand ...
30.471264
118
0.698038
[ "MIT" ]
Kittyfisto/SharpTail
src/Tailviewer.Core/Sources/Text/GenericTextLogSource.cs
5,304
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Configuration; namespace OnlineStore.WebUI.Helper { public class ConfigurationHelper { public static string GetDefaultPassword() { return WebConfigurationManager.AppSettings["confi...
28
78
0.643973
[ "MIT" ]
BlueForeverI/online-store
OnlineStore.WebUI/Helper/ConfigurationHelper.cs
898
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.IO; using System.Threading.Tasks; using System.Web.Hosting; using System.Web.Http; using Microsoft.Azure; using Microsoft.WindowsAzure.Storage; namespace...
35.382353
124
0.686617
[ "MIT" ]
uQr/performance-optimization
SynchronousIO/SynchronousIO.WebRole/Controllers/AsyncUploadController.cs
1,205
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ni...
39.441176
77
0.756898
[ "MIT" ]
TeterskiSoftworks/NikTiles
NikTilesEditor/NikTilesEditor/Properties/AssemblyInfo.cs
1,344
C#
#region License // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy,...
30.705882
68
0.693487
[ "MIT" ]
GodLesZ/godlesz.library
Json/Bson/BsonType.cs
1,568
C#
// Licensed to Laurent Ellerbach under one or more agreements. // Laurent Ellerbach licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Collections.Generic; namespace Nabaztag.Net.Mode...
32.045455
97
0.619149
[ "MIT" ]
Ellerbach/Nabaztag.Net
Nabaztag.Net/Models/EventMode.cs
1,412
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
40.62069
153
0.620543
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IDeviceManagementReportsGetUnhealthyDefenderAgentsReportRequestBuilder.cs
1,178
C#
namespace cqhttp.Cyan.Clients { /// <summary> /// 反向websocket连接方式 /// </summary> public class CQReverseWSClient : CQApiClient { /// <summary> /// 当cqhttp中use_ws_reverse配置项为true时使用 /// </summary> /// <param name="bind_port">端口</param> /// <param name="api_path">即ws...
38.176471
82
0.598613
[ "MIT" ]
frank-bots/cqhttp.Cyan
cqhttp.Cyan/Clients/CQReverseWSClient.cs
1,336
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Balivo.AppCenterClient.Models { using Newtonsoft.Json; using System.Linq; public partial class UpdateCheckR...
34.5
471
0.597101
[ "MIT" ]
balivo/appcenter-openapi-sdk
generated/Models/UpdateCheckResponse.cs
3,105
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using P01_HospitalDatabase.Data; names...
37.057592
125
0.495338
[ "MIT" ]
Ivelin153/SoftUni
C# DB/C# DB Advanced/EntityFrameworkCodeFirst/P01_HospitalDatabase/Migrations/20190308085612_DoctorAdded.Designer.cs
7,080
C#
using System; using Moq; using Xunit; namespace JustEat.StatsD.Buffered { public static class BufferBasedStatsDPublisherTests { [Fact] public static void Increment_Is_Noop_If_Bucket_Is_Null() { // Arrange var configuration = new StatsDConfiguration(); ...
29.142857
93
0.590686
[ "Apache-2.0" ]
Berezhnyk/JustEat.StatsD
tests/JustEat.StatsD.Tests/Buffered/BufferBasedStatsDPublisherTests.cs
1,224
C#
using System; using System.Globalization; using Avalonia.Animation.Animators; using Avalonia.Utilities; namespace Avalonia { /// <summary> /// Defines the reference point units of an <see cref="RelativePoint"/> or /// <see cref="RelativeRect"/>. /// </summary> public enum RelativeUnit { ...
34.619289
139
0.53871
[ "MIT" ]
0x90d/Avalonia
src/Avalonia.Visuals/RelativePoint.cs
6,820
C#
using System.Collections.Generic; using System.Threading.Tasks; using Cake.Core; using Cake.Core.Diagnostics; using Cake.Graph.Generators; using Moq; namespace Cake.Graph.Tests { public static class TestHelpers { public static Mock<ICakeContext> GetMockCakeContext() { var mockConte...
41.135593
453
0.557478
[ "MIT" ]
cake-contrib/Cake.Graph
src/Cake.Graph.Tests/TestHelpers.cs
2,429
C#
namespace AsmDude { internal static class Guids { public const string GuidOptionsPageAsmDude = "3940DE73-43EF-44B6-8EC2-E3686FC40354"; } }
22.142857
92
0.716129
[ "MIT" ]
YellowAfterlife/asm-dude
VS/CSHARP/asm-dude-vsix/Properties/Guids.cs
155
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.ComponentModel.Design; using System.Linq; using EnvDTE; using Microsoft.VisualStudio.Compo...
41.528409
139
0.55329
[ "Apache-2.0" ]
aspnet/LibraryManager
src/LibraryManager.Vsix/Commands/RestoreOnBuildCommand.cs
7,311
C#
using System; using UltimaOnline; using UltimaOnline.Items; namespace UltimaOnline.Mobiles { [CorpseName("a Coil corpse")] public class Coil : SilverSerpent { // TODO: Check faction allegiance [Constructable] public Coil() { IsParagon = true; ...
27.64486
78
0.536173
[ "MIT" ]
netcode-gamer/game.ultimaonline.io
UltimaOnline.Data/Mobiles/Monsters/ML/Blighted Grove/Coil.cs
2,958
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by Entitas.CodeGeneration.Plugins.ComponentGenerator. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> /...
40.846154
84
0.521657
[ "MIT" ]
CCludts/EntitasCSharpClone
Tests/Unity/VisualDebugging/Assets/Sources/Generated/Components/SomeOtherClassComponent.cs
531
C#
//----------------------------------------------------------------------- // <copyright file="HttpUrlReservationAccessRights.cs" company="P.O.S Informatique"> // Copyright (c) P.O.S Informatique. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace Po...
40.285714
206
0.589362
[ "MIT" ]
PosInformatique/PosInformatique.Net.HttpServer
src/PosInformatique.Net.HttpServer/HttpUrlReservationAccessRights.cs
1,412
C#
// This file isn't generated, but this comment is necessary to exclude it from StyleCop analysis. // For more info see: https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/2108 // <auto-generated/> using System; using System.Globalization; using Alba.CsConsoleFormat.Framework.Sys; // ReSharper disable Non...
37.016393
126
0.577502
[ "MIT" ]
nseedio/nseed
src/NSeed/ThirdParty/CsConsoleFormat/Formatting/ConsoleChar.cs
2,258
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
15.348178
73
0.561857
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-dataworks-public/Dataworks_public/Model/V20200518/GetMetaColumnLineageResponse.cs
3,791
C#
/* Copyright 2013-2014 MongoDB Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writi...
32.259259
102
0.65155
[ "Apache-2.0" ]
InternationNova/MEANJS
src/MongoDB.Driver.Core.Tests/Core/Misc/TimeSpanParserTests.cs
1,744
C#
using System; using System.Linq; /// <summary> Class used by Localization Tool to hold strings intended for localization. </summary> [Serializable] public class StringToLocalize { public string String { get; set; } public string Source { get; set; } public string Comment { get; set; } public static im...
39
143
0.755735
[ "MIT" ]
thetestgame/EcoGlueMod
Client/Assets/EcoModKit/Scripts/StringToLocalize.cs
741
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Linq; using Cecilifier.Core.Extensions; using Cecilifier.Core.Misc; using Cecilifier.Core.Mappings; using Cecilifier.Core.Naming; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CShar...
46.658833
313
0.607465
[ "MIT" ]
adrianoc/cecilifier
Cecilifier.Core/AST/ExpressionVisitor.cs
57,577
C#
using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using JetBrains.Annotations; namespace NMica.Utils.IO { [PublicAPI] public static class TextTasks { public static UTF8Encoding UTF8NoBom => new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvali...
32.267857
132
0.640841
[ "MIT" ]
NMica/NMica-Utils
src/NMica.Utils/IO/TextTasks.cs
1,807
C#
using System; using System.Xml; using HotChocolate.Language; using HotChocolate.Properties; #nullable enable namespace HotChocolate.Types { /// <summary> /// The TimeSpan scalar type represented in two formats: /// <see cref="TimeSpanFormat.Iso8601"/> and <see cref="TimeSpanFormat.DotNet"/> /// </summ...
29.147059
94
0.531584
[ "MIT" ]
Alxandr/hotchocolate
src/HotChocolate/Core/src/Types/Types/Scalars/TimeSpanType.cs
4,955
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
30.386364
133
0.640987
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/DataFactory/Latest/Outputs/FileServerWriteSettingsResponse.cs
1,337
C#
/* * Copyright 2020 Sage Intacct, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * or in the "LICENSE" file accompanying t...
29.529412
86
0.654714
[ "Apache-2.0" ]
Intacct/intacct-sdk-net
Intacct.SDK.Tests/Functions/GeneralLedger/StatisticalAccountUpdateTest.cs
1,508
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Th...
37.972973
84
0.746619
[ "Apache-2.0" ]
birbilis/OverrideXml
src/ThirdPartySample/Properties/AssemblyInfo.cs
1,408
C#
using System.IO; using Netch.Controllers; using Netch.Models; using Netch.Servers.VMess.Utils; namespace Netch.Servers.VLESS { public class VLESSController : Guard, IServerController { public override string Name { get; protected set; } = "VLESS"; public override string MainFile { get; protecte...
27.678571
97
0.623226
[ "MIT" ]
tonyklose1984/Netch
Netch/Servers/VLESS/VLESSController.cs
775
C#
namespace Demo.ViewModels { using System; using NativeCode.Mobile.Core.Presentation; using Xamarin.Forms; public class WebContentViewModel : ViewModel { public WebContentViewModel(Uri url) { this.Source = new UrlWebViewSource { Url = url.AbsoluteUri }; } ...
20.888889
73
0.632979
[ "Apache-2.0" ]
nativecode-dev/frameworks
src/Demo/Demo/ViewModels/WebContentViewModel.cs
378
C#
using System; using System.Collections.Generic; using Contracts; using KSP.Localization; using ContractConfigurator; using ContractConfigurator.Parameters; namespace Kerbalism.Contracts { public class OutsideHeliopauseFactory : ParameterFactory { public override ContractParameter Generate(Contract cont...
23.486486
82
0.731876
[ "Unlicense" ]
Kerbalism/KerbalismContracts
src/KerbalismContracts/ContractConfigurator/OutsideHeliopause.cs
871
C#
using System; using System.IO; using NUnit.Framework; using UnityEditor; using UnityEngine; namespace Unity.InteractiveTutorials.Tests { public class BuildPlayerTests : TestBase { static string buildPath { get { const string buildName = "BuildPlayerTests_...
28.328947
106
0.521598
[ "Unlicense" ]
ameru/karting-microgame-unity
try not to fall off rainbow road/Library/PackageCache/com.unity.learn.iet-framework@0.1.16-preview/Tests/Editor/BuildPlayerTests.cs
2,153
C#
using System; using System.Net; using Csla; using Csla.Security; using Csla.Serialization; namespace ClassLibrary { [Serializable()] public class ClassC1 : BusinessBase<ClassC1> { private static PropertyInfo<string> AProperty = RegisterProperty(new PropertyInfo<string>("A")); public string A { ...
28.589744
100
0.698655
[ "MIT" ]
angtianqiang/csla
Source/Csla.Silverlight.test/SecurityTest/WindowsAuthentication/SilverlightClassLibrary/ClassC1.cs
1,117
C#
using System; namespace TrueCraft.Core { public class TrueCraftUser { public static string AuthServer = "http://truecraft.io"; public string Username { get; set; } public string SessionId { get; set; } } }
20.333333
64
0.627049
[ "MIT" ]
MinecraftSources/TrueCraft
TrueCraft.Core/TrueCraftUser.cs
246
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
39.010582
190
0.56395
[ "MIT" ]
sokooltools/CleanFolders
Properties/Resources.Designer.cs
7,375
C#
using Aspose.Slides.Web.Core.Enums; using Aspose.Slides.Web.Core.Helpers; using Aspose.Slides.Web.Core.Infrastructure; using Aspose.Slides.Web.Interfaces.Services; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Aspose....
32.658416
119
0.721085
[ "MIT" ]
aspose-slides/Aspose.Slides-for-.NET
Demos/Aspose.Slides.Web.Core/Services/ProtectionService.cs
6,597
C#
// Copyright © 2015 John Gietzen. All Rights Reserved. // This source is subject to the MIT license. // Please see license.md for more information. namespace Pegasus.Tests.Performance { using System; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; usi...
44.784232
219
0.530529
[ "MIT" ]
david-pfx/Pegasus
Pegasus.Tests/Performance/PerformanceTestBase.cs
10,797
C#
using System; using System.Collections.Generic; using Doppelkopf.Controllers; using Doppelkopf.Models; namespace Doppelkopf.Interfaces { public interface IUserPermissionService { // use to check if user has token (check does NOT test if user is named yet) public bool IsMessageFromTokenizedUser...
35.588235
133
0.750413
[ "MIT" ]
Elypson/Doppelkopf
Doppelkopf/Interfaces/IUserPermissionService.cs
607
C#
using System; using System.Linq; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; namespace BizHawk.Emulation.Common { /// <summary> /// This is a generic implementation of IMemoryCallbackSystem /// that can be used b...
23.88959
136
0.644923
[ "MIT" ]
Gorialis/BizHawk
BizHawk.Emulation.Common/Base Implementations/MemoryCallbackSystem.cs
7,575
C#
public class Solution { public int NumDecodings(string s) { if (string.IsNullOrEmpty(s)) { return 0; } var currMinusTwo = 1; var currMinusOne = '0' == s[0] ? 0 : 1; var curr = currMinusOne; for (var i = 2; s.Length >= i; ++i) { var oneDigit =...
27.25
76
0.458716
[ "MIT" ]
gurfinkel/leetCode
problems/Decode Ways/numDecodings.cs
654
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; namespace Microsoft.Azure.WebJobs.Script { /// <summary> /// Provides the c...
40.357143
126
0.611327
[ "Apache-2.0", "MIT" ]
Azure/azure-functions-host
src/WebJobs.Script/HostNameProvider.cs
2,829
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; namespace Zuehlke.IdentityProvider.Controllers.Account { public class AccountOptions { public static bool Allo...
40.153846
108
0.738506
[ "MIT" ]
MicroserviceBasedUi/identity-provider
src/Zuehlke.IdentityProvider/Controllers/Account/AccountOptions.cs
1,046
C#
using EmployeeManagementSystem.SharedKernel; using System.Collections.Generic; namespace EmployeeManagementSystem.Models { public class Department : BaseEntity { public string Name { get; set; } public List<Employee> Employees { get; set; } } }
21.230769
53
0.706522
[ "MIT" ]
iamkajal/microsofttechday2019
EmployeeManagementSystem/Models/Department.cs
278
C#
// <copyright file="OtsuThresholder.cs" company="QutEcoacoustics"> // All code in this file and all associated files are the copyright and property of the QUT Ecoacoustics Research Group (formerly MQUTeR, and formerly QUT Bioacoustics Research Group). // </copyright> namespace TowseyLibrary { using System; usi...
38.174847
184
0.506268
[ "Apache-2.0" ]
QutEcoacoustics/audio-analysis
src/TowseyLibrary/OtsuThresholder.cs
24,890
C#
namespace LuceneFileFinder.Forms { partial class IndexManager { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
48.884495
152
0.589765
[ "MIT" ]
restran/lucene-file-finder
Lucene File Finder/Forms/IndexManager.designer.cs
47,564
C#
using Unity.XRTools.ModuleLoader; using UnityEditor; using UnityEditor.MARS; using UnityEditor.MARS.Simulation.Rendering; using UnityEngine; using UnityEngine.Rendering; namespace Unity.MARS { [CustomEditor(typeof(CompositeRenderModuleOptions))] class CompositeRenderModuleOptionsEditor : Editor { ...
32.819672
119
0.637363
[ "Apache-2.0" ]
bsides44/MARSGeofencing
MARS geofencing/Library/PackageCache/com.unity.mars@1.3.1/Editor/Scripts/Simulation/CompositeRenderModuleOptionsEditor.cs
2,004
C#
using Cassette.TinyIoC; using Should; using Xunit; namespace Cassette.HtmlTemplates { public class HtmlTemplatePipeline_Tests { readonly HtmlTemplatePipeline pipeline; readonly HtmlTemplateBundle bundle; public HtmlTemplatePipeline_Tests() { bundle = n...
25.852941
80
0.604096
[ "MIT" ]
BluewireTechnologies/cassette
src/Cassette.UnitTests/HtmlTemplates/HtmlTemplatePipeline.cs
881
C#
using System.Collections.Generic; namespace EIP.Common.Entities.Tree { /// <summary> /// Wd树形结构:模块权限 /// </summary> public class WdTreeEntity { public WdTreeEntity() { } public WdTreeEntity(TreeEntity tree) { id = tree.id.ToString(); ...
22.46988
87
0.42252
[ "MIT" ]
woshisunzewei/EIP
Common/EIP.Common.Entities/Tree/WdTreeEntity.cs
2,003
C#
using AngleSharp; using AngleSharp.Dom; using AngleSharp.XPath; using ProtoBuf; using System; using System.Collections.Generic; using System.IO.Pipes; using System.Linq; using System.Threading.Tasks; namespace GetValidBoosterPacks { public class Program { public static async Task Main(string[] args) ...
30.652174
143
0.621986
[ "MIT" ]
MeLikeChoco/YuGiOhBot
GetValidBoosterPacks/Program.cs
1,412
C#
using Blazor.EventGridViewer.Core.CustomEventArgs; using Blazor.EventGridViewer.Core.Models; using Blazor.EventGridViewer.Services.Interfaces; using System; namespace Blazor.EventGridViewer.Services { /// <summary> /// Class used to handle EventGrid Events /// </summary> public class EventGridService ...
35.057143
116
0.713121
[ "MIT" ]
Azure-Samples/eventgrid-viewer-blazor
src/Blazor.EventGridViewer.Services/EventGridService.cs
1,229
C#
// <auto-generated /> using System; using Identity.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Identit...
37.570423
125
0.468697
[ "MIT" ]
namchokGithub/AuthSystem
Identity/Migrations/20200731073430_InitialCrate.Designer.cs
10,672
C#
using Microsoft.SqlServer.TransactSql.ScriptDom; using System.Collections.Generic; using System.Linq; namespace SqlServer.Dac.Visitors { public class CastCallVisitor : BaseVisitor, IVisitor<CastCall> { public IList<CastCall> Statements { get; } = new List<CastCall>(); public int Count { get { return...
28.3125
74
0.684327
[ "MIT" ]
arvindshmicrosoft/SqlServer.Rules
SqlServer.Dac/Visitors/CastCallVisitor.cs
455
C#
/* * Copyright 2016 Adam Burton (adz21c@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
34.052632
151
0.720247
[ "Apache-2.0" ]
adz21c/Miles
src/Miles.GreenPipes/TransactionContext/TransactionContextSpecification.cs
1,296
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org) // Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net) // Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp) // See the LICENSE.md file in the project root for full license information. u...
39.495935
140
0.595513
[ "MIT" ]
Ethereal77/stride
sources/core/Stride.Core.Translation/TranslationManager.cs
4,858
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
35.013889
109
0.670766
[ "Apache-2.0" ]
aws/aws-sdk-net
sdk/src/Services/FSx/Generated/Model/Internal/MarshallTransformations/OpenZFSNfsExportMarshaller.cs
2,521
C#
//------------------------------------------------------------------------------ // Symbooglix // // // Copyright 2014-2015 Daniel Liew // // This file is licensed under the 2-Clause BSD license. // See LICENSE for details. //-------------------------------------------------------------...
28.087719
105
0.510306
[ "BSD-2-Clause" ]
michael-emmi/symbooglix
src/SymbooglixLibTests/AithmeticCoercion.cs
1,601
C#
namespace HKH.Tools { partial class DbSelect { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 true;否则为...
46.974576
158
0.589031
[ "Apache-2.0" ]
JackyLi918/HKH
HKHProjects/HKH.Tools/DbSelect.Designer.cs
11,304
C#
using System; using System.Collections.Generic; using System.Text.Json.Serialization; namespace MicroFeel.Yonyou.Api { public class Bank { ///<Summary> ///银行编号 ///</Summary> [JsonPropertyName("code")] public string Code { get;set; } ///<Summary> ///银行名称 ///</Summary> [JsonPropertyName("name")] pu...
355
355
0.659155
[ "Apache-2.0" ]
microfeel/Yonyou
MicroFeel.Yonyou.OpenApi/Model/Data/Bank.cs
371
C#
namespace MassTransit.Initializers { public interface IMessageInitializerFactory<TMessage> where TMessage : class { IMessageInitializer<TMessage> CreateMessageInitializer(); } }
25.75
65
0.728155
[ "ECL-2.0", "Apache-2.0" ]
AOrlov/MassTransit
src/MassTransit/Initializers/IMessageInitializerFactory.cs
208
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; using OpenLiveWriter.ApplicationFramework; using Ope...
28.839196
187
0.696289
[ "MIT" ]
augustoproiete-forks/OpenLiveWriter--OpenLiveWriter
src/managed/OpenLiveWriter.PostEditor/PostHtmlEditing/ImageEditing/Decorators/HtmlAlignEditor.cs
5,739
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using Nethereum.JsonRpc.UnityClient; using LeaderboardSolidityContract.Contracts.Leaderboard.ContractDefinition; using static Timer; using static PrivateKey; public class AddHighScore : MonoBehaviour { ...
31.357143
109
0.736333
[ "MIT" ]
IPFPS/ipfps
Assets/FPS/Scripts/Ethereum/AddHighScore.cs
1,758
C#
using MO.Common.Geom; using MO.Common.Lang; using MO.Content2d.Frame.Controls; using MO.Design2d.Frame.Common; using MO.Direct2d.Common; using MO.Direct2d.Draw; namespace MO.Design2d.Frame.Controls { //============================================================ // <T>控件声明。</T> //============================...
34.355263
149
0.378782
[ "Apache-2.0" ]
favedit/MoCross
Tools/2 - Core/MoDesign2d/Frame/Controls/FUiLabel.cs
2,719
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Medical { public class TimelineMatchInfo { internal TimelineMatchInfo(Type actionType, String comment, String file) { ActionType = actionType; Comment = comment; ...
23.942308
81
0.51004
[ "MIT" ]
AnomalousMedical/Medical
Standalone/Controller/Timeline/TimelineStaticInfo.cs
2,492
C#
using System; using System.Reactive.Concurrency; using System.Threading; using System.Runtime.CompilerServices; using System.Threading.Tasks; #if DEBUG [assembly: InternalsVisibleTo("reactive-extensions-test")] [assembly: InternalsVisibleTo("reactive-extensions-benchmarks")] #else [assembly: InternalsVisibleTo("react...
38.859649
127
0.749887
[ "Apache-2.0" ]
akarnokd/reactive-extensions
reactive-extensions/observable/ImmediateScheduler.cs
2,217
C#
namespace Promitor.ResourceDiscovery.Agent.Configuration { public class ResourceCollection { public string Name { get; set; } public string Type { get; set; } public ResourceCriteria Criteria { get; set; } = new ResourceCriteria(); } }
30.222222
80
0.661765
[ "MIT" ]
tomkerkhove/resource-discovery-sandbox
src/Promitor.ResourceDiscovery.Agent/Configuration/ResourceCollection.cs
274
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
26.807692
95
0.685796
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-aiven
sdk/dotnet/Inputs/ServiceIntegrationDatadogUserConfigDatadogTagArgs.cs
697
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("cl...
40.351351
91
0.756196
[ "MIT" ]
CatalinaTechnology/ctAPIClientEXamples
client.financial.accountsReceivable.input.paymentApplication/Properties/AssemblyInfo.cs
1,496
C#
using System; using System.Collections.Generic; using System.Text; namespace Cms.Service.Interface { public interface ICompanyService { } }
13.454545
34
0.763514
[ "MIT" ]
gulizay91/cms
TheMoonStudio.Cms/Cms.Service.Interface/ICompanyService.cs
150
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information #region Usings using System; using System.Collections.Specialized; using System.Text.RegularExpressions; using ...
34.288136
247
0.530565
[ "MIT" ]
MaiklT/Dnn.Platform
DNN Platform/Library/UI/WebControls/PropertyEditor/Edit Controls/DNN Edit Controls/DNNRichTextEditControl.cs
6,071
C#
using LanguageServer.Json; namespace LanguageServer.Parameters.TextDocument { /// <summary> /// For <c>textDocument/codeAction</c> /// </summary> /// <seealso>Spec 3.8.0</seealso> public class CodeActionResult : Either { /// <summary> /// Defines an implicit conversi...
40.342105
152
0.568819
[ "MIT" ]
matarillo/LanguageServerProtocol
LanguageServer/Parameters/TextDocument/CodeActionResult.cs
3,068
C#
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif namespace UniGLTF { public struct PosRot { public Vector3 Position; public Quaternion Rotation; public static PosRot FromGlobalTransform(Tr...
28.557325
104
0.484778
[ "MIT" ]
DeanVanGreunen/UniGLTF
Core/Scripts/Extensions/UnityExtensions.cs
8,969
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DataAccessLayer { public interface ISales : IProduct { string ORno { get; set; } string CustomerName { get; set; } double SubTotal { get; set; } double Total { get; set; } do...
22.5
41
0.588889
[ "MIT" ]
kitchanismo/IceCreamShopCSharp
IceCreamShopCSharp/DataAccessLayer/Interface/ISales.cs
452
C#
/* * The MIT License * * Copyright 2019 Palmtree Software. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, co...
34.5
80
0.580538
[ "MIT" ]
rougemeilland/Palmtree.Math
Palmtree.Math.CodeGen.TestData/Plugin/Uint/TestDataRendererPlugin_ToBigInt_UX.cs
2,417
C#
using SharpenedMinecraft.Types.Items; using System; using System.Collections.Generic; using System.Text; namespace SharpenedMinecraft.Types.Blocks { public class Tube_coralBlock : Block { public override string BlockId => "minecraft:tube_coral"; public override BlockState[] PossibleStates { ge...
22.965517
67
0.588589
[ "MIT" ]
SharpenedMinecraft/SM1
Main/Types/Blocks/Tube_coralBlock.cs
666
C#
namespace WordExamplesCS4 { partial class Example07 { /// <summary> /// Erforderliche Designervariable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Verwendete Ressourcen bereinigen. /// </summ...
60.109827
179
0.63535
[ "MIT" ]
NetOffice/NetOffice
Examples/Word/C#/Standard Examples/WordExamples/Examples/Example07.Designer.cs
10,405
C#
using Newtonsoft.Json; namespace DataTransferObjects.Vehicle { public record IndexVehicleDto([JsonProperty("Name")]string Name); }
19.571429
69
0.781022
[ "MIT" ]
carpool-team/carpool
src/API/Shared/DataTransferObjects/Vehicle/IndexVehicleDto.cs
139
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly...
33.774194
84
0.7383
[ "MIT" ]
patrickCode/Mobile
Xamarin/Android/TestOrderApp/Clock/Properties/AssemblyInfo.cs
1,050
C#
using System; /* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, ...
30.927711
141
0.728866
[ "Apache-2.0" ]
luizfbicalho/Camunda.NET
camunda-bpm-platform-net/engine/src/main/java/org/camunda/bpm/engine/impl/test/PluggableProcessEngineTestCase.cs
2,569
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using System; using System.IO; using System.Threading; using System.Threading.Tasks; using Micros...
48.955056
158
0.661694
[ "MIT" ]
JavierMatosD/roslyn
src/Workspaces/Core/Portable/Storage/AbstractPersistentStorageService.cs
13,073
C#
//This script is used to make a 3D UI mesh "zoom" in (instead of just appearing, the element //starts small and then expands to a target size). using UnityEngine; using System.Collections; //This allows us to use coroutines using UnityEngine.UI; //Enable UI items in script public class VRUIPanel : MonoBehav...
36.122807
123
0.720738
[ "MIT" ]
duliodenis/unity_vr_roadshow
VikingQuestVR_Start/Assets/Scripts/VRUIPanel.cs
2,061
C#