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
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. [assembly: Azure.Core.AzureResourceProviderNamespace("Microsoft.DigitalTwins")]
35.6
79
0.792135
[ "MIT" ]
AWESOME-S-MINDSET/azure-sdk-for-net
sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/tests/Properties/AssemblyInfo.cs
180
C#
// Copyright (c) 2014 SIL International // This software is licensed under the MIT License (http://opensource.org/licenses/MIT) using System; using System.ComponentModel; using System.IO; using System.Linq; using System.Reflection; using System.Windows.Forms; using SIL.IO; using SIL.Reporting; using SIL.Windows.Forms...
35.316505
119
0.733066
[ "MIT" ]
andrew-polk/libpalaso
SIL.Windows.Forms.GeckoBrowserAdapter/GeckoFxWebBrowserAdapter.cs
18,190
C#
using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; using Microsoft.Xna.Framework.Content; using IRTaktiks.Components.Pla...
33.247619
174
0.513893
[ "MIT" ]
schalleneider/irtaktiks
src/IRTaktiks/IRTaktiks/Components/Manager/ItemManager.cs
6,982
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Devices.Bluetooth { #if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__ #if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public enum Bluet...
31.290749
62
0.696607
[ "Apache-2.0" ]
AlexTrepanier/Uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Devices.Bluetooth/BluetoothMinorClass.cs
7,103
C#
using Cvl.ApplicationServer.Core.Model.Processes; using Cvl.ApplicationServer.Core.Repositories; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cvl.ApplicationServer.Core.Services { public class ProcessActivityService : BaseService<Pro...
29.478261
97
0.734513
[ "MIT" ]
cv-lang/application-server
Cvl.ApplicationServer/Cvl.ApplicationServer/Core/Services/ProcessActivityService.cs
680
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.Resources.Models { public partial class DeploymentScriptPropertiesBas...
39.093525
152
0.502392
[ "MIT" ]
AzureDataBox/azure-sdk-for-net
sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/DeploymentScriptPropertiesBase.Serialization.cs
5,434
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Xunit; #nullable disable namespace Microsoft.VisualStudio.ProjectSystem.Logging { public class ProjectLoggingExtensionsTests {...
28.446043
161
0.539454
[ "Apache-2.0" ]
JeremyKuhne/project-system
src/Microsoft.VisualStudio.ProjectSystem.Managed.UnitTests/ProjectSystem/Logging/ProjectLoggingExtensionsTests.cs
3,956
C#
using HarmonyLib; using System; using System.Collections.Generic; using System.Linq; using System.Reflection.Emit; using System.Text; using System.Threading.Tasks; using Vintagestory.API; using Vintagestory.API.Client; using Vintagestory.API.Common; using Vintagestory.API.Common.Entities; using Vintagestory.API.Datast...
34.717391
145
0.558547
[ "Unlicense" ]
Novocain1/MiscMods
VSHUD/Systems/Patches/ForPlacementPreview.cs
4,793
C#
//******************************************************* // // Delphi DataSnap Framework // // Copyright(c) 1995-2011 Embarcadero Technologies, Inc. // //******************************************************* namespace Embarcadero.Datasnap.WindowsPhone7 { /** * * Wraps the Date type and...
20.9375
81
0.499254
[ "Apache-2.0" ]
CarlosHe/fortesreport-ce
Demos/Datasnap/Server/proxy/csharp_silverlight/TDBXDateValue.cs
1,340
C#
using Bogus; using CursoOnline.Domain.Entidades; using CursoOnline.Domain.Enums; using CursoOnline.Tests.Builders; using CursoOnline.Tests.Extensoes; using ExpectedObjects; using System; using Xunit; namespace CursoOnline.Tests.Cursos { public class CursoTests : IDisposable { private readonly string _...
38.571429
164
0.644444
[ "MIT" ]
Felipe13devmaster/Estudo-TDD-X-Unit
CursoOnline/CursoOnline.Tests/Cursos/CursoTests.cs
3,249
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Nucleo.Presentation; using Nucleo.Views; using Nucleo.Web.Views; namespace Nucleo.Tests.PresenterLoading { public interface IAttributeMatchFirstLookView : IView { stri...
23.325581
92
0.771685
[ "MIT" ]
brianmains/Nucleo.NET
src/Backup/Nucleo.OnlineMVPTests/Tests/PresenterLoading/AttributeMatchFirstLook.aspx.cs
1,005
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnal...
45.860656
160
0.624486
[ "Apache-2.0" ]
AArnott/roslyn
src/Features/Core/Portable/IntroduceVariable/AbstractIntroduceVariableService.AbstractIntroduceVariableCodeAction.cs
5,595
C#
using System; using System.Collections.Generic; using VRage; using VRageMath; using RichStringMembers = VRage.MyTuple<System.Text.StringBuilder, VRage.MyTuple<byte, float, VRageMath.Vector2I, VRageMath.Color>>; namespace RichHudFramework { namespace UI { using ToolTipMembers = MyTuple< Lis...
31.507937
132
0.541058
[ "MIT" ]
ZachHembree/RichHudFramework.Client
Shared/UI/HUD/ToolTip.cs
1,987
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Web; using System.Web.UI.HtmlControls; using System.Windows; using System.Windows.Controls; using System.Windows.Threading; using Microsoft.Win32; using...
32.984252
160
0.489854
[ "MIT" ]
hisacat/AIDungeon-Extension
AIDungeon-Extension/WebBrowserTranslator.cs
4,191
C#
#pragma checksum "D:\SENAC\UC4\LógicaDeProgramação\AplicaçãoWebComBancoDeDados\Parte3_Cadastro_Listar_Sessão\Cadastros\Views\Usuario\Login.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b7064bc44a09a7a339ceb2d8a8a6ab75cfea1e14" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore...
69.425743
298
0.752282
[ "MIT" ]
kellykawase/senac-estudante
MóduloA/UC4/LógicadeProgramação/AplicaçãoWebComBancoDeDados/Parte3_Cadastro_Listar_Login/Cadastros/obj/Debug/net5.0/Razor/Views/Usuario/Login.cshtml.g.cs
14,078
C#
using System; using System.Linq; using System.Text; using System.Threading.Tasks; using Fpl.Client.Abstractions; using Fpl.Search.Models; using Fpl.Search.Searching; using FplBot.Core.Abstractions; using FplBot.Core.Extensions; using FplBot.Core.Helpers; using FplBot.Data.Abstractions; using FplBot.Data.Models; using...
36.60625
193
0.592453
[ "MIT" ]
ehamberg/fplbot
src/FplBot.Core/Handlers/SlackEvents/FplSearchHandler.cs
5,859
C#
using System; using System.Threading.Tasks; using NFig.Converters; using NFig.Infrastructure; using NFig.Metadata; namespace NFig { /// <summary> /// Contains all methods for administering the settings for an application, such as setting or clearing overrides. /// </summary> public class NFigAdminClie...
53.147482
160
0.641489
[ "MIT" ]
NFig/NFig
NFig/NFigAdminClient.cs
14,777
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Windows.Foundation.Metadata { public partial class ApiInformation { public static bool IsApiContractPresent(string contractName, ushort majorVersion) => IsApiContractPresent(contractNam...
23.735294
104
0.738538
[ "Apache-2.0" ]
AnshSSonkhia/uno
src/Uno.Foundation/Metadata/ApiInformation.shared.cs
809
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
34.533333
182
0.641409
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/RecoverableManagedDatabase.cs
2,072
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ using System; namespace Coll...
30.083333
98
0.625485
[ "MIT" ]
Bhaskers-Blu-Org2/CollectServiceFabricData
CollectSFData/Kusto/KustoMessages.cs
1,807
C#
using System.Reflection; [assembly: AssemblyTitle("SFA.DAS.EmployerPortal.Web.UnitTests")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
29.166667
65
0.754286
[ "MIT" ]
SkillsFundingAgency/das-employerportal
src/SFA.DAS.EmployerPortal.Web.UnitTests/Properties/AssemblyInfo.cs
177
C#
using System; using Project.Infrastructure; using Project.Framework.ViewMain; using Project.Framework.ViewStart; using Project.Framework.ViewPage1; using Project.Framework.ViewPage2; using Project.Framework.ViewPage3; namespace Project.Framework { public class FactoryGUI_GTK : IFactoryGUI { public IGLApplication...
19.097561
46
0.736909
[ "MIT" ]
govorukhin/ApplicationController_crossplatform
cross/cross/Project/NativeCode/GTK/FactoryGUI_GTK.cs
785
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using DVSA.MOT.SDK.Interfaces; using DVSA.MOT.SDK.Models; using Microsoft.Extensions.Logging; namespace DVSA.MOT.SDK.Services { public class AllVehiclesService : IAllVehiclesService { private readonly ILogger<SingleVehicleSe...
35.485294
111
0.571488
[ "MIT" ]
AaronSadlerUK/DVSA.MOT.SDK
DVSA.MOT.SDK/Services/AllVehiclesService.cs
2,415
C#
namespace Essensoft.Paylink.Alipay.Response { /// <summary> /// AlipayMerchantStoreMiniappBindResponse. /// </summary> public class AlipayMerchantStoreMiniappBindResponse : AlipayResponse { } }
21.9
72
0.703196
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Response/AlipayMerchantStoreMiniappBindResponse.cs
221
C#
using System.Collections.Generic; namespace EveOnlineApi; /// <summary> /// 200 ok object /// </summary> [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.5.0 (NJsonSchema v10.6.6.0 (Newtonsoft.Json v9.0.0.0))")] public record Get_universe_systems_system_id_ok { [System.Text...
28.398148
259
0.589501
[ "MIT" ]
frankhaugen/Frank.Extensions
src/Frank.Libraries.Gaming/Engine/EveOnlineApi/Get_universe_systems_system_id_ok.cs
3,067
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Data; namespace WpfUtils.ValueConverters { /// <summary> /// Provides an interface to chain two separate value converters together /// </summary> public class DualCo...
32.285714
133
0.640708
[ "MIT" ]
kmclarnon/FactorioModBuilder
WpfUtils/ValueConverters/DualConverter.cs
1,132
C#
using System; using Conference.DataStore.Abstractions; using Xamarin.Forms; using System.Threading.Tasks; using Conference.DataObjects; using System.Windows.Input; using FormsToolkit; using Xamarin.Essentials; using Conference.Utils.Helpers; namespace Conference.Clients.Portable { public class SessionDetailsViewM...
28.993902
122
0.539432
[ "MIT" ]
lacomarcaDO/app-conference
src/Conference.Clients.Portable/ViewModel/SessionDetailsViewModel.cs
4,757
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Runtime.Versioning; using Microsoft.Framework.Runtime; namespace Microsoft.AspNet.Mvc.FunctionalTests { // Represent...
33.203704
125
0.670385
[ "Apache-2.0" ]
walkeeperY/ManagementSystem
test/Microsoft.AspNet.Mvc.FunctionalTests/TestApplicationEnvironment.cs
1,795
C#
using AllOverIt.Aws.Cdk.AppSync.Attributes.Types; namespace AllOverIt.Aws.Cdk.AppSync.Schema.Types { /// <summary>A custom scalar type that will be interpreted as an AwsUrl type.</summary> [SchemaScalar(nameof(AwsTypeUrl))] public sealed class AwsTypeUrl { } }
28.2
91
0.72695
[ "MIT" ]
mjfreelancing/AllOverIt
Source/AllOverIt.Aws.Cdk.AppSync/Schema/Types/AwsTypeUrl.cs
284
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 Microsoft.CodeAnalysis.Navigation; using Microsoft.CodeAnalysis.Text; using Microsoft.VisualStudio.Language.C...
38.676056
113
0.676985
[ "MIT" ]
BertanAygun/roslyn
src/VisualStudio/Core/Def/Implementation/CallHierarchy/CallHierarchyDetail.cs
2,748
C#
using AvalonStudio.Platforms; using AvalonStudio.Projects; using AvalonStudio.Toolchains.GCC; using AvalonStudio.Utils; using Mono.Debugging.Client; using System; using System.Composition; using System.IO; using System.Threading.Tasks; namespace AvalonStudio.Debugging.GDB.Remote { [Shared] [ExportDebugger] ...
31.469697
127
0.646606
[ "MIT" ]
dorisoy/AvalonStudio
AvalonStudio/AvalonStudio.Debugging.GDB.Remote/RemoteGdbDebugger.cs
2,079
C#
using Chloe.DbExpressions; using Chloe.Utility; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace Chloe.Query { public class ResultElement { public ResultElement() { this.Orderings = new List<DbOrdering>(); ...
30.617021
96
0.578179
[ "Apache-2.0" ]
kwonganding/Chloe
src/DotNet/Chloe/Query/ResultElement.cs
2,910
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Linq; using Microsoft.Diagnostics.Runtime; namespace MS.Dbg { [NsContainer( NameProperty = "TargetFriendlyName" )] [DebuggerDisplay( "DbgKModeTarget: id {DbgEngSystemId}: {TargetFriendl...
35.861702
100
0.489172
[ "MIT" ]
Bhaskers-Blu-Org2/DbgShell
DbgProvider/public/Debugger/DbgKModeTarget.cs
3,373
C#
using BinaryObjectMapper; using Microsoft.Build.Locator; using Microsoft.CodeAnalysis.MSBuild; using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; using System.Threading.Tasks; namespace MapperRunner { public class CodeGenerationTask { public static async Task ...
24.939394
65
0.606318
[ "MIT" ]
MatricField/BinaryObjectMapper
MapperRunner/CodeGenerationTask.cs
823
C#
using iot.solution.entity.Response; using iot.solution.model.Repository.Interface; using iot.solution.service.Interface; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace iot.solution.service.Implementation { public class ConfigurationService : IConfigurationService ...
39.487805
196
0.631254
[ "MIT" ]
iotconnect-apps/AppConnect-SmartElevator
iot.solution.service/Implementation/ConfigurationService.cs
1,621
C#
// SPDX-License-Identifier: MIT // Copyright (C) 2018-present iced project and contributors using System; using System.Linq; namespace Generator.Constants.Encoder { [TypeGen(TypeGenOrders.NoDeps)] sealed class OpCodeInfoFlagsType { OpCodeInfoFlagsType(GenTypes genTypes) { var type = new ConstantsType(TypeIds.O...
34.4
135
0.752907
[ "MIT" ]
34736384/iced
src/csharp/Intel/Generator/Constants/Encoder/OpCodeInfoFlagsType.cs
688
C#
using NUnit.Framework; using System.ComponentModel.DataAnnotations; using System.Linq; namespace WhenItsDone.Models.Tests.PaymentTests { [TestFixture] public class PaymentIdTests { [Test] public void Id_ShouldHave_KeyAttribute() { var obj = new Payment(); v...
24.5
76
0.52381
[ "MIT" ]
army-of-two/when-its-done
WhenItsDone/Tests/LibTests/WhenItsDone.Models.Tests/PaymentTests/PaymentIdTests.cs
884
C#
using System; using System.Xml.Serialization; using System.Collections; using System.Collections.Generic; using Newtonsoft.Json; namespace JdSdk.Domain.Service.AfsServiceManagerFacade {  [Serializable] public class ReturnCancelResult : JdObject { [JsonProperty("resultCode")] public Nullab...
18.551724
54
0.598513
[ "Apache-2.0" ]
starpeng/JdSdk2
Source/JdSdk/domain/service/AfsServiceManagerFacade/ReturnCancelResult.cs
544
C#
using PNet; using System; using System.Collections.Generic; using System.Numerics; using System.Text; namespace PNetR { public partial class Room { private bool _shutdownQueued = false; private readonly Dictionary<int, Player> _players = new Dictionary<int, Player>(); public readonly ...
34.783333
158
0.577264
[ "MIT" ]
Ignis34Rus/LoE-Ghost.Server
libs/PNet2Room/Room/Room.cs
8,350
C#
using System.Threading.Tasks; using Mal.DocGen2.Services.Markdown; namespace Mal.DocGen2.Services.XmlDocs { class TypeRefSpan : Span { public TypeRefSpan(string textValue) : base(textValue) { } public override async Task WriteMarkdown(XmlDocWriteContext context, MarkdownWriter writer)...
31.727273
99
0.620344
[ "MIT" ]
ArcaneEye/MDK-SE
Source/DocGen2/Services/XmlDocs/TypeRefSpan.cs
700
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Threading.Tasks; using System.Windows.Input; using Windows.Foundation; using Windows.Foundat...
31.7
99
0.633675
[ "MIT" ]
Avi-Meshulam/MyAlbum
MyAlbum/Pages/AlbumPage.xaml.cs
2,538
C#
using System.Linq; using Microsoft.EntityFrameworkCore; using Abp.Authorization; using Abp.Authorization.Roles; using Abp.Authorization.Users; using Abp.MultiTenancy; using MyCompany.Authorization; using MyCompany.Authorization.Roles; using MyCompany.Authorization.Users; using Microsoft.AspNetCore.Identity; using Micro...
35.969697
171
0.562763
[ "MIT" ]
StefanKoenen/aspnetboilerplate-5844
aspnet-core/src/MyCompany.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/HostRoleAndUserCreator.cs
3,561
C#
/* * Copyright (c) 2019-2021 Angouri. * AngouriMath is licensed under MIT. * Details: https://github.com/asc-community/AngouriMath/blob/master/LICENSE.md. * Website: https://am.angouri.org. */ using static AngouriMath.Entity; using static AngouriMath.Entity.Number; namespace AngouriMath.Functions { partial...
50
124
0.524112
[ "MIT" ]
KuhakuPixel/AngouriMath
Sources/AngouriMath/Functions/Simplification/Patterns/Patterns.Power.cs
5,352
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Fortnox.SDK.Entities; // ReSharper disable UnusedMember.Global namespace Fortnox.SDK.Interfaces { /// <remarks/> public interface IInvoiceFileConnectionConnector : IEntityConnector { [Obsolete(ApiConstants.ObsoleteS...
42.407407
103
0.775546
[ "MIT" ]
FortnoxAB/csharp-api-sdk
FortnoxSDK/Interfaces/IInvoiceFileConnectionConnector.cs
1,145
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step...
54.568306
235
0.72862
[ "MIT" ]
DInozemtsev/UnitsNet
UnitsNet.Tests/GeneratedCode/TestsBase/HeatTransferCoefficientTestsBase.g.cs
20,008
C#
// Copyright (c) Microsoft Open Technologies, Inc. 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.Linq; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAn...
35.001008
239
0.540134
[ "Apache-2.0" ]
enginekit/copy_of_roslyn
Src/Compilers/CSharp/Test/Symbol/Symbols/AnonymousTypesSemanticsTests.cs
34,723
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...
23.888889
81
0.60814
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/DataMigration/Outputs/ValidationErrorResponse.cs
860
C#
using Ryujinx.Common.Logging; using Ryujinx.HLE.HOS.Services.Mm.Types; using System.Collections.Generic; namespace Ryujinx.HLE.HOS.Services.Mm { [Service("mm:u")] class IRequest : IpcService { private static object _sessionListLock = new object(); private static List<MultiM...
32.076531
113
0.563544
[ "MIT" ]
0MrDarn0/Ryujinx
Ryujinx.HLE/HOS/Services/Mm/IRequest.cs
6,287
C#
using Microsoft.AspNetCore.Builder; namespace Timingz; public static class ApplicationBuilderExtensions { public static IApplicationBuilder UseServerTiming( this IApplicationBuilder app, Action<ServerTimingOptions> configureOptions = null) { if (app == null) throw new ArgumentNullExce...
30.25
78
0.707202
[ "MIT" ]
alexmg/Timingz
src/Timingz/ApplicationBuilderExtensions.cs
849
C#
using System.Collections.Generic; using System.Threading.Tasks; using ChainLib.Wallets; namespace ChainLib.WarpWallet { /// <summary> /// Uses warpwallet's algorithm to produce a wallet secret: /// <code> /// s1 = scrypt(key=(passphrase||0x1), salt=(salt||0x1), N=2^18, r=8, p=1, dkLen=32) /// s2 = pbkdf2(...
25.784615
123
0.72494
[ "Apache-2.0" ]
danielcrenna/graveyard
src/ChainLib.WarpWallet/WarpWalletProvider.cs
1,676
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Xml; namespace xharness { public enum HarnessAction { None, Configure, Run, Install, Uninstall, Jenkins, } ...
34.56506
359
0.66468
[ "BSD-3-Clause" ]
ekhavana/xamarin-macios
tests/xharness/Harness.cs
28,691
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace HotChocolate.Execution { public static class ExecutionRequestExecutorExtensions { public static Task<IExecutionResult> ExecuteAsync( this IRequestExecutor executor, IR...
29.814516
72
0.500811
[ "MIT" ]
garybond/hotchocolate
src/HotChocolate/Core/src/Execution/Extensions/ExecutionRequestExecutorExtensions.cs
7,394
C#
// Copyright (c) 2022 AccelByte Inc. All Rights Reserved. // This is licensed software from AccelByte Inc, for limitations // and restrictions contact your company contract manager. // This code is generated by tool. DO NOT EDIT. using System.Net; using System.IO; using System.Text.Json; using AccelByte.Sdk.Api.Iam.M...
30.447154
123
0.579973
[ "MIT" ]
AccelByte/accelbyte-csharp-sdk
AccelByte.Sdk/Api/Iam/Operation/UsersV4/AdminBulkCheckValidUserIDV4.cs
3,745
C#
using System; namespace BulkOperations.EntityFramework.Tests.Models { public partial class ProductVendor { public virtual int ProductID { get; set; } public virtual int BusinessEntityID { get; set; } public virtual int AverageLeadTime { get; set; } public virtual decimal Standar...
41.652174
78
0.664927
[ "MIT" ]
proff/BulkOperations
BulkOperations.EntityFramework.Tests/Models/ProductVendor.cs
958
C#
using Microsoft.AspNetCore.Identity; using Microsoft.IdentityModel.Tokens; using Shop.Infrastructure; using Shop.Module.Core.Cache; using Shop.Module.Core.Data; using Shop.Module.Core.Entities; using Shop.Module.Core.Models; using Shop.Module.Core.Services; using Shop.Module.Core.Models.Cache; using System; using Syst...
40.321637
193
0.608702
[ "MIT" ]
LGinC/module-shop
src/server/src/Modules/Shop.Module.Core/Services/TokenService.cs
7,021
C#
using Superpower.Parsers; using Superpower.Tests.Support; using Xunit; namespace Superpower.Tests.Combinators { public class TryCombinatorTests { [Fact] public void TryFailureConsumesNoInput() { var tryAb = Character.EqualTo('a').Then(_ => Character.EqualTo('b')).Try(); ...
33.289474
117
0.560474
[ "Apache-2.0" ]
BenjaminHolland/superpower
test/Superpower.Tests/Combinators/TryCombinatorTests.cs
2,532
C#
namespace bleak.Sql.VersionManager { public interface ISchema { string Name { get; set; } } }
16.285714
35
0.605263
[ "Unlicense" ]
jamalkhan/bleak.Sql
bleak.Sql.VersionManager/ISchema.cs
116
C#
namespace NSUI.Controls { public class NSNewsButton : NSCircleButton { public NSNewsButton() { DefaultStyleKey = typeof(NSNewsButton); } } }
18.9
51
0.57672
[ "MIT" ]
h82258652/NSUI
NSUI/NSUI.Uwp/Controls/NSNewsButton.cs
191
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Extensions.Localization; using OrchardCore.Environment.Shell; using OrchardCore.Environment.Shell.Models; using OrchardCore.Environment.Shell.Scope; using OrchardCore.Workflows.Abstractions.Models; using OrchardCore.Workflows....
36.187097
235
0.631663
[ "BSD-3-Clause" ]
Dryadepy/OrchardCore
src/OrchardCore.Modules/OrchardCore.Tenants/Workflows/Activities/CreateTenantTask.cs
5,609
C#
using ClosedXML.Excel; using FluentAssertions; using IntNovAction.Utils.ExcelImporter.CellProcessors; using IntNovAction.Utils.Importer; using IntNovAction.Utils.Importer.Tests.SampleClasses; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Linq; using System.Reflection; namespace IntNovAction.Utils.E...
32.631068
123
0.651889
[ "MIT" ]
JTOne123/IntNovAction.Utils.ExcelImporter
IntNovAction.Utils.ExcelImporter.Tests/Processors/NullableDecimal_Should.cs
3,363
C#
/* * Bungie.Net API * * These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. * * OpenAPI spec version: 2.1.1 * Contact: support@bungie.com * Generated by: https://github.com...
26.826446
194
0.575169
[ "MIT" ]
xlxCLUxlx/BungieNetPlatform
src/BungieNetPlatform.Test/Model/InlineResponse20022Tests.cs
3,246
C#
/* Copyright (C) 2009 Volker Berlin (vberlin@inetsoftware.de) This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, ...
48.733333
199
0.541241
[ "Apache-2.0" ]
Distrotech/mono
external/ikvm/debugger/JdwpHandler.cs
12,427
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BuilderDesignPattern { class Program { static void Main(string[] args) { #region Lab_1 //Directory directory = new Directory(); //IB...
26.311475
67
0.556386
[ "MIT" ]
YagizcanSeheri/DesignPatternStorage
BuilderDesignPattern/Program.cs
1,608
C#
using UnityEngine; using UnityEditor; [CustomPropertyDrawer(typeof(RangeFloat))] public class RangeFloatDrawer : PropertyDrawer { private static GUIContent[] emptyContent = new GUIContent[2] { new GUIContent(" "), new GUIContent(" ") }; public override void OnGUI(Rect position, SerializedProperty property, GUICont...
31.69697
107
0.755258
[ "Unlicense", "MIT" ]
LjutaPapricica/LockPick_Unity
Assets/Source/Editor/CustomDrawers/RangeFloatDrawer.cs
1,048
C#
using System; using UnityEngine.Serialization; namespace UnityEngine.Rendering.PostProcessing { // For now and by popular request, this bloom effect is geared toward artists so they have full // control over how it looks at the expense of physical correctness. // Eventually we will need a "true" natural bl...
45.549451
255
0.609972
[ "MIT" ]
25077667/Camera_Man_GameJam
0905_GameJam/Library/PackageCache/com.unity.postprocessing@2.1.7/PostProcessing/Runtime/Effects/Bloom.cs
12,435
C#
namespace Newbe.Claptrap.StorageProvider.Relational.EventStore { public interface IEventEntityMapper<T> where T : IEventEntity { T Map(IEvent @event); IEvent Map(T entity, IClaptrapIdentity identity); } }
24.1
62
0.684647
[ "MIT" ]
Z4t4r/Newbe.Claptrap
src/Newbe.Claptrap.StorageProvider.Relational/EventStore/IEventEntityMapper.cs
241
C#
//----------------------------------------------------------------------- // <copyright file="UnsafeUtilities.cs" company="Sirenix IVS"> // Copyright (c) 2018 Sirenix IVS // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may ...
37.839901
299
0.444379
[ "Apache-2.0", "MIT" ]
IntoTheDev/Save-System-for-Unity
OdinSerializer/Utilities/Misc/UnsafeUtilities.cs
15,363
C#
using System; using System.IO; using System.Linq; using OpenMLTD.MilliSim.Contributed.Scores; using OpenMLTD.MilliSim.Contributed.Scores.Extending; using OpenMLTD.MilliSim.Contributed.Scores.Runtime; using OpenMLTD.MilliSim.Contributed.Scores.Source; using OpenMLTD.MilliSim.Core; using OpenMLTD.MilliSim.Extension.Contr...
44.169291
148
0.509849
[ "MIT" ]
hozuki/TheaterDaysSim
src/plugins/StandardScoreFormats.Mltd/Unity3DScoreReader.cs
11,219
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://...
40.826087
203
0.585729
[ "MIT" ]
3quanfeng/azure-powershell
src/RecoveryServices/RecoveryServices.SiteRecovery/ProtectionContainer/NewAzureRmRecoveryServicesAsrProtectionContainer.cs
3,667
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Drawing; using System.IO; using Foundation; using osu.Framework.Configuration; using osu.Framework.G...
53.54717
130
0.702138
[ "MIT" ]
ppy/osu-framework
osu.Framework.iOS/IOSGameHost.cs
8,514
C#
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.ComponentModel; using System.Reflection; using System.Collections.Generic; using NetOffice; namespace NetOffice.WordApi { ///<summary> /// DispatchInterface _OLEControl ...
28.357143
166
0.639439
[ "MIT" ]
NetOffice/NetOffice
Source/Word/DispatchInterfaces/_OLEControl.cs
8,337
C#
using System; using System.Diagnostics; using System.Runtime.CompilerServices; namespace RCNB { /// <summary> /// Encodes and decodes RCNB. /// </summary> public static class RcnbConvert { // char private const string cr = "rRŔŕŖŗŘřƦȐȑȒȓɌɍ"; private const string cc = "cCĆćĈ...
36.885906
134
0.484443
[ "MIT" ]
bltsheep/RCNB.csharp
RCNB/RcnbConvert.cs
11,041
C#
using System; using System.IO; using System.Runtime.InteropServices; using System.Text; using static SigFlip.WinTrustData; namespace SigFlip { public enum WinTrustDataUIChoice : uint { All = 1, None = 2, NoBad = 3, NoGood = 4 } public enum WinTrustDataRevocati...
32.879699
111
0.57432
[ "MIT" ]
CrackerCat/sigFile
SigFlip/SigFlip/WinVerifyTrust.cs
8,748
C#
using System.ComponentModel; using System.Runtime.CompilerServices; using System.Windows; using System.Windows.Controls; using BuildNotifications.Resources.Icons; using JetBrains.Annotations; namespace BuildNotifications.Resources.Settings { internal class DecoratedComboBox : ComboBox, INotifyPropertyChanged ...
33.2
133
0.639224
[ "MIT" ]
TheSylence/BuildNotifications
BuildNotifications/Resources/Settings/DecoratedComboBox.cs
2,990
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 ...
35.475
84
0.755462
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-hsm/Hsm/Transform/V20180111/ConfigNetworkResponseUnmarshaller.cs
1,419
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class Player : MonoBehaviour { [SerializeField] private int _speed = 10; [SerializeField] private int _limit = 6; private void Update() { Vector3 velocity = Vector3.zero; ...
27.837209
96
0.59315
[ "MIT" ]
maxencedcx/Road42
UnityFolder/Assets/Scripts/Game/Player.cs
1,199
C#
using System.Resources; 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. [ass...
38.775
125
0.753063
[ "MIT" ]
Filippos-Filippidis/BlueStreak
src/BlueStreakGH/Properties/AssemblyInfo.cs
1,554
C#
// <copyright file="ConversationRepository.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // </copyright> namespace Microsoft.Teams.Apps.Timesheet.Common.Repositories { using Microsoft.Teams.Apps.Timesheet.Common.Models; /// <summary> /// T...
34.958333
95
0.678188
[ "MIT" ]
hunaidhanfee20/timesheet-app
Source/Microsoft.Teams.Apps.Timesheet.Common/Repositories/Conversation/ConversationRepository.cs
841
C#
namespace Nuuvify.CommonPack.UnitOfWork { using System; using System.Linq; using System.Threading.Tasks; /// <summary> /// Defines the interface(s) for unit of work. /// </summary> public interface IUnitOfWork : IDisposable { /// <value>Get or Set user current context</value> ...
47.690909
184
0.628288
[ "MIT" ]
lzocateli00/Lzfy.DevPack
src/Nuuvify.CommonPack.UnitOfWork/Interfaces/IUnitOfWork.cs
2,625
C#
#region Copyright notice and license // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // http://github.com/jskeet/dotnet-protobufs/ // Original C++/Java/Python code: // http://code.google.com/p/protobuf/ // // Redistribution and use in source and binary forms, ...
37.799778
121
0.444618
[ "MIT" ]
protobuflab/protobuf-langserver
language-server/src/ConsoleApp/Internal/TextFormat.cs
33,982
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: Assembl...
39.972973
102
0.751183
[ "Apache-2.0" ]
hawezo/LEA
Sample/Properties/AssemblyInfo.cs
1,504
C#
extern alias scfx; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using SyscallCallback = scfx.Neo.SmartContract.Framework.Services.System.SyscallCallback; namespace Neo.SmartContract.Framework.UnitTests { [TestClass] public class SyscallCallbackTest { ...
28.882353
115
0.54243
[ "MIT" ]
bettybao1209/neo-devpack-dotnet
tests/Neo.SmartContract.Framework.UnitTests/SyscallCallbackTest.cs
1,473
C#
using LinkedMink.Data.Base; using System; using System.Linq; namespace LinkedMink.Web.Infastructure.ViewModels { public class SortCriteriaViewModel { public string SortBy { get; set; } public int? Order { get; set; } public string SortAttribute => !string.IsNullOrEmpty(SortBy) ? ...
30.842105
92
0.56314
[ "MIT" ]
LinkedMink/environ-manager-server
LinkedMink.Web.Infastructure/ViewModels/SortCriteriaViewModel.cs
1,174
C#
#region PDFsharp - A .NET library for processing PDF // // Authors: // Stefan Lange // // Copyright (c) 2005-2016 empira Software GmbH, Cologne Area (Germany) // // http://www.pdfsharp.com // http://sourceforge.net/projects/pdfsharp // // Permission is hereby granted, free of charge, to any person obtaining a // cop...
42.47619
149
0.686659
[ "MIT" ]
jumpchain/jumpmaker
JumpMaker/PDFSharp/PdfSharp/Silverlight/SilverlightHelper.cs
3,570
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace NumbersFromOneToFifty.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } public ActionResult Ab...
19.6
67
0.571429
[ "MIT" ]
kr056/SoftUni
Software Technologies July 2017/11_C# ASP.NET MVC Overview Lab/NumbersFromOneToFifty/NumbersFromOneToFifty/NumbersFromOneToFifty/Controllers/HomeController.cs
590
C#
namespace Railway_express { partial class frmAdminResturent { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
61.345361
171
0.628813
[ "MIT" ]
snafal/Train-Express-C-
Railway express/Railway express/frmAdminResturent.Designer.cs
23,804
C#
/* * Copyright 2010-2014 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 "l...
37.585366
179
0.665477
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/SimpleWorkflow/Generated/Model/CancelWorkflowExecutionFailedEventAttributes.cs
3,082
C#
using System; namespace SIL.Cog.Application.Import { public class ImportException : Exception { public ImportException(string message) : base(message) { } public ImportException(string message, Exception innerException) : base(message, innerException) { } } }
15.722222
66
0.724382
[ "MIT" ]
sillsdev/cog
Cog.Application/Import/ImportException.cs
283
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespa...
48.570104
323
0.611103
[ "MIT" ]
azure-keyvault/azure-sdk-for-net
src/SDKs/IotHub/Management.IotHub/Generated/IIotHubResourceOperations.cs
41,916
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
58.045752
265
0.642495
[ "MIT" ]
imadan1996/azure-powershell
src/ContainerInstance/generated/api/Models/Api20210901/Components10Wh5UdSchemasContainergroupidentityPropertiesUserassignedidentitiesAdditionalproperties.TypeConverter.cs
8,729
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("Mi...
39.216216
84
0.754652
[ "MIT" ]
JYang17/SampleCode
Samples/MissionariesCannibalsPassRiver/MissionariesCannibalsPassRiver/Properties/AssemblyInfo.cs
1,454
C#
using MessagePackLib.MessagePack; using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Windows.Forms; namespace Plugin { public static class ...
29.516484
136
0.473939
[ "MIT" ]
Aekras1a/DeceasedRat
Plugin/Chat/Chat/Packet.cs
2,688
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...
45.45515
172
0.601593
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20190201/VirtualNetwork.cs
13,682
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/wincrypt.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syst...
36.395349
145
0.704792
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
tests/Interop/Windows/Windows/um/wincrypt/OCSP_BASIC_RESPONSE_INFOTests.cs
1,567
C#
using System; namespace IxMilia.Step.Items { public abstract class StepAxis2Placement : StepPlacement { private StepDirection _refDirection; public StepDirection RefDirection { get { return _refDirection; } set { if (value ==...
22.277778
115
0.523691
[ "MIT" ]
R1C4RDO13/step
src/IxMilia.Step/Items/StepAxis2Placement.cs
804
C#
using System; using System.Threading.Tasks; using HtcSharp.Abstractions.Manager; namespace HtcSharp.Abstractions { public interface IPlugin : IReadOnlyPlugin, IDisposable { Task Init(IServiceProvider serviceProvider); Task Enable(); Task Disable(); } }
22.153846
61
0.711806
[ "Apache-2.0" ]
jpdante/HTCSharp
HtcSharp.Abstractions/IPlugin.cs
290
C#
namespace MassTransit.Azure.ServiceBus.Core.Contexts { using System; using System.Threading.Tasks; using GreenPipes; using Microsoft.Azure.ServiceBus; using Microsoft.Azure.ServiceBus.Core; public class MessageSendEndpointContext : BasePipeContext, SendEndpointContext { ...
27.095238
101
0.66696
[ "ECL-2.0", "Apache-2.0" ]
Aerodynamite/MassTrans
src/Transports/MassTransit.Azure.ServiceBus.Core/Contexts/MessageSendEndpointContext.cs
1,138
C#
using System; using System.Threading.Tasks; namespace Device.Net { /// <summary> /// This interface is a work in progress. It is not production ready. /// </summary> public interface IDeviceManager { void QueueRequest(IRequest request); Task<TResponse> WriteAndReadAsync<TResponse>...
25.157895
108
0.6841
[ "MIT" ]
D0ctorWh0/Device.Net
src/Device.Net.Reactive/IDeviceManager.cs
480
C#
namespace AzureDevOpsKats.Common.Configuration { public class ElasticSearchConfiguration { public string ElasticUrl { get; set; } public bool Enabled { get; set; } } }
19.8
47
0.661616
[ "MIT" ]
FantasticFullStackDev/AzureDevOpsKats
src/AzureDevOpsKats.Common/Configuration/ElasticSearchConfiguration.cs
200
C#
using Autofac; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Server.Kestrel.Core; using Microsoft.Extensions.DependencyInjection; using Common; using Mesh.Dapr; using System; using System.Collections.Generic; using System.Net; using System.Text; using System.Threadi...
28.705882
84
0.675205
[ "MIT" ]
107295472/DaprHost
Dapr/IocModule/ContainerBuilderExtension.cs
1,002
C#