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
namespace Game.Util { using Game.Util.Commands; using McMaster.Extensions.CommandLineUtils; using System; using System.Threading.Tasks; public class Program { public async static Task<int> Main(string[] args) { try { return await CommandL...
23.481481
84
0.506309
[ "MIT" ]
daud-io/daud
Game.Util/Program.cs
636
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class WorldGenerator : MonoBehaviour { public Transform world; public Transform player; public GameObject obstaclePrefab; public Material worldMaterial; Vector2Int dimensions; Vector2 size; ...
34.771144
143
0.574188
[ "MIT" ]
CallumFerguson/CS4610FinalProject
Assets/Scripts/WorldGenerator.cs
6,991
C#
using System; using System.ComponentModel; using System.Windows.Data; using AVM.DDP; namespace PETBrowser { public class TBManifestViewModel { public MetaTBManifest Manifest { get; set; } public ICollectionView Dependencies { get; set; } public ICollectionView Artifacts { get; set; }...
36.040816
113
0.666478
[ "MIT" ]
lefevre-fraser/openmeta-mms
src/PETBrowser/TBManifestViewModel.cs
1,768
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...
30.532967
117
0.566853
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/GameLift/Generated/Model/UpdateFleetPortSettingsRequest.cs
5,557
C#
using GraphQL.Net; namespace Tests { public class StarWarsTests { public static void BasicQueryHero<TContext>(GraphQL<TContext> gql) { var results = gql.ExecuteQuery("query HeroNameQuery { hero { name } }"); Test.DeepEquals(results, "{ hero: { name: 'R2-D2' } }"); ...
33.021352
145
0.374609
[ "MIT" ]
nexussays/graphql-net
Tests/StarWarsTests.cs
9,281
C#
using BrightIdeasSoftware; using EAAddinFramework.Mapping; using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Windows.Forms; using MP = MappingFramework; using UML = TSF.UmlToolingFramework.UML; namespace EAMapping { /// <summary> /// Description of MappingCo...
38.130435
112
0.560954
[ "BSD-2-Clause" ]
CuchulainX/Enterprise-Architect-Toolpack
EAMapping/MappingControlGUI.cs
20,173
C#
#region Using Statements using System; using System.Collections.Generic; using System.Linq; #endregion namespace OldStylePlatformingGame { #if WINDOWS || LINUX /// <summary> /// The main class. /// </summary> public static class Program { private static Game1 game; /// <summary> ...
19.258065
61
0.562814
[ "MIT" ]
adamuso/OldStylePlatformingGame
OldStylePlatformingGame/Program.cs
599
C#
//-------------------------------------------------------- // This code is generated by AutoFastGenerator. // You should not modify the code. //-------------------------------------------------------- namespace FlowScriptEngineBasicExtension.FlowSourceObjects.Hashtable { public partial class ParseFloatValueFlowSo...
31.395833
107
0.473789
[ "Apache-2.0" ]
KHCmaster/PPD
Win/FlowScriptEngineBasicExtension/FlowSourceObjects/Hashtable/ParseFloatValueFlowSourceObject.AutoFast.cs
1,509
C#
// /* // * Copyright (c) 2014, Furore (info@furore.com) and contributors // * See the file CONTRIBUTORS for details. // * // * This file is licensed under the BSD 3-Clause license // * available at https://raw.github.com/furore-fhir/spark/master/LICENSE // */ namespace Spark.Engine.Service.FhirServiceExtensions ...
34.333333
79
0.704577
[ "BSD-3-Clause" ]
jjrdk/spark
src/Spark.Engine/Service/FhirServiceExtensions/ISnapshotPaginationCalculator.cs
721
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; namespace Lyu { public class GenBezierCoordObjs : MonoBehaviour { public BezierCurve _BCurve; public float _AlongStart = 0.0f, _AlongStep = 0.05f; public float _ShiftStart = 0.5f, _ShiftStep = 0.0f; publi...
21.647059
93
0.678261
[ "MIT" ]
iniwap/LianQiClient
Assets/MiroChessBord/Utils/SpecialCoordSystem/GenBezierCoordObjs.cs
1,842
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using OfficeDevPnP.Core.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.SharePoint.Client; using OfficeDevPnP.Core.Enums; namespace OfficeDevPnP.Core.Tests.AppMod...
41.291139
158
0.597486
[ "MIT" ]
phrueegsegger/PnP-Sites-Core
Core/OfficeDevPnP.Core.Tests/Extensions/StructuralNavigationExtensionsTests.cs
6,526
C#
// /* // * Copyright (c) 2014, Furore (info@furore.com) and contributors // * See the file CONTRIBUTORS for details. // * // * This file is licensed under the BSD 3-Clause license // * available at https://raw.github.com/furore-fhir/spark/master/LICENSE // */ namespace Spark.Postgres { using Marten; pu...
29.571429
74
0.50628
[ "BSD-3-Clause" ]
jjrdk/spark
src/Spark.Postgres/FhirRegistry.cs
1,037
C#
// The MIT License (MIT) // // Copyright (c) 2015-2020 Rasmus Mikkelsen // Copyright (c) 2015-2020 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software...
43.181818
114
0.751053
[ "MIT" ]
AhLay/EventFlow
Source/EventFlow.Tests/UnitTests/ReadStores/TestAsyncReadModel.cs
1,900
C#
using System; using System.Collections.Generic; using System.Linq; using Content.Shared.AI; using Robust.Client.Graphics; using Robust.Client.Player; using Robust.Shared.Enums; using Robust.Shared.GameObjects; using Robust.Shared.IoC; using Robust.Shared.Map; using Robust.Shared.Maths; using Robust.Shared.Prototypes; ...
34.992293
125
0.516491
[ "MIT" ]
BingoJohnson/space-station-14
Content.Client/GameObjects/EntitySystems/AI/ClientPathfindingDebugSystem.cs
18,163
C#
using System.Windows.Forms; namespace ScannerProject { partial class f_AddOrRemoveStudentForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources bei...
43.381356
140
0.610666
[ "MIT" ]
rohitrtk/ScannerProject
f_AddOrRemoveStudentForm.Designer.cs
5,121
C#
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace Microsoft.Azure.Cosmos.Tests { using System; using System.Collections.Generic; using System.IO; using Sy...
48.977273
225
0.601444
[ "MIT" ]
Camios/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/CosmosQueryUnitTests.cs
19,397
C#
// Copyright (c) Peter Vrenken. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia namespace EtAlii.xTechnology.Hosting.Tests.Infrastructure.Grpc { public class AuthenticationServiceFactory : IServiceFactory { public IService Create(ServiceConfiguration configuration, Sta...
40.5
146
0.775309
[ "MIT" ]
vrenken/EtAlii.Ubigia
Source/Frameworks/EtAlii.xTechnology.Hosting/Tests/EtAlii.xTechnology.Hosting.Tests.TestSystem1.Grpc/Authentication/AuthenticationServiceFactory.cs
407
C#
namespace Globe30Chk { partial class Form1 { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 ...
68.821248
183
0.691137
[ "MIT" ]
KangErLong/land-cover-data-checking
Form1.Designer.cs
40,971
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 Microsoft.CodeAnalysis.Test.Utilities; using Microsoft.VisualStudio.IntegrationTest.Utilities; using Roslyn.Test.Utilities; using Xunit; namespace Ros...
38.354839
161
0.723297
[ "Apache-2.0" ]
Suchiman/roslyn
src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpSquigglesDesktop.cs
1,191
C#
/** * Name:Train.Models-aers_tbl_hospdep * Author: banshine * Description: aers_tbl_hospdep 实体层 * Date: 2015-6-8 10:57:02 * */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Serialization; namespace Aersysm.Domain { [DataContract] public ...
18.7
53
0.425751
[ "Apache-2.0" ]
TanHaoran/NurseService1.0
Aersysm.Domain/aers_tbl_hospdep.cs
2,439
C#
/* * Mail Baby API * * This is an API defintion for accesssing the Mail.Baby mail service. * * The version of the OpenAPI document: 1.0.0 * Contact: detain@interserver.net * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections.Generic; using System.Net;...
30.285714
135
0.546384
[ "MIT" ]
interserver/mailbaby-api-samples
openapi-client/csharp-netcore/src/Org.OpenAPITools/Client/ApiResponse.cs
5,088
C#
using Engine.Mongo.Entity; using Engine.Mongo.Operation; using MongoDB.Bson; using MongoDB.Driver; using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using System.Threading.Tasks; namespace Engine.Mongo.Template { /// 提供 push-pull-sync-transaction 操作的分布式库 /// 支持...
38.815534
174
0.461856
[ "MIT" ]
KIWI-ST/kiwi.server
Laboratory/Engine.Mongo/Template/MemoryCacheTemplate.cs
8,458
C#
//----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace Microsoft.Tools.ServiceModel.ComSvcConfig { using System; using System.ServiceMo...
39.429825
191
0.556396
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/cdf/src/WCF/Tools/comsvcutil/ComAdminWrapper.cs
35,960
C#
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, co...
36.895833
93
0.734613
[ "MIT" ]
TetradogOther/SharpDevelop
src/AddIns/Misc/Reporting/ICSharpCode.Reporting/Src/Items/BaseRowItem.cs
1,773
C#
using System; using System.IO; using Conjuntos.Entities; using System.Collections.Generic; namespace Conjuntos { class Program { static void Main(string[] args) { HashSet<LogRecords> set = new HashSet<LogRecords>(); Console.WriteLine("Enter file full path: "); ...
26.684211
87
0.469428
[ "MIT" ]
AllisonSBahls/csharp
Conjuntos/Conjuntos/Program.cs
1,016
C#
/* Copyright 2019 Esri 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, ...
36.254545
84
0.746239
[ "Apache-2.0" ]
Dithn/arcgis-pro-sdk-community-samples
Framework/HookProCommands/Properties/AssemblyInfo.cs
1,995
C#
using UnityEngine; using UnityEditor; using System.Collections.Generic; using System.Linq; using com.spacepuppy; namespace com.spacepuppyeditor { public class ComponentHeaderDrawer : GUIDrawer { #region Fields private ComponentHeaderAttribute _attribute; private System.Type _compone...
19.574074
83
0.637654
[ "Unlicense" ]
dipique/spacepuppy-unity-framework-3.0
SpacepuppyUnityFrameworkEditor/ComponentHeaderDrawer.cs
1,059
C#
using System.Collections.Generic; public class Item { public List<MotionPathData> motionPathData; public int recordDay; }
17.2
55
0.581395
[ "MIT" ]
s-albert/GtToGpx
model/Item.cs
172
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...
69.95288
492
0.705561
[ "MIT" ]
Agazoth/azure-powershell
src/LabServices/generated/api/Models/Api20211001Preview/ScheduleUpdateProperties.cs
13,171
C#
using System; using System.Collections.Generic; namespace MicroFeel.YonYou.EntityFrameworkCore.Data { public partial class OmMomaterials { public int MomaterialsId { get; set; } public int MoDetailsId { get; set; } public int Moid { get; set; } public string CInvCode { get; set...
43.397849
58
0.593409
[ "Apache-2.0" ]
microfeel/Yonyou
MicroFeel.YonYou.EntityFrameworkCore/Data/OmMomaterials.cs
4,038
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace OneStoryProjectEditor { public partial class TopForm : Form { public TopForm() { ...
21.83871
78
0.602659
[ "MIT" ]
bobeaton/OneStoryEditor
StoryEditor/TopForm.cs
679
C#
using Research.Web.Framework.Models; using System.ComponentModel.DataAnnotations; namespace Research.Web.Models.Messages { /// <summary> /// Represents an email account model /// </summary> // [Validator(typeof(EmailAccountValidator))] public partial class EmailAccountModel : BaseEntityModel { ...
37.877551
100
0.695043
[ "MIT" ]
Sakchai/ResearchProject
Research.Web.Framework/Models/Messages/EmailAccountModel.cs
1,858
C#
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Linq.Expressions; using CrmSystem.Domain.Models; using CrmSystem.Domain.Repositories; namespace CrmSystem.EntityFramework.Repositories { public class ContactNoteRepository : Repository<ContactNote>, IContactN...
33.961538
100
0.689694
[ "MIT" ]
eabasquliyev/CRMSystem
CrmSystem.EntityFramework/Repositories/ContactNoteRepository.cs
885
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...
40.666667
192
0.630791
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/GuardDuty/Generated/Model/Internal/MarshallTransformations/DescribePublishingDestinationResponseUnmarshaller.cs
5,612
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.ComponentModel; namespace Azure.ResourceManager.ConnectedVmware.Models { /// <summary> The type of managed service identity. </summary> public rea...
44.423077
131
0.670563
[ "MIT" ]
RecencyBias/azure-sdk-for-net
sdk/connectedvmware/Azure.ResourceManager.ConnectedVmware/src/Generated/Models/IdentityType.cs
2,310
C#
// Copyright (c) 2021 Jon P Smith, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/ // Licensed under MIT license. See License.txt in the project root for license information. namespace AuthPermissions.SetupCode { /// <summary> /// The different database types that AuthPermissions supports //...
33.166667
114
0.619347
[ "MIT" ]
JonPSmith/AuthPermissions.AspNetCore
AuthPermissions/SetupCode/DatabaseTypes.cs
798
C#
using o2g.Types.RoutingNS; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace o2g.Internal.Types.Routing { internal class O2GRoutingState { public List<PresentationRoute> PresentationRoutes { get; set; } public List<For...
30
87
0.494444
[ "MIT" ]
ALE-OPENNESS/CSharp-SDK
Internal/Types/Routing/O2GRoutingState.cs
2,342
C#
/* * Copyright (c) Contributors, http://vision-sim.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * For an explanation of the license of each contributor and the content it * covers please see the Licenses directory. * * Redistribution and use in source and binary forms, with or without ...
43.337349
110
0.641646
[ "MIT" ]
VisionSim/Vision-Sim
Vision/Framework/Modules/ITerrainChannel.cs
3,597
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("13...
37.918919
84
0.743407
[ "MIT" ]
mirkatabga/TelerikAcademyHomeworks
Data-Structures-and-Algorithms/LinearDataStructuresHomework/13. LinkedQueue/Properties/AssemblyInfo.cs
1,406
C#
using System; using System.Collections.Generic; using System.Text; using System.Xml.Serialization; namespace SoftJail.DataProcessor.ExportDto { [XmlType("Message")] public class ExportMessageDto { public string Description { get; set; } } }
19.071429
47
0.715356
[ "Apache-2.0" ]
KostadinovK/CSharp-DB
02-Entity Framework Core/13-Past Exams/Exam 12.08.2018/SoftJail/DataProcessor/ExportDto/ExportMessageDto.cs
269
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class UIController : MonoBehaviour { [SerializeField] private Slider racistSlider; [SerializeField] private Toggle invertControlsToggle; [SerializeField] private InputF...
26.780488
135
0.658925
[ "MIT" ]
RokKos/keep-it-in-the-pants
keep-it-in-the-pants/Assets/Scripts/UIController.cs
2,198
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using ExtensionBlocks; namespace RegistryPlugin.OpenSavePidlMRU.ShellItems { public class ShellBag0X1F : ShellBag { private readonly Li...
31.181159
112
0.489891
[ "MIT" ]
AndrewRathbun/RegistryPlugins
RegistryPlugin.OpenSavePidlMRU/ShellItems/ShellBag0x1f.cs
12,911
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Attractor : MonoBehaviour { public float rotationPull = 1.0f; public float mass = 1.0f; private const float gravitationalPull = 667.4f; private void Start() { } void FixedUpdate() { } ...
30.204082
107
0.671622
[ "MIT" ]
cortexarts/Otter-Space-Prototype
Prototype/Assets/Scripts/Controllers/Attractor.cs
1,482
C#
using System.Collections.Generic; using SecureByDesign.Host.Domain.Model; namespace SecureByDesign.Host.Domain.Services { public class ProductResult { public ProductResult(ServiceResult result, Product product) { Result = result; Value = product; } publi...
22.3125
85
0.607843
[ "MIT" ]
Omegapoint/rest-sec
labs/6-secdesign/Host/Domain/Services/ProductResult.cs
714
C#
// Copyright 2018-2020 Finbuckle LLC, Andrew White, and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless r...
37.5
80
0.734444
[ "Apache-2.0" ]
861191244/Finbuckle.MultiTenant
src/Finbuckle.MultiTenant/MultiTenantOptions.cs
900
C#
// ************************************************************* // project: graphql-aspnet // -- // repo: https://github.com/graphql-aspnet // docs: https://graphql-aspnet.github.io // -- // License: MIT // ************************************************************* namespace GraphQL.AspNet.Schemas.TypeSystem { ...
39.801653
124
0.58451
[ "MIT" ]
NET1211/aspnet-archive-tools
src/graphql-aspnet/Schemas/TypeSystem/EnumGraphType.cs
4,818
C#
using Bucket.Rpc.Messages; using Newtonsoft.Json; using System.Text; namespace Bucket.Rpc.Transport.Codec.Implementation { public sealed class JsonTransportMessageEncoder : ITransportMessageEncoder { #region Implementation of ITransportMessageEncoder public byte[] Encode(TransportMessage mess...
26.6
78
0.714286
[ "MIT" ]
q315523275/.net-core-
src/Rpc/DotNetty/Bucket.Rpc/Transport/Codec/Implementation/JsonTransportMessageEncoder.cs
534
C#
using System; using System.Collections.Generic; using System.Text; namespace DrawniteCore.Networking { public static class Constants { public static readonly string SERVER_IP = "127.0.0.1"; public static readonly int AUTH_PORT = 20000; } }
20.769231
62
0.703704
[ "MIT" ]
Stijnn/DrawniteIO
DrawniteIO/DrawniteCore/Networking/Constants.cs
272
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using MvvmCross.Core.ViewModels; using MvvmCrossBackstack.Core.PresentationHints; namespace MvvmCrossBackstack.Core.ViewModels { public class UserDashboardViewModel : Mvx...
27.32
109
0.614934
[ "MIT" ]
MartinZikmund/blog-2017
MvvmCrossBackstack/MvvmCrossBackstack.Core/ViewModels/UserDashboardViewModel.cs
1,368
C#
 namespace HaberPortal.Formlar { partial class FormRegister { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
52.822222
173
0.609498
[ "MIT" ]
SalimUlusoy/HaberPortal
HaberPortal/HaberPortal/Formlar/FormRegister.Designer.cs
21,408
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Reflection; using Newtonsoft.Json; using NBitcoin.JsonConverters; namespace BTCPayServer.JsonConverters { class DateTimeMilliJsonConverter : JsonConverter { public override bool CanConvert(Typ...
36.015385
124
0.604443
[ "MIT" ]
Argoneum/btcpayserver
BTCPayServer/JsonConverters/DateTimeMilliJsonConverter.cs
2,343
C#
using System; namespace Supertext.Base.Http { public interface IUriBuilder { Uri CreateAbsoluteUri(string relativeUrl); /// <summary> /// To use ResolveUrl, the URL template should contain the place holder {domain} /// </summary> /// <param name="urlTemplate"></param> ...
25.1875
88
0.60794
[ "MIT" ]
Supertext/Supertext.Base
Supertext.Base/Http/IUriBuilder.cs
405
C#
 namespace com.spacepuppy { /// <summary> /// Just a name for contract purposes. You should probably inherit from RadicalYieldInstruciton, or composite it, unless /// you know what you're doing. /// </summary> public interface IRadicalYieldInstruction { /// <summary> /// The ...
24.918367
140
0.593366
[ "MIT" ]
ronaldgameking/spacepuppy-unity-framework-4.0
Framework/com.spacepuppy.radicalcoroutine/Runtime/src/IRadicalYieldInstruction.cs
2,444
C#
using System; using System.Collections.Generic; #nullable disable namespace Lab3.Models { public partial class Track { public int TrackId { get; set; } public string Name { get; set; } public int? AlbumId { get; set; } public int MediaTypeId { get; set; } public int? G...
27.28
56
0.595308
[ "MIT" ]
Alanomari/ITHSDATABASLab3
Lab3/Models/Track.cs
684
C#
using System; using System.Collections.Generic; using InputHelper; using Microsoft.Xna.Framework; namespace MenuBuddy { /// <summary> /// This is a button thhat contains a relaitve layout /// </summary> public class StackLayoutButton : LayoutButton<StackLayout>, IStackLayout { #region Properties public Stack...
21.492308
75
0.678239
[ "MIT" ]
dmanning23/MenuBuddy
MenuBuddy/MenuBuddy.SharedProject/Widgets/Buttons/StackLayoutButton.cs
2,794
C#
using System.Threading.Tasks; public static class AsyncTestHelper { private const int Timeout = 50; public static T Resolve<T>(Task<T> task) { task.Wait(Timeout); return task.Result; } }
18.333333
44
0.645455
[ "MIT" ]
smbc-digital/iag-contentapi
test/StockportContentApiTests/Unit/Repositories/AsyncTestHelper.cs
220
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace I_Got_Next_2.Controller { [Route("api/[controller]")] [ApiController] public class GamesController : ControllerBase { } }
21
49
0.752381
[ "MIT" ]
rtate2/i-got-next-2
I-Got-Next-2/Controller/GamesController.cs
317
C#
using System; using System.Text; namespace kbinxmlcs { internal class NodeBuffer : BigEndianBinaryBuffer { private readonly Encoding _encoding; private readonly bool _compressed; internal NodeBuffer(bool compressed, Encoding encoding) { _compressed = compressed; ...
26.301887
93
0.543759
[ "MIT" ]
NKZsmos/kbinxmlcs
kbinxmlcs/NodeBuffer.cs
1,396
C#
using UnityEngine; using Fragsurf.TraceUtil; namespace Fragsurf.Movement { public class SurfPhysics { ///// Fields ///// /// <summary> /// Change this if your ground is on a different layer /// </summary> public static int groundLayerMask = LayerMask.GetMask("Default",...
38.732394
136
0.50613
[ "MIT" ]
Enovale/SpookyDemo
Assets/Modified fragsurf/Movement/SurfPhysics.cs
19,252
C#
 using loon.geom; using loon.utils; using loon.utils.reply; namespace loon.opengl { public abstract class Painter : TextureSource { public object Tag; public const int TOP_LEFT = 0; public const int TOP_RIGHT = 1; public const int BOTTOM_RIGHT = 2; public const int BOTTOM_LEFT = 3; public abstrac...
21.716418
161
0.684536
[ "Apache-2.0" ]
TheMadTitanSkid/LGame
C#/Loon2MonoGame/LoonMonoGame-Lib/loon/opengl/Painter.cs
1,457
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Localization; using Microsoft.Extensions.Logging; using Skoruba.IdentityServer4.Admin.BusinessLogic.Identity.Dtos.Grant; using Skoruba.IdentityServer4.Admin.BusinessLogic.Identity.Services...
39.3
260
0.727099
[ "MIT" ]
DORAdreamless/IdentityServer4.Admin
src/Skoruba.IdentityServer4.Admin.Api/Controllers/GrantController.cs
3,146
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEditor; using UnityEngine; namespace FMODUnity { [CustomEditor(typeof(StudioBankLoader))] [CanEditMultipleObjects] public class StudioBankLoaderEditor : Editor { public override void OnInspectorGUI...
39.089286
101
0.573778
[ "BSD-2-Clause" ]
SashaZHdK/WormTamagotchi
AR-Sandbox-master/Assets/Plugins/Editor/FMOD/StudioBankLoaderEditor.cs
4,380
C#
#region Copyright and License // Copyright 2010..2016 Alexander Reinert // // This file is part of the ARSoft.Tools.Net - C# DNS client/server and SPF Library (http://arsofttoolsnet.codeplex.com/) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance ...
29.578125
121
0.701004
[ "Apache-2.0" ]
TomWeps/ARSoft.Tools.Net-Modified
ARSoft.Tools.Net/Dns/EDns/NsIdOption.cs
1,895
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. namespace Microsoft.AspNetCore.Identity { /// <summary> /// Specifies the results for password verification. /// </summary> public enum ...
31.518519
120
0.627497
[ "Apache-2.0" ]
06b/AspNetCore
src/Identity/Extensions.Core/src/PasswordVerificationResult.cs
851
C#
using System; using System.Collections.Generic; using System.Text; namespace Researcher.Bot.Integration.ElasticSearch.Interfaces { public interface IElasticSearchConfig { string Uri { get; set; } string DefaultIndex { get; set; } string[] AllIndices { get; set; } int MaxDocumen...
24.125
61
0.650259
[ "Apache-2.0" ]
esterkaufman/Elastic-Slack-NetCore-SmartBot
Researcher.Bot.Integration.ElasticSearch/Interfaces/IElasticSearchConfig.cs
388
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; namespace RazorWebSite.Controllers { public class BackSlashController : Controller { public IActionResult Index() => View(@"Views\Bac...
29.833333
86
0.740223
[ "MIT" ]
48355746/AspNetCore
src/Mvc/test/WebSites/RazorWebSite/Controllers/BackSlashController.cs
358
C#
using System; using System.Collections.Generic; using FizzWare.NBuilder; using NTestDataBuilder; using TestFixtureDataPresentation.Implementation.Models; using TestFixtureDataPresentation.Tests._05_TestDataBuilderAndObjectMother.Builders; namespace TestFixtureDataPresentation.Tests._05_TestDataBuilderAndObject...
29.803279
100
0.588009
[ "MIT" ]
robdmoore/TestFixtureDataGenerationPresentation
TestFixtureDataPresentation/Tests/05_TestDataBuilderAndObjectMother/Builders/ProductBuilder.cs
1,760
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut generi...
29.844444
96
0.680566
[ "MIT" ]
georghinkel/ttc2017smartGrids
generator/COSEM/IManagementLogicalDevice.cs
1,345
C#
// Copyright © 2018 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.ComponentModel.DataAnnotations; using Platformus.Barebone.Backend.ViewModels; namespace Platformus.Security.Backend.ViewModels.Account...
30.75
111
0.752033
[ "Apache-2.0" ]
5118234/Platformus
src/Platformus.Security.Backend/Areas/Backend/ViewModels/Account/ResetPassword/ResetPasswordViewModel.cs
495
C#
using BlazorBoilerplate.Infrastructure.Storage.DataModels; using BlazorBoilerplate.Shared.Localizer; using Breeze.Persistence; using Finbuckle.MultiTenant; using FluentValidation; using IdentityModel; using Microsoft.AspNetCore.Http; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Localization; using S...
39.305556
163
0.651943
[ "MIT" ]
genkokudo/BlizzardHaunt
src/Server/BlazorBoilerplate.Storage/ApplicationPersistenceManager.cs
3,040
C#
/* * * (c) Copyright Ascensio System Limited 2010-2021 * * 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 appli...
32.553191
108
0.617647
[ "Apache-2.0" ]
jeanluctritsch/CommunityServer
common/ASC.Data.Storage/TenantPath.cs
1,530
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Scrumptious.Data.Mode...
34.636364
122
0.677822
[ "MIT" ]
kurtispe/Scrumptious
src/Scrumptious.Service/Startup.cs
1,526
C#
namespace JustOrderIt.Web.Areas.Public.ViewModels.Products { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; using Properties; using JustOrderIt.Data.Models; public class ProductInfoPartialViewM...
31.25641
89
0.628384
[ "MIT" ]
mpenchev86/ASP.NET-MVC-FinalProject
Source/Web/JustOrderIt.Web/Areas/Public/ViewModels/Products/ProductInfoPartialViewModel.cs
1,221
C#
namespace qweqwe { partial class almayanlar { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param ...
48.744643
215
0.585229
[ "MIT" ]
Meeyzt/Sunnet-kiyafeti-dagitim-uygulamasi
almayanlar.Designer.cs
27,337
C#
namespace ArmyOfCreatures.Extended.Specialties { using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using Logic.Battles; using Logic.Specialties; public class DoubleAttackWhenAttacking : S...
28.280702
118
0.565136
[ "MIT" ]
VVoev/Telerik-Academy
05.C#ObjectOrientedProgramming/ExamPreparation/OOP6April2015/ArmyOfCreatures/Source/ArmyOfCreatures/Extended/Specialties/DoubleAttackWhenAttacking.cs
1,614
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.Globalization; namespace System.Windows.Forms { public abstract partial class AxHost { ...
27.451613
78
0.59342
[ "MIT" ]
AArnott/winforms
src/System.Windows.Forms/src/System/Windows/Forms/AxHost.TypeLibraryTimeStampAttribute.cs
851
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.3040 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
27.052632
81
0.470817
[ "MIT" ]
Code-Inside/Samples
2009/MVCNestedMasterPagesDynamicContent/MVCNestedMasterPagesDynamicContent/Views/Account/ChangePassword.aspx.designer.cs
516
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Threading.Tasks; using Microsoft.Coyote.Specifications; using Xunit; using Xunit.Abstractions; namespace Microsoft.Coyote.SystematicTesting.Tests.Tasks { public class TaskInterfaceTests : BaseSystematicTest { publ...
25.782609
67
0.564081
[ "MIT" ]
arunt1204/coyote
Tests/Tests.SystematicTesting/Tasks/TaskInterfaceTests.cs
1,188
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; namespace NuGet.Services.Validation { /// <summary> /// The details requires for requesting the status of an asynchronous valida...
40.181818
120
0.636878
[ "Apache-2.0" ]
DalavanCloud/ServerCommon
src/NuGet.Services.Contracts/Validation/IValidationRequest.cs
1,770
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由T4模板自动生成 // 生成时间 2020-12-17 09:34:52 // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失 // 作者:Harbour CTS // </auto-generated> //-----------------------------------------------------------...
20.48
81
0.416016
[ "MIT" ]
Cythsic/ManagementSys_Api
GMS.BLL/T4.DapperExt/HealthExamBLL.cs
622
C#
using System; namespace NumberDuplexes { public class Program { public static void Main(string[] args) { string[] parts = Console.ReadLine().Split(' '); int[] numbers = new int[parts.Length]; for (int i = 0; i < numbers.Length; i++) { ...
22.030303
65
0.431912
[ "MIT" ]
SpleefDinamix/SoftuniCSFundamentalsExtended
ArraysExercises/NumberDuplexes/Program.cs
729
C#
using Newtonsoft.Json; namespace Frau.Models { public class ExpandedShare : Share { [JsonProperty("user")] public User User { get; set; } } }
17.1
38
0.602339
[ "MIT" ]
mika-sandbox/dotnet-mixier-api-wrapper
Sources/Frau/Models/ExpandedShare.cs
173
C#
using Newtonsoft.Json; using System.Collections.Generic; namespace MMRMS.Windows.Models { /// <summary> /// The model for the mcmod.info /// </summary> public class McModInfo { [JsonProperty("modid")] public string Modid { get; set; } [JsonProperty("name")] public ...
24.979167
55
0.582986
[ "MIT" ]
Haveachin/MMRMS
MMRMS/MMRMS.Windows/Models/McModInfo.cs
1,201
C#
// // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2015 Jb Evain // Copyright (c) 2008 - 2011 Novell, Inc. // // Licensed under the MIT/X11 license. // namespace ILRuntime.Mono.Cecil { public interface IMarshalInfoProvider : IMetadataTokenProvider { bool HasMarshalInfo { get; } MarshalIn...
22.871795
107
0.700673
[ "MIT" ]
172672672/Confused_ILRuntime
Mono.Cecil/Mono.Cecil/IMarshalInfoProvider.cs
892
C#
using CommunicationProtocol.Serialization; using System; using System.Numerics; namespace CommunicationProtocol { public interface IActor : IBinarySerializable, IEquatable<IActor> { Vector2 Position { get; } } }
19.5
69
0.739316
[ "Apache-2.0" ]
Nono02P/Communication-Protocol
CommunicationProtocol/GameObjects/IActor.cs
236
C#
namespace Horizon.Payment.Alipay.Response { /// <summary> /// AlipayOpenAppOpenbizmockMessageSendResponse. /// </summary> public class AlipayOpenAppOpenbizmockMessageSendResponse : AlipayResponse { } }
22.7
77
0.713656
[ "Apache-2.0" ]
bluexray/Horizon.Sample
Horizon.Payment.Alipay/Response/AlipayOpenAppOpenbizmockMessageSendResponse.cs
229
C#
#if UNITY_EDITOR using UnityEngine; using UnityEditor; namespace UnityExtensions.Editor { public class BasePropertyDrawer : PropertyDrawer { /// <summary> /// BasePropertyDrawer /// </summary> public override float GetPropertyHeight(SerializedProperty property, GUIContent labe...
27.5
96
0.649761
[ "MIT" ]
darktable/UnityExtensionsCommon
Runtime/Editor/Types/BasePropertyDrawer.cs
1,047
C#
namespace AbstractFactory.Conceptual { // Concrete Products are created by corresponding Concrete Factories. class ConcreteProductA1 : IAbstractProductA { public string UsefulFunctionA() { return "The result of the product A1."; } } }
24
73
0.649306
[ "MIT" ]
BaiGanio/Design-Patterns
project/src/Creational/AbstractFactory/AbstractFactory.Conceptual/Products (Family)/ConcreteProductA1.cs
290
C#
namespace Framework.WebApi.Areas.HelpPage.ModelDescriptions { public class EnumValueDescription { public string Documentation { get; set; } public string Name { get; set; } public string Value { get; set; } } }
22.545455
59
0.649194
[ "MIT" ]
fhnaseer/CSharping
CSharp/Framework.WebApi/Areas/HelpPage/ModelDescriptions/EnumValueDescription.cs
248
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace vtCore { public class MRU { public MRU(uint maxProject) { this.maxProjects = maxProject; } public void load(string mruString) { projects = mruString...
23.267857
107
0.520338
[ "MIT" ]
luni64/VisualTeensy
vtCore/Implementation/MRU.cs
1,305
C#
using System.Collections.Generic; using Assets.Scripts; using Assets.Scripts.Models; using Assets.Scripts.Turret; using Assets.Scripts.Utils; using UnityEngine; public class PrefabManager : MonoBehaviour { [SerializeField] private GameObject _projectilePrefab; [SerializeField] private GameObject _turretUiPref...
35.349315
103
0.705677
[ "MIT" ]
zlociu/Secure-Tower-Defence
Unity_game/Assets/Scripts/Managers/PrefabManager.cs
5,163
C#
using System.IO; using Nancy; namespace NancyCore { public class CustomRootPathProvider : IRootPathProvider { public string GetRootPath() => Directory.GetCurrentDirectory(); } }
19.8
71
0.717172
[ "Unlicense" ]
0xFireball/Template-NancyCore2
NancyCore/RootPathProvider.cs
198
C#
using Bbt.Campaign.Public.BaseResultModels; using Bbt.Campaign.Public.Dtos; using Bbt.Campaign.Public.Dtos.Authorization; namespace Bbt.Campaign.Services.Services.Parameter { public interface IParameterService { public Task<BaseResponse<List<ParameterDto>>> GetActionOptionListAsync(); public T...
63.291667
122
0.763002
[ "MIT" ]
hub-burgan-com-tr/bbt.loyalty
src/Bbt.Campaign.Api/Bbt.Campaign.Services/Services/Parameter/IParameterService.cs
3,040
C#
namespace Data.Structures.SkillEngine { [ProtoBuf.ProtoContract] public class ChargeStage { [ProtoBuf.ProtoMember(1)] public float Duration { get; set; } [ProtoBuf.ProtoMember(2)] public float CostHpRate { get; set; } [ProtoBuf.ProtoMember(3)] public float ...
22.789474
45
0.605081
[ "MIT" ]
Sheigetsu/TeraDataTools
TeraEmulatorData/Data/Structures/SkillEngine/ChargeStage.cs
435
C#
using System; using System.Collections.Generic; using System.Runtime.Serialization; using System.Text; #pragma warning disable 1591 namespace PdfiumViewer { public class PdfException : Exception { public PdfError Error { get; private set; } public PdfException() { ...
28.163934
81
0.523865
[ "Apache-2.0" ]
Andomiel/PdfiumViewer
PdfiumViewer/PdfException.cs
1,720
C#
using System; using UnityEngine; using UnityEngine.Experimental.Rendering; namespace UnityEditor.Experimental.Rendering.LightweightPipeline { internal class SimpleLitShaderGUI : BaseShaderGUI { private const float kMinShininessValue = 0.01f; private MaterialProperty albedoMapProp; priva...
47.561056
193
0.635348
[ "BSD-2-Clause" ]
1-10/VisualEffectGraphSample
GitHub/com.unity.render-pipelines.lightweight/Editor/ShaderGUI/SimpleLitShaderGUI.cs
14,411
C#
// ---------------------------------------------------------------------------- // <copyright file="PhotonView.cs" company="Exit Games GmbH"> // PhotonNetwork Framework for Unity - Copyright (C) 2011 Exit Games GmbH // </copyright> // <summary> // // </summary> // <author>developer@exitgames.com</author> // ---------...
40.106475
202
0.634713
[ "MIT" ]
VelandelStudio/Velandel-Piracy-Hill
Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonView.cs
27,874
C#
// 日本語。 using System; using WWUtil; namespace WWMath { /// <summary> /// Stable Goertzel algorithm /// Richard G. Lyons, Understanding Digital Signal Processing, 3 rd Ed., Pearson, 2011, pp. 840 /// </summary> public class WWGoertzel { int mN; DelayT<WWComplex> mDelay; WWQ...
26.096154
99
0.527634
[ "MIT" ]
yamamoto2002/bitspersampleconv2
WWMath/WWGoertzel.cs
1,559
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. // </auto-generated> namespace Microsoft.Azure.Management.CosmosDB.Fluent { ...
46.4
343
0.556891
[ "MIT" ]
Azure/azure-libraries-for-net
src/ResourceManagement/CosmosDB/Generated/CollectionOperations.cs
37,352
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> //--...
42.205479
172
0.603376
[ "MIT" ]
kishanchdry/Core5.0Dapper
Shared/Properties/Resources.Designer.cs
3,083
C#