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
// The MIT License (MIT) // Copyright (c) 1994-2019 The Sage Group plc or its licensors. 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, ...
49.280374
143
0.683482
[ "MIT" ]
Mon-Lay/Sage300-SDK
src/wizards/Sage300UpgradeWizard/Sage300UpgradeWizardMenuExtension/Sage300UpgradeMenuExtensionPackage.cs
5,275
C#
using O10.Core.Architecture; using O10.Transactions.Core.Enums; using System; using System.Collections.Generic; using System.Linq; namespace O10.Transactions.Core.Accessors { [RegisterDefaultImplementation(typeof(IAccessorProvider), Lifetime = LifetimeManagement.Singleton)] public class AccessorProvider : IAc...
27.3125
103
0.652174
[ "Apache-2.0" ]
muaddibco/O10city
Common/O10.Transactions.Core/Accessors/AccessorProvider.cs
876
C#
using System; namespace KSoft.T4 { enum TextTransformationCodeBlockType { NoBrackets, Brackets, /// <summary>Mainly for a class definition statement</summary> BracketsStatement, }; struct TextTransformationCodeBlockBookmark : IDisposable { internal const string kIndent = "\t"; read...
25.78
108
0.70287
[ "MIT" ]
KornnerStudios/KSoft
KSoft.T4/TextTransformationCodeBlockBookmark.cs
1,291
C#
#if THUNDERKIT_CONFIGURED using global::RoR2; namespace PassivePicasso.ThunderKit.Proxy.RoR2 { public partial class PickupDropletController : global::RoR2.PickupDropletController {} } #endif
27.714286
90
0.819588
[ "MIT" ]
Jarlyk/Rain-of-Stages
Assets/RainOfStages/RoR2/GeneratedProxies/RoR2/PickupDropletController.cs
194
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.Data.Common; namespace Microsoft.Data.Sqlite.Utilities { internal static class DbConnectionExtensions { public static int ...
33.210526
111
0.64897
[ "Apache-2.0", "MIT" ]
TheBlueSky/Microsoft.Data.Sqlite.WinRT
src/Microsoft.Data.Sqlite/Utilities/DbConnectionExtensions.cs
1,262
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Telerik.Web.UI; using bd = BankProject.DataProvider; using bc = BankProject.Controls; namespace BankProject.TellerApplication.SignatureManageme...
35.564103
95
0.594809
[ "Apache-2.0", "BSD-3-Clause" ]
nguyenppt/biscorebanksys
DesktopModules/TrainingCoreBanking/BankProject/TellerApplication/SignatureManagement/Preview.ascx.cs
1,389
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit...
24.201149
463
0.639753
[ "MIT" ]
Acidburn0zzz/CodeContracts
Foxtrot/Tests/Structs.cs
4,211
C#
using System; using System.Collections; using System.Collections.Generic; using System.Windows.Forms; namespace SupremeFiction.UI.SupremeRulerModdingTool.WinForm.HotKey { //A class to keep share procedures public static class HotKeyShared { /// <summary> /// Checks if a string is a val...
36.288571
119
0.436737
[ "Apache-2.0" ]
Blind-Striker/supremefiction
SupremeRulerModdingTool/UI/SupremeRulerModdingTool.WinForm/HotKey/Helpers.cs
12,703
C#
using System; namespace Blueprint.Application.Interfaces.Shared { public interface IDateTimeService { DateTime NowUtc { get; } } }
16.888889
49
0.684211
[ "MIT" ]
voidNK/blueprint
Blueprint.Application/Interfaces/Shared/IDateTimeService.cs
154
C#
using System.Collections.Generic; namespace ordercloud.integrations.freightpop { public class GetRatesData { public List<ShippingRate> Rates { get; set; } public List<string> ErrorMessages { get; set; } } }
21.545455
55
0.679325
[ "MIT" ]
Harish-pa/headstart
src/Middleware/integrations/ordercloud.integrations.freightpop/Models/GetRatesData.cs
239
C#
using System.Collections.Generic; using Castle.MicroKernel.Registration; using Castle.Windsor; using Moq; using NUnit.Framework; using Ve.Metrics.StatsDClient.Abstract; using Ve.Metrics.StatsDClient.CastleWindsor; using Ve.Metrics.StatsDClient.Tests.TestClasses; namespace Ve.Metrics.StatsDClient.Tests.CastleWindsor {...
35.882353
143
0.656284
[ "MIT" ]
mihaicrisanbodea/ve-metrics-statsdclient-csharp
Ve.Metrics.StatsDClient.Tests/CastleWindsor/CastleWindsorInterfaceGenericsShould.cs
1,832
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("p02...
38.540541
84
0.751052
[ "MIT" ]
vesy53/SoftUni
Programming Basics - C#/Exams/Programming Basics Exam - 25 June 2017/p02WorldSwimmingRecord/Properties/AssemblyInfo.cs
1,429
C#
using System.Collections.Generic; namespace UnityChess { /// Non-board, non-move-record game state public struct GameConditions { public static GameConditions NormalStartingConditions = new GameConditions(true, true, true, true, true, Square.Invalid, 0, 1); public readonly bool WhiteToMove; public readonly bo...
49.859155
220
0.781921
[ "MIT" ]
ErkrodC/UnityChessLib
GameStringInterchange/GameConditions.cs
3,542
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using VideoApi.Contract.Requests; namespace VideoWeb.EventHub.Services { public interface IHearingLayoutService { Task UpdateLayout(Guid conferenceId, Guid changedById, HearingLayout newLayout); Tas...
24
88
0.770833
[ "MIT" ]
hmcts/vh-video-web
VideoWeb/VideoWeb.EventHub/Services/IHearingLayoutService.cs
384
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using BuildStudio.Data; using BuildStudio.Data.Model; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; namespace BuildStudio.Controllers { public class Exp...
32.527778
136
0.524338
[ "MIT" ]
eduardomessias/build-studio
BuildStudio/Controllers/ExpectedResultsController.cs
5,857
C#
using System.Text.Json.Serialization; using Horse.Messaging.Client.Direct.Annotations; using Newtonsoft.Json; namespace Sample.Consumer { [DirectContentType(1000)] [DirectTarget(FindTargetBy.Type, "direct-handler")] public class RequestModel { [JsonProperty("id")] [JsonPropertyName("id")] public int Id { get...
20.576923
52
0.706542
[ "Apache-2.0" ]
horse-framework/horse-messaging
src/Samples/Sample.Consumer/RequestModel.cs
535
C#
using System; using System.Collections.Generic; using System.Text; public class LeutenantGeneral : Private { private List<Private> privates; public LeutenantGeneral(string firstName, string lastName, string id, double salary, List<Private> privates) : base(firstName, lastName, id, salary) { ...
28.171429
153
0.657201
[ "MIT" ]
valkin88/CSharp-Fundamentals
CSharp OOP Basics/Interfaces and Abstraction - Exercises/MilitaryElite/MilitaryElite/LeutenantGeneral.cs
988
C#
using UnityEngine; using UnityEngine.UI; namespace Michsky.UI.ModernUIPack { [ExecuteInEditMode] public class UIManagerContextMenu : MonoBehaviour { [Header("SETTINGS")] public UIManager UIManagerAsset; [Header("RESOURCES")] public Image backgroundImage; bool dyna...
24.209677
118
0.469687
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
ArcticCloudStudios/Project-X
Assets/Modern UI Pack/Scripts/UI Manager/UIManagerContextMenu.cs
1,503
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Qi...
39.513514
84
0.743502
[ "MIT" ]
pengweiqhca/Qiniu
src/Qiniu.UnitTest/Properties/AssemblyInfo.cs
1,465
C#
using NUnit.Framework; using FluentAssertions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Nest.Tests.MockData.Domain; namespace Nest.Tests.Integration.Reproduce { [TestFixture] public class Reproduce1474Tests : IntegrationTests { [Tes...
25.102041
65
0.657724
[ "Apache-2.0" ]
Entroper/elasticsearch-net
src/Tests/Nest.Tests.Integration/Reproduce/Reproduce1474Tests.cs
1,232
C#
//-------------------------------------------------------------------------------------------------- // Copyright © Nezaboodka™ Software LLC. All rights reserved. // Licensed under the Apache License, Version 2.0. //-------------------------------------------------------------------------------------------------- usi...
35.20603
116
0.559378
[ "Apache-2.0" ]
Ilyat1337/nevod
Source/Engine/Candidates/RootCandidate.cs
7,137
C#
namespace BoardCraft.Input { using Models; /// <summary> /// Provide abstraction for component repository /// </summary> public interface IComponentRepository { Package GetPackage(string name); } }
19.916667
56
0.631799
[ "MIT" ]
niyoko/BoardCraft
BoardCraft/Models/Input/IComponentRepository.cs
241
C#
using PokemonUnity.Character; using PokemonUnity.Monster; using System; using System.Linq; using UnityEngine; namespace PokemonUnity.Overworld.Entity.Environment { public class RockClimbEntity : Entity { private ScriptBlock TempScriptEntity = null;// TODO Change to default(_) if this is not a reference type pr...
30.977186
743
0.646127
[ "BSD-3-Clause" ]
AriesPlaysNation/PokemonUnity
Pokemon Unity/Assets/Scripts2/Overworld/Entites/Enviroment/RockClimbEntity.cs
8,153
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using QFramework; namespace QFramework.GraphDesigner { public class GenericNodeChildItem : DiagramNodeItem { public override string FullLabel { get { return Name; } } ...
24.606061
80
0.472906
[ "MIT" ]
DiazGames/oneGame
Assets/QFramework/Framework/0.Core/Editor/0.EditorKit/uFrame.Editor/Systems/Graphs/Data/GenericNodeChildItem.cs
1,626
C#
// // AzureFunctionForSplunkVS // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the ""Software""), to deal // in the Software without restri...
40.354167
137
0.728446
[ "MIT" ]
bennbatt8112/AzureFunctionforSplunkVS
AzureFunctionForSplunk/EhDiagnosticLogsExt.cs
1,937
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.Threading.Tasks; namespace Microsoft.AspNet.Mvc.ModelBinding { public class SimpleTypeModelBinder : IModelBinder { ...
42.233766
116
0.590098
[ "Apache-2.0" ]
VGGeorgiev/Mvc
src/Microsoft.AspNet.Mvc.Core/ModelBinding/SimpleTypeModelBinder.cs
3,252
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiInterface(nativeType: typeof(ICodedeployDeploymentGroupEc2TagFilter), fullyQualifiedName: "aws.CodedeployDeploymentGroupEc2TagFilter")] public interface ICodedeployDeploymentGroupEc2TagFilter { [Jsi...
31.128571
148
0.544286
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/ICodedeployDeploymentGroupEc2TagFilter.cs
2,179
C#
/************************************************************************************************ The MIT License (MIT) Copyright (c) 2015 Microsoft Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal i...
44.1
152
0.638522
[ "MIT" ]
madansr7/ms-identity-aspnet-webapp-openidconnect
WebApp/Utils/MSALPerUserMemoryTokenCache.cs
7,499
C#
using System; using CPUx86 = XSharp.Assembler.x86; using CPU = XSharp.Assembler.x86; using XSharp.Assembler.x86; using XSharp.Assembler; using XSharp.Assembler.x86.SSE; using XSharp.Assembler.x86.x87; using XSharp; using static XSharp.XSRegisters; using static XSharp.Assembler.x86.SSE.ComparePseudoOpcodes; namespace ...
33.366667
176
0.605894
[ "BSD-3-Clause" ]
Dark-Tater/IL2CPU
source/Cosmos.IL2CPU/IL/Cgt.cs
4,004
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ta...
37.361111
84
0.746468
[ "MIT" ]
NayaIT/TelerikAcademyOnline
HTML-CSS/HTML/Tables/Tables/Properties/AssemblyInfo.cs
1,348
C#
using System; using System.Globalization; using System.Linq; using System.Reflection; namespace Capstone_Project_VITBU_Server.Areas.HelpPage.ModelDescriptions { internal static class ModelNameHelper { // Modify this to provide custom model name mapping. public static string GetModelName(Type ty...
40.5
140
0.640604
[ "MIT" ]
sanskar-singh-rajput/VitBU-IPPS
Capstone Project VITBU Server/Capstone Project VITBU Server/Areas/HelpPage/ModelDescriptions/ModelNameHelper.cs
1,458
C#
using System; using DNX.Helpers.Linq; using NUnit.Framework; namespace Test.DNX.Helpers.Linq { [TestFixture] public class EnumerableExtensionsTests { [TestCase("a,b,c,d,e", ExpectedResult = 5)] [TestCase("", ExpectedResult = 0)] [TestCase(null, ExpectedResult = 0)] public i...
31.085714
101
0.597426
[ "MIT" ]
martinsmith1968/DNX.Helpers
Test.DNX.Helpers/Linq/EnumerableExtensionsTests.cs
1,090
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("TemplateMethodPattern")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [a...
26.513514
59
0.72579
[ "Apache-2.0" ]
flyingfive/DesignPattern
TemplateMethodPattern/Properties/AssemblyInfo.cs
1,322
C#
using Amazon.S3; using Amazon.S3.Model; using ImageProcessor; using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; //using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; namespace Slk.Common ...
35.864865
138
0.53052
[ "Apache-2.0" ]
DmitriyVetrov/SLK
Slk.Common/AwsBucket.cs
5,310
C#
using System; using UnityEngine; using UnityEngine.Playables; using UnityEngine.Timeline; namespace UTJ { [Serializable] public class VRFaderClip : PlayableAsset, ITimelineClipAsset { public VRFaderBehaviour template = new VRFaderBehaviour(); #if UNITY_EDITOR [NonSerialized]...
24.773585
87
0.53313
[ "MIT" ]
wotakuro/VRTeleportationTourTemplate
Assets/VRFade/Script/VRFaderClip.cs
1,313
C#
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated> using System; using System.Collections.Generic; #nullable disable namespace T0001 { public partial class VBaseCargospacelistQuery { public string Id { get; set; } public string Cposition...
41.719298
97
0.581581
[ "MIT" ]
twoutlook/BlazorServerDbContextExample
BlazorServerEFCoreSample/T0001/VBaseCargospacelistQuery.cs
2,380
C#
using Snowflake.Configuration; namespace Snowflake.Plugin.Emulators.RetroArch.Configuration { [ConfigurationSection("config", "Configuration Options")] public partial interface ConfigConfiguration { [ConfigurationOption("config_save_on_exit", false, DisplayName = "Save Config on exit", Private = t...
35.5625
113
0.710018
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
SnowflakePowered/snowflake
src/Snowflake.Plugin.Emulators.RetroArch/Configuration/ConfigConfiguration.cs
571
C#
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * 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 t...
57.840909
211
0.736935
[ "MIT" ]
DamirAinullin/AlphaFS
src/AlphaFS/Security/Native Other/SECURITY_INFORMATION.cs
5,090
C#
/* * Domain Public API * * See https://developer.domain.com.au for more information * * The version of the OpenAPI document: v2 * Contact: api@domain.com.au * Generated by: https://github.com/openapitools/openapi-generator.git */ using Xunit; using System; using System.Linq; using System.IO; using System.Col...
26.1375
99
0.618843
[ "MIT" ]
neildobson-au/InvestOz
src/Integrations/Domain/Domain.Api.V2/src/Domain.Api.V2.Test/Model/PreMarketV1PropertyMediaTests.cs
2,091
C#
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Routing; using Microsoft.VisualStudio.TestTools.UnitTesting; using Prometheus.HttpMetrics; using System; using System.Linq; using System.Threading.Tasks; namespace Prometheus.Tests.HttpExporter { /// <summary> /// We assume that all the HTTP metrics ...
35.879433
195
0.549516
[ "MIT" ]
3lvia/prometheus-net
Tests.NetCore/HttpExporter/RouteParameterMappingTests.cs
10,120
C#
using UnityEngine; using UnityEditor; using LineProperties = NicoplvTools.UiShapesKit.ShapeUtils.Lines.LineProperties; [CustomPropertyDrawer(typeof(LineProperties))] public class LinePropertiesDrawer : PropertyDrawer { public override void OnGUI (Rect position, SerializedProperty property, GUIContent label) { po...
29.351351
147
0.780847
[ "MIT" ]
nicoplv/ui-shapes-kit
Editor/CustomDrawers/LinePropertiesDrawer.cs
2,174
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.Diagnostics; using System.Globalization; using System.Linq; using System.Text; using JetBra...
42.863039
175
0.567583
[ "Apache-2.0" ]
tonysneed/Forks.EntityFrameworkCore
src/EFCore.SqlServer/Update/Internal/SqlServerUpdateSqlGenerator.cs
22,846
C#
using System; using System.Collections.Generic; using System.Text; namespace GetOffers { class Offer { public DateTime Date { get { return mDate; } set { mDate = value; } ...
23.193548
132
0.39241
[ "Apache-2.0" ]
holgafx/gehtsoft
samples/Linux/netcore_for_Linux_x64_only/netcore1.0/NonTableManagerSamples/GetOffers/src/Offer.cs
5,035
C#
namespace Nancy.Demo.Dropbox { using DropNet; using System.IO; using System.Linq; public class DropboxModule : NancyModule { public DropboxModule(IDropNetClient dropNetClient) { Get["/files"] = _ => { this.RequiresDropboxAuthentication(dropNe...
29.280702
101
0.469742
[ "MIT" ]
fagnercarvalho/Nancy.Demo.Dropbox
Nancy.Demo.Dropbox/DropboxModule.cs
1,671
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
53.190311
346
0.638889
[ "MIT" ]
FoldingCoin/FLDCDotNet
Shared/StatsDownload.Logging/ErrorMessages.Designer.cs
15,374
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Microsoft.Extensions.EnvironmentAbstractions; namespace Microsoft.Extensions.DependencyModel { public class DependencyContextLoader { ...
31.993939
118
0.565637
[ "MIT" ]
gkhanna79/cli
src/Microsoft.Extensions.DependencyModel/DependencyContextLoader.cs
5,281
C#
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using RPGCore.Demo.Nodes; using RPGCore.Behaviour; using RPGCore.Behaviour.Editor; using RPGCore.Behaviour.Manifest; using RPGCore.Packages; using System; using System.Collections.Generic; using System.IO; using UnityEditor; using UnityEngine; namespace RPGCore.Unity....
27.972701
120
0.647696
[ "Apache-2.0" ]
yika-aixi/RPGCore
src/RPGCoreUnity/Assets/RPGCore/Scripts/Editors/BehaviourEditor.cs
19,469
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
36.9
152
0.571816
[ "MIT" ]
HawkeyeZAR/ComplexPasswordGenerator
ComplexPasswordGenerator/Properties/Settings.Designer.cs
1,109
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...
33.05
117
0.602723
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/KinesisAnalyticsV2/Generated/Model/SourceSchema.cs
3,305
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.Documents; using Microsoft.Azure.Documents.Client; using Microsoft.Azure.Graphs; using Gizmo.C...
34.550898
145
0.560832
[ "MIT" ]
jasonchester/gizmo.sh
src/Gizmo/Connection/AzureGraphsExecutor.cs
5,770
C#
using System; using System.Collections.Generic; using System.Text; namespace Detrav.SypexGeo.Net.Helpers { public static class SpanExtentions { public static ReadOnlySpan<T> RTrim<T>(this ReadOnlySpan<T> span, T value) { int len = span.Length ; for (; len > 0 && value.E...
26.014085
88
0.40823
[ "MIT" ]
Detrav/Detrav.SypexGeo.Net
src/Detrav.SypexGeo.Net/Helpers/SpanExtentions.cs
1,849
C#
using System.ComponentModel.DataAnnotations; using YourBrand.Showroom.Application; using YourBrand.Showroom.Application.Common.Models; namespace YourBrand.Showroom.Application.Organizations; public record OrganizationDto ( string Id, string Name, AddressDto Address );
21.285714
56
0.771812
[ "MIT" ]
marinasundstrom/YourBrand
Showroom/Application/Organizations/OrganizationDto.cs
300
C#
using LiteDB; namespace Matrix.CLI.Model { public class TargetEntry { [BsonId] public string Alias { get; set; } public string Url { get; set; } } }
16.5
42
0.535354
[ "MIT" ]
matrix-platform/cmd
Matrix.CLI.Model/TargetEntry.cs
200
C#
using System; using Elk.Core; using GolPooch.Domain.Resources; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace GolPooch.Domain.Entity { [Table(nameof(Purchase), Schema = "Product")] public class Purchase : IEntity, II...
40.868852
131
0.68913
[ "MIT" ]
mehrannoruzi/GolYaPooch
GolPooch.Domain/Entity/Product/Purchase.cs
2,495
C#
using System.Threading.Tasks; using Neutronium.Core.Extension; using Neutronium.Core.Infra; using Neutronium.Core.WebBrowserEngine.JavascriptObject; using Neutronium.MVVMComponents; namespace Neutronium.Core.Binding.GlueObject.Executable { internal class JsResultCommand<TArg, TResult> : JsResultCommandBase<TResul...
38.714286
225
0.679582
[ "MIT" ]
simonbuehler/Neutronium
Neutronium.Core/Binding/GlueObject/Executable/JsResultCommand_Ta_Tr.cs
1,628
C#
using Pada1.BBCore; using UnityEngine; namespace BBUnity.Conditions { /// <summary> /// It is a perception condition to check if the objective is close depending on a given distance. /// </summary> [Condition("Perception/IsTargetClose")] [Help("Checks whether a target is close depending on a given...
41.030303
124
0.67356
[ "MIT" ]
Aitorlb7/IA-Tanks-Project
Assets/BehaviorBricks/Conditions/System/Perception/IsTargetClose.cs
1,356
C#
using System; using System.Threading.Tasks; namespace NadekoBot.Common { public interface IPubSub { public Task Pub<TData>(in TypedKey<TData> key, TData data); public Task Sub<TData>(in TypedKey<TData> key, Func<TData, ValueTask> action); } }
24.727273
86
0.6875
[ "MIT" ]
AnotherFoxGuy/NadekoBot
src/NadekoBot/Common/PubSub/IPubSub.cs
274
C#
namespace Craftsman.Helpers { using Craftsman.Models; using System; using System.Collections.Generic; public class TestBuildingHelpers { public static string GetUsingString(string dbContextName) { return $@"using (var context = new {dbContextName}(dbOptions))"; ...
22
76
0.642424
[ "MIT" ]
wi3land/craftsman
Craftsman/Helpers/TestBuildingHelpers.cs
332
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("01....
38.432432
84
0.751758
[ "MIT" ]
ChrisPam/CSharpAdvanced
05.MatricesLab/01.SumOfAllElementsOfMatrix/Properties/AssemblyInfo.cs
1,425
C#
// 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 regenerated. namespace Mi...
47.201923
171
0.636382
[ "MIT" ]
Agazoth/azure-powershell
src/Functions/generated/api/Support/LogLevel.cs
4,806
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
51.233558
221
0.666935
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/Honeycode/Generated/_netstandard/AmazonHoneycodeClient.cs
60,765
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Telegram.Bot; using Telegram.Bot.Types; using Telegram.Bot.Types.Enums; using WordCounterBot.BLL.Common; using WordCounterBot.DAL.Contracts; namespace WordCounterBot.BLL.Contracts { public cla...
33.477612
121
0.608114
[ "MIT" ]
admiralWoop/multi-purpose-tg-bot
dotnet-app/BLL/WordCounterBot.BLL.Core/Commands/GetStatsForCurrentDayCommand.cs
2,245
C#
using System; using HandHistories.Objects.GameDescription; using HandHistories.Objects.Hand; using HandHistories.Parser.UnitTests.Parsers.Base; using NUnit.Framework; namespace HandHistories.Parser.UnitTests.Parsers.HandSummaryParserTests.FormatTests { [TestFixture("IPoker", 3305969126, 8)] class HandParserHa...
36.93617
141
0.682604
[ "Unlicense" ]
joshurtree/PokerAnalytics
HandHistories.Parser.UnitTests/Parsers/FastParserTests/IPoker/FormatTests/HandParserHandFormatTests.cs
1,738
C#
using System; using NetOffice; namespace NetOffice.OWC10Api.Enums { /// <summary> /// SupportByVersion OWC10 1 /// </summary> [SupportByVersionAttribute("OWC10", 1)] [EntityTypeAttribute(EntityType.IsEnum)] public enum ChartErrorBarTypeEnum { /// <summary> /// SupportByVersion OWC10 1 //...
24.121212
43
0.63191
[ "MIT" ]
NetOffice/NetOffice
Source/OWC10/Enums/ChartErrorBarTypeEnum.cs
796
C#
// Copyright 2019 Jon Skeet. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using VDrumExplorer.Model.Schema.Physical; namespace VDrumExplorer.Model.Schema.Fields { /// <summary> /// Field representing an instrument within a kit. (M...
39.222222
132
0.68933
[ "Apache-2.0" ]
jskeet/DemoCode
Drums/VDrumExplorer.Model/Schema/Fields/InstrumentField.cs
1,061
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; using System.Runtime.InteropServices; using Microsoft.Win32.SafeHandles; internal static partial class Interop { internal static partial ...
42.898305
144
0.680363
[ "MIT" ]
AUTOMATE-2001/runtime
src/libraries/Common/src/Interop/Unix/System.Security.Cryptography.Native/Interop.Hmac.cs
2,531
C#
#region License // -------------------------------------------------------------------------------------------------------------------- // <copyright file="ExplicitExpression{T,TProperty}.cs" company="MorseCode Software"> // Copyright (c) 2015 MorseCode Software // </copyright> // <summary> // The MIT License (MIT) /...
40.968421
170
0.642343
[ "MIT" ]
jam40jeff/FrameworkExtensions
Source/MorseCode.FrameworkExtensions/_Root/ExplicitExpression{T,TProperty}.cs
3,894
C#
using Microsoft.AspNetCore.Mvc; namespace WebApplication1.Controllers { [ApiController] [Route("[controller]")] public class WeatherForecastController : ControllerBase { private static readonly string[] Summaries = new[] { "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Wa...
31.151515
110
0.589494
[ "Apache-2.0" ]
shimat/net6_webapi_test_sample
WebApplication1/Controllers/WeatherForecastController.cs
1,028
C#
using AppBlocks.Autofac.Support; using log4net; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Reflection; using System.Text; namespace AppBlocks.Autofac.Tests.KeyedAndNamedServices { [AppBlocksKeyedService("KeyedService2", typeof(IKeyedService))] public class...
27.705882
112
0.674098
[ "MIT" ]
AdsophicSolutions/AppBlocks.Autofac
src/AppBlocks.Autofac.Tests/KeyedAndNamedServices/KeyedService2.cs
944
C#
// <copyright file=HydraEditorUtils company=Hydra> // Copyright (c) 2015 All Rights Reserved // </copyright> // <author>Christopher Cameron</author> using System; using System.IO; using Hydra.HydraCommon.Editor.Extensions; using Hydra.HydraCommon.Extensions; using Hydra.HydraCommon.Utils; using UnityEditor; using Unit...
31.488
121
0.692835
[ "BSD-3-Clause" ]
TeamSpatch/EndoWars
Assets/Hydra/HydraCommon/Scripts/Editor/Utils/HydraEditorUtils.cs
19,680
C#
using Jering.Javascript.NodeJS; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Threading.Tasks; namespace Codeuctivity.PdfjsSharp { /// <summary> /// Rasterizes PDFs, Depands on node /// </summary> public class Rasterizer : PdfJsWrapper, IRasterizer { ...
43.790698
215
0.669676
[ "Apache-2.0" ]
Codeuctivity/PdfjsSharp
PdfjsSharp/Rasterizer.cs
1,885
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 System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using ...
41.533333
143
0.757446
[ "Apache-2.0" ]
AAimson/apm-agent-dotnet
src/Elastic.Apm/Model/NoopTransaction.cs
5,609
C#
//----------------------------------------------------------------------- // <copyright file="ListFormatter.cs" company="Sirenix IVS"> // Copyright (c) 2018 Sirenix IVS // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may o...
37.411348
186
0.516967
[ "MIT" ]
JohnMurwin/NaturalSelectionSimulation
Assets/Plugins/TileWorldCreator/Code/TileWorldCreator.OdinSerializer/Core/Formatters/ListFormatter.cs
5,277
C#
#pragma warning disable 0472 using System; using System.Text; using System.IO; using System.Collections; using System.ComponentModel; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Xml.Serialization; using BLToolkit.Aspects; using BLToolkit.DataAccess...
40.745083
326
0.5022
[ "BSD-2-Clause" ]
EIDSS/EIDSS-Legacy
EIDSS v6/eidss.model/Schema/VectorType2PensideTest.model.cs
53,867
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
31.704545
153
0.539068
[ "MIT" ]
MIchaelMainer/GraphAPI
src/Microsoft.Graph/Models/Generated/Identity.cs
1,395
C#
using System; using System.Linq; using NUnit.Framework; namespace LinqInfer.UnitTests.Maths { [TestFixture] public class RandomTests { [TestCase(1000)] public void NextDouble(int iterations) { var rnd = new LinqInfer.Maths.Random(); double total = 0; ...
28.428571
89
0.49942
[ "MIT" ]
roberino/linqinfer
tests/LinqInfer.UnitTests/Maths/RandomTests.cs
2,589
C#
//----------------------------------------------------------------------- // <copyright file="DfpMeasureSourceFixture.cs" company="Rare Crowds Inc"> // Copyright 2012-2013 Rare Crowds, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with ...
43.29927
121
0.594909
[ "Apache-2.0" ]
chinnurtb/OpenAdStack
GoogleDfpActivities/GoogleDfpActitityUnitTests/DfpMeasureSourceFixture.cs
11,866
C#
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
41.1
112
0.711679
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/bigquery/datatransfer/v1/google-cloud-bigquery-datatransfer-v1-csharp/Google.Cloud.BigQuery.DataTransfer.V1.StandaloneSnippets/DataTransferServiceClient.CheckValidCredsResourceNamesAsyncSnippet.g.cs
1,644
C#
using System.Collections; using System.Collections.Generic; using UnityEngine.SceneManagement; using UnityEngine; public class AvengerShipFight : MonoBehaviour { Seek seek; Flee flee; StateMachine stateMachine; GameObject[] leviathans; public GameObject seekLeviathan; int whichLeviathan; in...
51.497041
217
0.636217
[ "MIT" ]
bibeezi/GamesEngines2
Assets/Scripts/AvengerShipFight.cs
8,703
C#
using QFSW.QC.QGUI; using UnityEditor; using UnityEngine; namespace QFSW.QC.Editor { [CustomPropertyDrawer(typeof(ModifierKeyCombo), true)] public class ModifierKeyComboEditor : PropertyDrawer { private readonly GUIContent _shiftLabel = new GUIContent("shift"); private readonly G...
49.47619
123
0.694418
[ "MIT" ]
Momonyaro/Usurper
Usurper/Assets/Plugins/QFSW/Quantum Console/Source/Editor/ModifierKeyComboEditor.cs
2,080
C#
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
46.728571
175
0.682054
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Retail.V2/Google.Cloud.Retail.V2.GeneratedSnippets/ProductServiceClient.AddLocalInventoriesRequestObjectAsyncSnippet.g.cs
3,271
C#
#region License(Apache Version 2.0) /****************************************** * Copyright ®2017-Now WangHuaiSheng. * 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/l...
36.452381
93
0.630307
[ "Apache-2.0" ]
wanghuaisheng/WitsWay
Solutions/AppUtilities/Utilities/FastReflection/Cache/PropertyAccessorCache.cs
1,568
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...
70.070423
233
0.79397
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementNotStatementStatementOrStatementStatement.cs
4,975
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...
29.766234
90
0.556283
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/Models/Sku.cs
2,292
C#
using System; using Force.DeepCloner.Tests.Objects; using NUnit.Framework; namespace Force.DeepCloner.Tests { #if !NETSTANDARD [TestFixture(false)] #endif [TestFixture(true)] public class ShallowClonerSpec : BaseTest { public ShallowClonerSpec(bool isSafeInit) : base(isSafeInit) { } [Test] public ...
26.111111
324
0.654664
[ "MIT" ]
ELEMENTSECM/DeepCloner
DeepCloner.Tests/ShallowClonerSpec.cs
3,057
C#
using System; using System.Collections.Generic; using System.Reflection; using GraphQL.Conventions.Attributes; using GraphQL.Conventions.Attributes.Collectors; using GraphQL.Conventions.Attributes.MetaData; using GraphQL.Conventions.Tests.Templates; using GraphQL.Conventions.Tests.Templates.Extensions; namespace Graph...
37.564706
106
0.65393
[ "MIT" ]
BilyachenkoOY/conventions
test/GraphQL.Conventions.Tests/Attributes/Collectors/AttributeCollectorTests.cs
3,193
C#
#if !NETSTANDARD13 /* * 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 ...
40.863309
160
0.672711
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/test/Services/CloudWatch/UnitTests/Generated/_bcl45+netstandard/Paginators/CloudWatchPaginatorTests.cs
11,360
C#
using Game.Gameplay.Teleports; using Game.Gameplay.World; using Leopotam.Ecs; using UnityEngine; namespace Game.Gameplay.Players { public sealed class PlayerDeathSystem : IEcsRunSystem { private readonly EcsFilter<PlayerComponent, PlayerDeathRequest> requests = null; public void Run() { ...
35.111111
90
0.600211
[ "MIT" ]
SH42913/pacmanecs
Assets/Game.Gameplay/Players/Systems/PlayerDeathSystem.cs
950
C#
using System; using System.Diagnostics; using System.Windows.Forms; using Hg.DoomHistory.Utilities; namespace Hg.DoomHistory.Controls { public partial class SlotControl : UserControl { #region Members public SlotControl() { InitializeComponent(); } private...
25.485714
109
0.544843
[ "MIT" ]
HgAlexx/Hg.DoomHistory
Hg.DoomHistory/Controls/SlotControl.cs
894
C#
#region License // // Copyright (c) 2007-2009, Sean Chambers <schambers80@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 /...
30.822695
126
0.608376
[ "Apache-2.0" ]
robertmircea/fluentmigrator
src/FluentMigrator/Infrastructure/DefaultMigrationConventions.cs
4,346
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...
40.976563
193
0.622116
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ECRPublic/Generated/Model/Internal/MarshallTransformations/DescribeImagesResponseUnmarshaller.cs
5,245
C#
using Troschuetz.Random; namespace GoRogue.DiceNotation.Terms { /// <summary> /// Term representing the addition operator -- adds two terms together. /// </summary> public class AddTerm : ITerm { /// <summary> /// Constructor. Takes the two terms to add. /// </summary> /// <param name="term1">Left-hand s...
26.18
90
0.630252
[ "MIT" ]
Chris3606/GoRogue
GoRogue/DiceNotation/Terms/AddTerm.cs
1,311
C#
// 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 // regenerated. namespac...
32.359375
86
0.624819
[ "MIT" ]
azure-keyvault/azure-sdk-for-net
src/SDKs/ServiceBus/Management.ServiceBus/Generated/Models/ErrorResponseException.cs
2,071
C#
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using OrchardCore.Infrastructure.Html; using Xunit; namespace OrchardCore.Tests.Html { public class HtmlSanitizerTests { private static readonly HtmlSanitizerService _sanitizer = new HtmlSanitizerService(Options.Create(...
37.808219
249
0.588043
[ "BSD-3-Clause" ]
1051324354/OrchardCore
test/OrchardCore.Tests/Html/HtmlSanitizerTests.cs
2,760
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.658228
122
0.653887
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/WAFRegional/Generated/Model/ListSizeConstraintSetsResponse.cs
2,817
C#
using System; using System.Collections.Generic; using System.Text; namespace SoftJail.Data.Models { public class Cell { public Cell() { this.Prisoners = new HashSet<Prisoner>(); } public int Id { get; set; } public int CellNumber { get; set; } publ...
23.617647
68
0.627646
[ "MIT" ]
NikolayLutakov/Entity-Framework-Core
Exam Preps/02 C# DB Advanced Retake Exam Last Resolve 14 August 2020/SoftJail/Data/Models/Cell.cs
825
C#
using System; using System.Collections.Generic; using RestSharp; namespace EasyPost { public class Webhook : Resource { public string id { get; set; } public string mode { get; set; } public string url { get; set; } public DateTime? disabled_at { get; set; } /// <summary>...
34.115942
93
0.569669
[ "MIT" ]
j6967chen/easypost-csharp
EasyPost/Webhook.cs
2,356
C#
using System; using System.IO; using System.Diagnostics; using System.ComponentModel; using System.Collections.Generic; using Nikki.Utils; using Nikki.Reflection.Enum; using Nikki.Reflection.Enum.CP; using Nikki.Reflection.Abstract; using Nikki.Reflection.Attributes; using Nikki.Support.Shared.Parts.CarParts; using Co...
33.962617
100
0.674188
[ "MIT" ]
SpeedReflect/Nikki
Nikki/Support.Prostreet/Attributes/KeyAttribute.cs
7,270
C#
/* _BEGIN_TEMPLATE_ { "id": "EX1_614t", "name": [ "萨维亚萨特", "Xavian Satyr" ], "text": [ null, null ], "cardClass": "NEUTRAL", "type": "MINION", "cost": 1, "rarity": null, "set": "EXPERT1", "collectible": null, "dbfId": 1751 } _END_TEMPLATE_ */ namespace HREngine.Bots { clas...
12.766667
54
0.550914
[ "MIT" ]
chi-rei-den/Silverfish
cards/EXPERT1/EX1/Sim_EX1_614t.cs
393
C#
using UnityEngine; namespace Kontrol { public class CameraMovement : MonoBehaviour { public Vector2 startPosition; public Vector2 moveSpeed; public bool isStartingAtStartPosition; public bool isMoving; void Start() { if (isStartingAtStartPosition) ...
21.178571
105
0.559865
[ "MIT" ]
MarcusBoay/Kontrol
SpaceShooter2/Assets/My Assets/Scripts/Camera/CameraMovement.cs
593
C#