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
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.3603 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated...
57.525773
168
0.683513
[ "Apache-2.0" ]
econmed/ImageServer20
Common/ProductSettings.Designer.cs
5,582
C#
using System; using System.Collections.Generic; namespace FoundationStandard.ObjectHydrator.Tests.POCOs { public enum CustomerType { Lead, Prospect, Active, Inactive } public class ComplexCustomer { public ComplexCustomer() { } pub...
23.636364
55
0.581731
[ "Apache-2.0" ]
PrintsCharming/FoundationStandard.ObjectHydrator
FoundationStandard.ObjectHydrator.Tests/POCOs/ComplexCustomer.cs
1,042
C#
using System; namespace MovieEntities { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
11.153846
37
0.655172
[ "MIT" ]
TaleLearnCode/CL-MovesEF
Program.cs
147
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...
44.480769
149
0.59669
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Network/Latest/VpnConnection.cs
16,191
C#
#nullable disable using System; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Threading.Tasks; using HtmlAgilityPack; using VocaDb.Model.Helpers; namespace VocaDb.Model.Service.VideoServices { public class CreofugaParser : IVideoServiceParser { priva...
39.465517
186
0.721276
[ "MIT" ]
AgFlore/vocadb
VocaDbModel/Service/VideoServices/CreofugaParser.cs
2,289
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Vega.Data; namespace Vega.Migrations { [DbContext(typeof(VegaDbContext))] [Migration("20170408044...
30.864865
118
0.461471
[ "MIT" ]
ulnagar/Vega
Migrations/20170408044330_ApplyConstraints.Designer.cs
2,286
C#
using ECS; namespace ECSExample.GameObjectExample { public class Main : ECSController<UnityStandardSystemRoot, UnityEntityManager> { // Use this for initialization protected override void Initialize() { AddSystem<RotateObjectSystem>(); } } }
27.090909
85
0.654362
[ "MIT" ]
Spy-Shifty/BrokenBricksECS
Example/GameObjectExample/Main.cs
300
C#
using GitObjectDb; using GitObjectDb.Git.Hooks; using GitObjectDb.IO; using GitObjectDb.Models; using GitObjectDb.Models.Compare; using GitObjectDb.Serialization; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace LibGit2Sharp { /// <summary> /// A ...
42.637011
283
0.583173
[ "MIT" ]
frblondin/GitObjectDb
src/GitObjectDb/Extensions/IRepositoryExtensions.cs
11,981
C#
using System; using g3; namespace f3 { public class SpatialDeviceGrabBehavior : StandardInputBehavior { FContext context; Func<SceneObject, bool> ObjectFilterF; public float RotationSpeed = 1.0f; public float TranslationSpeed = 1.0f; public float StickMoveSpeed = 0.1f;...
40.50885
143
0.565265
[ "MIT" ]
Elevator89/frame3Sharp
behaviors/SpatialDeviceGrabBehavior.cs
9,157
C#
namespace Amazon.Kms { public sealed class CreateAliasRequest : KmsRequest { public CreateAliasRequest(string targetKeyId, string aliasName) { TargetKeyId = targetKeyId; AliasName = aliasName; } public string TargetKeyId { get; } p...
24.333333
72
0.572603
[ "MIT" ]
JTOne123/Amazon
src/Amazon.Kms/Actions/CreateAliasRequest.cs
367
C#
using System; using System.Collections.Concurrent; using System.Reflection; namespace KidsToyHive.Domain.Common { public static class DotNetTypeMapper { private static readonly ConcurrentDictionary<string, string> _types = new ConcurrentDictionary<string, string>(); static DotNetTypeMapper() ...
27.928571
121
0.620205
[ "MIT" ]
QuinntyneBrown/KidsToyHive
src/KidsToyHive.Domain/Common/DotNetTypeMapper.cs
784
C#
//using SendGrid.Helpers.Mail; //using System; //using System.Collections.Generic; //using System.Linq; //using System.Web; //namespace GymApplication.Models.GymTracking //{ // public class AppointmentConfirmEmail // { // //overload with what you want to show in the email. // public voi...
43.673469
128
0.470561
[ "Apache-2.0" ]
SphamandlaK/Gym-Application
Controllers/GymTracking/AppointmentConfirmEmail.cs
2,142
C#
using SpiceSharp.Algebra; using SpiceSharp.ParameterSets; using System; using System.Collections.Generic; namespace SpiceSharp.Components.ParallelComponents { /// <summary> /// An <see cref="ISparseSolver{T}"/> that only allows direct access to an element once. All subsequent calls will be /// through a l...
41.004505
209
0.622652
[ "MIT" ]
Neos-Metaverse/SpiceSharp
SpiceSharp/Components/ParallelComponents/ParallelSolver.cs
9,105
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Devx; using Devx.DbProvider; using WXB.Bussiness.Utils; using WXB.Bussiness.Common; using WXB.Bussiness.ViewModels; namespace WXB.Bussiness.Service { public class ResponseStatusService { ...
37.859155
119
0.475074
[ "MIT" ]
shuaiagain/mvc-wxb
Wxb2018/WXB.Bussiness/Bussiness/service/ResponseStatusService.cs
5,458
C#
using CCXT.NET.Coin.Private; using Newtonsoft.Json; namespace CCXT.NET.Bitfinex.Private { /// <summary> /// 거래소 회원 지갑 정보 /// </summary> public class BBalanceItem : CCXT.NET.Coin.Private.BalanceItem, IBalanceItem { /// <summary> /// /// </summary> [JsonProperty(Prope...
20.294118
79
0.450242
[ "MIT" ]
Lkskwlkr1/ccxt.net
src/exchanges/gbr/bitfinex/private/balance.cs
1,055
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Moq; using Newtonsoft.Jso...
47.939394
164
0.648998
[ "Apache-2.0" ]
ChrisMaddock/NuGet.Client
test/NuGet.Core.Tests/NuGet.Protocol.Tests/Providers/RepositorySignatureResourceProviderTests.cs
11,074
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.923077
286
0.668045
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Insights/V20140401/Outputs/ThresholdRuleConditionResponse.cs
2,660
C#
using System; using System.Data; using System.Linq; using CMS.Base.Web.UI; using CMS.ContactManagement; using CMS.Core; using CMS.DataEngine; using CMS.EventLog; using CMS.Helpers; using CMS.Membership; using CMS.Newsletters; using CMS.SiteProvider; using CMS.UIControls; public partial class CMSModules_Newsletters_...
27.460905
193
0.563165
[ "MIT" ]
BryanSoltis/KenticoMVCWidgetShowcase
CMS/CMSModules/Newsletters/Controls/MySubscriptions.ascx.cs
13,348
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum GameState { Menu, Play, Pause }
12.454545
33
0.722628
[ "MIT" ]
mdduran/Colossal-Ascent
Assets/Scripts/Game/GameState.cs
139
C#
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using Xamarin.Material.Forms.Android.Renderers; namespace Shrine.Droid { [Activity(Label = "Shrine", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = tru...
33.346154
181
0.709343
[ "MIT" ]
XenoltSoftware/Xamarin.Material.Forms
Xamarin.Material.Forms/Shrine.Android/MainActivity.cs
869
C#
using RefactoringEssentials.CSharp.Diagnostics; using Xunit; namespace RefactoringEssentials.Tests.CSharp.Diagnostics { public class EqualExpressionComparisonTests : CSharpDiagnosticTestBase { [Fact] public void TestEquality() { Analyze<EqualExpressionComparisonAnalyzer>(@"c...
16.856354
88
0.466404
[ "MIT" ]
GrahamTheCoder/RefactoringEssentials
Tests/CSharp/Diagnostics/EqualExpressionComparisonTests.cs
3,051
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using Elastic.Clients.Elasticsearch.Cluster; using Tests.Core.ManagedElasticsearch.Clusters; using Tests.Framewor...
41.484848
118
0.791819
[ "Apache-2.0" ]
SimonCropp/elasticsearch-net
tests/Tests/Cluster/ClusterPendingTasks/ClusterPendingTasksApiTests.cs
1,369
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace PassingParameters { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application ...
21.12
61
0.645833
[ "MIT" ]
Arc3D/Prism-Samples-Wpf
21-PassingParameters/PassingParameters/App.xaml.cs
530
C#
// // ThreadSafe attribute // // Copyright 2012, 2015, 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 restriction, including // without limitation the rights to us...
30.25
73
0.739669
[ "BSD-3-Clause" ]
Acidburn0zzz/xamarin-macios
src/ObjCRuntime/ThreadSafeAttribute.cs
1,452
C#
using System.Reflection; 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: AssemblyTitle("Wexflow.Tasks.FilesRenamer")] ...
41.694444
103
0.750833
[ "MIT" ]
BrianLakstins/Wexflow
src/dotnet/Wexflow.Tasks.FilesRenamer/Properties/AssemblyInfo.cs
1,526
C#
using System; namespace Neko.Utility.Core.Configurations { [Serializable] public class GenerateCodeConfiguration { /// <summary> /// 二维码/条形码的边距 /// </summary> public int CodeMargin { get; set; } /// <summary> /// 二维码/条形码的长 /// </summary> pub...
24.831461
71
0.475113
[ "Apache-2.0" ]
SKYC829/Neko.Utility.Core
src/Neko.Utility.Core/Neko.Utility.Core/Configurations/GenerateCodeConfiguration.cs
2,424
C#
using System; using UnityEngine; namespace HouraiTeahouse.Attributes { /// <summary> /// A propperty attribute that provides a Tag selector for strings. /// </summary> [AttributeUsage(AttributeTargets.Field)] public class TagAttribute : PropertyAttribute { } }
18.857143
67
0.765152
[ "MIT" ]
HouraiTeahouse/HouraiCore
Runtime/Attributes/TagAttribute.cs
264
C#
using System.Web; using System.Web.Mvc; namespace MVC.RBAC { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
19.571429
81
0.616788
[ "Apache-2.0" ]
HuZeHua/MVC.RBAC
MVC.RBAC/App_Start/FilterConfig.cs
276
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...
24.566667
88
0.662144
[ "ECL-2.0", "Apache-2.0" ]
dimpu47/pulumi-gcp
sdk/dotnet/Container/Outputs/GetClusterNodeConfigGuestAcceleratorResult.cs
737
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
39.876923
153
0.609182
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/OutlookUserMasterCategoriesCollectionRequestBuilder.cs
2,592
C#
using System; using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// PrizeLiteInfo Data Structure. /// </summary> [Serializable] public class PrizeLiteInfo : AlipayObject { /// <summary> /// 外部奖品ID /// </summary> [JsonPro...
24.36
88
0.579639
[ "MIT" ]
gebiWangshushu/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/PrizeLiteInfo.cs
683
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.OleDb; // Veri tabanı bağlantısı için gerekli kütüphaneyi ekledik. using System.Data; // Veri tabanı bağlantısı için gerekli kütüphaneyi ekledik. using Entity; // Entit...
45.666667
321
0.62339
[ "MIT" ]
Huseyinarkin/KutuphaneOtomasyonu
DAL/KitapIadeDAL.cs
12,287
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; using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml; using Microsoft.Build.BackEnd.SdkResolution; using Microsoft.Build...
40.3381
190
0.524752
[ "MIT" ]
BenVillalobos/msbuild
src/Build.UnitTests/Definition/ProjectEvaluationContext_Tests.cs
39,491
C#
using AConfig; using NeoCortexApi.Entities; using NeoCortexApi; using NeoCortexApi.Network; using NeoCortexApi.Utility; using Daenet.ImageBinarizerLib; using Daenet.ImageBinarizerLib.Entities; namespace ConsoleApp { internal class Experiment { HtmConfig htmConfig; ArgsConfig expConfig; ...
49.83526
216
0.5749
[ "Apache-2.0" ]
GurunagSai/neocortexapi-classification
ImageClassification/ImageClassification/Experiment.cs
17,245
C#
using System; using System.Net; using OC.DiscordBotServer.Models; using Discord.Commands; using Transfer; using System.Net.Sockets; using OCUnion; using Util; using OC.DiscordBotServer.Common; using OC.DiscordBotServer.Helpers; namespace OC.DiscordBotServer.Commands { public class RegCommand : ICommand { ...
34.159664
149
0.536777
[ "Apache-2.0" ]
AantCoder/OnlineCity
Source/DiscordChatBotServer/Commands/RegCommand.cs
4,178
C#
using Dock.Model; using System; namespace Stride.Editor.Presentation.VirtualDom.Controls.Dock { public class DockControl : ViewBuilder<global::Dock.Avalonia.Controls.DockControl> { public IDock Layout { set { Property(global::Dock.Avalonia.Controls.DockControl.LayoutProperty, value...
24.5
95
0.682216
[ "MIT" ]
manio143/StrideComponentsEditorAvalonia
Stride.Editor.Presentation.VirtualDom/Controls/Dock/DockControl.cs
345
C#
using Hive.SeedWorks.Characteristics; namespace Hive.SeedWorks.TacticalPatterns { /// <summary> /// Агрегат. /// </summary> /// <typeparam name="TBoundedContext">Ограниченный контест.</typeparam> public interface IAggregate<TBoundedContext> : IComplexKey, ICommandSubject, ...
24.157895
75
0.67756
[ "MIT" ]
Ekstrem/Hive
Source/TacticalPatterns/IAggregate.cs
487
C#
#region Auto-generated classes for PicParamDb database on 2010-03-30 10:11:04Z // // ____ _ __ __ _ _ // | _ \| |__ | \/ | ___| |_ __ _| | // | | | | '_ \| |\/| |/ _ \ __/ _` | | // | |_| | |_) | | | | __/ || (_| | | // |____/|_.__/|_| |_|\___|\__\__,_|_| // // Auto-generated from PicParamDb o...
24.524336
162
0.71069
[ "MIT", "Unlicense" ]
frozenflame83/PLMPackLib
Pic.DAL/Pic.DAL.DataContext.designer.sqlserver.cs
11,085
C#
// ========================================================================== // PartitioningTests.cs // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex Group // All rights reserved. // =====================================================...
31.358491
88
0.581528
[ "MIT" ]
maooson/squidex
tests/Squidex.Domain.Apps.Core.Tests/Model/PartitioningTests.cs
3,326
C#
using System; using System.Collections.Specialized; using System.Net; using System.Text; namespace QuantoAgent.Models { [Serializable] public class RestRequest { readonly string[] acceptTypes; readonly Encoding contentEncoding; readonly long contentLength; readonly string cont...
41.953917
126
0.594684
[ "MIT" ]
quan-to/quanto-agent
QuantoAgent/Models/RestRequest.cs
9,106
C#
using CDCavell.ClassLibrary.Web.Identity.Models; using dis5_cdcavell.Models.AppSettings; using dis5_cdcavell.Models.TwoFactor; using Duende.IdentityServer; using Duende.IdentityServer.Events; using Duende.IdentityServer.Services; using Duende.IdentityServer.Stores; using IdentityModel; using Microsoft.AspNetCo...
46.676471
145
0.573882
[ "MIT" ]
cdcavell/cdcavell.name
Source/Web/dis5-cdcavell/Controllers/ExternalController.cs
19,046
C#
//==================================================================== // // COPYRIGHT (C) 2003 - 2008 OPINIONATEDGEEK LTD. // // The contents of this file are subject to License from OpinionatedGeek; // you may not use this file except in compliance with the License. // You may obtain a License from OpinionatedGeek Lt...
39.896194
166
0.53634
[ "Unlicense" ]
OpinionatedGeek/PowerPack
Source/Configuration/PowerPackConfigurationSection.cs
11,530
C#
namespace Microsoft.eShopOnContainers.Services.Catalog.API.Infrastructure.Services { public interface IIdentityService { string GetUserIdentity(); } }
21.5
83
0.738372
[ "MIT" ]
amroSaad78/eShopOnContainers
src/Services/Catalog/Catalog.API/Infrastructure/Services/IIdentityService.cs
174
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.Collections.Generic; using Roslyn.Utilities; namespace Microsoft.Cci { internal sealed class MemberRefComparer : IEq...
34.76
184
0.570004
[ "Apache-2.0" ]
enginekit/copy_of_roslyn
Src/Compilers/Core/Portable/PEWriter/MemberRefComparer.cs
2,609
C#
// // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2015 Jb Evain // Copyright (c) 2008 - 2011 Novell, Inc. // // Licensed under the MIT/X11 license. // using Mono.Collections.Generic; namespace Cecilia { public abstract class PropertyReference : MemberReference { TypeReference ...
21.456522
75
0.598784
[ "MIT" ]
teo-tsirpanis/Cecilia
src/Cecilia/PropertyReference.cs
987
C#
// Copyright © 2007 by Initial Force AS. All rights reserved. // https://github.com/InitialForce/UnitsNet // // 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, includi...
41.195804
132
0.616109
[ "MIT" ]
bretthysuik/UnitsNet
Src/UnitsNet/CustomCode/UnitSystem.cs
11,785
C#
using Microsoft.Extensions.DependencyInjection; using MyBrokenPage.Bll.Contracts; using MyBrokenPage.Bll.Logic; namespace MyBrokenPage.Bll { public static class ServiceCollectionExtensions { public static IServiceCollection AddMyBrokenPageBll(this IServiceCollection services) { ...
31.8
94
0.687107
[ "Unlicense" ]
saw-your-packet/my-broken-page
src/MyBrokenPage.Bll/ServiceCollectionExtensions.cs
638
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...
44.90625
302
0.704245
[ "ECL-2.0", "Apache-2.0" ]
dimpu47/pulumi-gcp
sdk/dotnet/Storage/Outputs/TransferJobTransferSpec.cs
2,874
C#
/* * These tests are for the netcoreapp2.1 version of the client (there are separate tests for netstandard that don't actually connect to a server). */ using k8s.Models; using k8s.Autorest; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Net.Http; using System....
45.41349
146
0.566512
[ "Apache-2.0" ]
BearerPipelineTest/csharp
tests/KubernetesClient.Tests/PodExecTests.cs
15,486
C#
// // XMouseScrollArgs.cs // // Author: // Anna-Sophia Schröck <annasophia.schroeck@gmail.com> // // Copyright (c) 2014 Anna-Sophia Schröck // // This program 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 S...
27.456522
79
0.7308
[ "MIT" ]
RoseLeBlood/libral
liboRg/System/API/Platform/Linux/Widgets/Event/XMouseScrollArgs.cs
1,267
C#
using System; using System.Linq; namespace Okuma.PanelMode.Common { /// <summary>Extension methods</summary> public static class ExtensionMethods { /// <summary>Translates one enum to another by attempting to match names.</summary> /// <typeparam name="TIn">The input enum type</typeparam> ...
34.6
125
0.578035
[ "Apache-2.0" ]
Machining-Code/Okuma.PanelMode
Okuma.PanelMode/Common/ExtensionMethods.cs
1,040
C#
// Instance generated by TankLibHelper.InstanceBuilder using TankLib.STU.Types.Enums; // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0xB66C7F70)] public class STU_B66C7F70 : STU_DBB143CB { [STUFieldAttribute(0x07DD813E, "m_value")] public Enum_7888DAF2 m_value; } }
26.416667
54
0.731861
[ "MIT" ]
Mike111177/OWLib
TankLib/STU/Types/STU_B66C7F70.cs
317
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SqlClient; using System.Runtime.Serialization; using System.Data; namespace Livestock_Auction.DB { public class clsPayments : clsAuctionDataCollection<IDAuctionDataKey, clsPayment, DB.Setup.Payments> { ...
35.368715
300
0.479861
[ "MIT" ]
The-Missing-Semicolon/Livestock-Auction
Livestock Auction/DB/clsPayments.cs
18,995
C#
using System.Collections.Generic; using System.IO; using System.Linq; using DataAPI.Service.Helpers; using DataAPI.Service.Search; using NUnit.Framework; namespace DataAPI.Service.Test.Search { [TestFixture] public class SearchResultStreamTest { [Test] public void StreamWithou...
32.931818
83
0.604555
[ "MIT" ]
mindleaving/dataapi
DataAPI.Service.Test/Search/SearchResultStreamTest.cs
1,451
C#
using EventSourcingCQRS.Domain.Core; using System; using EventSourcingCQRS.Domain.CustomerModule; using EventSourcingCQRS.Domain.ProductModule; using System.Collections.Generic; using System.Linq; using EventSourcingCQRS.Domain.Validation; namespace EventSourcingCQRS.Domain.CartModule { public class Cart : Aggreg...
31.478723
147
0.601893
[ "MIT" ]
kmiltiadous/EventSourcingCQRS
EventSourcingCQRS.Domain/CartModule/Cart.cs
2,961
C#
using ScottPlot.Drawing; using ScottPlot.MinMaxSearchStrategies; using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Drawing2D; using System.Linq; using System.Linq.Expressions; using System.Runtime.InteropServices; namespace ScottPlot.Plottable { public abstract class Signa...
41.617254
162
0.536948
[ "MIT" ]
KanishkKhurana/ScottPlot
src/ScottPlot/Plottable/SignalPlotBase.cs
34,253
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Threading.Tasks; using System.Xml.Linq; using System.Xml.XPath; using Gov.Lclb.Cllb.Interfaces; using Gov.Lclb.Cllb.Interfaces.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Raz...
39.575862
224
0.48253
[ "Apache-2.0" ]
BrendanBeachBC/jag-lcrb-carla-public
watchdog/Pages/ApplicationTypesCheck.cshtml.cs
11,477
C#
using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using mphdict.Models.morph; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using uSofTrod.generalTypes.Models; namespace mphdict.Mo...
41.883636
403
0.454419
[ "MIT" ]
LinguisticAndInformationSystems/mphdict
src/mphdict/mphObj.cs
11,606
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...
28.851064
127
0.599558
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/VMwareCloudSimple/Latest/Inputs/VirtualDiskArgs.cs
1,356
C#
namespace Antrv.FFMpeg.Interop; public enum AVPictureStructure { /// <summary> /// unknown /// </summary> AV_PICTURE_STRUCTURE_UNKNOWN, /// <summary> /// coded as top field /// </summary> AV_PICTURE_STRUCTURE_TOP_FIELD, /// <summary> /// coded as bottom field /// </summar...
18.28
38
0.612691
[ "MIT" ]
antrv/ffmpeg-net
Antrv.FFMpeg/Interop/libavcodec/avcodec.h/AVPictureStructure.cs
459
C#
using TARGET = UnityEngine.RectTransform; namespace Lean.Transition.Method { /// <summary>This component allows you to transition the RectTransform's anchorMin value.</summary> [UnityEngine.HelpURL(LeanTransition.HelpUrlPrefix + "LeanRectTransformAnchorMin")] [UnityEngine.AddComponentMenu(LeanTransition.MethodsMenu...
30.407407
175
0.747462
[ "MIT" ]
AbhishekPardhi/GameDev-Project-1
Monkey KickOff/Assets/Lean/Transition/Methods/RectTransform/LeanRectTransformAnchorMin.cs
2,463
C#
using System.Collections.Generic; namespace GG.Portafolio.Shared { public class ErrorApi { public string Type { get; set; } public string Title { get; set; } public int Status { get; set; } public string Detail { get; set; } public string Instance { get; set; } ...
21.076923
63
0.60219
[ "MIT" ]
guillermo-galvan/portafolio
src/GG.Portafolio.Share/ErrorApi.cs
550
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace coderush.Models { public class CashBank { public int CashBankId { get; set; } [Display(Name = "Cash / Bank Name")] public string CashB...
23.411765
48
0.675879
[ "MIT" ]
2644783865/Asp.Net-Core-Inventory-Order-Management-System
coderush/Models/CashBank.cs
400
C#
#pragma warning disable 1591 using System; namespace Braintree { public class KeyValueNode<T> : SearchNode<T> where T : SearchRequest { public KeyValueNode(string name, T parent) : base(name, parent) { } public T Is(object value) { Parent.AddCriteria(Name, value.T...
18.85
72
0.588859
[ "MIT" ]
chrisjdiver/braintree_dotnet
Braintree/KeyValueNode.cs
377
C#
using System.Reflection; 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("FixedChannel.Tests")] [assembly: Assembly...
38.055556
84
0.742336
[ "Apache-2.0" ]
REDNIGHT/FixedChannel
RNKitSolution/FixedChannel.Tests/Properties/AssemblyInfo.cs
1,373
C#
using System.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Host; namespace Microsoft.CodeAnalysis.CodeFixes { /// <summary> /// An <see cref="IWorkspaceService"/> that can be retrieved from /// <see cref...
60.152174
249
0.68558
[ "MIT" ]
kzu/roslynator
src/Roslynator.Interfaces/ICodeFixService.cs
2,769
C#
//******************************************************************************************************************************** // Filename: InterfaceType.cs // Owner: Richard Dunkley //*************************************************************************************************************************...
43.6
131
0.549312
[ "Apache-2.0" ]
RDunkley/VHDLCodeGen
VHDLCodeGen/ARM/AXI/InterfaceType.cs
1,747
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 ...
29.844828
98
0.711727
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-cms/Cms/Model/V20180308/NodeUninstallRequest.cs
1,731
C#
namespace SampleLiveCoin { using System; using System.ComponentModel; using System.Windows; using Ecng.Common; using Ecng.Xaml; using StockSharp.BusinessEntities; using StockSharp.LiveCoin; using StockSharp.Logging; using StockSharp.Localization; public partial class MainWindow { private bool _isConnect...
27.023256
127
0.706713
[ "Apache-2.0" ]
DimTrdr/StockSharp
Samples/LiveCoin/SampleLiveCoin/MainWindow.xaml.cs
5,810
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
69
402
0.790469
[ "Apache-2.0" ]
k0lpak/aws-sdk-net
sdk/src/Services/GuardDuty/Properties/AssemblyInfo.cs
4,071
C#
namespace Stripe { using System; using System.Collections.Generic; using Newtonsoft.Json; using Stripe.Infrastructure; public class CreditNote : StripeEntity, IHasId, IHasMetadata, IHasObject { /// <summary> /// Unique identifier for the object. /// </summary> [J...
33.835979
134
0.592181
[ "Apache-2.0" ]
richardlawley/stripe.net
src/Stripe.net/Entities/CreditNote.cs
6,397
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.Bot.Schema.Teams { using System.Linq; using Newtonsoft.Json; /// <summary> /// Specifies if a notification is to be sent for the mentions. /// </summary> public partial class No...
35.96875
110
0.605126
[ "MIT" ]
HiltonGiesenow/botbuilder-dotnet
libraries/Microsoft.Bot.Schema/Teams/NotificationInfo.cs
2,304
C#
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.Contracts; using System.Linq; using Contractor.Core.Model; using Microsoft.Cci; using Microsoft.Cci.MutableCodeModel; using Microsoft.Cci.MutableContracts; using IAssembly = Contractor.Core.Model.IAssembly; using ITypeDefi...
33.853333
143
0.614021
[ "MIT" ]
lleraromero/contractor-net
Analysis.Cci/CciAssembly.cs
2,541
C#
using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading; using Interrogator.Http.TestApi; using Interrogator.xUnit; using Microsoft.AspNetCore.Mvc.Testing; namespace Interrogator.Http.Tests { public class RestClientAttribute : FromAttribute { public RestCli...
27.4
142
0.798054
[ "MIT" ]
JohannesMoersch/Interrogator
Interrogator.Http.Tests/RestClientAttribute.cs
824
C#
using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Catalog.API.Entities { public class Product { [BsonId] [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string Id { get; se...
22.206897
60
0.625776
[ "MIT" ]
lev1atan/AspnetMicroServices
src/Services/Catalog/Catalog.API/Entities/Product.cs
646
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NaiveBayes { public class NaiveBayes { private List<string> spamMails; private List<string> notSpamMails; private int countSpamMails; private int countNotSpamMails; public N...
31.804598
97
0.529816
[ "MIT" ]
netmatze/NaiveBayes
NaiveBayes/NaiveBayes.cs
2,769
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; usin...
52.098558
243
0.633738
[ "MIT" ]
DiskRP-Swagger/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitCollection.cs
21,673
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.Diagnostics; namespace System.Security.Cryptography { public interface ICryptoTransf...
48.210526
119
0.713428
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Security.Cryptography.Primitives/src/System/Security/Cryptography/ICryptoTransform.cs
1,832
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
21
48
0.773399
[ "MIT" ]
VoronFX/Aurora
Project-Aurora/Profiles/Voron/VoronControl.xaml.cs
611
C#
/* * ****************************************************************************** * Copyright 2014-2017 Spectra Logic 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. A copy of the License i...
34.851852
89
0.582359
[ "Apache-2.0" ]
RachelTucker/ds3_net_sdk
Ds3/Models/VersioningLevel.cs
941
C#
using NUnit.Framework; using Osaru; using Osaru.Json; using Osaru.Serialization.Serializers; using System; using System.Collections.Generic; using System.Linq; namespace OsaruTest.Json { public static class TypeRegistryExtensions { public static void TypeTest<T>(this Osaru.Serialization....
30.417391
124
0.494568
[ "MIT" ]
ousttrue/JsonSan
UnityProject/Assets/Osaru/Scripts/Formats/Json/Editor/JsonSerializerTest.cs
3,500
C#
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d3dumddi.h(3949,9) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct _D3DDDICB_FREEGPUVIRTUALADDRESS { public ulong BaseAddress; pub...
24.785714
86
0.691643
[ "MIT" ]
Steph55/DirectN
DirectN/DirectN/Generated/_D3DDDICB_FREEGPUVIRTUALADDRESS.cs
349
C#
using System; using System.Diagnostics; namespace MyGeneration { public class ThreadData { public ThreadData(ZeusProcessStatusDelegate cbk, Process p, Guid id) { CallbackHandlers += cbk; SysProcess = p; ID = id; } protected event...
26.681818
77
0.591141
[ "BSD-3-Clause" ]
cafephin/mygeneration
src/mygeneration/MyGenUtility/ZeusProcess/ThreadData.cs
589
C#
using System; using System.Collections.Generic; using System.Text; namespace QK.Framework.Core.Model { /// <summary> /// 数据查询条件 /// </summary> public class DataFilter { /// <summary> /// 数据库字段名 /// </summary> public string field { get; set; } /// <summary> ...
19.189189
46
0.422535
[ "Apache-2.0" ]
hywb/QK.Framework
QK.Framework/Core/Model/DataFilter.cs
814
C#
using UnityEngine; public class HiddenPlatform : MonoBehaviour { private SpriteRenderer spRenderer; private void Start() { spRenderer = GetComponent<SpriteRenderer>(); } private void OnCollisionEnter2D(Collision2D other) { spRenderer.enabled = true; } }
19.933333
54
0.67893
[ "MIT" ]
muyangye/Games
An Easy Game/Assets/Scripts/HiddenPlatform.cs
299
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.Goog...
40.282609
216
0.689692
[ "Apache-2.0" ]
AaronFriel/pulumi-google-native
sdk/dotnet/Compute/V1/Outputs/InterconnectAttachmentPartnerMetadataResponse.cs
1,853
C#
namespace AnimalFarm.Animals { using Contracts; using Foods; public abstract class Animal : IAnimal { protected Animal(string name, double weight) { this.Name = name; this.Weight = weight; } public string Name { get; private set; } publ...
21.275862
59
0.551053
[ "MIT" ]
TihomirIvanovIvanov/SoftUni
C#Fundamentals/C#OOP-Basics/06Polymorphism/PolymorphismExercise/AnimalFarm/Animals/Animal.cs
619
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
34.647059
153
0.572835
[ "MIT" ]
twsouthwick/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/WorkbookFunctionsNpvRequest.cs
2,945
C#
#region License /* * Copyright 2002-2010 the original author or authors. * * 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 * * Unle...
33.346154
80
0.702422
[ "Apache-2.0" ]
MaferYangPointJun/Spring.net
src/Spring/Spring.Data/Transaction/TransactionSystemException.cs
2,601
C#
/** * $File: JCS_Vector.cs $ * $Date: $ * $Revision: $ * $Creator: Jen-Chieh Shen $ * $Notice: See LICENSE.txt for modification and distribution information * Copyright (c) 2016 by Shen, Jen-Chieh $ */ using UnityEngine; namespace JCSUnity { /// <summary> /// Vector data structure imp...
26.704819
84
0.428378
[ "BSD-3-Clause" ]
MapleStoryUnity/MapleStoryUnity
Assets/JCSUnity/Scripts/Lib/JCS_Vector.cs
4,435
C#
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Web; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using ...
39.327273
152
0.659732
[ "MIT" ]
kmrul/EventHub
EventHub/App_Start/IdentityConfig.cs
4,328
C#
using System; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Comformation { /// <summary> /// Used to serialize strings that represents json /// </summary> public class RawJsonConverter : JsonConverter { public override void WriteJson(JsonWriter writer, object value, JsonSeri...
30.647059
124
0.609405
[ "MIT" ]
stanb/Comformation
src/Comformation/Serialization/RawJsonConverter.cs
1,044
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Lamar.Microsoft.DependencyInjection; namespace Portal { ...
24.5
76
0.673469
[ "MIT" ]
akash-yadav-tech/dddwithlamardapperandautomapper
Portal/Program.cs
688
C#
using System; using System.Collections.Generic; using System.Text; using Portal2.DataTypes; using Portal2.Items; namespace Portal2 { /// <summary> /// A field of voxels that makes up a level. /// </summary> public class VoxelField { #region Fields Puzzle owner; ...
30.968481
125
0.400167
[ "MIT" ]
Kyle0654/Portal2.Puzzle
Portal2Puzzle/VoxelField.cs
10,810
C#
using System; namespace Project { public interface IFlyweight { string IntrinsicState { get; } void Operation(string extrinsicState); } }
15.181818
46
0.646707
[ "MIT" ]
danieldeveloper001/csharp_design_patterns
src/structural/flyweight/001_abstract/Flyweight/IFlyweight.cs
167
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using System; using System.Linq; using System.Security.Claims; namespace Oldmansoft.Identity { /// <summary> /// 提供帐号认证 /// </summary> [Microsoft.AspNetCore.Authorization.Authorize] public abstract class AuthController : Contr...
30.015504
215
0.52531
[ "Apache-2.0" ]
Oldmansoft/Identity
src/Oldmansoft.Identity.MvcCore/AuthController.cs
3,976
C#
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www....
39.462312
108
0.428626
[ "Apache-2.0" ]
bubdm/Cube.Core
Tests/Core/Sources/Mixin/TimeTest.cs
7,855
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.AccessApi { ///<summary> /// DispatchInterface _AutoCorrect /// Su...
32.772059
167
0.702266
[ "MIT" ]
brunobola/NetOffice
Source/Access/DispatchInterfaces/_AutoCorrect.cs
4,459
C#
using Volo.Abp.Http.Client.IdentityModel; using Volo.Abp.Modularity; namespace ModuleA { [DependsOn( typeof(ModuleAHttpApiClientModule), typeof(AbpHttpClientIdentityModelModule) )] public class ModuleAConsoleApiClientModule : AbpModule { } }
19.533333
58
0.686007
[ "MIT" ]
antosubash/NewModuleWithTieredAbpApp
modules/ModuleA/test/ModuleA.HttpApi.Client.ConsoleTestApp/ModuleAConsoleApiClientModule.cs
295
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...
51.636015
356
0.645025
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-artifactory
sdk/dotnet/LdapGroupSetting.cs
13,501
C#