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; namespace AwesomeTodoList.Model { public class TodoList { public TodoList() { } public TodoList(string name) { Name = name; } public int Id { get; set; } public string Name { get; set; } public DateTime?...
17.35
43
0.48415
[ "MIT" ]
edineidev/awesome-todo-list
backend/AwesomeTodoList/Model/TodoList.cs
347
C#
using Cso.IfnsExporter.Protocol; namespace Cso.IfnsExporter.Models { public class PriodItemModel { public PriodItemModel(string name, PeriodCode priodCode) { Name = name; PriodCode = priodCode; } private string Name { get; } public PeriodCode P...
20
64
0.552174
[ "MIT" ]
igolets/DevExpressMvvm
IfnsExporter/Models/PriodItemModel.cs
462
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.Collections.Generic; using System.Data.Common; using System.Data.ProviderBase...
42.164894
198
0.486021
[ "MIT" ]
lukas-lansky/corefx
src/System.Data.Odbc/src/System/Data/Odbc/OdbcDataReader.cs
126,832
C#
// Copyright (c) Teroneko. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; namespace Teronis.Collections.Generic { public class KeyValuePairEnumeratorWithPairAsCovariant<KeyType, ValueType> : KeyValuePairEnumeratorWithConvers...
44.055556
185
0.770492
[ "MIT" ]
teroneko/Teronis.DotNet
src/NetStandard/Collections/Collections/src/Generic/KeyValuePairEnumeratorWithPairAsCovariant.cs
795
C#
using System; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace LoanMelliBank.Migrations { public partial class updatepeople : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColu...
40.255411
122
0.497365
[ "MIT" ]
EsmaeelZekaee/LoanMelliBank
aspnet-core/src/LoanMelliBank.EntityFrameworkCore/Migrations/13980115193649_update-people.cs
9,301
C#
using System.Collections.Generic; namespace Pds.Contracts.Data.Api.Client.Models { /// <summary> /// ApiResponse. /// </summary> /// <typeparam name="T">Response data type.</typeparam> public class ContractReminders { /// <summary> /// Gets or sets contract reminders. /...
25.52381
72
0.574627
[ "MIT" ]
SkillsFundingAgency/pds-contracts-data-api-client
Pds.Contracts.Data.Api.Client/Models/ContractReminders.cs
538
C#
using Microsoft.Data.Sqlite; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage; using Microsoft.Extensions.DependencyInjection; using Volo.Abp; using Volo.Abp.EntityFrameworkCore; using Volo.Abp.EntityFrameworkCore.Sqlite; using Volo.Ab...
29.806452
82
0.72619
[ "MIT" ]
271943794/abp-samples
TelerikBlazorSample/test/TelerikBlazorSample.EntityFrameworkCore.Tests/EntityFrameworkCore/TelerikBlazorSampleEntityFrameworkCoreTestModule.cs
1,850
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; // add using Microsoft.AspNet.Identity; using ZLib.DB; namespace ZIdentitySqlServer { /// <summary> /// Class that implements the key ASP.NET Identity role store iterfaces /// </summary> ...
23.237624
75
0.525352
[ "MIT" ]
github-honda/VS2019Practice
WebIdentity/ZIdentitySqlServer/ZRoleStore.cs
2,349
C#
// *********************************************************************** // Copyright (c) Charlie Poole and TestCentric Engine contributors. // Licensed under the MIT License. See LICENSE.txt in root directory. // *********************************************************************** using System; using TestCentric...
31.055556
93
0.560525
[ "MIT" ]
jurczakk/testcentric-gui
src/TestEngine/testcentric.engine.api/IService.cs
1,677
C#
/* * THIS FILE WAS GENERATED BY PLOTLY.BLAZOR.GENERATOR */ using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; using System.Runtime.Serialization.Formatters.Binary; using System.Text.Json.Serialization; namespace Plotly.Blazor.Traces.ScatterLib.M...
35.552795
109
0.519217
[ "MIT" ]
HansenBerlin/PlanspielWebapp
Plotly.Blazor/Traces/ScatterLib/MarkerLib/Gradient.cs
5,724
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.Runtime.InteropServices; using System.Security.Cryptography; internal static partial class Interop { internal static partial class libcr...
41.125
101
0.653495
[ "MIT" ]
bpschoch/corefx
src/Common/src/Interop/Unix/libcrypto/Interop.Initialization.cs
1,645
C#
namespace NServiceBus.Distributor.MSMQ.Profiles { using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using Hosting.Profiles; internal class DistributorProfileHandler : IHandleProfile<MSMQDistributor>, IWantTheListOfActiveProfiles { ...
31.434783
118
0.650069
[ "Apache-2.0", "MIT" ]
abombss/NServiceBus
src/NServiceBus.Distributor.MSMQ/Profiles/DistributorProfileHandler.cs
703
C#
// ------------------------------------------------------------------------ // ======================================================================== // THIS CODE AND INFORMATION ARE GENERATED BY AUTOMATIC CODE GENERATOR // ======================================================================== // Template: PageCS...
39.914286
152
0.653543
[ "MIT" ]
tejaswisingh/Turboc-for-windows8-WINDOWS-PHONE-APP
WP8App/View/PhotoAlbum_Detail.xaml.cs
4,191
C#
namespace Calculator.Logic { using System; using System.Collections.Generic; using System.Linq; using System.Text; public class Evaluate { public static double EvaluateRPN(string rpn) { Stack<double> evaluatorStack = new Stack<double>(); string[] tokens ...
38.355263
112
0.460549
[ "MIT" ]
aceAtRocky/CSC352_Public
Calculator.Logic/Evaluate.cs
5,832
C#
using System.Collections.Generic; using System.Linq; using System.Reflection; using Swashbuckle.AspNetCore.Swagger; using Swashbuckle.AspNetCore.SwaggerGen; namespace iSHARE.Api.Swagger { public class GenerateJwsFilter : IOperationFilter { public void Apply(Operation operation, OperationFilterContext ...
35.444444
290
0.57837
[ "Unlicense" ]
adrianiftode/AuthorizationRegistry
iSHARE.Api/Swagger/GenerateJwsFilter.cs
1,278
C#
using System; using System.Collections.Generic; #nullable disable namespace Lab3.Models { public partial class Color { public string Name { get; set; } public string Code { get; set; } public int? Red { get; set; } public int? Green { get; set; } public int? Blue { get...
19.823529
40
0.587537
[ "MIT" ]
Alanomari/ITHSDATABASLab3
Lab3/Models/Color.cs
339
C#
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CodeNav")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("CodeNav")] [assembly: AssemblyCopyright("")] [assembly: AssemblyTrademark("")] [asse...
27.117647
42
0.748373
[ "MIT" ]
nickmcummins/CodeNav
CodeNav.VS2019/Properties/AssemblyInfo.cs
463
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 MS.Internal; using MS.Internal.Commands; using MS.Internal.Documents; using MS.Internal.KnownBoxes; using MS....
41.998667
243
0.552954
[ "MIT" ]
56hide/wpf
src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Controls/ScrollViewer.cs
125,996
C#
using System.Diagnostics; namespace DeepSleep { /// <summary> /// /// </summary> [DebuggerDisplay("{ToString()}")] public class MediaHeaderValueWithParameters { /// <summary> /// Initializes a new instance of the <see cref="MediaHeaderValueWithParameters"/> class. /// ...
28.666667
97
0.587209
[ "MIT" ]
mtnvencenzo/DeepSleep
src/DeepSleep/MediaHeaderValueWithParameters.cs
862
C#
using System; using SharpDX; namespace DXFramework.Util { public static class MathHelper { private const float INV_TWOPI = 1f / MathUtil.TwoPi; /// <summary> /// Returns the revolutions [0..1] between a current- and target position, form a facing angle. /// </summary> /// <param name="position">Current p...
28.525641
112
0.67236
[ "MIT" ]
adamxi/SharpDXFramework
DXFramework/Util/MathHelper.cs
2,227
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.Globalization; using System.IO; using System.Linq; using System.Xml; using NuGet.Common; n...
38.87963
166
0.562209
[ "Apache-2.0" ]
JetBrains/NuGet.Client
src/NuGet.Core/NuGet.Configuration/Settings/Settings.cs
29,393
C#
namespace _01_03.Student { public enum Speciality { Telecommunications, Marketing, Business, Entrepreneurship, Phisics, Mathematics, Informatics, Law, Philosophy } }
16.1875
28
0.521236
[ "MIT" ]
kaizer04/Telerik-Academy-2013-2014
OOP/Common-Type-System-Homework/01-03. Student/Speciality.cs
261
C#
//========= Copyright 2018, Sam Tague, All rights reserved. =================== // // Collection of useful static methods // //===================Contact Email: Sam@MassGames.co.uk=========================== using UnityEngine; using System.Collections; namespace VRInteraction { public class VRUtils : MonoBehaviour...
38.474576
138
0.746843
[ "MIT" ]
Joeyjoe9876/OSRS-VR-Demo
VRInteraction/Scripts/Utils/VRUtils.cs
6,812
C#
using System; using System.Linq; using EfEagerLoad.Common; using EfEagerLoad.Tests.Testing; using EfEagerLoad.Tests.Testing.Model; using Microsoft.EntityFrameworkCore; using Xunit; namespace EfEagerLoad.Tests.Common { public class NavigationTypeExtensionsTests { private static readonly TestDbContext T...
34.342857
127
0.697171
[ "MIT" ]
jsaret/EfEagerLoad
source/Core/EfEagerLoad.Tests/Common/NavigationTypeExtensionsTests.cs
1,204
C#
// // Copyright 2021 Adam Burton (adz21c@gmail.com) // // Licensed under the Apache License, Version 2.0 (the "License") // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless r...
35.660377
116
0.667725
[ "Apache-2.0" ]
adz21c/Periturf
src/Periturf/Components/IComponent.cs
1,892
C#
// *********************************************************************** // Copyright (c) 2015-2018 Terje Sandstrom // // 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...
48.878049
136
0.679391
[ "MIT" ]
nunit/TestGenerator.Extension
CreateUnitTests.NUnit/NUnit2SolutionManager.cs
4,010
C#
using Microsoft.Extensions.DependencyInjection; using MigrationTools.TestExtensions; namespace MigrationTools.Tests { internal static class ServiceProviderHelper { internal static ServiceProvider GetServicesV2() { var services = new ServiceCollection(); services.AddMigr...
36.590909
79
0.678261
[ "MIT" ]
CowboyPurest/azure-devops-migration-tools
src/MigrationTools.Integration.Tests/ServiceProviderHelper.cs
807
C#
namespace GearListoon.Models { /// <summary> /// スペシャル武器Model /// </summary> public class SpecialWeaponModel { /// <summary> /// ID /// </summary> public string id; /// <summary> /// 名前 /// </summary> public string name; } }
12.55
34
0.569721
[ "MIT" ]
ShassBeleth/GearListoon
GearListoon/Assets/Scripts/Models/SpecialWeaponModel.cs
271
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SpiceApp.Services { public interface IEmailSender { void SendMailkit(string name, string mailTo); Task SendEmailAsync(string email, string subject, string htmlMessage);...
21.933333
78
0.738602
[ "MIT" ]
MohamedAshraf004/SpiceApp-
SpiceApp/Services/IEmailSender.cs
331
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...
36.785714
151
0.617282
[ "MIT" ]
Andrean/azure-powershell
src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CmdLetTests/StartJobsCmdletTests.cs
5,013
C#
using Ship; using Upgrade; using System.Collections.Generic; using UnityEngine; using SubPhases; using System; namespace UpgradesList.SecondEdition { public class EmperorPalpatine : GenericUpgrade { public EmperorPalpatine() : base() { UpgradeInfo = new UpgradeCardInfo( ...
27.617284
112
0.498435
[ "MIT" ]
simonthezealot/FlyCasual
Assets/Scripts/Model/Content/SecondEdition/Upgrades/Crew/EmperorPalpatine.cs
2,239
C#
using System; namespace Guidelines.Core.Bootstrap { /// <summary> /// Bootstrap foundation class that ensure a bootstrap process occurs only once. /// </summary> public interface IBootstrapper : IDisposable { /// <summary> /// Call to begin bootstrapping. Can only be run once. /// </summary> IBootstrappe...
21.25
81
0.697059
[ "MIT" ]
basicdays/Guidelines
src/Core/Bootstrap/IBootstrapper.cs
342
C#
 namespace Sunny.UI.Demo { partial class FPipe { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 true;否则为...
51.368917
156
0.578449
[ "MIT" ]
BillChan226/Visualization-Project-for-Greyout
VisualTool/Industrial/FPipe.designer.cs
33,086
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using System.Collections.Generic; using System.Threading; using Microsoft.CodeAnalysis.Notificati...
36
133
0.67803
[ "MIT" ]
IanKemp/roslyn
src/Workspaces/Remote/ServiceHub/Services/CodeAnalysis/CodeAnalysisService_GlobalNotifications.cs
1,586
C#
using System; using System.Xml.Serialization; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Call center overflow processing action. /// </summary> [Serializable] [XmlRoot(Namespace = "")] public enum CallCenterOverflowProcessingAction { [XmlEnum(Name = "Busy")] ...
21.190476
50
0.6
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/CallCenterOverflowProcessingAction.cs
445
C#
using System; using System.ComponentModel.DataAnnotations; using System.Security.Cryptography; using Zop.Identity; namespace Zop.Domain.Entities { /// <summary> /// 秘钥 /// </summary> [Serializable] public class Secret:Entity<int> { #region 构造函数 /// <summary> /// 初始化 <se...
26.519481
128
0.496082
[ "Apache-2.0" ]
aqa510415008/Zop.Identity
src/Zop.Domain/Entities/Secret.cs
2,142
C#
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using System; using System.Diagnostics; using System.IO; using System.Linq; namespace ESTHost.Simulator { class Program { static void Main(string[] args) { // 数据模拟器 CreateHostBuilder(args).Bu...
31.068182
81
0.566935
[ "MIT" ]
easteng/MonitorPlatform
src/services/ESTHost.Simulator/Program.cs
1,379
C#
using System.IO; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using EasyAbp.NotificationService.EntityFrameworkCore; using EasyAbp.NotificationService.MultiTenancy; using EasyAbp.NotificationService.Web; using Microsoft.OpenApi.Models; using Swa...
43.753012
273
0.66887
[ "MIT" ]
wagnerhsu/sample-EasyAbp-NotificationService
host/EasyAbp.NotificationService.Web.Unified/NotificationServiceWebUnifiedModule.cs
7,292
C#
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime.Serialization; namespace ScannTechSDK.Enums { [JsonConverter(typeof(StringEnumConverter))] public enum TipoPromocao { [EnumMember(Value = "LLEVA_PAGA")] LevaPaga = 1, [EnumMember(Value = "ADICIONAL_DESCUE...
27.708333
51
0.642105
[ "Apache-2.0" ]
GuimoBear/ScannTechSDK
Enums/TipoPromocao.cs
667
C#
namespace _05.Calculate_Sequence_with_Queue { using System; using System.Collections.Generic; public class Program { public static void Main() { var currentNumber = long.Parse(Console.ReadLine()); var sequenceOfNumbers = new Queue<long>(); var secon...
32.358974
75
0.558637
[ "MIT" ]
anedyalkov/CSharp-Advanced
01.Exercises-Stacks and Queues/05.Calculate Sequence with Queue/05.Calculate Sequence with Queue.cs
1,264
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using System.Windows; using System.Runtime.InteropServices; using System.Net; namespace EpgTimer { public class TVTestCtrlClass { Process process = null; string process...
41.973913
178
0.440923
[ "MIT" ]
nexus7ici/tkntrec
EpgTimer/EpgTimer/Common/TVTestCtrlClass.cs
15,203
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Zilon.Core.Common; using Zilon.Core.CommonServices.Dices; using Zilon.Core.Graphs; using Zilon.Core.Schemes; using Zilon.Core.Tactics.Spatial; namespace Zilon.Core.MapGenerators.CellularAu...
35.825688
125
0.570551
[ "MIT" ]
kreghek/Zilon_Roguelike
Zilon.Core/Zilon.Core/MapGenerators/CellularAutomatonStyle/CellularAutomatonMapFactory.cs
8,272
C#
using System; using System.Collections.Generic; using System.Text; namespace SEDC.Adv.TryBeingFit.Domain { public abstract class Training : BaseEntity, ITraining { public string Title { get; set; } public string Description { get; set; } public int Time { get; set; } public Dif...
25.75
58
0.566343
[ "MIT" ]
sedc-codecademy/skwd8-06-csharpadv
g7/TryBeingFitApp/SEDC.Adv.TryBeingFit/SEDC.Adv.TryBeingFit.Domain/Core/Entities/Training.cs
620
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Joy.Server.Data; namespace DAL { public class D { public static Db DB = Dbs.Use<DbAccess>("dbportal"); public static SiteCache Cache = new SiteCache { Name = "Root" }; } public class SiteCache { public string Name; ...
19.914286
72
0.678623
[ "MIT" ]
mind0n/hive
Product/Website/Portal/DAL/D.cs
699
C#
using EnTier.DataAccess.EntityFramework; using EnTier.UnitOfWork; using Microsoft.EntityFrameworkCore; // ReSharper disable once CheckNamespace namespace Microsoft.Extensions.DependencyInjection { public static class ServiceCollectionExtensions { public static IServiceCollection AddEntityFrameworkUnitO...
32.0625
103
0.762183
[ "MIT" ]
Acidmanic/EnTier
EnTier.DataAccess.EntityFramework/ServiceCollectionExtensions.cs
513
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using StateOfNeo.Data; namespace State...
35.53059
175
0.494396
[ "MIT" ]
alienworks/state-of-neo-server
StateOfNeo/StateOfNeo.Data/Migrations/20181217183132_TotalStats_ForgotenSetOfPropertiesAdded.Designer.cs
31,944
C#
 using System.Collections.Generic; namespace Flighter.Core { public enum TextAlign { TopLeft, TopCenter, TopRight, MiddleLeft, MiddleCenter, MiddleRight, BottomLeft, BottomCenter, BottomRight } public enum FontStyle { Normal, Bold, Italic, ...
28.926267
104
0.518719
[ "MIT" ]
After-Ever/Flighter
Flighter/Core/CoreComponents.cs
6,279
C#
using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using PureCloudPlatform.Client.V2.Client; namespace PureClo...
34.266234
153
0.559788
[ "MIT" ]
nmusco/platform-client-sdk-dotnet
build/src/PureCloudPlatform.Client.V2/Model/WfmForecastModificationIntervalOffsetValue.cs
5,277
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Threading.Tasks; using LinqToDB; using LinqToDB.Data; using LinqToDB.DataProvider.MySql; using LinqToDB.DataProvider.SqlServer; using LinqToDB.Expressions; using LinqToDB.E...
33.648968
141
0.691155
[ "MIT" ]
ozergurbanov1/linq2db
Tests/Linq/UserTests/DynamicExtensions.cs
11,409
C#
using System; namespace Eqstra.CrossPlatform.API.Areas.HelpPage { /// <summary> /// This represents an image sample on the help page. There's a display template named ImageSample associated with this class. /// </summary> public class ImageSample { /// <summary> /// Initializes a ne...
26.02439
130
0.530459
[ "MIT" ]
pithline/FMS
Pithline.FMS.CrossPlatform.API/Areas/HelpPage/SampleGeneration/ImageSample.cs
1,067
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Autofac; using MediatR; using Strive.Core.Interfaces; using Strive.Core.Services; using Strive.Core.Services.Permissions; namespace Strive.Hubs.Core.Services.Middlewares { public static class ServiceInvokerPermissionMiddleware...
40.977273
120
0.713256
[ "Apache-2.0" ]
Anapher/PaderConference
src/Services/ConferenceManagement/Strive/Hubs/Core/Services/Middlewares/ServiceInvokerPermissionMiddleware.cs
1,803
C#
using HelenSposa.Core.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HelenSposa.Entities.Dtos.Product { public class ProductAddDto:IDto { public string Name { get; set; } } }
19.066667
42
0.734266
[ "MIT" ]
omerserdarkose/WeddingStore-Backend
HelenSposa.Entities/Dtos/Product/ProductAddDto.cs
288
C#
using System; using System.Threading.Tasks; using Foundatio.Parsers.LuceneQueries.Extensions; using Foundatio.Parsers.LuceneQueries.Nodes; namespace Foundatio.Parsers.LuceneQueries.Visitors; public class AssignOperationTypeVisitor : ChainableQueryVisitor { public override Task VisitAsync(GroupNode node, IQueryVi...
35.911765
93
0.665848
[ "Apache-2.0" ]
exceptionless/Exceptionless.QueryParser
src/Foundatio.Parsers.LuceneQueries/Visitors/AssignOperationTypeVisitor.cs
2,444
C#
/** * Autogenerated by Thrift Compiler (0.11.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.IO; using System.Threading; using System.Threading.Tasks; using Thrift; usi...
23.726027
92
0.596709
[ "MIT" ]
c04x/sdk
SDK.Gen.ServiceAsync/Generated/Ruyi/SDK/PublisherSubscriber/UserShellEvent.cs
3,464
C#
/******************************************************************************* * Copyright 2012-2019 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...
51.737255
352
0.639771
[ "Apache-2.0" ]
JekzVadaria/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/Neptune/Basic/Edit-NPTDBCluster-Cmdlet.cs
26,386
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.EntityFrameworkCore; using WebPushDemo.Model...
30.542857
146
0.567353
[ "MIT" ]
TupaNegreiros/WebPushDemo
WebPushDemo/Startup.cs
2,140
C#
using System; namespace FW { [Serializable] public class Watermark { } }
9
26
0.6
[ "MIT" ]
seonghwan-dev/UnityForensicsWatermark
Assets/Scripts/Watermark.cs
90
C#
namespace Amazon.IonDotnet.Internals { internal interface ISymbolTableProvider { ISymbolTable GetSystemTable(); } }
17.125
43
0.70073
[ "Apache-2.0" ]
Armanbqt/ion-dotnet
Amazon.IonDotnet/Internals/ISymbolTableProvider.cs
139
C#
using System.Collections.Generic; using System.Linq; using System.Diagnostics; using System; using System.IO; using MultimodalEmotionDetection; namespace EDARecognition { public class EDARecognitionComponent : IAffectRecognitionComponent { private OpenSignalsSocket Socket { get; set; } public...
33.325991
171
0.54382
[ "Apache-2.0" ]
GAIPS-INESC-ID/FAtiMA-Toolk
AffectRecognition/AffectRecognitionComponents/EDARecognition/EDARecognitionComponent.cs
7,567
C#
using System.ComponentModel.DataAnnotations; using Abp.Auditing; using Abp.Authorization.Users; using Abp.AutoMapper; using Abp.Runtime.Validation; using MediaShare.Authorization.Users; namespace MediaShare.Users.Dto { [AutoMapTo(typeof(User))] public class CreateUserDto : IShouldNormalize { [Requi...
25.25
58
0.617162
[ "MIT" ]
tigeryzx/MediaShare
aspnet-core/src/MediaShare.Application/Users/Dto/CreateUserDto.cs
1,212
C#
namespace System.Workflow.Activities { using System; using System.Text; using System.Reflection; using System.Collections; using System.CodeDom; using System.ComponentModel; using System.ComponentModel.Design; using System.Drawing; using System.Drawing.Drawing2D; using System.Wor...
32.43038
125
0.645199
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/cdf/src/WF/Activities/Designers/StateFinalizationDesigner.cs
2,562
C#
using System; using System.Text; namespace LinqToDB.DataProvider.Access { using Mapping; using SqlQuery; using System.Data.Linq; public class AccessMappingSchema : MappingSchema { public AccessMappingSchema() : this(ProviderName.Access) { } protected AccessMappingSchema(string configurat...
29.943182
118
0.67666
[ "MIT" ]
Corey-M/linq2db
Source/LinqToDB/DataProvider/Access/AccessMappingSchema.cs
2,550
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 Microsoft.AspNet.Http; namespace Microsoft.AspNet.Mvc.ModelBinding { /// <summary> /// A context that contains informati...
38.212766
111
0.640312
[ "Apache-2.0" ]
moljac/Mvc
src/Microsoft.AspNet.Mvc.ModelBinding/OperationBindingContext.cs
1,796
C#
using System; using UnityEditor; /* tpr #if ENABLE_VR && ENABLE_VR_MODULE using UnityEngine.XR; #endif */ namespace UnityEngine.Rendering { /// <summary> /// XRGraphics insulates SRP from API changes across platforms, Editor versions, and as XR transitions into XR SDK /// </summary> [Serializabl...
22.982759
159
0.485559
[ "MIT" ]
turesnake/tpr_Unity_Render_Pipeline_LearningNotes
11.0/Core_and_URP_11.0/rp.core.11.0/Runtime/Common/XRGraphics.cs
5,332
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; using MvcPlayground.Helpers; namespace MvcPlayground.Models { [TypeConverter(typeof(PascalCaseWordSplittingEnumConverter))] public enum Color { ...
24.157895
65
0.617647
[ "Apache-2.0" ]
Guzzter/MvcPlayground
MvcPlayground/Models/Person.cs
920
C#
namespace Shared.Group_008 { using Xunit; public class Benchmark038Tests { [Fact] public void Test_001() { } [Fact] public void Test_002() { } [Fact] public void Test_003() { } [Fact] public void Test_004() { } [Fact] public void Test_005() { } [Fact] public ...
37.220339
41
0.529144
[ "MIT" ]
chan18/fixie.benchmark
src/Shared/Group_008/Benchmark038Tests.cs
2,196
C#
using System; using System.Collections.Generic; namespace AoC.Y2017.Days { internal class TuringState { public string Name { get; set; } public (int Zero, int One) NextSlotOffset { get; set; } public (string Zero, string One) NextState { get; set; } public (int Zero, int One) ...
41.609756
184
0.606096
[ "MIT" ]
EwoutIO/AdventOfCode
AoC.Y2017/Day25/TuringState.cs
1,708
C#
using System; using System.Collections.Generic; using System.Text; namespace RT.Cryptography { public class CipherService { private ICipherFactory _factory = null; private Dictionary<CipherContext, ICipher> _ciphers = new Dictionary<CipherContext, ICipher>(); public bool EnableEncrypt...
33.380435
122
0.585477
[ "MIT" ]
Horizon-Private-Server/horizon-server
RT.Cryptography/CipherService.cs
3,073
C#
using Microsoft.Owin; using Owin; [assembly: OwinStartupAttribute(typeof(Angular103.Startup))] namespace Angular103 { public partial class Startup { public void Configuration(IAppBuilder app) { ConfigureAuth(app); } } }
18
60
0.648148
[ "Apache-2.0" ]
Kiandr/Angular
Practice/Angular100/Angular103/Angular103/Startup.cs
272
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Docomb.WebCore.Configurations { public static class UiConfig { public const string UrlPathPrefix = "_admin"; public static bool HasAdmin { get; private set; } = false; public static ...
23.045455
67
0.74359
[ "MIT" ]
MatMiler/Docomb
WebCore/Configurations/UiConfig.cs
509
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ConnectAndJoinRandom.cs" company="Exit Games GmbH"> // Part of: Photon Unity Utilities, // </copyright> // <summary> // Simple component to call ConnectUsingSettings and t...
39.040323
239
0.565379
[ "MIT" ]
mjimenez98/tank-warfare-online
Assets/Resources/Photon/PhotonUnityNetworking/UtilityScripts/Prototyping/ConnectAndJoinRandom.cs
4,841
C#
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; name...
24.881818
153
0.579467
[ "MIT" ]
zxsean/DCET
Unity/Assets/Model/XLua/Gen/XLuaCSObjectWrapXLuaCSObjectWrapDCETModelFrame_ClickMapWrapWrapWrap.cs
2,739
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Bonsai.Windows.Input { [Description("Produces a sequence of events whenever a keyboard key i...
27.56
88
0.642961
[ "MIT" ]
aalmada/bonsai
Bonsai.Windows.Input/KeyUp.cs
691
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...
34.3
120
0.683673
[ "Apache-2.0" ]
ermshiperete/aws-sdk-net
AWSSDK_DotNet35/Amazon.EC2/Model/DeleteVpcPeeringConnectionRequest.cs
2,058
C#
using UnityEngine; using System; using LuaInterface; using SLua; using System.Collections.Generic; public class Lua_UnityEngine_Color32 : LuaObject { [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static public int constructor(IntPtr l) { try { UnityEngine.Color32 o; System.Byte a1; checkType(l,2,o...
22.313953
91
0.671704
[ "MIT" ]
LunaFramework/Luna
luna/Assets/LuaObject/Unity/Lua_UnityEngine_Color32.cs
3,840
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...
36.543689
197
0.61796
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/FailedQueuedPurchaseDeletionUnmarshaller.cs
3,764
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Microsoft.Rest; using Serilog; using Serilog.Sinks.SystemConsole.Themes; using System.Threading.Tasks; namespace Yarp.ReverseProx...
29.585366
64
0.583677
[ "MIT" ]
BennyM/reverse-proxy
src/ReverseProxy.Kubernetes.Controller/Program.cs
1,213
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...
39.945205
194
0.588992
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Greengrass/Generated/Model/Internal/MarshallTransformations/CreateGroupResponseUnmarshaller.cs
5,832
C#
using Cirrious.CrossCore; using Cirrious.CrossCore.IoC; using Cirrious.MvvmCross.ViewModels; using Test.NewCore.ViewModels; namespace Test.NewCore { public class App : MvxApplication { public App() { CreatableTypes() .EndingWith("Service") ...
25.727273
86
0.575972
[ "MIT" ]
ehuna/MvvmCross.Test.Uwp
Test.NewCore/App.cs
568
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...
50.602804
155
0.620556
[ "Apache-2.0" ]
sebtelko/pulumi-azure-native
sdk/dotnet/Network/V20200301/ServiceEndpointPolicy.cs
10,829
C#
//---------------------------------------------------------------------------------- // <copyright file="DelegateComparer.cs" company="Prakrishta Technologies"> // Copyright (c) 2019 Prakrishta Technologies. All rights reserved. // </copyright> // <author>Arul Sengottaiyan</author> // <date>3/3/2019</date> // <sum...
31.647059
99
0.521375
[ "MIT" ]
sarul84/Prakrishta.Infrastructure
Prakrishta.Infrastructure/Helper/DelegateComparer.cs
2,154
C#
/** * (C) Copyright IBM Corp. 2018, 2020. * * 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 t...
45.613636
127
0.606776
[ "Apache-2.0" ]
oscillator25/IBM-Watson-Unity-SDK_v3.1.0
Scripts/Services/Assistant/V1/Model/DialogNodeOutputGeneric.cs
10,035
C#
using CsvHelper.Configuration; namespace BenchmarksDriver { public class CsvResult { public string Class { get; set; } public string Method { get; set; } public string Params { get; set; } public double Mean { get; set; } public double Error { get; set; } public...
32.806452
78
0.551622
[ "Apache-2.0" ]
Dmitry-Matveev/Benchmarks
src/BenchmarksDriver/CsvResult.cs
1,019
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.EntityFrameworkCore; using EvitiContact.ContactModel; namespace NRepository.RazorPages.Pages.CT { public class DetailsModel : ...
25.3
90
0.620553
[ "MIT" ]
irperez/RepositoryPattern
NRepository/NRepository.RazorPages/Pages/CT/Details.cshtml.cs
1,014
C#
using System; using MaxStack.Classes; using static System.Console; namespace MaxStack { class Program { static void Main(string[] args) { // creates a new stack with 3 elements Stack newStack = new Stack(new Node(100)); newStack.Push(new Node(390)); ...
25.590909
81
0.57016
[ "MIT" ]
jimmyn123/Data-Structures-and-Algorithms
Challenges/MaxStack/MaxStack/Program.cs
565
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Training20200901.Algorithms; using Training20200901.Collections; using Training20200901.Extensions; using Training20200901.Numerics; ...
25
73
0.773333
[ "MIT" ]
terry-u16/AtCoder
Training20200901/Training20200901/Training20200901/Questions/QuestionB.cs
602
C#
#region license // Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com) // 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 abo...
41.129032
108
0.732941
[ "BSD-3-Clause" ]
cneuwirt/rhino-commons
Rhino.Commons.Binsor/Installer/BinsorResourceInstaller.cs
2,550
C#
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 4.0.2 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //-----...
35.855263
129
0.70422
[ "MIT" ]
Jorteck/NWN.Native
src/main/API/SWIGTYPE_p_CExoAliasListInternal.cs
2,725
C#
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using NativoPlusStudio.AuthToken.Ficoso.Extensions; using NativoPlusStudio.AuthToken.Core.Interf...
52.968254
182
0.685945
[ "MIT" ]
nativoplus/NativoPlusStudio.AuthToken.Ficoso
NativoPlusStudio.AuthToken.FicosoTests/BaseConfiguration.cs
3,339
C#
using System; namespace FontAwesome { /// <summary> /// The unicode values for all FontAwesome icons. /// <para/> /// See https://fontawesome.com/cheatsheet /// <para/> /// This code was automatically generated by FA2CS (https://github.com/michaelswells/fa2cs a modified fork from https://github...
35.52459
154
0.604984
[ "MIT" ]
michaelswells/FontAwesomeAttribute
FontAwesome/FontAwesome.GalacticRepublic.cs
2,167
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...
25.277778
81
0.623077
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20191101/Outputs/MatchVariableResponse.cs
910
C#
/** * Copyright 2016 IBM Corp. * * 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 wr...
27.862385
124
0.634178
[ "Apache-2.0" ]
MobileFirst-Platform-Developer-Center/StepUpWin10
StepUpWin10/PinCodeChallengeHandler.cs
3,037
C#
//---------------------------------------------------------------------------------------------------------- // X-PostProcessing Library // Copyright (C) 2020 QianMo. All rights reserved. // Licensed under the MIT License // you may not use this file except in compliance with the License.You may obtain a copy of the ...
40.783784
154
0.622598
[ "MIT" ]
flycodes/X-PostProcessing-Library
Assets/X-PostProcessing/Effects/PixelizeSector/PixelizeSector.cs
3,020
C#
using System; using System.Net; using FubuCore; using FubuMVC.Core; using FubuMVC.Core.Behaviors; using Shouldly; using NUnit.Framework; namespace FubuMVC.Tests.Behaviors { [TestFixture] public class InterceptExceptionBehaviorTester { [Test] public void should_invoke_inside_behavior() { v...
22.465278
99
0.699536
[ "Apache-2.0" ]
JohnnyKapps/fubumvc
src/FubuMVC.Tests/Behaviors/InterceptExceptionBehaviorTester.cs
3,237
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...
35.555556
141
0.610491
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Elasticsearch/Generated/Model/Internal/MarshallTransformations/CreatePackageRequestMarshaller.cs
4,480
C#
using System; using System.Collections; using Network; using LibCore; using CoreUtils; namespace Polestar_PM.OpsEngine { public class PredictedInfoManager { NodeTree model; Node timeNode; Node predictedMarketInfoNode; public PredictedInfoManager(NodeTree model) { this.model = model; timeNode = mode...
23.927273
109
0.718845
[ "MIT-0" ]
business-sims-toolkit/business-sims-toolkit
dev/products/eboards/pm/Polestar_PM/Polestar_PM.OpsEngine/PredictedInfoManager.cs
1,316
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace CuttingRoom { /// <summary> /// A container for holding the logic required to select groups within a layer narrative object. /// </summary> public partial class LayerSelectionDecisionPoint : DecisionPoint { /...
33.375
200
0.738296
[ "Apache-2.0" ]
Digital-Creativity-Labs/CuttingRoom
Assets/Scripts/DecisionPoints/LayerSelectionDecisionPoint.cs
2,142
C#
// // Copyright (C) Microsoft. All rights reserved. // using Microsoft.PowerShell.Activities; using System.Management.Automation; using System.Activities; using System.Collections.Generic; using System.ComponentModel; namespace Microsoft.PowerShell.Utility.Activities { /// <summary> /// Activity to invoke...
35.118881
130
0.620669
[ "Apache-2.0", "MIT" ]
JM2K69/PowerShell
src/Microsoft.PowerShell.Utility.Activities/Generated/GroupObjectActivity.cs
5,022
C#
using UnityEngine; public class TimeManager : Singleton<TimeManager> { public float SlowRate = 0.2f; public float SlowMoSpeed = 2f; public bool IsTimeFrozen = false; [HideInInspector] public bool IsTimeSlowTime = false; [HideInInspector] public bool IsPause = false; void Update() { if (IsPause == true) ...
17.744681
57
0.702638
[ "MIT" ]
CaptainJeoy/A-Combined-Shoot-Em-Up-and-Quiz-Mobile-Game
HannahsNumber/Assets/Scripts/TimeManager.cs
836
C#
#if MIGRATION namespace System.Windows.Automation.Peers #else namespace Windows.UI.Xaml.Automation.Peers #endif { public enum AutomationControlType { // // Summary: // A button control. Button = 0, // // Summary: // A calendar control, such as a date picker. Calendar = 1, // // Summary: ...
22.151163
96
0.586614
[ "MIT" ]
Barjonp/OpenSilver
src/Runtime/Runtime/System.Windows.Automation.Peers/WORKINPROGRESS/AutomationControlType.cs
3,810
C#