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
#if HAS_SPAN #nullable enable using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace NBitcoin.Secp256k1.Musig { #if SECP256K1_LIB public #endif class MusigPrivNonce : IDisposable { readonly static RandomNu...
26.137755
289
0.668163
[ "MIT" ]
MetacoSA/NBitcoin
NBitcoin/Secp256k1/Musig/MusigPrivNonce.cs
5,125
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Общие сведения об этой сборке предоставляются следующим набором // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // связанные со сборкой. [assembly: AssemblyTitle("KeyboardCube")] [a...
38.567568
99
0.76384
[ "MIT" ]
KartaviK/keyboard-cube
KeyboardCube/Properties/AssemblyInfo.cs
2,007
C#
using System.Collections.Generic; using Dfc.CourseDirectory.Core.DataStore.Sql.Models; using Dfc.CourseDirectory.FindAnApprenticeshipApi.Helper; namespace Dfc.CourseDirectory.FindAnApprenticeshipApi.Models { public class ApprenticeshipLocationSameAddress : EqualityComparer<ApprenticeshipLocation> { pu...
32
94
0.657452
[ "MIT" ]
SkillsFundingAgency/dfc-coursedirectory
src/Dfc.CourseDirectory.FindAnApprenticeshipApi/Models/ApprenticeshipLocation.cs
834
C#
using FluentAssertions; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using System.Data; using System.Reflection; namespace Enclave.FastPacket.Generator.Tests.Helpers; internal static class CompilationVerifier { public static Task Verify(string source) { var compilation = Create(...
35.235294
119
0.707012
[ "MPL-2.0" ]
enclave-networks/Enclave.FastPacket
tests/Enclave.FastPacket.Generator.Tests/Helpers/CompilationVerifier.cs
1,200
C#
// Copyright (c) 2011-2020 Roland Pheasant. All rights reserved. // Roland Pheasant licenses this file to you under the MIT license. // See the LICENSE file in the project root for full license information. // ReSharper disable CheckNamespace namespace DynamicData; /// <summary> /// A grouped change set. /// </summ...
37.894737
116
0.738889
[ "MIT" ]
pdegenhardt/DynamicData
src/DynamicData/Cache/IGroupChangeSet.cs
722
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("cir...
37.621622
84
0.747845
[ "Apache-2.0" ]
BrOlaf45/csharp-projects
repos/Repos/circledeneme/Properties/AssemblyInfo.cs
1,395
C#
using System.Threading.Tasks; using Discord; using Discord.WebSocket; using System; using Discord.Commands; using NadekoBot.Extensions; using System.Linq; using NadekoBot.Common.Attributes; using NadekoBot.Common.ModuleBehaviors; using NadekoBot.Core.Services; using NadekoBot.Core.Services.Impl; using NadekoBot.Common...
38.74359
145
0.553055
[ "MIT" ]
ingochris/NadekoBot
NadekoBot.Core/Modules/Help/Services/HelpService.cs
4,535
C#
// Copyright © 2012-2020 VLINGO LABS. All rights reserved. // // This Source Code Form is subject to the terms of the // Mozilla Public License, v. 2.0. If a copy of the MPL // was not distributed with this file, You can obtain // one at https://mozilla.org/MPL/2.0/. using System.Collections.Generic; namespace Vlingo...
34.395349
145
0.595335
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Luteceo/vlingo-all
vlingo-net-cluster/src/Vlingo.Cluster/Model/Attribute/AttributesClient.cs
2,959
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...
49.078652
533
0.641026
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Compute/V20191201/Inputs/OSDiskArgs.cs
4,368
C#
#region File Information // // File: "ExporterLayer.cs" // Purpose: "Describes a layer which is capable of being exported" // Author: "Geoplex" // #endregion #region (c) Copyright 2011 Geoplex // // THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, // EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT...
27.32
78
0.665447
[ "BSD-3-Clause" ]
geoplex/arcgis-exporter-extension
GPX.Server.Extension/ExportLayer.cs
1,368
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Reflection; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using Orleans.CodeGeneration; using Orleans.Configuration; using Orleans.Metadata; using Orleans.Runtime; using Orl...
36.25
152
0.594501
[ "MIT" ]
CodingBrushUp/orleans
src/Orleans.Core/GrainReferences/GrainReferenceActivator.cs
10,730
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using YY.DBTools.SQLServer.XEvents.ToClickHouse.SharedBuffer.EventArgs; using YY.DBTools.SQLServer.XEvents.ToClickHouse.SharedBuffer.Exceptions;...
38.385827
120
0.516923
[ "MIT" ]
YPermitin/YY.DBTools
Libs/YY.DBTools.SQLServer.XEvents.ToClickHouse/SharedBuffer/ExtendedEventsExport.cs
9,752
C#
/** * SpikeLite C# IRC Bot * Copyright (c) 2011 FreeNode ##Csharp Community * * This source is licensed under the terms of the MIT license. Please see the * distributed license.txt for details. */ using System; using System.Collections.Generic; using System.ServiceModel; using System.ServiceModel.Channels; us...
40.235294
182
0.631944
[ "MIT" ]
Freenode-Csharp/DEPRECATED-SpikeLite
SpikeLite.IPC.WebHost/SecuredOperation.cs
8,210
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; using System.Threading; namespace Microsoft.AspNetCore.Hosting { internal class WebHostLifetime : IDisposable { private readonly CancellationTokenSourc...
32.682353
116
0.575594
[ "MIT" ]
48355746/AspNetCore
src/Hosting/Hosting/src/Internal/WebHostLifetime.cs
2,778
C#
using System; using fNbt; using TrueCraft.Core.Inventory; using TrueCraft.Core.Networking.Packets; namespace TrueCraft.Core.Server { // TODO: this should be a server-side only interface. public interface IServerSlot : ISlot { /// <summary> /// Gets whether or not this slot has been "saved"...
30.473684
90
0.603627
[ "MIT" ]
woodvale/TrueCraft
TrueCraft.Core/Server/IServerSlot.cs
1,158
C#
using SimpleWebApiClient.Formatters; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace SimpleWebApiClient { public partial class WebApiClient { public IFormatter Formatter { get; set; } ...
20.809524
49
0.663616
[ "MIT" ]
coolwhispers/SimpleWebApiClient
WebApiClient.Formatter.cs
439
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; using System.Runtime.InteropServices; using System.Security; internal partial class Interop { int...
33.2
86
0.74247
[ "MIT" ]
3F/coreclr
src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysAllocStringLen.cs
664
C#
using System; using System.Threading.Tasks; namespace AsyncAwaitBestPractices { /// <summary> /// Extension methods for System.Threading.Tasks.Task and System.Threading.Tasks.ValueTask /// </summary> public static class SafeFireAndForgetExtensions { static Action<Exception>? _onException;...
70.035398
328
0.695982
[ "MIT" ]
andrekiba/AsyncAwaitBestPractices
Src/AsyncAwaitBestPractices/SafeFireAndForgetExtensions.cs
7,916
C#
namespace Telegram.Bot.Advanced.Models { public enum UserUpdate { EveryMessage, BotCommand, PrivateMessage } }
20.285714
40
0.633803
[ "MIT" ]
fuji97/Telegram.Bot.Advanced
Telegram.Bot.Advanced/Models/UserUpdate.cs
142
C#
using SqlParser.Ast; using SqlParser.Tokenizing; namespace SqlParser.SqlServer.Parsing { public partial class Parser { private SqlDeclareNode ParseDeclare(ITokenizer t) { // "DECLARE" <variable> <DataType> ("=" <Expression>)? // TODO: "DECLARE" <variable> <DataType> ("=...
36.337838
121
0.506136
[ "Apache-2.0" ]
Whiteknight/SqlParser
Src/SqlParser/SqlServer/Parsing/Parser.Variables.cs
2,691
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using YamlDotNet.Serialization; namespace KubeClient.Models { /// <summary> /// ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, o...
43.904762
261
0.668655
[ "MIT" ]
PhilippCh/dotnet-kube-client
src/KubeClient/Models/generated/ExternalMetricSourceV2Beta1.cs
1,844
C#
using System; using UnityModManagerNet; namespace DVKeylessEntry { /// <summary> /// Mod settings /// </summary> public class Settings : UnityModManager.ModSettings, IDrawable { /// <summary> /// Enable/Disable automatic engine start /// </summary> [Draw("Automatic ...
34.098901
122
0.574283
[ "MIT" ]
AyrA/DVKeylessEntry
DVKeylessEntry/Settings.cs
3,105
C#
// Project Orleans Cloud Service SDK ver. 1.0 // // Copyright (c) .NET Foundation // // All rights reserved. // // MIT License // // 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 with...
45.176471
81
0.755859
[ "MIT" ]
rikace/orleans
src/Build/GlobalAssemblyInfo.cs
1,536
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.Core.SchemaObjectModel { // This file contains an enum for the errors generated by Metadata Loading (SOM) // // There is almost a one-to-on...
31.474667
168
0.533381
[ "Apache-2.0" ]
TerraVenil/entityframework
src/EntityFramework/Core/SchemaObjectModel/ErrorCode.cs
23,606
C#
#if CSHotFix using System; using System.Collections.Generic; using System.Reflection; using System.Runtime.InteropServices; using CSHotFix.CLR.TypeSystem; using CSHotFix.CLR.Method; using CSHotFix.Runtime.Enviorment; using CSHotFix.Runtime.Intepreter; using CSHotFix.Runtime.Stack; using CSHotFix.Reflectio...
48.232129
167
0.650502
[ "MIT" ]
591094733/cshotfix
CSHotFix_SimpleFramework/Assets/CSHotFixLibaray/Generated/CLRGen1/UnityEngine_Assertions_Assert_Binding.cs
60,049
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.700565
63
0.56783
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateCoverPipelineResponse.cs
2,779
C#
// WARNING: // This file was generated by the Microsoft DataWarehouse String Resource Tool 4.0.0.0 // from information in sr.strings // DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN // namespace Microsoft.SqlTools.ServiceLayer { using System; using System.Reflection; using System.Res...
28.882861
175
0.584611
[ "MIT" ]
JPaja/sqltoolsservice
src/Microsoft.SqlTools.ServiceLayer/Localization/sr.cs
133,641
C#
using Mono.Linker.Tests.Cases.Expectations.Assertions; using Mono.Linker.Tests.Cases.Expectations.Metadata; using Mono.Linker.Tests.Cases.Inheritance.Interfaces.Dependencies; namespace Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnReferenceType { [SetupCompileBefore ("linked.dll", new[] { typeof (InterfaceTypeInOt...
58.869565
241
0.824225
[ "MIT" ]
Youssef1313/linker
test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/InterfaceTypeInOtherUsedOnlyBySavedAssemblyExplicit.cs
1,354
C#
#region WatiN Copyright (C) 2006-2011 Jeroen van Menen //Copyright 2006-2011 Jeroen van Menen // // 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....
34.418803
114
0.558977
[ "Apache-2.0" ]
Bruno-N-Fernandes/WatiN
src/Core/Native/INativeDocument.cs
4,027
C#
using System; namespace FullInspector { /// <summary> /// Allows an IPropertyEditor to be used as an attribute property editor. /// </summary> [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)] public sealed class CustomAttributePropertyEditorAttribute : Attribute { /// <su...
38.756098
100
0.639396
[ "MIT" ]
bakiya-sefer/bakiya-sefer
Assets/FullInspector2/Core/Editor/CustomAttributePropertyEditorAttribute.cs
1,591
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. namespace Microsoft.EntityFrameworkCore.TestModels.InheritanceRelationships { public class CollectionOnDerived { public int Id { get; se...
32.733333
111
0.702648
[ "Apache-2.0" ]
1iveowl/efcore
test/EFCore.Specification.Tests/TestModels/InheritanceRelationships/CollectionOnDerived.cs
491
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34209 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
42.079365
180
0.6043
[ "MIT" ]
smangelschots/DotErp
DataLayer Tutorial 1/ExcelWorkbook1/ExcelWorkbook1/Properties/Resources.Designer.cs
2,653
C#
// // System.IO.NotifyFilters.cs // // Author: // Tim Coleman (tim@timcoleman.com) // // Copyright (C) Tim Coleman, 2002 // Copyright (C) 2006 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files ...
32.12766
73
0.730464
[ "MIT" ]
zlxy/Genesis-3D
Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/System/System.IO/NotifyFilters.cs
1,510
C#
using System; using NHibernate.UserTypes; using NHibernate.SqlTypes; using System.Data; using NHibernate; #if NHIBERNATE5 using System.Data.Common; using NHibernate.Engine; #endif namespace CSF.NHibernate { /// <summary> /// An NHibernate <see cref="IUserType"/> which stores a <see cref="Guid"/> as binary ...
41.363636
109
0.612308
[ "MIT" ]
csf-dev/CSF.Data.NHibernate
CommonSrc/Rfc4122BinaryGuidType.cs
6,827
C#
using System; using IdentityBugLog.Areas.Identity.Data; using IdentityBugLog.Data; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjecti...
43.083333
140
0.648614
[ "MIT" ]
Meeyzt/IdentityBugLog
IdentityBugLog/Areas/Identity/IdentityHostingStartup.cs
1,563
C#
using System; using System.Collections.Generic; using System.Xml.Serialization; using UnityEngine; [XmlRoot("GameSaveData")] public class GameSaveData { [XmlAttribute("storeName")] public string StoreName; [XmlElement("storeColor")] public ColorSave StoreColor; [XmlAttribute("money")] public...
30.39924
248
0.652033
[ "Apache-2.0" ]
BlackDragonBE/store-story
Assets/Scripts/SaveLoad/GameSaveData.cs
7,997
C#
/*Problem 11. Binary search Write a program that finds the index of given element in a sorted array of integers by using the binary search algorithm * (find it in Wikipedia). */ using System; class BinarySearch { static void Main() { Console.WriteLine("Enter a number for N:"); int N = in...
27.59322
121
0.52457
[ "MIT" ]
Vladeff/TelerikAcademy
C#2 Homework/Arrays/11BinarySearch/BinarySearch.cs
1,632
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: AssemblyTi...
38.621622
85
0.725682
[ "MIT" ]
futurix/demo-scraper
HackerNews/HackerNews/Properties/AssemblyInfo.cs
1,432
C#
namespace gov.sandia.sld.common.configuration { public class MonitoredDrive : DriveInfo { public bool isMonitored { get; set; } public MonitoredDrive() { isMonitored = true; } } }
18.307692
46
0.571429
[ "MIT" ]
gaybro8777/common
src/ConfigurationLib/MonitoredDrive.cs
240
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.StaticFiles; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Text; namespace AuditLogView { public class LogConfigureOptions:...
39.564103
112
0.701879
[ "MIT" ]
gnsilence/AntdPro-Vue-id4
ABP.WebApi/后端/src/AuditLogView/LogConfigureOptions.cs
1,545
C#
using System.ComponentModel; namespace LinqAn.Google.Metrics { /// <summary> /// Quantity of the related product. /// </summary> [Description("Quantity of the related product.")] public class RelatedProductQuantity: Metric<int> { /// <summary> /// Instantiates a <seealso cref="RelatedProductQuantity" />. ...
21.714286
101
0.695175
[ "MIT" ]
kenshinthebattosai/DotNetAnalytics.Google
src/LinqAn.Google/Metrics/RelatedProductQuantity.cs
456
C#
using System; using System.Reflection; namespace Spencer.NET { public interface IConstructorInfoListGenerator { ConstructorInfo[] GenerateList(Type @class); } }
18.2
52
0.71978
[ "MIT" ]
kacperfaber/Spencer.NET
Spencer.NET/Interfaces/IConstructorInfoListGenerator.cs
184
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...
35.730769
159
0.728741
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Inputs/RuleGroupRuleStatementAndStatementStatementNotStatementStatementByteMatchStatementFieldToMatchSingleHeaderGetArgs.cs
929
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...
45.21875
220
0.734623
[ "ECL-2.0", "Apache-2.0" ]
chivandikwa/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementOrStatementStatementAndStatementStatementSqliMatchStatementTextTransformationGetArgs.cs
1,447
C#
namespace Sequin.Owin.Integration.Fakes { using System.Threading.Tasks; public class MultiHandlerCommandHandler1 : IHandler<MultiHandlerCommand> { public Task Handle(MultiHandlerCommand command) { throw new System.NotImplementedException(); } } public class Mul...
24.904762
76
0.665392
[ "MIT" ]
jasonmitchell/owin.commandhandling
src/Sequin.Owin.Integration/Fakes/MultiHandlerCommandHandler.cs
525
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.ExcelApi { /// <summary> /// IRectangle /// </summary> [SyntaxBypass] public class IRectangle_ : COMObject { #region Ctor /// <param name="factory">current used factory core</param> ...
27.229273
174
0.663008
[ "MIT" ]
DominikPalo/NetOffice
Source/Excel/Interfaces/IRectangle.cs
26,605
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> //--...
38.680556
180
0.60395
[ "MIT" ]
zzxtz007/TDAutoPlay
PythonAutoPlay/PythonAutoPlay/Properties/Resources.Designer.cs
2,787
C#
using System.Threading.Tasks; namespace System.Net.Http.Message.Modifiers { public record SetAuthorizationBearerMessageModifier : SetAuthorizationValueMessageModifier { public SetAuthorizationBearerMessageModifier(string? Value, bool? Enabled = default) : base(Value, Enabled) { } ...
25.5
117
0.7
[ "MIT" ]
MediatedCommunications/Extensions
System.Net.Http.Extensions/System/Net/Http/Message/Modifiers/Authorization/SetAuthorizationBearerMessageModifier.cs
512
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; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; usin...
49.472165
157
0.619238
[ "MIT" ]
garyhuntddn/corefx
src/Common/src/CoreLib/System/AggregateException.cs
23,994
C#
using qASIC.InputManagement; namespace qASIC.Toggling { public class TogglerRemappable : Toggler { public string keyName; private void Update() { if (InputManager.GetInputDown(keyName)) KeyToggle(); } } }
18.133333
51
0.588235
[ "MIT" ]
Outgrass-Studios/LudumDare49
Assets/qASIC/Toggler/TogglerRemappable.cs
272
C#
namespace <%= name %>.ViewModels { public class RoleViewModel { public string Name { get; set; } public int Id { get; set; } } }
17.444444
40
0.547771
[ "MIT" ]
folkelib/generator-folke
generators/app/templates/ViewModels/RoleViewModel.cs
157
C#
using System; namespace Swashbuckle.AspNetCore.SwaggerGen { public class SchemaGeneratorException : Exception { public SchemaGeneratorException(string message) : base(message) { } public SchemaGeneratorException(string message, Exception innerException) : base(message, innerException)...
26.153846
113
0.705882
[ "MIT" ]
Agisthemantobeat/Swashbuckle.AspNetCore
src/Swashbuckle.AspNetCore.SwaggerGen/SchemaGenerator/SchemaGeneratorException.cs
342
C#
using System; using System.Linq; using System.Threading.Tasks; using PnP.Core.Services; namespace PnP.Core.Model.SharePoint { internal partial class PushNotificationSubscriberCollection { } }
17.083333
63
0.770732
[ "MIT" ]
Ashikpaul/pnpcore
src/generated/SP/Internal/PushNotificationSubscriberCollection.cs
205
C#
using System; namespace OpenEventSourcing.EntityFrameworkCore.Entities { public class ProjectionState { public string Name { get; set; } public long Position { get; set; } public DateTimeOffset CreatedDate { get; set; } public DateTimeOffset? LastModifiedDate { get; set; } ...
24.923077
61
0.66358
[ "MIT" ]
danielcirket/OpenEventSourcing
src/OpenEventSourcing.EntityFrameworkCore/Entities/ProjectionState.cs
326
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/winnt.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { publ...
31.214286
145
0.7254
[ "MIT" ]
Ethereal77/terrafx.interop.windows
sources/Interop/Windows/um/winnt/TOKEN_MANDATORY_POLICY.cs
439
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Verse; using UnityEngine; using RimWorld; namespace TorannMagic { [StaticConstructorOnStartup] internal class Gizmo_StatusBar : Gizmo { private static readonly Texture2D FullTex = SolidColorMaterials.NewSol...
44.542553
139
0.488655
[ "BSD-3-Clause" ]
Phenrei/RWoM
RimWorldOfMagic/RimWorldOfMagic/Gizmo_StatusBar.cs
4,189
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using CommandLine; namespace Roslynator.CommandLine { public abstract class AbstractGenerateDocCommandLineOptions : MSB...
42.098361
160
0.626168
[ "Apache-2.0" ]
RickeyEstes/Roslynator
src/CommandLine/Options/AbstractGenerateDocCommandLineOptions.cs
2,570
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.S...
39.643836
160
0.673808
[ "Apache-2.0" ]
AdrianWilczynski/Roslynator
src/Refactorings/CSharp/Refactorings/ReverseReversedForLoopRefactoring.cs
2,896
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Diagnostics; using System.Threading.Tasks; using DigitalPlatform; using DigitalPlatform.CommonControl; using DigitalPlatform.IO; using DigitalPlatform.Text; using DigitalPlatform.LibraryClient; using DigitalPlatfor...
31.974585
184
0.44624
[ "Apache-2.0" ]
DigitalPlatform/dp2
dp2Circulation/Charging/ChargingTask.cs
68,606
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...
34.54386
119
0.652616
[ "ECL-2.0", "Apache-2.0" ]
EladGabay/pulumi-oci
sdk/dotnet/ApiGateway/Outputs/DeploymentSpecificationRequestPoliciesAuthenticationPublicKeys.cs
1,969
C#
using System.ComponentModel.DataAnnotations; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; namespace BE.CQRS.Data.MongoDb.Denormalizations { [BsonIgnoreExtraElements] public sealed class MongoDomainObjectVersion { [BsonId] public ObjectId Id { get; set; } [Required] publ...
26.375
63
0.71564
[ "MIT" ]
BoasE/BE.CQRS
src/Data/BE.CQRS.Data.MongoDb/Denormalizations/MongoDomainObjectVersion.cs
422
C#
using Microsoft.WindowsAPICodePack.Dialogs; using System; using System.Windows; namespace CommonDialog.WindowsAPICodePack { public abstract class CommonFileDialogExecuter<TCommonFileDialogSettings, TCommonDialogSettings> : Core.ICommonDialogExecuter, Core.ICommonDialogPrecedence where TCommon...
49.380952
153
0.685149
[ "MIT" ]
juner/CommonDialog
src/CommonDialog.WindowsAPICodePack/CommonFileDialogExecuter.cs
2,076
C#
namespace InterfaceSegregationIdentityAfter { using System.Collections.Generic; using InterfaceSegregationIdentityAfter.Contracts; public class AccountManager : IManager { public void ChangePassword(string oldPass, string newPass) { // change password } } }
21.133333
66
0.678233
[ "MIT" ]
ciprian-stingu/c-sharp-hw-day5
SOLID and Other Principles/4. Interface Segregation/2.2. Identity - After/AccountManager.cs
319
C#
//Copyright (C) 2006 Richard J. Northedge // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This lib...
32.522293
116
0.644144
[ "MIT" ]
AlexPoint/OpenNlp
OpenNLP/Tools/Coreference/DiscourseElement.cs
5,106
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...
53.77713
195
0.65602
[ "Apache-2.0" ]
KenHundley/aws-sdk-net
sdk/src/Services/Transfer/Generated/_netstandard/IAmazonTransfer.cs
46,087
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; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Text; using Silk.NET.Core; using Silk.NET.Core.Native; using Silk.NET.Core.At...
44.50073
197
0.573861
[ "MIT" ]
Zellcore/Silk.NET
src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12Resource1.gen.cs
30,483
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 System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using Microsoft.Azure.WebJobs.Logging; using Microsoft....
42.015748
240
0.555285
[ "Apache-2.0", "MIT" ]
azurecloudhunter/azure-functions-host
src/WebJobs.Script/Config/HostJsonFileConfigurationSource.cs
10,674
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.1 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut generiert...
46.859375
178
0.637212
[ "Apache-2.0" ]
CrypToolProject/CrypTool-2
CrypPlugins/CostFunction/Properties/Resources.Designer.cs
3,009
C#
using System; using System.Threading.Tasks; using System.Collections.Generic; using System.Numerics; using Nethereum.Hex.HexTypes; using Nethereum.ABI.FunctionEncoding.Attributes; using Nethereum.Web3; using Nethereum.RPC.Eth.DTOs; using Nethereum.Contracts.CQS; using Nethereum.Contracts; using System.Threading; names...
49.127542
8,895
0.789864
[ "Apache-2.0" ]
Dave-Whiffin/Nethereum.eShop
src/contracts/Nethereum.Commerce.Contracts/EternalStorage/ContractDefinition/EternalStorageDefinition.cs
26,578
C#
using System.Globalization; namespace BattleMuffin.Configuration { public interface IClientConfiguration { string ClientId { get; } string ClientSecret { get; } string Host { get; } string OauthHost { get; } CultureInfo Locale { get; } } }
20.928571
41
0.62116
[ "MIT" ]
tehmufifnman/BattleMuffin
src/BattleMuffin/Configuration/IClientConfiguration.cs
293
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; using BastelKatalog.Data; namespace BastelKatalog.Models { /// <summary> /// Position of a category among its sibling categories /// </summary> public enum SubCategoryPosition...
29.477273
84
0.51118
[ "MIT" ]
damidhagor/BastelKatalog
BastelKatalog/BastelKatalog/Models/CategoryWrapper.cs
2,596
C#
// Python Tools for Visual Studio // Copyright(c) Microsoft Corporation // 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. You may obtain a copy of the // License at http://www.apache.org/licenses/LICENSE-2.0 //...
32.730769
131
0.653741
[ "Apache-2.0" ]
113771169/PTVS
Python/Product/PythonTools/PythonTools/Repl/DebugReplFramesCommand.cs
2,553
C#
using Microsoft.AspNetCore.Mvc; using Sys.Workflow.Api.Runtime.Shared.Query; using Sys.Workflow.Cloud.Services.Api.Commands; using Sys.Workflow.Cloud.Services.Api.Model; using Sys.Workflow.Cloud.Services.Rest.Api; using Sys.Workflow.Services.Api.Commands; using Sys.Workflow.Hateoas; using Sys.Net.Http; using System.Ne...
31.578947
113
0.7025
[ "Apache-2.0" ]
zhangzihan/nactivity
NActiviti/Sys.Bpm.Rest.Client/API/TaskAdminClient.cs
1,202
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Physics; using Microsoft.MixedReality.Toolkit.Utilities; using Unity.Profiling; using UnityEngine; namespace Microsoft.MixedRea...
46.397233
335
0.57797
[ "MIT" ]
MRW-Eric/MixedRealityToolkit-Unity
Assets/MRTK/SDK/Features/UX/Scripts/Pointers/SpherePointer.cs
23,479
C#
namespace LXGaming.Extractorr.Server.Services.Radarr; public class RadarrOptions { public const string Key = "Radarr"; public string? Username { get; set; } public string? Password { get; set; } public bool DebugWebhooks { get; set; } public bool DeleteOnImport { get; set; } public Dicti...
23.5625
71
0.689655
[ "Apache-2.0" ]
LXGaming/Extractorr
LXGaming.Extractorr.Server/Services/Radarr/RadarrOptions.cs
379
C#
using CyberCAT.Core.Classes.Mapping; namespace CyberCAT.Core.Classes.DumpedClasses { [RealName("ActionBool")] public class ActionBool : ScriptableDeviceAction { } }
18.2
52
0.730769
[ "MIT" ]
Deweh/CyberCAT
CyberCAT.Core/Classes/DumpedClasses/ActionBool.cs
182
C#
using EPiServer.Forms.Core.Models; using EPiServer.Forms.Core.Validation; using EPiServer.Forms.Helpers.Internal; using EPiServer.Forms.Samples.EditView; using EPiServer.Forms.Samples.Implementation.Elements; using EPiServer.Framework.Localization; using EPiServer.ServiceLocation; using System; using System.Text.Regul...
35.2
171
0.60947
[ "Apache-2.0" ]
Gaubeou/EPiServer.Forms.Samples
Implementation/Validation/DateTimeValidator.cs
5,282
C#
/* * eZmax API Definition (Full) * * This API expose all the functionnalities for the eZmax and eZsign applications. * * The version of the OpenAPI document: 1.1.7 * Contact: support-api@ezmax.ca * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; u...
36.7
185
0.623784
[ "MIT" ]
ezmaxinc/eZmax-SDK-csharp-netcore
src/eZmaxApi/Model/EzsignformfieldgroupCreateObjectV1ResponseAllOf.cs
5,138
C#
using System; using System.IO; using App.Metrics; using App.Metrics.AspNetCore; using App.Metrics.Formatters; using App.Metrics.Formatters.Prometheus; using Exceptionless.Core; using Exceptionless.Core.Configuration; using Exceptionless.Core.Extensions; using Exceptionless.Insulation.Configuration; using Exceptionless...
45.26087
249
0.633622
[ "Apache-2.0" ]
caogengmeng/Exceptionless
src/Exceptionless.Web/Program.cs
5,207
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
29.863636
83
0.665906
[ "Apache-2.0" ]
Darkfaker/tencentcloud-sdk-dotnet
TencentCloud/Gaap/V20180529/Models/BindListenerRealServersResponse.cs
1,394
C#
//------------------------------------------------------------------------------ // <auto-generated> // Этот код создан программой. // Исполняемая версия:4.0.30319.42000 // // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае // повторной генерации кода. // </auto-ge...
44.421875
169
0.623989
[ "MIT" ]
Maslinin/Chocolatey-Manager
Properties/Resources.Designer.cs
3,354
C#
using static NWN.FinalFantasy.Core.NWScript.NWScript; using Type = NWN.FinalFantasy.Core.NWScript.Enum.Creature.Type; namespace NWN.FinalFantasy.Service { public class Messaging { /// <summary> /// Sends a message to all nearby players within 10 meters. /// </summary> /// <para...
34.34375
97
0.599636
[ "MIT" ]
Martinus-1453/NWN.FinalFantasy
NWN.FinalFantasy/Service/Messaging.cs
1,101
C#
using System; using System.Linq; using Android.Graphics; using Android.Graphics.Drawables; using AColor = Android.Graphics.Color; using APath = Android.Graphics.Path; namespace Xamarin.Forms.Platform.Android { internal class BorderDrawable : Drawable { public const int DefaultCornerRadius = 2; // Default value for...
25.013468
162
0.69296
[ "MIT" ]
AlleSchonWeg/Xamarin.Forms
Xamarin.Forms.Platform.Android/Renderers/BorderDrawable.cs
7,429
C#
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "2C792944718F40ED0C9654A9F08A01A5A8AAB208C8A8650E964262E968DC923B" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:...
38.995902
150
0.606831
[ "MIT" ]
Hedge42/guitar-scale-helper
GuitarThing/obj/Debug/MainWindow.g.cs
9,517
C#
using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace FreeTime.Migrations { public partial class Inicio : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( na...
33.5
71
0.528192
[ "MIT" ]
RondineleG/FreeTime
FreeTime/Migrations/20190706154049_Inicio.cs
1,208
C#
#if NETSTANDARD1_5 || NETCOREAPP1_0 using System; namespace Xunit { // This class wraps DiaSession, and uses DiaSessionWrapperHelper discover when a test is an async test // (since that requires special handling by DIA). class DiaSessionWrapper : IDisposable { readonly DiaSessionWrapperHelp...
29.257143
108
0.670898
[ "Apache-2.0" ]
Jensaarai/xunit
src/xunit.runner.utility/Utility/DiaSessionWrapper_DotNet.cs
1,026
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Castle.MicroKernel.Registration; using Castle.Windsor.MsDependencyInjection; using Abp.Dependency; using ASPNetCoreVue.EntityFrameworkCore; using ASPNetCoreVue.Identity; namespace ASPNetCoreVue.Tests.DependencyInj...
33.222222
117
0.701505
[ "MIT" ]
thaibm/aspnetcore-vue-boilerplate
aspnet-core/test/ASPNetCoreVue.Tests/DependencyInjection/ServiceCollectionRegistrar.cs
1,198
C#
#region Copyright /// <copyright> /// Copyright (c) 2011 Ramunas Geciauskas, http://geciauskas.com /// /// 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 wi...
47.331412
296
0.505419
[ "MIT" ]
naplayer/Nazeka
Nazeka/KeyboardHook.cs
16,426
C#
using System; using MouseKeyboardActivityMonitor.WinApi; namespace MouseKeyboardActivityMonitor { /// <summary> /// Base class used to implement mouse or keybord hook listeners. /// It provides base methods to subscribe and unsubscribe to hooks. /// Common processing, error handling and cleanup logic. ...
31.772947
177
0.513304
[ "Apache-2.0" ]
katopz/oskz-vcsharp
MouseKeyboardActivityMonitor/BaseHookListener.cs
6,577
C#
namespace ESanatateUI.UserControls { partial class PacientNou { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary>...
54.354
172
0.591898
[ "MIT" ]
newparts/CSharp
ESanatate/ESanatateUI/UserControls/PacientNou.Designer.cs
27,179
C#
using System.Collections.Generic; using System.Threading; namespace WebDav { /// <summary> /// Represents parameters for the GET WebDAV method. /// </summary> public class GetFileParameters { /// <summary> /// Initializes a new instance of the <see cref="GetFileParameters"/> class....
28.548387
86
0.59435
[ "MIT" ]
skazantsev/WebDavClient
src/WebDav.Client/Request/GetFileParameters.cs
887
C#
// Copyright 2017 Esri. // // 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 writing, software ...
40.014706
138
0.663359
[ "Apache-2.0" ]
kGhime/arcgis-runtime-samples-dotnet
src/Forms/Shared/Samples/Data/FeatureLayerShapefile/FeatureLayerShapefile.xaml.cs
2,721
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/d3d12.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using TerraFX.Interop.Windows; name...
57.892857
180
0.804442
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS6.cs
1,623
C#
using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Trustlink.Network.P2P; using Trustlink.SmartContract; using Trustlink.Wallets; namespace Trustlink.UnitTests { [TestClass] public class UT_Helper { [TestMethod] public void GetHashData() { ...
29.162791
88
0.578947
[ "MIT" ]
Trustlink-chain/trustlink
trustlink.UnitTests/UT_Helper.cs
1,254
C#
using System; using System.Threading.Tasks; using Xamarin.Forms; // https://developer.xamarin.com/samples/xamarin-forms/userinterface/animation/custom/ namespace Xamarin.Toolkit.Animations.Extensions { public static class ColorExtensions { public static Task<bool> ColorTo(this VisualElement self, Colo...
41.382353
215
0.657427
[ "MIT" ]
c0d3l3ss/XamarinCommunityToolkit
Toolkit/Animations/Extensions/ColorExtensions.cs
1,409
C#
using Microsoft.AspNetCore.Mvc; using QuoteMyGoods.Services; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace QuoteMyGoods.ViewComponents { public class BasketCountViewComponent:ViewComponent { private IBasketService _basketService; pu...
24.88
69
0.691318
[ "MIT" ]
PSCAlex/QuoteMyGoods
src/QuoteMyGoods/ViewComponents/BasketCountViewComponent.cs
624
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Localization; using OCore.Environment.Shell; using OCore.Recipes.Models; using OCore.Setup.Models; using OCore.Setup.Services; namespace OCore.Setup { public ...
34.54321
147
0.575768
[ "BSD-3-Clause" ]
china-live/OCore
src/OCore.Modules/OCore.Setup/Controllers/SetupController.cs
5,598
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Interop; using System.Windows.Media.Imaging; namespace SumRecognition { public static class SumImageGenerator { const int...
42.414141
134
0.594189
[ "MIT" ]
mikhaelmurmur/SumRecognition
SumRecognition/SumImageGenerator.cs
4,201
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("Don...
37.459459
84
0.746753
[ "BSD-3-Clause" ]
0x01m4rv/donut
DonutTest/Properties/AssemblyInfo.cs
1,389
C#
using System.Linq; using Secretarium.Helpers; using NUnit.Framework; namespace Secretarium.Test { [TestFixture] public class TestAesCtr { [Test] public void TestReverseEndianness() { byte[] arr = ByteHelper.GetRandom(32); byte[] rra = arr.ReverseEndianness()...
42.583942
114
0.474803
[ "MIT" ]
Secretarium/Secretarium.Connector.CSharp
Secretarium.Connector.CSharp.Test/Helpers/TestAesCtr.cs
5,836
C#