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
// Original code dervied from: // https://github.com/thelinuxlich/artemis_CSharp/blob/master/Artemis_XNA_INDEPENDENT/System/EntitySystem.cs // -------------------------------------------------------------------------------------------------------------------- // <copyright file="EntitySystem.cs" company="GAMADU.COM">...
36.294643
119
0.611316
[ "MIT" ]
damian-666/MonoGame.Extended
Source/MonoGame.Extended.Entities/ProcessingSystem.cs
4,068
C#
using System.Diagnostics.Contracts; using System.Diagnostics.CodeAnalysis; using System; namespace CarSystemApplication { class Controller { // Imports private readonly EngineInterface engineinterface; private readonly BrakeInterface brakeinterface; private readonly Dashboard ...
40.565598
170
0.601121
[ "MIT" ]
rasmunk/set11515
cw/src/CarSystem/CarSystemApplication/Controller.cs
13,916
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.Runtime.InteropServices; using System.Windows.Forms; using System.Windows.Forms.Design; using static I...
39.766497
135
0.464812
[ "MIT" ]
Amy-Li03/winforms
src/System.Windows.Forms.Design/src/System/Drawing/Design/ContentAlignmentEditor.ContentUI.cs
23,504
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using ServiceFabric.Mocks.Tests.Services; namespace ServiceFabric.Mocks.Tests.ServiceProxyTests { [TestClass] public class MockServiceProxyTests { [TestMethod] public void TestNetFxFullCompatibility() { var proxy = new...
30.894737
85
0.688245
[ "MIT" ]
Jasper136/ServiceFabric.Mocks
test/ServiceFabric.Mocks.Tests/ServiceProxyTests/MockServiceProxyTests.cs
589
C#
using Cosmos.Business.Extensions.Holiday.Core; using Cosmos.I18N.Countries; namespace Cosmos.Business.Extensions.Holiday.Definitions.SouthAmerica.Guyana.Public { /// <summary> /// Emancipation Day /// </summary> public class EmancipationDay : BaseFixedHolidayFunc { /// <inheritdoc /> ...
30.5625
90
0.618609
[ "Apache-2.0" ]
cosmos-open/Holiday
src/Cosmos.Business.Extensions.Holiday/Cosmos/Business/Extensions/Holiday/Definitions/SouthAmerica/Guyana/Public/EmancipationDay.cs
978
C#
using System; using System.Collections.Generic; using System.Data.SQLite; using System.Data; using System.IO; using System.Linq; using EDictionary.Core.Utilities; using EDictionary.Core.Models; using EDictionary.Core.Extensions; namespace EDictionary.Core.Data { public partial class DataAccess : SqliteAccess { pub...
24.830508
111
0.656826
[ "BSD-3-Clause" ]
nguyendinhchinh/EDictionary
src/EDictionary.Core/Data/DataAccess.cs
5,860
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using Azure.Core; using Azure.ResourceManager.AppService.Models; using Azure.ResourceManager.Models; namespace Azure.ResourceManager.AppService { /// <summary> A c...
38.837209
216
0.654491
[ "MIT" ]
AikoBB/azure-sdk-for-net
sdk/websites/Azure.ResourceManager.AppService/src/Generated/VnetGatewayData.cs
1,670
C#
/* * Tencent is pleased to support the open source community by making Puerts available. * Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved. * Puerts is licensed under the BSD 3-Clause License, except for the third-party components listed in the file 'LICENSE' which may be subject to their c...
39.614286
179
0.616661
[ "BSD-3-Clause" ]
FishOrBear/puerts
unity/Assets/Puerts/Src/StaticCallbacks.cs
2,775
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
21.76
117
0.653493
[ "Apache-2.0" ]
brightness007/unofficial-aliyun-openapi-net-sdk
aliyun-net-sdk-ess/Ess/Model/V20140828/AttachDBInstancesRequest.cs
3,264
C#
// Author: Daniele Giardini - http://www.demigiant.com // Created: 2014/07/19 14:11 // // License Copyright (c) Daniele Giardini. // This work is subject to the terms at http://dotween.demigiant.com/license.php // // ============================================================= // Contains Daniele Giardini's C# port of...
48.573668
174
0.502033
[ "MIT" ]
PxGame/XMLib.AM.Example
Assets/XMLib/XMLib.Common/Runtime/Utility/EaseUtility.cs
30,991
C#
// [[[[INFO> // Copyright 2015 Epicycle (http://epicycle.org, https://github.com/open-epicycle) // // 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...
21.9
83
0.52381
[ "Apache-2.0" ]
open-epicycle/Epicycle.Graphics-cs
projects/Epicycle.Graphics_cs/Color/ColorRGB12.cs
3,068
C#
using Blazored.LocalStorage; using CnGalWebSite.DataModel.Helper; using CnGalWebSite.DataModel.Model; using CnGalWebSite.Shared.Provider; using Microsoft.AspNetCore.Components.Authorization; using System; using System.Net.Http; using System.Net.Http.Headers; using System.Net.Http.Json; using System.Text.Json; using Sy...
38.036036
153
0.568688
[ "MIT" ]
LittleFish-233/CnGalWebSite
CnGalWebSite/CnGalWebSite.Shared/Service/AuthService.cs
8,854
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...
32.485294
108
0.636487
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Inspector/Generated/Model/Internal/MarshallTransformations/TagMarshaller.cs
2,209
C#
namespace TDE_3 { partial class Form1 { /// <summary> /// Variável de designer necessária. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Limpar os recursos que estão sendo usados. /// </summary> /// ...
62.145763
165
0.620193
[ "MIT" ]
Henriqueiru/Validacao-DataGridViewTDE
TDE 3/TDE 3/Form1.Designer.cs
18,348
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...
27.226891
122
0.69892
[ "MIT" ]
burstray/ReoGrid
!ReoGrid-3.0.0/Editor/PropertyPages/AlignmentPage.cs
6,482
C#
using System; using UltimaOnline.Items; namespace UltimaOnline.Items { public class DarkglowScimitar : RadiantScimitar { public override int LabelNumber{ get{ return 1073542; } } // darkglow scimitar [Constructable] public DarkglowScimitar() { WeaponAttributes.HitDispel = 10; } public...
19.571429
81
0.671533
[ "MIT" ]
netcode-gamer/game.ultimaonline.io
UltimaOnline.Data/Items/Weapons/Swords/DarkglowScimitar.cs
685
C#
using System; using System.CodeDom.Compiler; using System.Xml.Serialization; namespace Workday.HumanResources { [GeneratedCode("System.Xml", "4.6.1590.0"), XmlType(Namespace = "urn:com.workday/bsvc", IncludeInSchema = false)] [Serializable] public enum ItemChoiceType2 { Auto_Complete, Skip } }
20.333333
114
0.754098
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.HumanResources/ItemChoiceType2.cs
305
C#
// 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, software distributed under the ...
52.44419
206
0.543023
[ "Apache-2.0" ]
gkmo/google-api-dotnet-client
Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.cs
481,139
C#
// Copyright © 2020 Dmitry Sikorsky. 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 Magicalizer.Data.Entities.Abstractions; namespace Platformus.ECommerce.Data.Entities { /// ...
27.96875
111
0.66257
[ "Apache-2.0" ]
Platformus/Platformus
src/Platformus.ECommerce.Data.Entities/Cart.cs
898
C#
using System; using P01_HospitalDatabase.Data; using P01_HospitalDatabase.Data.Models; using P01_HospitalDatabase.Initializer; namespace P01_HospitalDatabase { public class StartUp { public static void Main() { DatabaseInitializer.ResetDatabase(); using (var db = new H...
20.916667
52
0.583665
[ "MIT" ]
Hris91/C-Development-New
DB Advanced/Code First/HospitalStartUp/StartUp.cs
504
C#
namespace Weapsy.Blog.Domain.Blog.Exceptions { public class BlogNotDeletedException : BlogException { public BlogNotDeletedException(string message) : base(message) { } } }
18.3
64
0.759563
[ "MIT" ]
1713660/weapsy
src/Weapsy.Blog.Domain/Blog/Exceptions/BlogNotDeletedException.cs
185
C#
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.ComponentModel; using System.Reflection; using System.Collections.Generic; using System.Collections; using NetOffice; namespace NetOffice.WordApi { ///<summary> /// Disp...
32.018018
201
0.673326
[ "MIT" ]
NetOffice/NetOffice
Source/Word/DispatchInterfaces/SmartTagActions.cs
7,108
C#
using GitHub.Runner.Common; using GitHub.Runner.Common.Util; using GitHub.Runner.Sdk; using System; namespace GitHub.Runner.Listener.Configuration { [ServiceLocator(Default = typeof(PromptManager))] public interface IPromptManager : IRunnerService { bool ReadBool( string argName, ...
32.455224
124
0.48057
[ "MIT" ]
9996142202/runner
src/Runner.Listener/Configuration/PromptManager.cs
4,349
C#
using Pathoschild.Stardew.LookupAnything.Framework.Lookups; namespace Pathoschild.Stardew.LookupAnything.Framework { /// <summary>A central registry for subject lookups.</summary> internal interface ISubjectRegistry { /********* ** Methods *********/ /// <summary>Get the sub...
30.4375
83
0.64271
[ "MIT" ]
AlexDevolio/StardewMods
LookupAnything/Framework/ISubjectRegistry.cs
487
C#
// Copyright Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; public class Untitled_DeckRPG : ModuleRules { public Untitled_DeckRPG(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject"...
26
113
0.760989
[ "Artistic-2.0" ]
JeffereyAEL/UntitledDeckRPG
Source/Untitled_DeckRPG/Untitled_DeckRPG.Build.cs
364
C#
using System; using System.Text; using System.Threading; using System.Threading.Tasks; using SharpTox.Encryption; namespace SharpTox.Core { /// <summary> /// Represents an instance of Tox. /// </summary> public class Tox : IDisposable { private ToxHandle _tox; private...
41.263109
270
0.566845
[ "MIT" ]
Impyy/SharpTox
SharpTox/Core/Tox.cs
86,770
C#
//----------------------------------------------------------------------- // <copyright file="BasicTests.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: http://www.lhotka.net/cslanet/ // </copyright> // <summary>no summary</summary> //-----------------------------------...
37.635294
149
0.585495
[ "MIT" ]
ronnymgm/csla-light
Source/csla.netcore.test/Basic/BasicTests.cs
15,995
C#
#if ShouldMatchApproved using JetBrains.Annotations; namespace Shouldly.Configuration { public class KnownDoNotLaunchStrategies { [UsedImplicitly] public readonly IShouldNotLaunchDiffTool NCrunch = new DoNotLaunchWhenEnvVariableIsPresent("NCRUNCH"); [UsedImplicitly] public reado...
46.407407
114
0.766959
[ "BSD-3-Clause" ]
dennisroche/shouldly
src/Shouldly/Configuration/KnownDoNotLaunchStrategies.cs
1,253
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...
40.269406
129
0.552047
[ "Apache-2.0" ]
sunshinele/npoi
testcases/main/POIFS/Storage/TestBATBlock.cs
17,640
C#
using Eric.Morrison.Harmony.Chords; using System; using System.Collections.Generic; using System.Linq; namespace Eric.Morrison.Harmony { public partial class Arpeggiator { class StateSnapshot : IEquatable<StateSnapshot> { ArpeggiationContext ArpeggiationContext { get; set; } Chord StartingChord { get; set...
23.763514
146
0.638328
[ "MIT" ]
emorrison1962/HarmonyHelper
HarmonyHelper/HarmonyHelper/Arpeggiator/Arpeggiator_Snapshot.cs
3,519
C#
using System; using System.Collections.Generic; #nullable disable namespace todo_list_api.Models { public partial class List { public List() { Tasks = new HashSet<Tasks>(); DateCreate = DateTime.Now; } public int Idlist { get; set; } public str...
22.208333
61
0.594747
[ "MIT" ]
werikorus/todo-list-api
todo-list-api/Models/List.cs
535
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
47.531915
267
0.662489
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/DepOnboardingSettingSyncWithAppleDeviceEnrollmentProgramRequestBuilder.cs
2,234
C#
using System; using System.Collections.Generic; using SimpleCardGames.Data.Card; namespace SimpleCardGames.Battle.UI.Card { //------------------------------------------------------------------------------------------------------------------ /// <summary> /// Pile of cards. Add or Remove cards and be ...
29.60396
120
0.42408
[ "MIT" ]
led0warlpl/SimpleCard
Assets/Scripts/Battle/UI/UiCard/UiCardPile/UiCardPile.cs
2,992
C#
using PizzaBox.Domain.Models; using Xunit; namespace PizzaBox.Testing.Tests { public class PizzaTests { [Fact] public void Test_CustomePizza_Fact() { // arrange var sut = new CustomPizza(){ Name = "Custom Pizza" }; var expected = "Custom Pizza"; // act var...
18.390805
56
0.5375
[ "MIT" ]
03012021-dotnet-uta/ChelseyGrice_p0
PizzaBox.Testing/Tests/PizzaTests.cs
1,600
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CrearHuellas : MonoBehaviour { public GameObject prefabHuella; public GameObject huella; public GameObject huellaAnt; // Start is called before the first frame update void Start() { StartCorout...
21.255814
162
0.640044
[ "Apache-2.0" ]
VRSDevs/XO-Rivals
XO Rivals/Assets/Scripts/Fantasmas/CrearHuellas.cs
914
C#
using System.Linq; using Content.Server.Warps; using Content.Shared.Administration; using Robust.Server.Player; using Robust.Shared.Console; using Robust.Shared.Enums; using Robust.Shared.Map; using Robust.Shared.Physics; namespace Content.Server.Administration.Commands { [AdminCommand(AdminFlags.Admin)] publi...
35.111111
117
0.462421
[ "MIT" ]
EmoGarbage404/space-station-14
Content.Server/Administration/Commands/WarpCommand.cs
5,056
C#
using SanAndreasUnity.Importing.Vehicles; using SanAndreasUnity.Utilities; using System.Linq; using UnityEngine; using VConsts = SanAndreasUnity.Behaviours.Vehicles.VehiclePhysicsConstants; namespace SanAndreasUnity.Behaviours.Vehicles { [RequireComponent(typeof(Rigidbody))] public partial class Vehicle {...
35.780105
144
0.554726
[ "MIT" ]
Bigbossbro08/SanAndreasUnity
Assets/Scripts/Behaviours/Vehicles/Vehicle_Physics.cs
6,836
C#
namespace IxMilia.Iges.Entities { using System; using System.Collections.Generic; public class IgesNameProperty : IgesProperty { public String Name { get; private set; } public IgesNameProperty():base() { this.FormNumber = 15; } internal override ...
28.1
96
0.615658
[ "Apache-2.0" ]
RSchwarzwald-Hexagon/iges
src/IxMilia.Iges/Entities/IgesNameProperty.cs
845
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Diagnostics; using Microsoft.CodeAnalysis.Collections; using Microsoft.CodeAnalysis.CSharp.Symbols; using Rosl...
45.630682
192
0.591251
[ "MIT" ]
1Crazymoney/cs2cpp
CSharpSource/Binder/Semantics/AccessCheck.cs
24,095
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("Mon...
37.513514
84
0.745677
[ "MIT" ]
arielcortez/WeeklyChallenge
WCH-28/MongoDBChallenge/MongoDB.UI/Properties/AssemblyInfo.cs
1,391
C#
using Account.ViewModels; using CommonMessages.MqCmds; using Commons.DiIoc; using Commons.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Account.Application.Services { public interface IAccountService : IDependency { publ...
37.227273
108
0.759463
[ "MIT" ]
swpuzhang/CleanGameArchitecture
Services/Account/Application/Services/IAccountService.cs
821
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: AssemblyTi...
39.108108
85
0.72633
[ "MIT" ]
FiiZzioN/KSP-Tourist-Auto-Mission
kRPC.Programs/kRPC.Programs.Tests/Properties/AssemblyInfo.cs
1,450
C#
using BlazingPizza.Client; using BlazingPizza.Client.Services; using Bunit; using Microsoft.AspNetCore.Components; using Microsoft.Extensions.DependencyInjection; namespace BlazingPizza { public static class TestContextExtensions { public static TestContext AddBlazingPizzaSupport(this TestContext cont...
27.8
96
0.723022
[ "MIT" ]
egil/blazor-workshop
save-points/00-get-started/BlazingPizza.Tests/Helpers/TestContextExtensions.cs
558
C#
//----------------------------------------------------------------------- // <copyright file="LeaderDowningNodeThatIsUnreachableSpec.cs" company="Akka.NET Project"> // Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akk...
37.95302
179
0.634129
[ "Apache-2.0" ]
BearerPipelineTest/akka.net
src/core/Akka.Cluster.Tests.MultiNode/LeaderDowningNodeThatIsUnreachableSpec.cs
5,657
C#
using System; class E { static void Main() { var d = int.Parse(Console.ReadLine()); var n = Console.ReadLine(); var l = n.Length; var dp = new long[l + 1, d, 2]; dp[0, 0, 0] = 1; for (int i = 0; i < l; i++) { var x = n[i] - '0'; for (int j = 0; j < d; j++) { dp[i + 1, (j...
22.038462
117
0.401396
[ "MIT" ]
sakapon/AtCoder-Contests
CSharp/Contests/TDPC/E.cs
575
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace KdajBi.Core.dtoModels { public class dtoCompany { public long Id { get; set; } public string Name { get; set; } public dtoCompany() { } public dtoCompany(long p_id, strin...
20.888889
51
0.630319
[ "MIT" ]
twooclock/KdajBi
KdajBi.Core/dtoModels/dtoCompany.cs
378
C#
using BeauData; namespace RuleScript.Data { public struct RSNamedValue : ISerializedObject, ISerializedVersion { public string Name; public RSValue Value; public RSNamedValue(string inName, RSValue inValue) { Name = inName; Value = inValue; } ...
23.535714
70
0.60698
[ "MIT" ]
FilamentGames/RuleScript
Assets/RuleScript/Data/Utils/RSNamedValue.cs
659
C#
/** * Copyright 2013 Canada Health Infoway, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
36.586207
83
0.711593
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-ab_r02_04_03_shr/Main/Ca/Infoway/Messagebuilder/Model/Ab_r02_04_03_shr/Domainvalue/ParticipationTargetDevice.cs
1,061
C#
using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Linq; using System.Text.Json; using System.Threading.Tasks; namespace TodoListClient.Common { public static class SessionExtensions { public static void Set<T>(this ISession session, string key, T value) ...
26.291667
82
0.659271
[ "MIT" ]
Azure-Samples/ms-identity-dotnetcore-ca-auth-context-app
TodoListClient/Common/SessionExtensions.cs
633
C#
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("EroNumber.Core.Wpf.Net40")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduc...
30.647059
91
0.660909
[ "MIT" ]
h82258652/EroNumber.Core
EroNumber.Core/EroNumber.Core.Wpf.Net40/Properties/AssemblyInfo.cs
2,224
C#
using System; namespace brainflow { /// <summary> /// BrainFlowException class to notify about errors /// </summary> public class BrainFlowException : Exception { /// <summary> /// exit code returned from low level API /// </summary> public int exit_code; p...
23.904762
132
0.573705
[ "MIT" ]
BrainAlive/brainflow
csharp-package/brainflow/brainflow/brainflow_exception.cs
504
C#
//************************************************************************************************ // Copyright © 2020 Steven M Cohn. All rights reserved. //************************************************************************************************ namespace River.OneMoreAddIn.Commands { using Microsoft.Office...
25.655172
99
0.52957
[ "MPL-2.0" ]
HarthTuwist/OneMore
OneMore/Commands/File/ManagePluginsCommand.cs
747
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
39.303371
153
0.603774
[ "MIT" ]
twsouthwick/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IWorkbookTableRowRangeRequest.cs
3,498
C#
using System; namespace PuertsStaticWrap { public static class UnityEngine_TouchScreenKeyboard_Wrap { [Puerts.MonoPInvokeCallback(typeof(Puerts.V8ConstructorCallback))] private static IntPtr Constructor(IntPtr isolate, IntPtr info, int paramLen, long data) { try ...
48.44713
153
0.519051
[ "MIT" ]
HFX-93/luban_examples
Projects/TypeScript_Unity_Puerts_Bin/Assets/Gen/UnityEngine_TouchScreenKeyboard_Wrap.cs
32,074
C#
using System.Collections.Generic; using Essensoft.AspNetCore.Payment.Alipay.Response; namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// <summary> /// alipay.trade.royalty.relation.unbind /// </summary> public class AlipayTradeRoyaltyRelationUnbindRequest : IAlipayRequest<AlipayTradeRoyaltyRe...
22.806452
115
0.549859
[ "MIT" ]
lzw316/payment
src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayTradeRoyaltyRelationUnbindRequest.cs
2,842
C#
using System; using System.Collections.Generic; using System.Linq; using Cofoundry.Domain; using Microsoft.AspNetCore.Mvc; namespace Cofoundry.Web.Admin { public class UsersModuleController : BaseAdminMvcController { public UsersModuleController( IUserAreaDefinitionRepository userAreaDefin...
35.74359
105
0.670732
[ "MIT" ]
BearerPipelineTest/cofoundry
src/Cofoundry.Web.Admin/Admin/Modules/Users/MVC/Controllers/UsersModuleController.cs
1,396
C#
using System.Collections.Generic; namespace CleanArchitecture.SharedKernel { // This can be modified to BaseEntity<TId> to support multiple key types (e.g. Guid) public abstract class BaseEntity<TId> : IDomainEventable { public TId Id { get; set; } public List<BaseDomainEvent> Events { get...
30.166667
88
0.69337
[ "MIT" ]
miklen/CleanArchitecture
src/CleanArchitecture.SharedKernel/BaseEntity.cs
362
C#
using System; namespace CSharpEvolution.CSharp2 { public static class NullableTypes { public static void ShowValue(int? a) { if (a.HasValue) { Console.WriteLine("Argument's value is: " + a); } else { Co...
22.612903
77
0.493581
[ "MIT" ]
adolfosilva/csharp-presentation
CSharpEvolution/CSharp2/NullableTypes.cs
703
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------...
32.833333
85
0.515228
[ "Apache-2.0" ]
KRazguliaev/pmi.sitecore.9.1.brightcove
src/Sitecore.MediaFramework/UI/Sublayouts/EmbedMediaPlayer.ascx.designer.cs
767
C#
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.42000 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします。 // </auto-generated> //---------------------------------------------------------...
38.77381
189
0.583973
[ "MIT" ]
nuitsjp/DioDocs.FastReportBuilder
DustBox/AzureFunctions/InvoiceService.Function/InvoiceService.Function/Properties/Resources.Designer.cs
3,977
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace Azure.ServiceFabric.ManagedIdentity.Samples { [Route("[controller]")] [ApiController] public class VaultController : ControllerBase { [HttpGet] pub...
27.76
82
0.651297
[ "MIT" ]
Azure-Samples/service-fabric-managed-identity
MISampleApp/MISampleWeb/Controllers/VaultController.cs
696
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
35.7
86
0.757003
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-rtc/Rtc/Transform/V20180111/DisableMAURuleResponseUnmarshaller.cs
1,428
C#
 using System; using System.IO; using System.Text; using System.Threading.Tasks; using System.Diagnostics; using Extensions; using Modules.GameText.Components; using Debug = UnityEngine.Debug; namespace Modules.GameText.Editor { public static class GameTxetExcel { //----- params ----- public...
27.472603
145
0.514834
[ "MIT" ]
oTAMAKOo/UniModules
Scripts/Modules/GameText/Editor/GameTxetExcel.cs
4,017
C#
namespace VoteApp.Application.Interfaces.Serialization.Serializers { public interface IJsonSerializer { string Serialize<T>(T obj); T Deserialize<T>(string text); } }
24.375
67
0.687179
[ "MIT" ]
andlekbra/dat250-gruppe5-VoteApp2
src/Application/Interfaces/Serialization/Serializers/IJsonSerializer.cs
197
C#
using System; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; using Serilog; using Serilog.Events; using Serilog.Sinks.SystemConsole.Themes; namespace WebApis { public class Program { public static int Main(string[] args) { Log.Logger = new Logge...
31.444444
93
0.501178
[ "MIT" ]
damienbod/azureb2c-fed-azuread
WebApis/Program.cs
1,698
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...
55.061321
141
0.59976
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20210301/NetworkWatcher.cs
11,673
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore.Migrations; namespace TokanPages.Backend.Database.Migrations { public partial class AddUserIdForeignKey : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<G...
30.255319
80
0.54571
[ "MIT" ]
TomaszKandula/TokanPages
TokanPages.Backend/TokanPages.Backend.Database/Migrations/20210128144811_AddUserIdForeignKey.cs
1,424
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...
35.459459
87
0.595274
[ "MIT" ]
AikoTsuruoka/azure-powershell
src/Batch/Batch/Models/PSApplicationPackage.cs
1,278
C#
using Chloe.Server.Dtos; using Chloe.Server.Services.Contracts; using System.Web.Http; namespace Chloe.Server.Controllers { [Authorize] [RoutePrefix("api/vendor")] public class VendorController : ApiController { public VendorController(IVendorService service) { this.service ...
28.560976
118
0.645602
[ "MIT" ]
QuinntyneBrown/dynamic-scheduling
Server/Controllers/VendorController.cs
1,171
C#
using System; using LuaInterface; using SLua; using System.Collections.Generic; public class Lua_UnityEngine_Experimental_Director_FrameData : LuaObject { [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static public int constructor(IntPtr l) { try { UnityEngine.Experimental.Director.FrameData o; ...
27.56
116
0.696178
[ "MIT" ]
zhangjie0072/Learn_FairyGUI_Slua
Assets/Slua/LuaObject/Unity/Lua_UnityEngine_Experimental_Director_FrameData.cs
4,136
C#
// ReSharper disable All using System.Collections.Generic; using System.Diagnostics; using System.Dynamic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using MixERP.Net.Api.Framework; using MixERP.Net.ApplicationState.Cache; using MixERP.Net.Common.Extensions; using MixERP.Net.Enti...
26.421488
141
0.525493
[ "MPL-2.0" ]
asine/mixerp
src/Libraries/Web API/Core/Tests/TaxBaseAmountTypeTests.cs
6,394
C#
namespace Petstore.Models { using System.Linq; public partial class Order { /// <summary> /// Initializes a new instance of the Order class. /// </summary> public Order() { } /// <summary> /// Initializes a new instance of the Order class. /// </sum...
31.129032
229
0.544041
[ "MIT" ]
fhoering/autorest
Samples/petstore/CSharp/Models/Order.cs
1,930
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.237 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated>...
43.929577
182
0.59378
[ "Apache-2.0" ]
michael-jia-sage/libgoogle
samples/YouTubeUploader/YouTubeUploader/Properties/Resources.Designer.cs
3,121
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.Globalization; using System.Threading; namespace Microsoft.Build.Shared { /// <summary> /// Class to wrap the saving and restoring ...
37.4
170
0.568627
[ "MIT" ]
AaronRobinsonMSFT/msbuild
src/Shared/ThreadPoolExtensions.cs
2,807
C#
using System.Collections.Generic; using System.Drawing; using System.Linq; using QuadTrees; using QuadTrees.QTreePointF; namespace Neusie.Generation.Image { internal class CollisionMap : ICollisionMap { public CollisionMap( int width, int height ) { Width = width; Height = height; PointTree = new Quad...
21.972727
106
0.658254
[ "MIT" ]
TheSylence/Neusie
Neusie/Generation/Image/CollisionMap.cs
2,419
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; using System.Xml.Linq; using Palmmedia.ReportGenerator.Core.Common; using Palmmedia.ReportGenerator.Core.Logging; using Palmmedia.ReportGenerator.Core.Parser....
45.825806
152
0.6058
[ "Apache-2.0" ]
304NotModified/ReportGenerator
src/ReportGenerator.Core/Reporting/History/HistoryParser.cs
7,103
C#
namespace RouteExtreme.Common { using System; using System.IO; using System.Reflection; public static class AssemblyHelpers { public static string GetDirectoryForAssembyl(Assembly assembly) { var assemblyLocation = assembly.CodeBase; var location = new UriBu...
26.947368
71
0.638672
[ "MIT" ]
zhenyaracheva/RoutExtreme
RouteExtreme.Common/AssemblyHelpers.cs
514
C#
namespace HareDu { public interface QueueDeleteCondition { /// <summary> /// Prevent delete actions on the specified queue from being successful if the queue has consumers. /// </summary> void HasNoConsumers(); /// <summary> /// Prevent delete actions on...
29.933333
111
0.603563
[ "Apache-2.0" ]
ahives/HareDu2
src/HareDu/QueueDeleteCondition.cs
451
C#
// Copyright (c) 2022 TrakHound Inc., All Rights Reserved. // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. namespace MTConnect.Devices.DataItems.Samples { /// <summary> /// The measurement of the electrical potential between two ...
33.566667
180
0.591857
[ "Apache-2.0" ]
TrakHound/MTConnect
src/MTConnect.NET-Common/Devices/DataItems/Samples/VoltageDCDataItem.cs
3,021
C#
using System.Collections.Generic; using System.Text.Json.Serialization; using Essensoft.Paylink.Alipay.Domain; namespace Essensoft.Paylink.Alipay.Response { /// <summary> /// AlipayDataDataservicePropertyBusinesspropertyBatchqueryResponse. /// </summary> public class AlipayDataDataservicePropertyBusin...
30.105263
97
0.715035
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Response/AlipayDataDataservicePropertyBusinesspropertyBatchqueryResponse.cs
596
C#
using AutoMapper; using Data.DbObjects; using Data.Entities.Identity; using Data.Interfaces; using Date; using System.Threading; using System.Threading.Tasks; namespace Data.DataProviders { public class TenantDataProvider : DataProvider<Tenant>, ITenantDataProvider { #region Fields private re...
27.860465
139
0.69616
[ "MIT" ]
mdfaizansarwer/SalootProject
src/Framework/Data/DataProviders/Tenant/TenantDataProvider.cs
1,200
C#
namespace AdventOfCode.Year2020; [TestClass] public class Day18Tests { [DataTestMethod] [DataRow(71, "1 + 2 * 3 + 4 * 5 + 6")] [DataRow(51, "1 + (2 * 3) + (4 * (5 + 6))")] [DataRow(26, "2 * 3 + (4 * 5)")] [DataRow(437, "5 + (8 * 3 + 9 + 3 * 4 * 3)")] [DataRow(12240, "5 * 9 * (7 * 3 * 3 + 9 * 3 + (8 + 6 * 4))")] ...
30.5
68
0.489754
[ "MIT" ]
sehra/advent-of-code
AdventOfCode.Tests/Year2020/Day18Tests.cs
976
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
37.375
153
0.596572
[ "MIT" ]
WhitWaldo/msgraph-sdk-dotnet
src/Microsoft.Graph/Models/Generated/PlannerBucket.cs
2,392
C#
using System.Collections.Generic; using System.Linq; using Chapter06.Examples.GlobalFactory2021; namespace Chapter06.Examples.PerformanceTraps { public static class InMemory { public static class ChoosingAClass { /// <summary> /// Key difference: IEnumerable ...
29.4
105
0.470663
[ "MIT" ]
PacktWorkshops/The-C-Sharp-Workshop
Chapter06/Examples/PerformanceTraps/InMemory.cs
2,354
C#
namespace WebSocketManager.Common { public enum MessageType { Text, ClientMethodInvocation, ConnectionEvent } public class Message { public MessageType MessageType { get; set; } public string Data { get; set; } } }
18.666667
52
0.596429
[ "MIT" ]
Elfocrash/websocket-manager
src/WebSocketManager.Common/Message.cs
282
C#
/* csvorbis * Copyright (C) 2000 ymnk, JCraft,Inc. * * Written by: 2000 ymnk<ymnk@jcraft.com> * Ported to C# from JOrbis by: Mark Crichton <crichton@gimp.org> * * Thanks go to the JOrbis team, for licencing the code under the * LGPL, making my job a lot easier. * * This program is free software; you can...
25.34382
79
0.614382
[ "MIT" ]
Alternity156/SongBrowser
AudicaMod/csvorbis/DspState.cs
11,278
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...
31.773585
131
0.619952
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20200301/Inputs/VirtualNetworkGatewayIPConfigurationArgs.cs
1,684
C#
using BEPUphysics.CollisionShapes.ConvexShapes; using BEPUutilities; using BEPUphysics.Settings; using RigidTransform = BEPUutilities.RigidTransform; namespace BEPUphysics.CollisionTests.CollisionAlgorithms.GJK { ///<summary> /// Helper class containing various tests based on GJK. ///</summary> publ...
53.809619
211
0.606234
[ "MIT" ]
Ramobo/ge
src/BEPU/BEPUphysics/CollisionTests/CollisionAlgorithms/GJK/GJKToolbox.cs
26,853
C#
using Cocos2D; namespace tests { public class SpriteDemo : CCLayer { private string s_pPathB1 = "Images/b1"; private string s_pPathB2 = "Images/b2"; private string s_pPathF1 = "Images/f1"; private string s_pPathF2 = "Images/f2"; private string s_pPathR1 = "Images/r1"; ...
32.416667
95
0.568858
[ "MIT" ]
Karunp/cocos2d-xna
tests/tests/classes/tests/ActionsProgressTest/SpriteDemo.cs
2,723
C#
using System; using System.Collections; using System.Data; using System.Globalization; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using Abp.Extensions; using ABD.ADSearches.Dto; using ABD.Domain.Dtos; namespace ABD { public static class ADQueryBuilder { priv...
36.846978
486
0.379244
[ "MIT" ]
aansadiqul/New
aspnet-core/src/ABD.Application/QueryBuilder/ADQueryBuilder.cs
48,161
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using RazorPages.Data; using RazorPages.Infrastrucutre; using RazorPages.Models; namespace RazorPages.Pages.BookList { public class CreateMode...
22.215686
78
0.610768
[ "MIT" ]
Fudalii/MVC_Net_Core
RAZOR_pages/RazorPages/RazorPages/Pages/BookList/Create.cshtml.cs
1,136
C#
// ReSharper disable All using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Web.Http; using MixERP.Net.Schemas.Transactions.Data; using MixERP.Net.EntityParser; using MixERP.Net.Framework.Extensions; using PetaPoco; using CustomField = PetaPoco.CustomField; namespace ...
29.155039
129
0.613401
[ "MPL-2.0" ]
asine/mixerp
src/Libraries/Web API/Transactions/Fakes/RoutineRepository.cs
3,761
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace EveryplayEditor.XCodeEditor { public class PBXBuildPhase : PBXObject { protected const string FILES_KEY = "files"; public PBXBuildPhase() : base() { internalNewlines = true; } public PBXBuildPhase(str...
21.621053
99
0.642648
[ "Apache-2.0" ]
408794550/871AR
Assets/Editor/Everyplay/XCodeEditor/PBXBuildPhase.cs
2,054
C#
namespace MCAdmin { partial class frmProperties { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
49.989691
164
0.576511
[ "BSD-3-Clause" ]
astory/MCAdmin
MCAdmin/frmProperties.Designer.cs
29,096
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BlazorComponent { public static class DatePickerHeaderAbstractProviderExtensitions { public static ComponentAbstractProvider ApplyDatePickerHeaderDefault(this ComponentAbstract...
33.052632
125
0.742038
[ "MIT" ]
BlazorComponent/BlazorComponent
src/Component/BlazorComponent/Components/DatePicker/DatePickerHeader/DatePickerHeaderAbstractProviderExtensitions.cs
630
C#
using System; using System.Runtime.InteropServices; namespace Meziantou.Framework.Win32.Natives { [ComImport(), Guid(IIDGuid.IFileSaveDialog), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] internal interface IFileSaveDialog : IFileDialog { [PreserveSig] new int Show([In] Int...
61.955556
258
0.729197
[ "MIT" ]
DomLatr/Meziantou.Framework
src/Meziantou.Framework.Win32.Dialogs/Natives/IFileSaveDialog.cs
2,790
C#
// (c) Copyright HutongGames, LLC 2010-2021. All rights reserved. // NOTE: The new Input System and legacy Input Manager can both be enabled in a project. // This action was developed for the old input manager, so we will use it if its available. // If only the new input system is available we will try to use that in...
24.197802
130
0.621253
[ "MIT" ]
euphoriaer/Roguelike-fantasy
Project/ARMRP-unity/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseX.cs
2,202
C#
using _03BarracksFactory.Contracts; namespace _03BarracksFactory.Core.Commands { public class Report : Command { public Report(string[] data, IRepository repository, IUnitFactory factory) : base(data, repository, factory) { } public override string Execute() ...
23.555556
82
0.606132
[ "MIT" ]
SonicTheCat/CSharp-OOP-Advanced
08.Reflection And Attributes - Exercise/04.BarrackWarsTheCommandsStrikeBack/Core/Commands/Report.cs
426
C#
using System; using ImGuiNET; using Microsoft.Xna.Framework.Graphics; using Num = System.Numerics; namespace Nez.ImGuiTools { class CoreWindow { string[] _textureFilters; float[] _frameRateArray = new float[100]; int _frameRateArrayIndex = 0; public CoreWindow() { ...
37.104478
215
0.586484
[ "MIT" ]
AlmostBearded/monogame-platformer
Platformer/Nez/Nez.ImGui/Inspectors/CoreWindow.cs
2,486
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Brobot.Models.Economy; using Discord.WebSocket; using RestSharp; namespace Brobot.Helpers { public class EconomyHelper { public static void DepositEconomy(ulong d...
34.215385
133
0.578687
[ "MIT" ]
DavCam05/Brobot
Helpers/EconomyHelper.cs
2,226
C#