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
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using TeleSharp.TL; namespace TeleSharp.TL { [TLObject(-668391402)] public class TLInputUser : TLAbsInputUser { public override int Constructor { g...
19.913043
61
0.556769
[ "MIT" ]
slctr/Men.Telegram.ClientApi
Men.Telegram.ClientApi/TL/TL/TLInputUser.cs
916
C#
#region Namespaces using System; using Autodesk.Revit.ApplicationServices; using Autodesk.Revit.Attributes; using Autodesk.Revit.DB; using Autodesk.Revit.UI; #endregion namespace PostAddinCommand { /// <summary> /// External command to programmatically launch /// a custom button command. /// </s...
26.227273
65
0.663778
[ "MIT" ]
jeremytammik/PostAddinCommand
PostAddinCommand/CmdPost2.cs
1,156
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...
61.059893
229
0.683015
[ "Apache-2.0" ]
DalavanCloud/aws-sdk-net
sdk/src/Services/ACMPCA/Generated/_bcl45/IAmazonACMPCA.cs
57,091
C#
// SlideStopEvent.cs // Script#/Libraries/jQuery/UI // This source code is subject to terms and conditions of the Apache License, Version 2.0. // using System; using System.Runtime.CompilerServices; namespace jQueryApi.UI.Widgets { [ScriptImport] [ScriptIgnoreNamespace] [ScriptName("Object")] public ...
19.171429
90
0.52161
[ "Apache-2.0" ]
AmanArnold/dsharp
src/Libraries/jQuery/jQuery.UI/Widgets/Slider/SlideStopEvent.cs
671
C#
/* * Copyright © 2013 Ben Bader * * 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...
37.735294
152
0.60873
[ "Apache-2.0" ]
OlexaLe/stiletto
Stiletto.Fody/Generators/LazyBindingGenerator.cs
7,701
C#
namespace CodeVeinOutfitInjector { public enum StandardColor_Blue1 { palette_stg_bluegreen00, palette_stg_bluegreen10, palette_stg_bluegreen20, palette_stg_bluegreen30, palette_stg_bluegreen40, palette_stg_bluegreen50, palette_stg_bluegreen60, palette_stg_bluegreen70, palette_stg_bluegreen01, pale...
23.354839
32
0.845304
[ "MIT" ]
Code-Vein-Tool-Hub/CodeVeinOutfitInjector
CodeVeinOutfitInjector/enums/StandardColor_Blue1.cs
724
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using ScoreboardManager.Common.ViewModels; using ScoreboardManager.ServiceFacade; using ScoreboardManager.WebFormLib; using ScoreboardManager.Common.Messages; using ScoreboardManag...
33.903941
169
0.555394
[ "Apache-2.0" ]
attiqislam/ScoreboardManager
ScoreboardManager.WebForms/Default.aspx.cs
13,767
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 16.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
22.772727
135
0.521188
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/NotEqual/Complete/NullableByte/Double/TestSet_504__param__01__VV.cs
13,028
C#
namespace PiCar { internal interface IDeviceInfo { string GetName(); } }
11.75
34
0.585106
[ "MIT" ]
julieisdead/PiCar
PiCar/PiCar/PiCar/Dependancies/IDeviceINfo.cs
96
C#
// SharpMath - C# Mathematical Library // Copyright (c) 2014 Morten Bakkedal // This code is published under the MIT License. using System; namespace SharpMath.Plotting.Functions { public interface IRangedPlotFunction : IPlotFunction { double XMin { get; } double XMax { get; } ...
14.863636
54
0.651376
[ "MIT" ]
mortenbakkedal/SharpMath
SharpMath/Plotting/Functions/IRangedPlotFunction.cs
327
C#
// // SpinButtonTests.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2012 Xamarin Inc // // 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 restrictio...
34.74359
80
0.746125
[ "MIT" ]
Bert1974/xwt
Test/SpinButtonTests.cs
1,355
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.IO; using System.Text; using System.Xml; using System.Xml.Linq; using System.Xml.Schema; using CDR.Logging; namespace DiscogsXML2MySQL { public class XMLRelease { // ---------------------------...
45.458924
307
0.520346
[ "MIT" ]
nelemans1971/Discogs
DiscogsXML2MySQL/XMLEntities/XMLRelease.cs
32,098
C#
using Met.Core.Proto; using System.Collections.Generic; namespace Met.Core.Extensions { public static class TlvDictionaryExtensions { public static Tlv TryGetTlv(this Dictionary<TlvType, List<Tlv>> dict, TlvType type) { var list = default(List<Tlv>); if (dict....
30.72
125
0.50434
[ "Apache-2.0" ]
IMULMUL/clr-meterpreter
src/metsrv.net35/Extensions/TlvDictionaryExtensions.cs
2,306
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...
30.203704
110
0.676272
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/MediaConnect/Generated/Model/VpcInterfaceAttachment.cs
1,631
C#
namespace MCal.CalendarUI { public interface IDateKeeper { void AddDays(int days); void AddMonths(short monthIncr); short DayOfWeek{ get; } int Day { get; } int Month { get; } int Year{ get; } void ResetToFirstDay(); } }
22.230769
40
0.553633
[ "MIT" ]
kbrock84/MCal
MCal/CalendarUI/IDateKeeper.cs
291
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; namespace Maestro.Common.Model { public abstract class ModelBase : INotifyPropertyChanged, INotifyDataErrorInfo ...
33.893333
126
0.56786
[ "MIT" ]
Otatiaro/Maestro
Maestro.Common/Model/ModelBase.cs
5,086
C#
#region License /* * 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 ...
36.442478
111
0.612919
[ "Apache-2.0" ]
CarlSample/tinkerpop
gremlin-dotnet/src/Gremlin.Net/Structure/IO/GraphBinary/Types/SimpleTypeSerializer.cs
4,120
C#
using System; using CompanyName.MyMeetings.Modules.Payments.Domain.SeedWork; namespace CompanyName.MyMeetings.Modules.Payments.Domain.Subscriptions { public class SubscriptionId : AggregateId<Subscription> { public SubscriptionId(Guid value) : base(value) { } } }
25.083333
70
0.717608
[ "MIT" ]
AndreiGanichev/modular-monolith-with-ddd
src/Modules/Payments/Domain/Subscriptions/SubscriptionId.cs
303
C#
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
50.158985
153
0.635028
[ "Apache-2.0" ]
amanda-tarafa/google-cloud-dotnet
apis/Google.Cloud.AIPlatform.V1/Google.Cloud.AIPlatform.V1.Snippets/PipelineServiceClientSnippets.g.cs
75,088
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; using System.Linq; using Bicep.Core.Parsing; namespace Bicep.Core.Syntax { public class DecoratorSyntax : SyntaxBase { public DecoratorSyntax(Token at, SyntaxBase expression) { ...
31.675
118
0.639305
[ "MIT" ]
AlanFlorance/bicep
src/Bicep.Core/Syntax/DecoratorSyntax.cs
1,267
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.txt file in the project root for more information. namespace Microsoft.DiaSymReader.PortablePdb { internal static class FileNameUtilities { privat...
34.09434
121
0.568345
[ "MIT" ]
alexsasheka/SymReaderPortable
src/Microsoft.DiaSymReader.PortablePdb/Utilities/FileNameUtilities.cs
1,809
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://w...
37.677419
87
0.571918
[ "MIT" ]
3quanfeng/azure-powershell
src/Resources/ResourceManager/Entities/Policy/PolicyRule.cs
1,140
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 01.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
24.313283
154
0.530873
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/GreaterThanOrEqual/Complete/NullableInt16/NullableDouble/TestSet_504__param__01__VV.cs
9,703
C#
using System; using System.Drawing; namespace Aris.Moe.OverlayTranslate.Gui { public interface ITargetAreaResizeOverlay { void AskForResize(Rectangle current, Action<Rectangle?> resultCallback); } }
22
80
0.745455
[ "MIT" ]
Amiron49/Aris.Moe.Ocr.Translation.Overlay
Aris.Moe.OverlayTranslate.Gui/ITargetAreaResizeOverlay.cs
222
C#
using Acme.BookStore.Localization; using Volo.Abp.Authorization.Permissions; using Volo.Abp.Localization; namespace Acme.BookStore.Permissions; public class BookStorePermissionDefinitionProvider : PermissionDefinitionProvider { public override void Define(IPermissionDefinitionContext context) { var my...
31.904762
99
0.768657
[ "MIT" ]
kfrancis/abp-wpf
src/Acme.BookStore.Application.Contracts/Permissions/BookStorePermissionDefinitionProvider.cs
670
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; namespace SBAdmin2 { public static class WebApiConfig { public static void Register(HttpConfiguration config) { config.Routes.MapHttpRoute( name: "DefaultApi", ...
36.416667
147
0.645309
[ "Apache-2.0" ]
Warrenpk1997/SB-Admin-2-MVC
App_Start/WebApiConfig.cs
876
C#
#pragma warning disable 0472 using System; using System.Text; using System.IO; using System.Collections; using System.ComponentModel; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Xml.Serialization; using BLToolkit.Aspects; using BLToolkit.DataAccess...
40.968692
197
0.510429
[ "BSD-2-Clause" ]
EIDSS/EIDSS-Legacy
EIDSS v6/eidss.model/Schema/RegionLookup.model.cs
44,494
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...
40.517857
153
0.62377
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Security/V20190801/DeviceSecurityGroup.cs
6,807
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Mynt.Core.Enums; using Mynt.Core.Indicators; using Mynt.Core.Interfaces; using Mynt.Core.Models; namespace Mynt.Core.Strategies { public class RsiBbands : BaseStrategy { public ove...
30.888889
135
0.559353
[ "BSD-3-Clause" ]
Nick777-Pixel/Mynt
src/Mynt.Core/Strategies/RsiBbands.cs
1,670
C#
using Newtonsoft.Json; namespace PactNet.Generators; public class ProviderStateGenerator : IGenerator { public string Type => "type"; public dynamic Value { get; } public string GeneratorType => "ProviderState"; /// <summary> /// Expression to lookup in provider state context /// </summary>...
21.8
69
0.67156
[ "MIT" ]
chad-tw/pact-net
src/PactNet.Abstractions/Generators/ProviderStateGenerator.cs
545
C#
using System; using System.Collections.Generic; using System.Text; namespace ManiaPlanetSharp.GameBox.Classes.Map { public class GbxThumbnailClass : Node { public uint Version { get; set; } public byte[] ThumbnailData { get; set; } public string Comment { get; set; } } ...
31.307692
85
0.59869
[ "MIT" ]
stefan-baumann/ManiaPlanetSharp
old/ManiaPlanetSharp/ManiaPlanetSharp/GameBox/Classes/Map/GbxThumbnailClass.cs
1,223
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.297872
115
0.602528
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/CostManagement/V20190901/Inputs/QueryDefinitionArgs.cs
1,424
C#
#region License // ScriptElement.cs // Author: Daniel Sklenitzka // // Copyright 2013 The CWC Team // // 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/lice...
26.960784
75
0.610182
[ "Apache-2.0" ]
Skleni/genesis
CkMp.Data/Scripts/ScriptElement.cs
1,377
C#
using System; using System.Linq; using Fluid; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using OrchardCore.Autoroute.Drivers; using OrchardCore.Autoroute.Handlers; using OrchardCore.Autoroute.Indexing; using...
40.409639
126
0.735242
[ "BSD-3-Clause" ]
TheCheng/OrchardCore
src/OrchardCore.Modules/OrchardCore.Autoroute/Startup.cs
3,354
C#
using Testura.Android.PageObjectCreator.ViewModels; using NUnit.Framework; using Testura.Android.PageObjectCreator.Services; using Moq; namespace Testura.Android.PageObjectCreator.Tests.ViewModels { [TestFixture] public class ScreenViewModelTests { private Mock<IScreenService> _screenServiceMock; ...
36.28
137
0.726571
[ "MIT" ]
Testura/Testura.Android.PageObjectCreator
src/Testura.Android.PageObjectCreator.Tests/ViewModels/ScreenViewModelTests.cs
907
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.Linq; using Microsoft.ML.Probabilistic.Collections; na...
37.681159
126
0.588269
[ "MIT" ]
0xflotus/infer
src/Compiler/Graphs/IndexedGraphWrapper.cs
5,200
C#
using System; using System.Linq; using System.Reflection; using Inject; using Util; namespace Live_Performance.Persistence { public static class PersistenceInjector { /// <summary> /// Register all repositories found using the given provider. /// </summary> /// <param name=...
39.680556
105
0.515576
[ "MIT" ]
SvenDub/s2-live-performance
Live Performance.Persistence/PersistenceInjector.cs
2,859
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Profile; using System.Web.Security; using DXInfo.Models; using DXInfo.Data.Contracts; using Ninject; using System.Web.Mvc; namespace DXInfo.Profile { public class CustomProfile : ProfileBase { [Settin...
32.967391
91
0.559512
[ "Apache-2.0" ]
zhenghua75/DXInfo
DXInfo.Profile/CustomProfile.cs
3,035
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.Contracts; using System.IO; using System.Linq; using System.Text; using SharpAvi.Codecs; namespace SharpAvi.Output { /// <summary> /// Used to write an AVI file. /// </summary> /// <remarks> ...
39.954809
137
0.567878
[ "MIT" ]
EliahKagan/SharpAvi
SharpAvi/Output/AviWriter.cs
34,483
C#
using System; using System.Collections.Generic; using Kastra.Module.Article.DTO; namespace Kastra.Module.Article.Business.Contracts { public interface IArticleBusiness { int CountArticles(int moduleId); IList<ArticleInfo> GetArticlesList(int moduleId); IList<ArticleInfo> GetArticlesLis...
29.529412
77
0.723108
[ "MIT" ]
KastraCMS/kastra-module-article
src/Business/Contracts/IArticleBusiness.cs
504
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using WalkingTec.Mvvm.Core; using WalkingTec.Mvvm.Core.Extensions; using WalkingTec.Mvvm.Demo.Models; namespace WalkingTec.Mvvm.Demo.ViewModels.MajorVMs { public class Maj...
32.236842
130
0.703673
[ "MIT" ]
17713017177/WTM
demo/WalkingTec.Mvvm.Demo/ViewModels/MajorVMs/MajorImportVM.cs
1,255
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> //--...
34.483871
151
0.582788
[ "MIT" ]
Suasy/TranslatorForm
TranslatorForm/Properties/Settings.Designer.cs
1,071
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.AwsN...
26.576923
82
0.675832
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/WAFRegional/Inputs/SqlInjectionMatchSetFieldToMatchArgs.cs
691
C#
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.Number.Tests { public class LongFormTestConfiguration : INumberParserConfiguration { public LongFormTestConfigurati...
35.662651
146
0.683446
[ "MIT" ]
AmmariJawher/Recognizers-Text
.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/LongFormTestConfiguration.cs
2,962
C#
using System.Xml; using FlowGraphBase.Process; namespace FlowGraphBase.Node { /// <summary> /// /// </summary> public abstract #if EDITOR partial #endif class EventNode : SequenceNode { /// <summary> /// /// </summary> /// <param name="node_"></par...
21.392157
80
0.493126
[ "MIT" ]
bubdm/FlowGraph
FlowGraph/FlowGraphBase/Node/EventNode.cs
1,093
C#
namespace SFA.DAS.Support.Shared.Discovery { /// <summary> /// Extend the enumeration for each new resource provided by a Service /// </summary> public enum SupportServiceResourceKey { None, EmployerUser, EmployerUserHeader, EmployerUserAccounts, Commitme...
27.409091
78
0.660033
[ "MIT" ]
SkillsFundingAgency/das-support-portal
src/SFA.DAS.Support.Shared/Discovery/ServiceResourceKey.cs
605
C#
namespace CosmosBulkImport { using Akka.Actor; using CommandLine; using System; using System.IO; class Options { [Option('e', "endpoint", Required = true, HelpText = "The endpoint of your Cosmos DB account")] public string Endpoint { get; set; } [Option('k', "key", Requ...
38.404255
133
0.575623
[ "MIT" ]
ThomasWeiss/cosmos-bulk-import
CosmosBulkImport/Program.cs
1,807
C#
using GoBabyGoV2.Utilities; using GoBabyGoV2.Views; using Xamarin.Forms; namespace GoBabyGoV2 { /* * General Build Info: * * Change Configuration Mode (Debug/Release): Open Configuration Manager * Build > Configuration Manager * * * Android Release: * Linker: Don't link ...
28.5
130
0.607124
[ "MIT" ]
CalebABG/CCSUGoBabyGo
GoBabyGoV2/GoBabyGoV2/App.xaml.cs
1,883
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 disable using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax; using M...
38.514706
134
0.696067
[ "MIT" ]
Acidburn0zzz/roslyn
src/Compilers/CSharp/Portable/Binder/Semantics/Conversions/ConversionKind.cs
2,621
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.IO; using System.Text.Json.Serialization.Converters; namespace System.Text.Json.Nodes { public abstract partial class JsonNode { /// <summary> ...
45.361538
145
0.591826
[ "MIT" ]
AerisG222/runtime
src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonNode.Parse.cs
5,899
C#
/* Copyright 2020 Google 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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
39.644068
146
0.636383
[ "Apache-2.0" ]
davidair/pinger
TestCLI/Program.cs
4,680
C#
using Pipliz; using System.Collections.Generic; using ModLoaderInterfaces; namespace PvP { public enum AreaType { NotDefined, PvP, NonPvP } public struct Area { public Vector3Int min; public Vector3Int max; public AreaType areaType; public ...
33.493333
199
0.568073
[ "MIT" ]
Khanx/PvP
PvP/PvP/PvP/AreaManager.cs
2,514
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 FinnovationLabs.OpenBanking.Library.BankApiModels.UkObRw.V3p1p8.Pisp.Models { using Newtonsoft.Json; using Newto...
40.657143
158
0.673928
[ "MIT" ]
finlabsuk/open-banking-connector
src/OpenBanking.Library.BankApiModels/UkObRw/V3p1p8/Pisp/Models/OBWriteDomesticScheduledConsentResponse5DataStatusEnum.cs
2,846
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; using System.ComponentModel; namespace System.Windows.Forms { public partial class D...
28.991228
133
0.439637
[ "MIT" ]
Kevin7806/winforms
src/System.Windows.Forms/src/System/Windows/Forms/DomainUpDown.DomainUpDownItemCollection.cs
3,307
C#
using Gov.Lclb.Cllb.Interfaces; using Gov.Lclb.Cllb.Public.Models; using Gov.Lclb.Cllb.Public.ViewModels; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Threading.Tasks; // TODO implement this with autorest namespace Gov.Lclb.Cll...
30.089552
92
0.622024
[ "Apache-2.0" ]
ElizabethWolfe/jag-lcrb-carla-public
cllc-public-app/Controllers/AdoxioLicenceTypeController.cs
2,018
C#
using System; using System.Collections.Generic; using System.Linq; public enum Allergen { Eggs, Peanuts, Shellfish, Strawberries, Tomatoes, Chocolate, Pollen, Cats } public class Allergies { private readonly List<Allergen> _allergies; public Allergies(int codedAllergies) => _allergies = Enum.GetValue...
29.894737
98
0.693662
[ "Apache-2.0" ]
ErikSchierboom/exercism
csharp/allergies/Allergies.cs
568
C#
using Xamarin.Forms; using Xunit; namespace MagicGradients.Tests { public class GradientBuilderTestCases : TheoryData<GradientBuilderTestCase> { public GradientBuilderTestCases() { Add(new LinearTestCase()); Add(new RadialTestCase()); } } public abstrac...
24.589744
79
0.625652
[ "MIT" ]
filipoff2/MagicGradients
MagicGradients.Tests/GradientBuilderTestCases.cs
961
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.Immutable; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnaly...
39.714286
168
0.809353
[ "MIT" ]
AlexanderSemenyak/roslyn
src/Features/Core/Portable/CommentSelection/ICommentSelectionService.cs
836
C#
using System; namespace Thriot.Framework.Logging { public interface ILogger { void Debug(string message); void Debug(string message, params object[] values); void Fatal(string message); void Fatal(string message, params object[] values); void Error(string message); ...
26.814815
61
0.64779
[ "MIT" ]
kpocza/thriot
Service/Framework/Thriot.Framework/Logging/ILogger.cs
726
C#
using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; namespace _008_AsyncAwait_Task_Decompiled_Clean { internal class Program { static void Main(string[] args) { Console.WriteLine($"Main Thr...
29.853659
98
0.565359
[ "Apache-2.0" ]
arttonoyan/dotnet-courses
Lesson_AsyncAwait/008_AsyncAwait_Task_Decompiled_Clean/Program.cs
2,450
C#
using MediatR; using Newtonsoft.Json.Linq; using OmniSharp.Extensions.JsonRpc; namespace OmniSharp.Extensions.LanguageServer.Protocol.Models { [Method(WorkspaceNames.WorkspaceConfiguration)] public class ConfigurationParams : IRequest<Container<JToken>> { public Container<ConfigurationItem> Items {...
26.230769
66
0.762463
[ "MIT" ]
TanayParikh/csharp-language-server-protocol
src/Protocol/Models/ConfigurationParams.cs
341
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using XInspector.Converters; using XInspector.SampleModels; using XInspector.ViewModels; namespace XInspector.NUnit { [TestFixture] public class ConverterTests { ...
21.424242
102
0.647808
[ "MIT" ]
mastertnt/XInspector
XInspector.NUnit/ConverterTests.cs
709
C#
// Copyright (c) .NET Foundation and Contributors. All Rights Reserved. See LICENSE in the project root for license information. using System; using System.Runtime.InteropServices; using static TorchSharp.torch; using static TorchSharp.torch.nn; #nullable enable namespace TorchSharp { using Modules; namesp...
43.77305
150
0.566105
[ "MIT" ]
dayo05/TorchSharp
src/TorchSharp/NN/Recurrent/RNNCell.cs
6,172
C#
using System.Collections.Generic; using RimWorld; using SirRandoo.ToolkitRaids.Interfaces; using Verse; namespace SirRandoo.ToolkitRaids.Workers.Effects { public class DefaultEffect : IEffectWorker { private static readonly List<HediffDef> Effects = new List<HediffDef> { DrugHediff...
25.953488
107
0.5681
[ "MIT" ]
SirRandoo/ToolkitRaids
ToolkitRaids/Workers/Effects/DefaultEffect.cs
1,118
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...
48.109977
300
0.554511
[ "MIT" ]
Azure/azure-powershell-common
src/Compute/Version2018_04_01/SnapshotsOperations.cs
103,677
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...
36.741935
84
0.748903
[ "MIT" ]
NewBLife/Prism.Forms.Plugin
TemplatesForPrism/ProjectTemplates/Prism.Forms.Plugin/Prism.Forms.Plugin.Abstractions/Properties/AssemblyInfo.cs
1,142
C#
using System; using System.Collections.Generic; using System.Runtime.Serialization; using System.Text; namespace SitecoreBlazorHosted.Shared.Models { public class BlazorSitecoreField<T> : IBlazorSitecoreField { public T Value { get; set; } public string Editable { get; set; } public ...
21.105263
62
0.67581
[ "Apache-2.0" ]
OsvaldoMartini/Blazor_Projects
SitecoreBlazor/SitecoreBlazorHosted.Shared/Models/BlazorSitecoreField.cs
403
C#
// // Copyright (c) Rubal Walia. All rights reserved. // Licensed under the 3-Clause BSD license. See LICENSE file in the project root for full license information. // using Jaya.Shared.Models; using System; namespace Jaya.Provider.FileSystem.Models { public class AccountModel: AccountModelBase { publ...
24.222222
110
0.68578
[ "BSD-3-Clause" ]
JayaFM/Jaya
src/Jaya.Provider.FileSystem/Models/AccountModel.cs
438
C#
#region license /* Copyright (c) 2013, Milosz Krajewski All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of condition...
35.523711
292
0.697487
[ "MIT" ]
keithwill/LittleTushy
src/LittleTushy.Client/LZ4.netcore/LZ4Stream.cs
17,231
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.Collections.Generic; using System.IO.Pipelines; using System.Threading.Tasks; using Microsoft.AspNetCore.SignalR; using Microsoft.Azure.SignalR.Integration...
49.478261
177
0.799649
[ "MIT" ]
Arash-Sabet/azure-signalr
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/IMockService.cs
1,138
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using System.IO; using UnityEngine.Networking; namespace CatAsset { /// <summary> /// 下载文件任务 /// </summary> public class DownloadFileTask : BaseTask { private UnityWebRequestAsyncOperation op; ...
24.262195
215
0.481779
[ "MIT" ]
ErQing/CatAsset
Assets/CatAsset/Runtime/TaskSystem/Tasks/DownloadFileTask.cs
4,279
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.ComponentModel; namespace Azure.ResourceManager.Sql.Models { /// <summary> Whether or not public endpoint access is allowed for this server. Value is...
51.076923
184
0.702184
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerPublicNetworkAccess.cs
2,656
C#
//----------------------------------------------------------------------- // ETP DevKit, 1.2 // // Copyright 2021 Energistics // // 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 // // ...
40.089552
78
0.64073
[ "Apache-2.0" ]
pds-technology/etp.net
src/ETP.Messages/v12/Datatypes/EndpointCapabilityKind.cs
2,688
C#
using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace UACHelper.Native.ComInterop { [ComImport] [Guid("85CB6900-4D95-11CF-960C-0080C7F4EE85")] internal interface IShellWindows { // ReSharper disable once IdentifierTypo void _VtblGap0_8(); // Skip 8 memb...
35.75
93
0.685315
[ "MIT" ]
IMULMUL/UACHelper
UACHelper/Native/ComInterop/IShellWindows.cs
860
C#
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.IO.Compression; using Windows.Security.Cryptography; using Windows.Security.Cryptography...
36.269162
166
0.571485
[ "MIT" ]
Appnet1337/waslibs
src/AppStudio.DataProviders/Twitter/TwitterDataProvider.cs
20,349
C#
using dnlib.DotNet; using dnlib.DotNet.Emit; using System; namespace CS2ASM { public static unsafe partial class Amd64Transformation { [ILTransformation(Code.Conv_Ovf_U2)] public static void Conv_Ovf_U2(Context context) { throw new NotImplementedException("Conv_Ovf_U2 is not...
22.125
80
0.680791
[ "MIT" ]
nifanfa/CS2ASM
CS2ASM/Amd64/Transformations/Conv_Ovf_U2.cs
354
C#
using Amazon.DynamoDBv2.DataModel; using Amazon.DynamoDBv2.DocumentModel; namespace LiteBorder.AspNetCore.Identity.DynamoDb { public class UserLoginMetaConverter : IPropertyConverter { public DynamoDBEntry ToEntry(object value) { return $"UserLogin#{value}"; } publ...
23.789474
62
0.643805
[ "Apache-2.0" ]
liteborder/dotnet-identity-dynamo
src/Mappers/UserLoginMetaConverter.cs
454
C#
using System.Web; using Microsoft.AspNetCore.Razor.TagHelpers; using WalkingTec.Mvvm.Core; using WalkingTec.Mvvm.Core.Extensions; namespace WalkingTec.Mvvm.TagHelpers.LayUI.Form { [HtmlTargetElement("wt:ueditor", Attributes = REQUIRED_ATTR_NAME, TagStructure = TagStructure.WithoutEndTag)] public class UEditorT...
37.291139
155
0.565173
[ "MIT" ]
Mingyu-zhang/iotgateway
WalkingTec.Mvvm/WalkingTec.Mvvm.TagHelpers.LayUI/Form/UEditorTagHelper.cs
2,978
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 "li...
42.573529
193
0.621934
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Lightsail/Generated/Model/Internal/MarshallTransformations/GetDistributionsResponseUnmarshaller.cs
5,790
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.Diagnostics; using System.Linq; using System.Text; using System.Threa...
44.976567
157
0.589752
[ "MIT" ]
Priya91/corefx-1
src/System.Collections.Immutable/tests/ImmutableArrayTest.cs
71,018
C#
using System; namespace Tellma.Utilities.Sharding { /// <summary> /// Contains all the information needed to build a connection string to a database. /// </summary> public struct DatabaseConnectionInfo { public DatabaseConnectionInfo(string serverName, string databaseName, string userName,...
34.857143
131
0.571429
[ "Apache-2.0" ]
lulzzz/tellma
Tellma.Utilities.Sharding/DatabaseConnectionInfo.cs
1,710
C#
#nullable enable namespace Gu.Units { using System; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Globalization; /// <summary> /// Provides a unified way of converting types of values to other types, as well as for accessing standard values and sub ...
34.482353
137
0.549642
[ "MIT" ]
GuOrg/Gu.Units
Gu.Units/CurrentUnitTypeConverter.generated.cs
2,931
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using DocumentFormat.OpenXml; using DocumentFormat.OpenXml.Framework; using DocumentFormat.OpenXml.Framework.Metadata; using DocumentFormat.OpenXml.Packaging; using Do...
37.268515
122
0.586058
[ "MIT" ]
06needhamt/Open-XML-SDK
src/DocumentFormat.OpenXml/GeneratedCode/schemas_openxmlformats_org_officeDocument_2006_bibliography.g.cs
176,133
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("In...
38.189189
84
0.748054
[ "MIT" ]
stoyantodorovbg/Programming-Fundamentals
ObjectAndClassesExercise/IntersectionOfCircle/Properties/AssemblyInfo.cs
1,416
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; using Microsoft.Bot.Builder.Dialogs.Declarative; using Microsoft.Bot.Builder.Dialogs.Declarative.Types; namespace Microsoft.Bot.Builder.MockLuis { public class MockLuisComponentRegist...
33.842105
165
0.74339
[ "MIT" ]
IgorVukovic753/FbBot
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Testing/MockLuis/MockLuisComponentRegistration.cs
645
C#
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\shared\ksmedia.h(1465,9) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct __struct_ksmedia_25 { public int Property; public uint BaseAddress; ...
25.375
88
0.70936
[ "MIT" ]
riQQ/DirectN
DirectN/DirectN/Generated/__struct_ksmedia_25.cs
408
C#
namespace PaymentGateway.Api.Settings { public class AcquiringBankSettings { public string BaseUrl { get; set; } } }
18.125
44
0.627586
[ "MIT" ]
serenya/payment-service-provider
src/PaymentGateway/PaymentGateway.Api/Settings/AcquiringBankSettings.cs
147
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Medi...
33.747059
87
0.517082
[ "MIT" ]
JoshuaLamusga/CA-Sim
CASim/CASimLauncher.xaml.cs
11,476
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.692308
63
0.751078
[ "Apache-2.0" ]
VAllens/aliyun-openapi-sdk-net-core
src/aliyun-net-sdk-slb/Model/V20140515/SetRuleResponse.cs
928
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. /*============================================================ ** ** ** ** Purpose: Attributes for debugger ** ** =...
30.913043
225
0.581048
[ "Apache-2.0" ]
WindowsCE/NETStandard.WindowsCE
src/NETStandard.WindowsCE/Diagnostics/DebuggerAttributes.cs
5,690
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...
30.884211
117
0.618609
[ "Apache-2.0" ]
miltador-forks/aws-sdk-net
sdk/src/Services/CloudFront/Generated/Model/CreateStreamingDistributionResponse.cs
2,934
C#
namespace Xilium.CefGlue.Interop { using System; using System.Runtime.InteropServices; using System.Security; #if !DEBUG [SuppressUnmanagedCodeSecurity] #endif internal static unsafe partial class libcef { internal const string DllName = "libcef"; internal const int ALIGN = 0; ...
32.621622
107
0.700911
[ "MIT" ]
git-thinh/Xilium.CefGlue-lvcef-39.0
xilium.cefglue/CefGlue/Interop/libcef.cs
1,207
C#
using System.Collections.Generic; using MediatR; namespace Rehborn.AspNetAutoFacExample.Application.Values.Queries { public class GetAllValuesQuery : IRequest<IEnumerable<ValueDto>> { public bool AddAdditional { get; set; } = true; } }
25.7
68
0.735409
[ "MIT" ]
julre/Rehborn.AspNetAutoFacExample
Rehborn.AspNetAutoFacExample/Application/Values/Queries/GetAllValuesQuery.cs
259
C#
using System; using System.Runtime.InteropServices; using System.Security; using System.Text; using System.Threading; using System.Collections.Generic; using Python.Runtime.Platform; namespace Python.Runtime { /// <summary> /// Encapsulates the low-level Python C API. Note that it is /// the responsibilit...
40.15352
138
0.638167
[ "MIT" ]
SnGmng/pythonnet
src/runtime/runtime.cs
75,850
C#
using Microsoft.Extensions.Logging; using NLog; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NLogSampleDI { public class Runner { private readonly ILogger<Runner> _logger; public Runner(ILogger<Runner> logger) ...
20.419355
74
0.609795
[ "MIT" ]
yohskeey/CSConsoleLoggerExample
NLogSampleDI/Runner.cs
635
C#
using Terraria; using Terraria.ModLoader; namespace ExampleMod.Dusts { public class Negative : ModDust { public override void OnSpawn(Dust dust) { dust.noGravity = true; } } }
15.5
43
0.725806
[ "MIT" ]
13784884462/tML1.4
ExampleMod/Old/Dusts/Negative.cs
186
C#
#region Apapche License 2.0 // <copyright file="IXmlClassMap.cs" company="Edgerunner.org"> // Copyright 2015 Thaddeus Ryker // 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 // htt...
35.884615
76
0.724544
[ "Apache-2.0" ]
wiredwiz/DotSerialize
Mapping/IXmlClassMap.cs
933
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Doc...
38.235507
213
0.521274
[ "MIT" ]
G-arj/MSBuildStructuredLog
src/StructuredLogViewer/Controls/BuildControl.xaml.cs
73,875
C#
using System.Text.Json.Serialization; namespace Horizon.Payment.Alipay.Domain { /// <summary> /// AlipayEcoMycarCarmodelModifyModel Data Structure. /// </summary> public class AlipayEcoMycarCarmodelModifyModel : AlipayObject { /// <summary> /// 支付宝车型库品牌背景图片,尺寸750 x 448(modify_type参...
35.185841
151
0.611419
[ "Apache-2.0" ]
bluexray/Horizon.Sample
Horizon.Payment.Alipay/Domain/AlipayEcoMycarCarmodelModifyModel.cs
5,310
C#
using Anvil.API; using NUnit.Framework; using NWN.Native.API; namespace Anvil.Tests.API { [TestFixture(Category = "API.EngineStructure")] public sealed class EffectTests { [Test(Description = "Creating an effect and disposing the effect explicitly frees the associated memory.")] public void CreateAndDisp...
37.088235
130
0.725615
[ "MIT" ]
milliorn/NWN.Managed
NWN.Anvil.Tests/src/main/API/EngineStructure/EffectTests.cs
1,261
C#