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 Elastic.Xunit.XunitPlumbing; using Elasticsearch.Net; using FluentAssertions; using Nest; using Tests.Core.Client; using Tests.Domain; using Tests.Framework; using static Nest.Indices; namespace Tests.ClientConcepts.HighLevel.Inference { public class IndicesPaths : DocumentationTestBase { /**[[indices-paths...
40.099379
289
0.717162
[ "Apache-2.0" ]
591094733/elasticsearch-net
src/Tests/Tests/ClientConcepts/HighLevel/Inference/IndicesPaths.doc.cs
6,458
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Reactive.Disposables; using System.Reactive.Linq; using System.Threading; using Foundation; using Toggl.Daneel.Cells; using Toggl.Daneel.Views; using Toggl.Foundation.MvvmCross.Collections; using Toggl...
37.095238
144
0.56534
[ "BSD-3-Clause" ]
HectorRPC/Toggl2Excel
Toggl.Daneel/Extensions/Binders/ReactiveTableViewBinder.cs
3,897
C#
// Copyright (c) 2020-2021 Vladimir Popov zor1994@gmail.com https://github.com/ZorPastaman/Random-Generators using System; using System.Runtime.CompilerServices; using JetBrains.Annotations; namespace Zor.RandomGenerators.ContinuousDistributions { /// <summary> /// Exponential Random Generator using <see cref="Wei...
27.511905
109
0.698399
[ "MIT" ]
ZorPastaman/Random-Generators
Runtime/ContinuousDistributions/WeibullDistribution/Generators/WeibullGeneratorFunc.cs
2,313
C#
using System; namespace Rebalanser.Core { public class RebalanserException : Exception { public RebalanserException(string message) : base(message) { } public RebalanserException(string message, Exception ex) : base(message, ex) { } ...
16.3
64
0.564417
[ "MIT" ]
Rebalanser/rebalanser-net
src/Rebalanser.Core/RebalanserException.cs
328
C#
using System.Collections.Generic; using DynamodbTraining.V1.Controllers; using DynamodbTraining.V1.Infrastructure; using FluentAssertions; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Controllers; using Microsoft.AspNetCore.Routing; using NUnit.Framework; using Xunit; ...
31
143
0.665012
[ "MIT" ]
LBHackney-IT/dynamodb-training
DynamodbTraining.Tests/V1/Controllers/BaseControllerTests.cs
1,612
C#
using Duende.IdentityServer; using Duende.IdentityServer.Models; namespace IdentityServer; public static class Config { public static IEnumerable<IdentityResource> IdentityResources => new IdentityResource[] { new IdentityResources.OpenId(), new IdentityResources.Email(), ...
29.780488
80
0.567568
[ "MIT" ]
GUPY-Team/ITF
server/Services/Identity/IdentityServer/Config.cs
1,223
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; using Microsoft.Win32; using MyCathedra.Controls.Tile; using MyCathedra.DataManager; using FileI...
34.72912
118
0.559246
[ "Apache-2.0" ]
Milochka69/MyCathedra
MyCathedra/MainWindow.xaml.cs
15,565
C#
using Prism.Events; namespace Sandbox.Events { public class MessageSentEvent : PrismEvent<string> { } }
13.111111
54
0.686441
[ "Apache-2.0" ]
drcarver/prism
Samples/Sandbox/Sandbox/Sandbox/Events/MessageSentEvent.cs
120
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.EntityFrameworkCore.Query { public class GearsOfWarFromSqlQuerySqliteTest : GearsOfWarFromSqlQueryTestBase<GearsOfWarQuerySqliteFixture> { public ...
31.928571
112
0.742729
[ "MIT" ]
CameronAavik/efcore
test/EFCore.Sqlite.FunctionalTests/Query/GearsOfWarFromSqlQuerySqliteTest.cs
447
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace BookSiteAPI.Migrations { public partial class OrderUpdateCreate2 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<int>( name: "BookId", ...
28.464286
71
0.543287
[ "MIT" ]
faisalkhan91/BookWebStore
BookSiteAPI/BookSiteAPI/Migrations/20200106162448_OrderUpdateCreate2.cs
799
C#
using EasyDeploy.Core.Model; using System; using System.Windows; using System.Windows.Controls; namespace EasyDeploy.GUI.Selector { public class DeployActionTemplateSelector : DataTemplateSelector { public DataTemplate CopyFileDeployActionTemplate { get; set; } public DataTemplate RemoveFileD...
29.5
92
0.606485
[ "MIT" ]
frostieDE/easy-deploy
EasyDeploy.GUI/Selector/DeployActionTemplateSelector.cs
1,359
C#
namespace Kinetix.Search.Model { /// <summary> /// Facette de portefeuille. /// </summary> public class PortfolioFacet : BooleanFacet { } }
18.888889
49
0.582353
[ "Apache-2.0" ]
KleeGroup/kinetix
Kinetix/Kinetix.Search/Model/PortfolioFacet.cs
172
C#
using GroupDocs.Search.Options; using GroupDocs.Search.Results; namespace GroupDocs.Search.Examples.CSharp.AdvancedUsage.Indexing { class StoringTextOfIndexedDocuments { public static void Run() { string indexFolder = @".\AdvancedUsage\Indexing\StoringTextOfIndexedDocuments"; ...
34.882353
146
0.653457
[ "MIT" ]
groupdocs-search/GroupDocs.Search-for-.NET
Examples/GroupDocs.Search.Examples.CSharp/AdvancedUsage/Indexing/StoringTextOfIndexedDocuments.cs
1,188
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; namespace EfsTools.Items.Nv { [Serializable] [NvItemId(2527)] [Attributes(9)] public class GsmAmamMasterTblSeg7F1 { [ElementsCount(64)] [ElementType("uint...
19.952381
44
0.606205
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Nv/GsmAmamMasterTblSeg7F1I.cs
419
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 Xunit; namespace System.Composition.AttributeModel.Tests { public class PartNotDiscoverableAttributeTest...
29.052632
81
0.695652
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Composition.AttributedModel/tests/PartNotDiscoverableAttributeTests.cs
554
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class tcg : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } }
15.157895
52
0.614583
[ "MIT" ]
zfy1045056938/THDN_Script
SHENSHAN/tcg.cs
290
C#
namespace MoreMatchTypes { partial class EliminationForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
54.130781
178
0.612198
[ "MIT" ]
timcanpy/MoreMatchTypes
MoreMatchTypes/EliminationForm.Designer.cs
33,942
C#
 public enum OperationCode : byte { Test = 0, QueuingRequest = 11, } public enum EventCode : byte { Receive_PreRoomMessages = 12, Receive_GamingRoomMessages =13, }
16.363636
35
0.688889
[ "Apache-2.0" ]
frank12001/ENEOnline
Client/Script/Parameters.cs
182
C#
using EducationProcess.DataAccess.Entities; using EducationProcess.DataAccess.Repositories.Interfaces; namespace EducationProcess.DataAccess.Repositories { public class EmployeeRepository : RepositoryBase<Employee>, IEmployeeRepository { private readonly EducationProcessContext _context; ...
30.533333
83
0.731441
[ "MIT" ]
NotKohtpojiep/EducationProcess
src/Api/EducationProcess.DataAccess/Repositories/EmployeeRepository.cs
460
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Diagnostics; using System.Linq; using System.Net; using System.Threading; using System.Threading.Tasks; using Microsoft.Identity.Client; using Microsoft.Identity.Client.Extensibility; ...
45.310484
149
0.646525
[ "MIT" ]
vijayraavi/microsoft-authentication-library-for-dotnet
tests/Microsoft.Identity.Test.Integration.net45/SeleniumTests/InteractiveFlowTests.cs
11,239
C#
using Natasha.CSharp; using NMS.Leo.Builder; using System; using NMS.Leo.Core; namespace NMS.Leo { public static unsafe class HashDictOperator { public static delegate* managed<Type, DictBase> CreateFromString; static HashDictOperator() { HashDictBuilder.Ctor(typeof(NullCl...
26.060606
125
0.645349
[ "MIT" ]
alexinea/Leo
src/NMS.Leo/DictOperator.Hash.cs
862
C#
using System.ComponentModel.DataAnnotations; using Abp.Auditing; using Abp.Authorization.Users; namespace evitoriav2.Models.TokenAuth { public class AuthenticateModel { [Required] [StringLength(AbpUserBase.MaxEmailAddressLength)] public string UserNameOrEmailAddress { get; set; } ...
24.904762
58
0.688337
[ "MIT" ]
ntgentil/evitoria
aspnet-core/src/evitoriav2.Web.Core/Models/TokenAuth/AuthenticateModel.cs
525
C#
using System; using System.Security.Principal; using System.Threading; using System.Threading.Tasks; using System.Web; using System.Web.Http.Filters; using DotNetMessenger.Logger; using DotNetMessenger.WebApi.Extensions; using DotNetMessenger.WebApi.Results; namespace DotNetMessenger.WebApi.Filters.Authentication { ...
38.744361
183
0.613623
[ "MIT" ]
d32f123/DotNetMessenger
DotNetMessenger.WebApi/Filters/Authentication/BasicAuthenticationAttribute.cs
5,155
C#
// // Copyright (c) [Name]. 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; using System.Linq; using System.Windows; using System.Windows.Forms; namespace BrainSimulator.Modules { ...
37.884892
122
0.600266
[ "MIT" ]
FutureAIGuru/BrainSimII
BrainSimulator/Modules/ModuleImageFileDlg.xaml.cs
5,268
C#
using System; namespace TwitchTokenGeneratorNET.Models.GetAuthWorkflow { public interface IResponse { } }
14.222222
56
0.6875
[ "MIT" ]
swiftyspiffy/TwitchTokenGeneratorNET
TwitchTokenGeneratorNET/TwitchTokenGeneratorNET/Models/GetAuthWorkflow/IResponse.cs
130
C#
using Bolt.Models; using System.Linq; using System.IO; namespace Bolt.Readers { internal class JsonBooleanReader : JsonReader { private static readonly char[] false_chars = new char[] { 'f', 'a', 'l', 's', 'e' }; private static readonly char[] true_chars = new char[] { 't', 'r', 'u', 'e' }; public Jso...
32.454545
88
0.583567
[ "MIT" ]
rhemm23/bolt
Json/Readers/JsonBooleanReader.cs
1,073
C#
namespace Project.Application.Configuration.Constants { public static class Number { public const double FactorPerUnitLiterConsume = 0.003; public const int RoundNumberDecimal = 2; public const double MaxDistanceHomeToleranceKm = 50; public const int PreviousNumberHoursWithLocat...
30.727273
62
0.718935
[ "MIT" ]
henrygustavo/cqrs-api
Project.Application/Configuration/Constants/Number.cs
340
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IDTO.RouteAggregationLibrary.OpenTripPlanner.Model { public class EncodedPolylineBean { public string points { get; set; } public string levels { get; set; } pu...
22.375
60
0.698324
[ "Apache-2.0" ]
OSADP/IDTO
IDTO Azure Hosted Systems/IDTO.RouteAggregationLibrary/OpenTripPlanner/Model/EncodedPolylineBean.cs
360
C#
using Business.Abstract; using Business.Constants; using Core.Utilities; using Core.Utilities.Business; using Core.Utilities.Helpers; using DataAccess.Abstract; using Entities.Concrete; using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Tex...
31.350427
123
0.583969
[ "MIT" ]
hlmclgl/RentaCarProject
Business/Concrete/CarImageManager.cs
3,672
C#
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Description; using MOE.Common.Business.Bins; using MOE.Common.Business.WCFServiceLibrary; using MOE.Common.Models; using MOE.Common.Models.Repositories; namespace MOE.Common.Business.DataAggregation { public abstract clas...
40.823529
172
0.663184
[ "Apache-2.0" ]
AndreRSanchez/ATSPM
MOE.Common/Business/DataAggregation/AggregationByApproach.cs
2,778
C#
using System; using System.Collections.Generic; using System.Text; using ServiceStack.Model; using ServiceStack.Text; namespace ServiceStack.Validation { /// <summary> /// The exception which is thrown when a validation error occurred. /// This validation is serialized in a extra clean and human-readable w...
35.401274
115
0.577546
[ "Apache-2.0" ]
Chris-Kim/ServiceStack
src/ServiceStack.Client/Validation/ValidationError.cs
5,558
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CryptoSteganography.Core.Byte")] [assembly: AssemblyDescription("A condition in which the information contained in a readable data is not understood by the unwanted parties; Methods of conver...
56.066667
249
0.782402
[ "MIT" ]
azmisahin/azmisahin-software-cryptography-steganography-net
src/Core/CryptoSteganography.Core.Byte/Properties/AssemblyInfo.cs
844
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpawnBacteriaFood : MonoBehaviour { [SerializeField] private GameObject bacteriaFoodPrefab; [SerializeField] private int xmax = 1024; [SerializeField] private int ymax = 764; [SerializeField] private float spacing = 1; ...
30.333333
166
0.727473
[ "MIT" ]
Reality-Virtually-Hackathon/biofield
MIT_Unity/Symbio/Assets/SpawnBacteriaFood.cs
912
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _05.BooleanVariable { class BooleanVariable { static void Main() { string input = Console.ReadLine().ToLower(); bool isTrue = Convert.ToBoolean...
18.857143
56
0.50947
[ "MIT" ]
ShadyObeyd/ProgrammingFundamentals-Homeworks
06.DataTypesAndVariables-Exercises/05.BooleanVariable/BooleanVariable.cs
530
C#
using System; using System.Net; namespace IntegrationTests.Services.Catalog { using System.Threading.Tasks; using Xunit; public class CatalogScenarios : CatalogScenarioBase { [Fact] public async Task Get_get_all_catalogitems_and_response_ok_status_code() { ...
29.554054
96
0.535208
[ "MIT" ]
AkshayKothari440/eShopOnContainers-final
test/Services/IntegrationTests/Services/Catalog/CatalogScenarios.cs
4,376
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.Collections.ObjectModel; using System.Linq; namespace Microsoft.AspNet.Mvc.ModelBinding { ...
31.468531
119
0.524
[ "Apache-2.0" ]
corefan/Mvc
src/Microsoft.AspNet.Mvc.Core/ModelBinding/CompositeValueProvider.cs
4,500
C#
using System.Collections.Generic; using System.Linq; using FilterCore.Entry; using FilterCore.FilterComponents.Tags; using FilterDomain.LineStrategy; namespace FilterCore.Commands.EntryCommands { public class RaresUpEntryCommand : GenerationTag, IEntryGenerationCommand { public RaresUpEntryCommand(Filt...
31.170213
91
0.576109
[ "MIT" ]
KOSAdm684/FilterPolishZ
FilterCore/Commands/EntryCommands/RaresUpEntryCommand.cs
1,465
C#
using System; using System.Collections.Generic; namespace ContosoUniversity.Models { public class User { public int ID { get; set; } public string LastName { get; set; } public string FirstMidName { get; set; } public DateTime EnrollmentDate { get; set; } } }
24.307692
53
0.613924
[ "Apache-2.0" ]
HafidOD/CRUD-C-
Models/user.cs
316
C#
using System.Collections.Generic; using OpenDreamRuntime.Objects; using OpenDreamShared.Dream; using OpenDreamShared.Json; using Robust.Shared.Maths; namespace OpenDreamRuntime { interface IDreamMapManager { public Vector2i Size { get; } public int Levels { get; } public void Initialize()...
34.272727
88
0.687003
[ "MIT" ]
DamianX/OpenDream
OpenDreamRuntime/IDreamMapManager.cs
756
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace HelloWorldDemo { public class Program { public...
26.555556
74
0.64993
[ "MIT" ]
mourice-oduor/C--ASP.NET-CORE
ASP.NET-CORE/1.0 HelloWorldDemo/HelloWorldDemo/Program.cs
717
C#
using System; namespace Flow.Launcher.Plugin { public class PluginInitContext { public PluginMetadata CurrentPluginMetadata { get; internal set; } /// <summary> /// Public APIs for plugin invocation /// </summary> public IPublicAPI API { get; set; } } }
20.6
74
0.61165
[ "MIT" ]
JohnTheGr8/Flow.Launcher
Flow.Launcher.Plugin/PluginInitContext.cs
311
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace SG { public class EnemyWeaponSlotManager : MonoBehaviour { WeaponHolderSlot leftHandSlot; WeaponHolderSlot rightHandSlot; public List<WeaponItem> rightWeapon; public List<WeaponItem> leftWe...
34.752066
132
0.580975
[ "Apache-2.0" ]
yslinwe/Dark_Soul
Assets/Sricpt/Enemy/EnemyWeaponSlotManager.cs
4,207
C#
using System.Runtime.Serialization; using Newtonsoft.Json; namespace Beyova.JPush.V3 { /// <summary> /// Enum PushTypeV3 /// </summary> public enum PushTypeV3 { /// <summary> /// The value indicating it is none /// </summary> None = 0, /// <summary> ...
25.810811
72
0.518325
[ "MIT" ]
rynnwang/JPush.NET
Beyova.JPush/V3/PushTypeV3.cs
957
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MS-PL license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Reactive.Concurrency; using System.Reactive.L...
42.2723
127
0.57108
[ "MIT" ]
BitcoinGold-mining/miningcore
src/MiningCore/Messaging/MessageBus.cs
9,006
C#
using BannerKings.Populations; using TaleWorlds.CampaignSystem; namespace BannerKings.Models { public interface IGrowthModel : IBannerKingsModel { public ExplainedNumber CalculateEffect(Settlement settlement, PopulationData data); } }
21.5
91
0.775194
[ "BSD-3-Clause" ]
R-Vaccari/bannerlord-banner-kings
BannerKings/Models/IGrowthModel.cs
260
C#
///////////////////////////////////////////////////////////////////////////////// // // vp_RigidbodyFX.cs // © Opsive. All Rights Reserved. // https://twitter.com/Opsive // http://www.opsive.com // // description: this script can be placed on a RIGIDBODY object to make it spawn // SurfaceEffects and object sounds ...
32.730556
216
0.706611
[ "MIT" ]
PotentialGames/Cal-tEspa-l
BRGAME/Assets/UFPS/Base/Scripts/Effects/vp_RigidbodyFX.cs
11,786
C#
using System; using System.Linq; using System.Reflection; /// <summary> /// Methods which help bridge and contain the differences between Type and TypeInfo. /// </summary> static class NewReflectionExtensions { // New methods public static Assembly GetAssembly(this Type type) { #if PLATFORM_DOTNET ...
23.168142
135
0.657754
[ "Apache-2.0" ]
ErikSchierboom/xunit
src/common/NewReflectionExtensions.cs
2,618
C#
using System; using System.Collections.Generic; using System.Linq; class ForumTopics { static void Main(string[] args) { Dictionary<string, HashSet<string>> dataForum = new Dictionary<string, HashSet<string>>(); string[] inputTokens = Console.ReadLine() .Split(new string[] { " -> "...
27.712329
98
0.43302
[ "MIT" ]
vesy53/SoftUni
Tech Module/Extended-Programming-Fundamentals/ExtendedNestedDictionariesExercises/p06ForumTopics/ForumTopics.cs
2,025
C#
using Blazor.Skeleton.Server.Data; namespace Blazor.Skeleton.Server.Services.PokemonService { public class PokemonServiceProd : IPokemonService { private readonly DataContext _dataContext; public PokemonServiceProd(DataContext dataContext) { _dataContext = dataContext; ...
24.241379
92
0.618777
[ "MIT" ]
kasuken/Blazor.Skeleton
src/Blazor.Skeleton/Server/Services/PokemonService/PokemonServiceProd.cs
705
C#
/* * athenahealth More Disruption Please (MDP) API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 2.0.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO;...
63.354019
3,874
0.608573
[ "MIT" ]
gitter-badger/athenasharp
src/Jacrys.AthenaSharp/Model/Patient.cs
107,195
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. //////////////////////////////////////////////////////////////////////////////// // MulticastNotSupportedException /...
33.742857
80
0.595258
[ "MIT" ]
Acidburn0zzz/coreclr
src/mscorlib/shared/System/MulticastNotSupportedException.cs
1,181
C#
using System; [global::System.Serializable] public class IDReference { public string GetID() { return this.itsID; } public void SetID(string theID) { this.itsID = theID; this.itsEmpty = false; } public bool GetHasValue() { return !this.itsEmpty; } public void SetEmpty() { this.itsEmpty = true;...
13.75
50
0.704545
[ "CC0-1.0" ]
FreyaFreed/mordheim
Assembly-CSharp/IDReference.cs
662
C#
using System; using System.Collections.Generic; using System.Text; namespace Restaurant { public class Food : Product { public double Grams { get; set; } public Food(string name, decimal price, double grams) : base(name, price) { Grams = grams; } } }
18.235294
81
0.596774
[ "MIT" ]
Alexxx2207/CSharpAdvanced
Inheritance-Ex/Restaurant/Food.cs
312
C#
 using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Web; using System.Windows....
33.17037
156
0.494417
[ "Apache-2.0" ]
zgren/dp2
TestReporting/Form1.cs
27,426
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.483871
81
0.649367
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/ContainerService/V20210201/Outputs/PrivateEndpointResponse.cs
790
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Text; namespace WalletWasabi.Logging { public class BenchmarkLogger : IDisposable { private bool _disposedValue = false; // To detect redundant calls private BenchmarkLogger(LogLevel log...
29.313253
207
0.704891
[ "MIT" ]
Groestlcoin/WalletWasabi
WalletWasabi/Logging/BenchmarkLogger.cs
2,433
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace HobbyRadarAPI.Models { public class Tag { public int TagId { get; set; } public string Name { get; set; } } }
17.642857
40
0.663968
[ "MIT" ]
rnandon/HobbyRadarAPI
HobbyRadarAPI/Models/Tag.cs
249
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 * * Un...
38.638889
198
0.669662
[ "Apache-2.0" ]
Magicianred/spring-net
src/Spring/Spring.Core/Objects/Factory/Config/DelegateObjectFactoryConfigurer.cs
2,782
C#
using System; namespace Flepper.QueryBuilder { /// <summary> /// Comparison Operator Interface /// </summary> public interface IComparisonOperators : IQueryCommand, ISortCommand { /// <summary> /// Equal Comparison Operator Contract /// </summary> /// <param name="v...
31.057377
77
0.535234
[ "MIT" ]
Flepper/flepper
Flepper.QueryBuilder/Operators/Comparison/Interfaces/IComparisonOperators.cs
3,791
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
39.561905
411
0.62157
[ "MIT" ]
216Giorgiy/azure-sdk-for-net
src/SDKs/WebSites/Management.Websites/Generated/Models/ReissueCertificateOrderRequest.cs
4,154
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using NeoFS.API.v2.Cryptography.Tz; namespace NeoFS.API.v2.UnitTests.TestCryptography.Tz { [TestClass] public class UT_SL2 { private SL2 Random() { var r = new SL2(); r[0][0] = GF127.Random(); r[0][1] =...
24
81
0.404412
[ "MIT" ]
nspcc-dev/neofs-api-csharp
tests/api.UnitTests/Cryptography/TzHash/UT_SL2.cs
1,226
C#
using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Poker; namespace PokerTest { [TestClass] public class HandOrderHandTest { [TestMethod] public void TestOrderHand() { Card cardOne = new Card(CardFace.Two, CardSuit....
48.823529
121
0.617169
[ "MIT" ]
NayaIT/TelerikAcademyOnline
High-Quality-Code/TestDrivenDevelopmentTDD/PokerTest/HandOrderHandTest.cs
3,322
C#
using Oogi2.AspNetCore3.Identity.Stores; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.DependencyInjection; namespace Oogi2.AspNetCore3.Identity { public static class BuilderExtensions { public static IdentityBuilder AddDocumentDbStores(this IdentityBuilder builder) { ...
35.666667
100
0.692757
[ "MIT" ]
goto10hq/Oogi2.AspNetCore.3.Identity
Oogi2.AspNetCore3.Identity/BuilderExtensions.cs
858
C#
using System; using base_kcp; using DotNetty.Transport.Channels; using DotNetty.Transport.Channels.Sockets; using dotNetty_kcp.thread; using DotNetty.Buffers; using fec; using fec.fec; namespace dotNetty_kcp { public class ServerChannelHandler:ChannelHandlerAdapter { private readonly IChannelManager _c...
33.264706
181
0.6145
[ "Apache-2.0" ]
l42111996/csharp-kcp
dotNetty-kcp/ServerChannelHandler.cs
3,443
C#
using System.Collections.Generic; using HoneydewCore.Logging; using HoneydewExtractors.Core.Metrics.Visitors; using HoneydewExtractors.Core.Metrics.Visitors.Classes; using HoneydewExtractors.Core.Metrics.Visitors.Properties; using HoneydewExtractors.CSharp.Metrics; using HoneydewExtractors.CSharp.Metrics.Extraction.Cl...
45.897872
127
0.541628
[ "Apache-2.0" ]
dxworks/honeydew
HoneydewExtractorsTests/CSharp/Metrics/Extraction/ClassLevel/RelationMetric/CSharpPropertiesRelationMetricTests.cs
10,788
C#
namespace River.Orqa.Editor.Syntax { using System; public enum CodeCompletionType { // Fields CodeTemplates = 5, CompleteWord = 1, ListMembers = 2, None = 0, ParameterInfo = 3, QuickInfo = 4 } }
15.823529
34
0.531599
[ "MIT" ]
stevencohn/Orqa
River.Orqa.Editor/Syntax/CodeCompletionType.cs
269
C#
// The MIT License (MIT) // Copyright (c) 1994-2018 Sage Software, Inc. All rights reserved. // // 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 ...
38.310345
119
0.622512
[ "MIT" ]
Sage-DanielJ/Sage300-SDK
samples/Receipt/ValuedPartner.TU.Models/ReceiptHeader.cs
19,998
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI; using Windows.UI.ViewManagement; using Windows.UI.Xaml; using ...
34.76
112
0.671653
[ "MIT" ]
MartinZikmund/blog-2017
AccentColorChangeHandling/AccentColorChangeHandling/MainPage.xaml.cs
2,609
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; using BuildXL.Cache.Monitor.App.Notifications; namespace BuildXL.Cache.Monitor.Library.Notifications { public class MockNotifier<T> : INotifier<T> { public IReadOnlyList<T> Results =...
26.666667
72
0.683333
[ "MIT" ]
BearerPipelineTest/BuildXL
Public/Src/Cache/Monitor/Test/MockNotifier.cs
482
C#
 /** テスト。 */ #define FEE_JSON /** Simple */ namespace Simple { /** 最小値。 */ public class Test_02 { /** Item */ public class Item { public bool value_bool; public sbyte value_sbyte; public byte value_byte; public short value_short; public ushort value_ushort; public int value_int; pub...
31.276423
108
0.695867
[ "MIT" ]
bluebackblue/jsontest
unity_jsontest/Assets/Simple/Test_02.cs
3,987
C#
namespace QIQO.Common.Contracts { public interface IBusinessEngine { } }
12.285714
36
0.674419
[ "MIT" ]
FSharpCSharp/QIQO.Business.Services.Solution
QIQO.Common.Contracts/IBusinessEngine.cs
88
C#
using Microsoft.AspNetCore.Http; using Microsoft.EntityFrameworkCore; using ShopDN.Data.Models; using ShopDN.Data.Models.Shop; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ShopDN.PortalWWW.Models.BusinessLogic { public class CartB { private...
30.353982
99
0.530612
[ "MIT" ]
dam6pl/csharp-shop
ShopDN.PortalWWW/Models/BusinessLogic/CartB.cs
3,432
C#
namespace Responsible.State { /// <summary> /// Represents the type of a test operation state transition. /// </summary> public enum TestOperationStateTransition { /// <summary> /// The operation was started. /// </summary> Started, /// <summary> /// The operation was completed successfully, with an e...
19.631579
75
0.662198
[ "MIT" ]
YousicianGit/Responsible
com.beatwaves.responsible/Runtime/State/TestOperationStateTransition.cs
373
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.3053 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated>...
25.8
81
0.564922
[ "MIT" ]
d3x0r/xperdex
games/PhysX.NET/NxWheelShapeFlags.cs
1,032
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...
32.052632
209
0.638752
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Cdn/V20190415/Outputs/RemoteAddressMatchConditionParametersResponse.cs
1,827
C#
using System; using System.Diagnostics; using System.IO; using System.Text; namespace MemoryClean.Lib { public sealed class ScriptBuilder { private FileInfo ScriptFile { get; } public ScriptBuilder() { ScriptFile = new FileInfo(Path.Combine(Environment.CurrentDirectory, "clear.bat")); if (ScriptFile.Exis...
9.20678
125
0.236086
[ "MIT" ]
michael-eddy/MemoryClean
MemoryClean.Lib/ScriptBuilder.cs
90,162
C#
namespace Renci.SshNet.Messages.Connection { /// <summary> /// Represents "signal" type channel request information /// </summary> internal class SignalRequestInfo : RequestInfo { private byte[] _signalName; /// <summary> /// Channel request name. /// </summary> ...
26.765957
84
0.495231
[ "BSD-2-Clause", "BSD-3-Clause" ]
0x727/metasploit-framework
external/source/Scanner/share/Renci.SshNet/Messages/Connection/ChannelRequest/SignalRequestInfo.cs
2,518
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using MvcMovie.Data; using MvcMovie.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; // For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397...
29.648352
112
0.524092
[ "MIT" ]
042020-dotnet-uta/davidSawyer-repo1
MvcMovie/Controllers/StoreController.cs
2,700
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...
40.083333
108
0.610187
[ "MIT" ]
matt-gibbs/azure-powershell
src/ResourceManager/Automation/Commands.Automation/Cmdlet/SuspendAzureAutomationJob.cs
1,879
C#
/***************************************************************************** * * ReoGrid - .NET Spreadsheet Control * * https://reogrid.net/ * * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * IMPLIED WARRANTIES O...
33.884071
148
0.745445
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
datadiode/ReoGrid
Compare/ReoGridCompare.cs
114,869
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.168
143
0.609157
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/CodeStarNotifications/Generated/Model/Internal/MarshallTransformations/ListEventTypesRequestMarshaller.cs
4,521
C#
using System; using System.Collections.Generic; using System.Reflection; using System.Linq; using System.Text; using ILRuntime.Runtime.Enviorment; namespace ILRuntime.Runtime.CLRBinding { static class BindingGeneratorExtensions { internal static bool ShouldSkipField(this Type type, FieldInfo i) ...
42.237705
146
0.391811
[ "MIT" ]
AlunWorker/ET-
Unity/Assets/ThirdParty/ILRuntime/ILRuntime/Runtime/CLRBinding/BindingGeneratorExtensions.cs
15,461
C#
/* Copyright 2017 James Craig Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, so...
34.611111
126
0.516166
[ "Apache-2.0" ]
JaCraig/FileCurator
src/FileCurator/Formats/Delimited/DelimitedWriter.cs
4,363
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...
51.362556
245
0.700307
[ "Apache-2.0" ]
DalavanCloud/aws-sdk-net
sdk/src/Services/WorkSpaces/Generated/_mobile/AmazonWorkSpacesClient.cs
69,134
C#
namespace Kabatra.Common.LabelRetriever.Cultures { /// <summary> /// Sets the culture for the application, used to control translation. /// </summary> /// <seealso href="http://www.lingoes.net/en/translator/langcode.htm"/> public class Languages { public string Value { get; set; } ...
30.541667
91
0.593452
[ "MIT" ]
kevinkabatra/Kabatra.Common.LabelRetriever
Kabatra.Common.LabelRetriever/Cultures/Languages.cs
735
C#
using Microsoft.AspNetCore.Components; namespace vNext.BlazorComponents.Grid { public partial class Cell<TRow> : ComponentBase { protected internal bool ShouldRenderFlag { get; set; } = true; [CascadingParameter] public Row<TRow> Row { get; set; } = default!; [Parameter] public Column...
26.382979
78
0.521774
[ "MIT" ]
Liero/vNext.BlazorComponents
BlazorComponents/Grid/Cell.razor.cs
1,242
C#
using Metrics; using Metrics.Core; namespace Api.Sample.HealthChecks { public class SampleHealthCheckUnHealthy : HealthCheck { public SampleHealthCheckUnHealthy() : base("Sample UnHealthy") { } protected override HealthCheckResult Check() { return HealthChe...
21.470588
70
0.635616
[ "Apache-2.0" ]
alhardy/aspnet-metrics
src/Api.Sample/HealthChecks/SampleHealthCheckUnHealthy.cs
367
C#
using System; using System.Collections.Generic; using System.Text; namespace Tizen.NUI { internal static partial class Interop { internal static partial class Stage { static Stage() { ulong ret = Interop.Util.GetNanoSeconds(); Tizen.Log.E...
71.678161
180
0.753047
[ "Apache-2.0", "MIT" ]
Ali-Alzyoud/TizenFX
src/Tizen.NUI/src/internal/Interop/Interop.Stage.cs
6,238
C#
using MS.Lib.Module.Abstractions; using MS.Lib.Module.AspNetCore; using System.Collections.Generic; using System.Linq; namespace MS.Lib.Host.Swagger.Extensions { internal static class ModuleDescriptorExtensions { public static Dictionary<string, string> GetGroups(this IModuleDescriptor descriptor) ...
33.8
107
0.524408
[ "MIT" ]
billowliu2/MS
src/Framework/Host/Host.Swagger/Extensions/ModuleDescriptorExtensions.cs
1,354
C#
using System.Collections.Generic; using Sdl.Touch; namespace Sdl { /// <summary> /// A class that represents a haptic effect. /// </summary> public sealed unsafe class Haptic : NativePointerBase<Native.SDL_Haptic, Haptic> { private static ItemCollection<HapticInfo>? s_hapticInfos; ...
34.300699
144
0.584913
[ "MIT" ]
harry-cpp/sdl-sharp
src/Sdl/Touch/Haptic.cs
4,907
C#
using System; using System.Runtime.InteropServices; namespace DeskBandLib.Interop { /// <summary> /// The IOleWindow interface provides methods that allow an application to obtain the handle to the various windows that participate in in-place activation, and also to enter and exit context-sensitive help mode....
46.096774
216
0.687894
[ "MIT" ]
iodes/DeskBandLib
DeskBandLib/Interop/COM/IOleWindow.cs
1,431
C#
namespace ShowFeed.Models { using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; /// <summary> /// The update. /// </summary> [Table("Update")] public class Update : Entity { /// <summary> /// Initializes a new instance of the <see cref=...
29.021739
80
0.542322
[ "MIT" ]
strayfatty/ShowFeed
src/ShowFeed/Models/Update.cs
1,337
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using NUnit.Framework.Interfaces; using NUnit.Framework.Internal; using NUnit.Framework.Internal.Filters; using UnityEngine; using UnityEngine.TestTools.NUnitExtensions; using UnityEngine.TestTools.TestRunner; using UnityEngine...
34.091116
211
0.611519
[ "MIT" ]
16pxdesign/genetic-algorithm-unity
Library/PackageCache/com.unity.test-framework@1.1.9/UnityEditor.TestRunner/TestRunner/EditModeRunner.cs
14,966
C#
/* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR A...
45.936306
123
0.606212
[ "BSD-3-Clause" ]
carloshenrq/comsat
TesteDLLSat/Form1.Designer.cs
7,218
C#
using UnityEngine; using UnityEngine.Rendering; using System.Collections; using System; #if UNITY_EDITOR using UnityEditor; #endif namespace LlockhamIndustries.Decals { /** * Standard Shader - metallic setup. */ [System.Serializable] public class Metallic : Projection { //Materials ...
35.530387
133
0.567408
[ "MIT" ]
DavSchwartz/HackNSlashTechDemo
Assets/Dynamic Decals/Scripts/Core/Projections/Metallic.cs
6,433
C#
namespace ClearHl7.Codes.V260 { /// <summary> /// HL7 Version 2 Table 0895 - Present On Admission (POA) Indicator. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0895</remarks> public enum CodePresentOnAdmissionIndicator { /// <summary> /// E - Exempt. /// </sum...
21.382353
72
0.420908
[ "MIT" ]
davebronson/clear-hl7-net
src/ClearHl7.Codes/V260/CodePresentOnAdmissionIndicator.cs
729
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 Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Microsoft.Azure.Devices.Provisioning.Service { /// <s...
40.408284
112
0.515302
[ "MIT" ]
brycewang-microsoft/azure-iot-sdk-csharp
provisioning/service/src/Config/QueryResult.cs
6,831
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 Y...
38.321429
107
0.665424
[ "Apache-2.0" ]
Arch/Npoi.Core
test/Npoi.Core.TestCases/SS/Formula/Functions/TestLookupFunctionsFromSpreadsheet.cs
2,146
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HangMan { class ScoreBoardPosition : IComparable<ScoreBoardPosition> { private string name; public string Name { get { return name; } ...
19.230769
63
0.462
[ "MIT" ]
ElenaStaykova/High-Quality-Code
Teamwork/Hangman/Hangman-4/ScoreBoardPosition.cs
1,002
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.Reflection; using System.Runtime.Serialization; using System.Web.Http; using System.Web.Http.Description; using System.Xml...
42.305987
167
0.578931
[ "MIT" ]
liliankasem/MicrobitQuiz
QuizAPI/QuizAPI/Areas/HelpPage/ModelDescriptions/ModelDescriptionGenerator.cs
19,080
C#