content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using static TACTLib.Core.Product.Tank.ManifestCryptoHandler; using static TACTLib.Core.Product.Tank.ResourceGraph; namespace TACTLib.Core.Product.Tank.TRG { [ManifestCrypto(AutoDetectVersion = true, Product = TACTProduct.Overwatch)] public class ProTRG_80550 : ITRGEncryptionProc { public byte[] Key(TRGHeader hea...
58.876712
99
0.644951
[ "MIT" ]
HellPie/TACTLib
TACTLib/Core/Product/Tank/TRG/ProTRG_80550.cs
4,298
C#
using PlasticApps.Components; using PlasticApps.Components.Ease; using Unity.Entities; using Unity.Jobs; using Unity.Mathematics; using PlasticApps.Systems.Groups; using Unity.Burst; namespace PlasticApps.Systems.Ease { [UpdateInGroup(typeof(TweenEasesSystems))] public class EaseInOutBackSystem : JobComponent...
30.136364
85
0.514329
[ "MIT" ]
Hengle/PlasticTween
Assets/PlasticApps/Systems/Ease/Back/EaseInOutBackSystem.cs
1,328
C#
namespace DevMark.Model.SystemInformation { public class CpuInfo { public string Name { get; set; } public string Description { get; set; } public string Architecture { get; set; } public int MaxClockSpeed { get; set; } public int CurrentClockSpeed { get; set; } ...
30.2
50
0.602649
[ "Apache-2.0" ]
Johand86/DevMark
Source/DevMark.Model/SystemInformation/CpuInfo.cs
455
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace bluebean.UGFramework { public class ThreeDSceneLayer : SceneLayer { public override Camera LayerCamera { get { var cameras = GetComponentsInChildren<Camera>(); ...
20.5
64
0.497967
[ "MIT" ]
CyberSys/Mugen3D
Client/Assets/Framework/SceneTree/Scripts/ThreeDSceneLayer.cs
494
C#
using UnityEngine; using System.Collections; public class ScreenTouch : MonoBehaviour { void OnEnable(){ EasyTouch.On_TouchStart += On_TouchStart; } void OnDisable(){ UnsubscribeEvent(); } void OnDestroy(){ UnsubscribeEvent(); } void UnsubscribeEvent(){ EasyTouch.On_TouchStart -= On_TouchStart; ...
28.363636
111
0.667582
[ "MIT" ]
gdgeek/7dcar
Assets/Addons/EasyTouch/Example/C# Example/Examples for EasyTouch/Example-Multiplefingers/ScreenTouch.cs
2,184
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 ...
36.837209
91
0.662879
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/talent/v4beta1/google-cloud-talent-v4beta1-csharp/Google.Cloud.Talent.V4Beta1.StandaloneSnippets/JobServiceClient.CreateJobRequestObjectSnippet.g.cs
1,584
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace P5.Migrations { public partial class InitialMigration : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Customers", columns: ta...
40.808219
97
0.453396
[ "Unlicense" ]
drfrank66613/SUTS3-4-1
P5/Migrations/20211204042306_InitialMigration.cs
8,939
C#
using System; using System.Collections.Generic; using System.Collections; /// <summary> /// DictionaryEnumerator.IDictionaryEnumerator.get_Entry /// </summary> public class DictionaryEnumeratorIDictionaryEnumeratorget_Entry { public static int Main() { DictionaryEnumeratorIDictionaryEnumeratorget_Entry ...
38.109677
156
0.602336
[ "MIT" ]
CyberSys/coreclr-mono
tests/src/CoreMangLib/cti/system/collections/generic/dictionaryenumerator/dictionaryenumeratoridictionaryenumeratorget_entry.cs
5,907
C#
namespace NanoFabric.Docimax.Heroes.Api { internal class Permission { public string Name { get; internal set; } public string Predicate { get; internal set; } public string Url { get; internal set; } } }
26.666667
54
0.633333
[ "MIT" ]
geffzhang/NanoFabric.Docimax
src/NanoFabric.Docimax.Heroes.Api/Permission.cs
242
C#
using System.IO; using NUnit.Framework; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using SlackClient.DependencyInjection; using FluentAssertions; namespace SlackClient.Tests { public class Tests { private ServiceProvider _serviceProvider; [SetUp] ...
29.514286
97
0.6515
[ "MIT" ]
ivelten/SlackClient
tests/SlackClient.Tests/ServiceCollectionExtensionsTests.cs
1,033
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 ...
40.809524
134
0.69895
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/contactcenterinsights/v1/google-cloud-contactcenterinsights-v1-csharp/Google.Cloud.ContactCenterInsights.V1.StandaloneSnippets/ContactCenterInsightsClient.GetPhraseMatcherRequestObjectSnippet.g.cs
1,714
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.EntityFrameworkCore.Diagnostics; /// <summary> /// Combines <see cref="ILogger" /> and <see cref="DiagnosticSource" /> /// for use by all EF Core logging...
46.064516
133
0.673669
[ "MIT" ]
Applesauce314/efcore
src/EFCore/Diagnostics/IDiagnosticsLogger`.cs
1,428
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Polyperfect.People { [ExecuteInEditMode] public class PolyIk : MonoBehaviour { public List<HumanBoneOffset> rotationOffsets = new List<HumanBoneOffset>(); //Ik Targets public Transform leftFoo...
40.404959
136
0.640417
[ "MIT" ]
BitHighlander/EthDenverHackathon
EthDenver2022/Assets/polyperfect/Low Poly Animated People/- Scripts/IK/PolyIk.cs
4,891
C#
namespace popp { using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; /// <summary> /// Provides some file related extension methods for List<> /// </summary> public static class FileListExtensions { static ...
30.826087
102
0.475317
[ "MIT" ]
Treer/POpp
popp/FileListExtensions.cs
2,129
C#
/**************************************************************************** * * Copyright (c) 2020 CRI Middleware Co., Ltd. * ****************************************************************************/ using System.Runtime.InteropServices; using System; /*============================================...
32.222222
119
0.622167
[ "MIT" ]
smpny7/VIVACE
Assets/Plugins/CriWare/CriAtom/NativeClasses/CriAtomExTween.cs
9,302
C#
using System; using GenericRepository.Interfaces; using SqlCodeGenerator.Attributes; namespace PACEWebApiCore.Entities { public class BaseEntity : IEntity { protected BaseEntity() { Created = DateTime.UtcNow; Modified = DateTime.UtcNow; } public DateTim...
24.909091
55
0.618613
[ "MIT" ]
firstcrazydeveloper/Temprory
PACE/WebApi/src/PACEWebApiCore.Entities/BaseEntity.cs
550
C#
using UnityEngine; namespace CyberJellyFish.Managers { public abstract class ManagerBase<T> : MonoBehaviour where T : MonoBehaviour { #region VARIABLES [Header("Manager Settings")] [Tooltip("Do Not Destroy this Object when Loading Scenes.")] public bool IsPersistent = false; ...
26.275862
131
0.507874
[ "MIT" ]
Macawls/vega_project_2A
Assets/Addons/CyberJellyFish/Scripts/Runtime/Managers/Base/ManagerBase.cs
2,288
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace CarreraAviones { public partial class Aviones : Form { enum Direc...
27.368715
92
0.472954
[ "MIT" ]
Cactus-ar/C-Sharp-Juegos
CarreraAviones/CarreraAviones/Form1.cs
4,901
C#
using System.Threading; using System.Threading.Tasks; using GS.DecoupleIt.Contextual.UnitOfWork; using GS.DecoupleIt.Operations; using JetBrains.Annotations; using Samples.Clients.Command.Contracts.Events; using Samples.Clients.Command.Model; using Samples.Clients.Command.Model.Entities; namespace Samples.Clients.Comm...
34.058824
123
0.749568
[ "MIT" ]
krzysztofdudek/DecoupleIt
Samples/Samples.Clients.Command/InternalEventHandlers/ClientCreatedOnEmissionHandler.cs
1,158
C#
/* * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * 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 ...
35.56
141
0.612298
[ "Apache-2.0" ]
EwoutH/TizenFX
src/Tizen.NUI/src/internal/ButtonSignal.cs
5,334
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("Lab...
38.108108
84
0.751064
[ "MIT" ]
Brankovanov/SoftUniCourses
3.CSharpAdvanced/08_BuiltInQueryMethodsLINQ/Lab_04_AverageDoubles/Properties/AssemblyInfo.cs
1,413
C#
using OVO.Data.Contracts; namespace OVO.Data { public class SaveContext : ISaveContext { private readonly OVOMsSqlDbContext context; public SaveContext(OVOMsSqlDbContext context) { this.context = context; } public void Commit() { this.c...
18
53
0.575
[ "MIT" ]
jorosoft/OnlineVehicleOrganizer
OVO.Data/SaveContext.cs
362
C#
//////////////////////////////////////////////////////////////////////////////// // The MIT License (MIT) // // Copyright (c) 2015 Tim Stair // // 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 Softw...
36.978495
88
0.578947
[ "MIT" ]
nhmkdev/pdfconstruct
PdfConstruct/Support/UI/Extensions.cs
3,439
C#
using System; namespace SBaier.Input { public abstract class PinchInputRegistry : InputRegistry { public abstract void Subscribe(PinchState state, Action<PinchInputEventArgs> listener); public abstract void Unsubscribe(PinchState state, Action<PinchInputEventArgs> listener); } }
28.8
91
0.809028
[ "MIT" ]
BlackLambert/unity-sbaier-input
Input/Assets/Plugins/SBaier/SBaier-Input/Runtime/PinchInput/PinchInputRegistry.cs
290
C#
namespace ModIO.UI { public interface IModRatingAddedReceiver { void OnModRatingAdded(int modId, ModRatingValue rating); } }
18.125
64
0.703448
[ "MIT" ]
DBolical/modioUNITY
Runtime/Interfaces/IModRatingAddedReceiver.cs
145
C#
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; namespace MoreAsyncLINQ { static partial class MoreAsyncEnumerable { private static async IAsyncEnumerable<TResult> Zip<T1, T2, T3, T4, TResult>( thi...
38.271062
139
0.4799
[ "Apache-2.0" ]
i3arnon/MoreAsyncLINQ
src/MoreAsyncLINQ/Operators/Zip/Zip.cs
10,450
C#
using System; using System.Collections.Generic; using System.Text; namespace TrafficViewerControls { public enum RequestViewerTabs { Unknown, HttpTraffic, Entities, Browser, DOM, LogSync } }
12.529412
33
0.7277
[ "Apache-2.0" ]
Bhaskers-Blu-Org1/HTTP-BlackOps
TrafficViewerControls/RequestViewerTabs.cs
213
C#
namespace EFCore.Sharding { internal static partial class Extention { /// <summary> /// 获取稳定的HashCode(原HashCode不稳定,会改变) /// </summary> /// <param name="str">字符串</param> /// <returns></returns> public static int GetStableHashCode(this string str) { ...
27.966667
73
0.392133
[ "Apache-2.0" ]
731315163/EFCore.Sharding
src/EFCore.Sharding/Util/Extention.String.cs
877
C#
/* Copyright 2012-2020 Marco De Salvo 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...
45.985816
201
0.584978
[ "Apache-2.0" ]
BME-MIT-IET/iet-hf2021-create-a-new-team
RDFSharp/Model/Validation/Abstractions/Constraints/RDFQualifiedValueShapeConstraint.cs
6,486
C#
namespace UptimeKumaRemoteProbe.Services; public class DbService { private readonly ILogger<TcpService> _logger; private readonly PushService _pushService; public DbService(ILogger<TcpService> logger, PushService pushService) { _logger = logger; _pushService = pushService; } ...
27.851064
127
0.566845
[ "MIT" ]
zimbres/UptimeKumaRemoteProbe
UptimeKumaRemoteProbe/Services/DbService.cs
1,311
C#
using System.Web.Mvc; using Umbraco.Core.Composing; using Umbraco.Web.Models; namespace Umbraco.Web.Mvc { /// <summary> /// The interface that must be implemented for a controller to be designated to execute for route hijacking /// </summary> public interface IRenderMvcController : IRenderController, ...
28.7
111
0.646341
[ "MIT" ]
0Neji/Umbraco-CMS
src/Umbraco.Web/Mvc/IRenderMvcController.cs
576
C#
using System.Text.Json; using controllers.ApiModels; using Microsoft.AspNetCore.Mvc; namespace controllers.Controllers; [ApiController] [Route("Demo")] public class DemoController : ControllerBase { // different methods that return an author [HttpGet("getobject")] public object GetObject() { return GetBook();...
18.350877
68
0.713193
[ "MIT" ]
ardalis/WebApiBestPractices
api_templates/controllers/Controllers/DemoController.cs
1,048
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VideoConverter.Common { public abstract partial class VideoConverterApplicationBase { private static Encoding SerializationEncoding => Encoding.UTF8; ...
33.910714
127
0.646656
[ "MIT" ]
andreigit/VideoConverterBalancer
VideoConverter.Common/VideoConverterApplicationBase.cs
1,901
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...
32.39759
104
0.633321
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/Backup/Generated/Model/ListProtectedResourcesRequest.cs
2,689
C#
namespace Umbraco.Cms.Core.Notifications { public class UserLockedNotification : UserNotification { public UserLockedNotification(string ipAddress, string affectedUserId, string performingUserId) : base(ipAddress, affectedUserId, performingUserId) { } } }
29.2
155
0.729452
[ "MIT" ]
Ambertvu/Umbraco-CMS
src/Umbraco.Core/Notifications/UserLockedNotification.cs
292
C#
using System; namespace Common { [Serializable] public class CEnemyClosing : Message { public CEnemyClosing() : base(Command.C_ENEMY_CLOSING) { } public int entityId; public int enemyId; } }
17.923077
66
0.630901
[ "Apache-2.0" ]
Scottdyt/3DGamekitWeb
Frontend/Assets/3DGamekit/Scripts/Common/FEMessage/CEnemyClosing.cs
235
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BlockInput : MonoBehaviour { public ActiveButton buttonCheck; public Transform platformPrefab; public Transform jumpPadPrefab; public Transform hazardPrefab; private int shapesPlaced; private Transfor...
27.527473
104
0.61517
[ "MIT" ]
DayeFubara16/Assignment-1
Assets/Scripts/Command Scripts/BlockInput.cs
2,505
C#
using UnityEngine; using System.Collections; using SS; public class EventToEvent : EventListener { public EventArray eventArray; [ContextMenu("Do Event")] public void DoEvent() { eventArray.Broadcast(this); } protected override void OnEvent(EventMessage em, ref object paramRef) { base.OnEvent(em, ...
16.809524
70
0.72238
[ "MIT" ]
Farl/SSCore2017
Packages/com.prototyper.stringevent/Runtime/ToEvent/EventToEvent.cs
355
C#
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com // ReSharper disable CheckNamespace // ReSharper disable CommentTypo // ReSharper disable InconsistentNaming /* JobDescription.cs -- совмещенное описание зад...
25.682243
84
0.524745
[ "MIT" ]
amironov73/templates
NetService/Sources/Jobs/JobDescription.cs
2,976
C#
using System; namespace Amazon.Elb { public sealed class DeleteLoadBalancerRequest : IElbRequest { public DeleteLoadBalancerRequest(string loadBalancerArn) { LoadBalancerArn = loadBalancerArn ?? throw new ArgumentNullException(nameof(loadBalancerArn)); } ...
27.125
107
0.645161
[ "MIT" ]
JTOne123/Amazon
src/Amazon.Elb/Actions/DeleteLoadBalancerRequest.cs
436
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using UnityEditor; using UnityEngine; using UnityEngine.Serialization; namespace QFramework.PackageKit { public class PackageKitWindow : IMGUIEditorWindow { class LocaleText { public stat...
35.677083
124
0.58
[ "MIT" ]
gKev1n/UnityFrameWorkDesign
Assets/QFramework/Framework/0.PackageKit/Editor/Framework/Window/PackageKitWindow.cs
6,862
C#
namespace Castle.Facilities.ServiceFabricIntegration { using System; using Castle.Core; using Castle.Core.Internal; using Castle.Facilities.ServiceFabricIntegration.Resolvers; using Castle.MicroKernel; using Castle.MicroKernel.SubSystems.Conversion; using MicroKernel.Registration; using...
45.087379
274
0.656115
[ "MIT" ]
Daedeross/Castle.Facilities.ServiceFabricIntegration
Castle.Facilities.ServiceFabricIntegration.Actors/ActorModule.cs
4,646
C#
using System; using System.IO; using System.Linq; using System.Text; using ArgData.Entities; using ArgData.Internals; using ArgData.IO; namespace ArgData { /// <summary> /// Reads a name file from disk. /// </summary> public class NameFileReader { /// <summary> /// Read a name file....
32.253012
106
0.568547
[ "MIT" ]
JTOne123/ArgData
Source/ArgData/NameFiles.cs
5,354
C#
using UnityEngine; using UnityEngine.UI; using System.Collections; using System.Collections.Generic; using itfantasy.igui; using UImage = UnityEngine.UI.Image; namespace itfantasy.igui.u { public class ProgressBar : UIBehaviour, IProgressBar { UImage _image; protected override void OnInitUI(...
19.970588
78
0.543446
[ "Apache-2.0" ]
itfantasy/igui
Assets/itfantasy/igui/u/ProgressBar.cs
681
C#
using UnityEngine; using UnityEngine.SceneManagement; using System.Collections; public class ApplicationManager : MonoBehaviour { public string modelScene; // Use this for initialization void Start () { if (modelScene!=null) { //SceneManager.LoadScene (modelScene, LoadSceneMode.Additive); } else { print ...
20.458333
65
0.686354
[ "MIT" ]
thechosi/CAVE
Examples/BasicTestScene/Assets/Cave/Tracking/Scripts/ApplicationManager.cs
493
C#
using System; using System.Collections.Generic; namespace ConvergeLL { public class Program { public static void Main(string[] args) { Console.WriteLine("Determine if 2 LLs converge. If they do, find that conversion point."); LinkedList<Node> LLA = new LinkedList<Node>(); LLA.AddFirst(new Node(30)); ...
26.969466
110
0.64591
[ "MIT" ]
jcqnly/data-structures-and-algorithms
Challenges/ConvergeLL/ConvergeLL/Program.cs
3,535
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DND_Monster { public static class BrassDragon { public static void Add(DragonAge age) { switch (age) { case DragonAge.Ancient: Ancient...
56.928571
828
0.503223
[ "Apache-2.0" ]
FallenWyvern/DnD-Monster-Generator
DND_Monster/OGL_Content/D/Dragons - Metallic/BrassDragon.cs
23,115
C#
namespace Trybot.Tests.CircuitBreakerTests { internal enum State { Open, Closed, HalfOpen } }
13.1
43
0.564885
[ "MIT" ]
z4kn4fein/trybot
test/CircuitBreakerTests/State.cs
133
C#
using System.Drawing; using SharpDX.Direct3D9; using SAModel.Direct3D; using SAModel.SAEditorCommon.Properties; using Mesh = SAModel.Direct3D.Mesh; //using SAModel.SAEditorCommon.DataTypes; namespace SAModel.SAEditorCommon.UI { /// <summary> /// Houses elements common to several kinds of gizmos / helpers. /// </s...
35.946154
171
0.73165
[ "MIT", "BSD-3-Clause" ]
X-Hax/sa_tools
Libraries/SAEditorCommon/UI/Gizmo.cs
4,675
C#
namespace BBX.Entity { public class ShowbonusPagePostInfo : ShowtopicPagePostInfo { private int m_bonus; public int Bonus { get { return m_bonus; } set { m_bonus = value; } } private int m_isbest; public int Isbest { get { return m_isbest; } set { m_isbest = value; } } ...
30.333333
92
0.617582
[ "MIT" ]
NewLifeX/BBX
BBX.Entity/_OLD/ShowbonusPagePostInfo.cs
455
C#
using System; using System.IO; using System.Text; using AutoMapper; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using Microsoft.Extensions.Configuration; namespace EggsAndHoney.WebApi.Tests { public class OrdersApiTestBase : IDisposable { protected readonly TestServer _ser...
39.571429
113
0.682826
[ "MIT" ]
Yakimych/EggsAndHoneyWebApi
src/EggsAndHoney.WebApi.Tests/OrdersApiTestBase.cs
1,941
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Linq; using System.Threading.Tasks; using Azure.AI.FormRecognizer.Training; using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.FormRecognizer.Tests { /// <summary> ...
42.341818
159
0.644023
[ "MIT" ]
LeighS/azure-sdk-for-net
sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormTrainingClient/FormTrainingClientLiveTests.cs
11,646
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.Diagnostics; using Tools; using Xunit; namespace System.Numerics.Tests { public class op_multiplyTest { private static int s_samples = 10;...
39.456026
127
0.534962
[ "MIT" ]
ProgramFOX/corefx
src/System.Runtime.Numerics/tests/BigInteger/op_multiply.cs
12,113
C#
namespace KimaiDotNet.Reporting.ODataService { public static class Constants { public static class HttpClients{ public const string Kimai = "Kimai"; } } }
21.666667
48
0.625641
[ "MIT" ]
KimaiDotNet/KimaiDotNet.oDataReporting
src/KimaiDotNet.Reporting.ODataService/Constants.cs
197
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace TimeMachine.Data.Migrations { public partial class UpdateUsersTable : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<DateTime>( name: "Cre...
31.8
91
0.574124
[ "MIT" ]
MilenaPetkanova/time-machine-app
src/Data/TimeMachine.Data/Migrations/20190101193724_UpdateUsersTable.cs
1,115
C#
using System.Collections.Generic; using System.IO; using TR2RandomizerCore.Helpers; using TRGE.Core; using TRModelTransporter.Utilities; namespace TR2RandomizerCore.Processors { internal class TextureDeduplicator : LevelProcessor { public void Deduplicate() { List<DeduplicationProc...
31.765957
124
0.507368
[ "MIT" ]
Anopob/TR2-Rando
TR2RandomizerCore/Processors/TextureDeduplicator.cs
2,988
C#
// ----------------------------------------------------------------------- // <copyright file="Program.cs" company="Asynkron HB"> // Copyright (C) 2015-2018 Asynkron HB All rights reserved // </copyright> // ----------------------------------------------------------------------- using System; using System.Linq...
31.147287
140
0.502738
[ "Apache-2.0" ]
kenavn/protoactor-dotnet
examples/Supervision/Program.cs
4,020
C#
using System; using System.Collections.Generic; using System.Linq; using UniGLTF; using UnityEngine; namespace UniVRM10 { [Serializable] public class VRM10ObjectMeta { [SerializeField] public string ExporterVersion; #region Info [SerializeField] public string Name...
29.304
80
0.606061
[ "MIT" ]
Cringeyzz/UniVRM
Assets/VRM10/Runtime/Components/VRM10Object/VRM10ObjectMeta.cs
3,665
C#
using System; using System.Buffers; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace NetFabric.Hyperlinq { public static partial class ValueReadOnlyCollectionExtensions { ...
61.528814
347
0.677373
[ "MIT" ]
Ashrafnet/NetFabric.Hyperlinq
NetFabric.Hyperlinq/Projection/Select/SelectAt/SelectAt.ValueReadOnlyCollection.cs
18,151
C#
// // Copyright (C) 2010 Novell Inc. http://novell.com // // 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, copy, modi...
25.259362
145
0.667747
[ "Apache-2.0" ]
slluis/mono
mcs/class/System.Xaml/Test/System.Xaml/XamlXmlReaderTest.cs
18,212
C#
using Jom.Blog.IRepository.Base; using Jom.Blog.IServices; using Jom.Blog.Model.Models; using Jom.Blog.Services.BASE; namespace Jom.Blog.Services { /// <summary> /// ModuleServices /// </summary> public class ModuleServices : BaseServices<Modules>, IModuleServices { IBaseRepository<Module...
21.130435
72
0.621399
[ "Apache-2.0" ]
atorzhang/Jom.Blog
Jom.Blog.Services/ModuleServices.cs
486
C#
using MusicApplication.Data.MusicApplication.Data; using System; using System.Collections.Generic; using System.Data; namespace MusicApplication.Data { public class Artist // : IDataModel { public int ArtistId { get; set; } public string ArtistName { get; set; } public string Label {...
25.62
84
0.575332
[ "MIT" ]
jivka93/MusicApp
Back-end/MusicApplication.Data/Artist.cs
1,283
C#
/* MIT License Copyright (c) Jeff Campbell 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, copy, modify, merge, publish, dis...
32.391304
102
0.728859
[ "MIT" ]
jeffcampbellmakesgames/Genesis
ExternalApp/Genesis/Options/ConfigOptions.cs
2,237
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace Remotely.Server.Migrations { public partial class DeviceAgentVersion : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<string>( name: "AgentVersion", ...
26.478261
71
0.587849
[ "MIT" ]
rolbre/ServiceBus
Remotely/Server/Migrations/20190705195745_Device.AgentVersion.cs
611
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 Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.AspNetCore.Mvc.ModelBinding; namespace Microsoft.AspNetCore.Mvc { /...
35.288889
113
0.648615
[ "MIT" ]
48355746/AspNetCore
src/Mvc/Mvc.Core/src/ConflictObjectResult.cs
1,588
C#
using System; using Microsoft.Xna.Framework.Input; using WMNW.Core.Input.Classes; namespace WMNW.Core.Input.Devices.Interfaces { #region Delegates /// <summary>Delegate used to report movement of the mouse cursor</summary> /// <param name="x">New X coordinate of the mouse cursor</param> /// <param na...
34.333333
90
0.651294
[ "MIT" ]
MuteLovestone/WM_NewWorld
Code/WM New World/Whore Master New World/Core/WMNW.Core/Input/Devices/Interfaces/IMouse.cs
2,474
C#
// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessag...
107.076923
257
0.788793
[ "BSD-2-Clause" ]
PNNL-Comp-Mass-Spec/DMS-Analysis-Manager
Plugins/AM_DtaRefinery_PlugIn/GlobalSuppressions.cs
1,394
C#
using System; using NQuery.Syntax; namespace NQuery { public abstract class SyntaxVisitor { protected void Dispatch(SyntaxNode node) { if (node == null) throw new ArgumentNullException(nameof(node)); switch (node.Kind) { case...
32.466292
116
0.5828
[ "MIT" ]
dallmair/nquery-vnext
src/NQuery/SyntaxVisitor.cs
17,337
C#
using System.ComponentModel; using System.IO.Abstractions; using System.Text; using BenchmarkMockNet.Benchmarks; namespace BenchmarkMockNet; public class Report { private readonly StringBuilder _output; private readonly IFileSystem _fs; public Report(IFileSystem fs) { _fs = fs; _output = new StringBuilder();...
25.492063
109
0.697385
[ "MIT" ]
ScriptBox99/BenchmarkMockNet
BenchmarkMockNet/Report.cs
1,606
C#
using System.Runtime.Serialization; using Elasticsearch.Net; namespace Nest { [JsonFormatter(typeof(ReindexRoutingFormatter))] public class ReindexRouting { public static ReindexRouting Discard = new ReindexRouting("discard", true); public static ReindexRouting Keep = new ReindexRouting("keep", true); private...
32.354839
101
0.743769
[ "Apache-2.0" ]
591094733/elasticsearch-net
src/Nest/Document/Multiple/ReindexOnServer/ReindexRouting.cs
1,003
C#
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.34209 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします。 // </auto-generated> //---------------------------------------------------------...
57.044776
273
0.55573
[ "Apache-2.0" ]
sosan/msgpack-cli
test/MsgPack.UnitTest/gen/array/MsgPack_Serialization_PolymorphicMemberTypeKnownType_Dict_DictObjectKeyAndStaticItemReadWriteFieldSerializer.cs
7,818
C#
/* * 金庸群侠传3D重制版 * https://github.com/jynew/jynew * * 这是本开源项目文件头,所有代码均使用MIT协议。 * 但游戏内资源和第三方插件、dll等请仔细阅读LICENSE相关授权协议文档。 * * 金庸老先生千古! */ using System.Collections; using System.Collections.Generic; using UnityEngine; public struct PropertyItem { public int ID; public string Name; public string Proper...
33.567708
410
0.616757
[ "MIT" ]
ning99999/jynew
jyx2/Assets/Scripts/GameConst.cs
7,077
C#
using System; namespace Mediator { internal class Colleague2 : Colleague { public Colleague2(IMediator mediator) : base(mediator) { } public override void HandleNotification(string message) { Console.WriteLine($"{nameof(Colleague2)} received: {message} (fro...
21.625
85
0.598266
[ "MIT" ]
daviur/DesignPatterns
Mediator/Colleague2.cs
348
C#
using Foundation; using UIKit; namespace WaterAddition.iOS { [Register("AppDelegate")] public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate { public override bool FinishedLaunching(UIApplication app, NSDictionary options) { global::Xamar...
24.210526
98
0.665217
[ "MIT" ]
Porodin/WaterAddition
WaterAddition.iOS/AppDelegate.cs
460
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...
31.736842
141
0.645108
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/VirtualWanSecurityProviders.cs
1,809
C#
using System; using System.Linq; using LinqToDB; using NUnit.Framework; namespace Tests.Linq { using Model; [TestFixture] public class ElementOperationTests : TestBase { [Test, DataContextSource] public void First(string context) { using (var db = GetDataContext(context)) Assert....
30.591304
149
0.669557
[ "MIT" ]
codefox42/linq2db
Tests/Linq/Linq/ElementOperationTests.cs
7,038
C#
using System; using UnityEngine; namespace Assets.Scripts.Common { public class MonoSingleton<T> : MonoBehaviour where T : Component { private static T InnerInstance; private static bool bIsDestroyed; private static readonly string RootObjectName = "RootObj"; public static T G...
24.313725
80
0.460081
[ "MIT" ]
martinkro/Unity-CheatConsole
Assets/Scripts/Common/MonoSingleton.cs
2,482
C#
using System; using DOA; namespace Cocktail { public interface IScope { State Dereference(TStateId sid); State Dereference(TStateId sid, string refType); } public abstract class StateRef { protected string m_refType; public TStateId StateId { get; private set; } protected StateRef(TStateId stateId, ...
23.072581
94
0.665152
[ "MIT" ]
diclogic/cocktailvm
src/Cocktail/StateRef.cs
2,863
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...
35.380952
147
0.632571
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/Rekognition/Generated/Model/Internal/MarshallTransformations/DeleteCollectionRequestMarshaller.cs
3,715
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("Tem...
36.3
84
0.749311
[ "Apache-2.0" ]
ArtjomP/Template10
Samples/ShareTarget/Properties/AssemblyInfo.cs
1,090
C#
/* * PagarmeCoreApi.Standard * * This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). */ using System; using System.IO; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; us...
25.278351
83
0.477162
[ "MIT" ]
pagarme/pagarme-core-api-dotnet-standard
PagarmeCoreApi.Standard/Models/UpdateOrderItemRequest.cs
2,452
C#
using Piraeus.Core.Metadata; using System; using System.Management.Automation; namespace Piraeus.Module { [Cmdlet(VerbsCommon.Add, "PiraeusEventHubSubscription")] public class AddAzureEventHubSubscriptionCmdlet : Cmdlet { [Parameter(HelpMessage = "Url of the service.", Mandatory = true)] p...
37.690141
169
0.648356
[ "MIT" ]
lulzzz/SkunkLab.Core
src/Piraeus.Module.Core/AddAzureEventHubSubscriptionCmdlet.cs
2,678
C#
using System; using System.ComponentModel; using System.Runtime.CompilerServices; namespace RockPaperScissorsGame { public class VM : INotifyPropertyChanged { private readonly Random random = new Random(); private String compWin = "0"; public String CompWin { ...
29.1
83
0.464347
[ "MIT" ]
tongw-tw/RockPaperScissorsLizardSpock
RockPaperScissorsGame/VM-TWANG-DESKTOP.cs
2,330
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Routing; namespace WebDrh { public class WebApiApplication : System.Web.HttpApplication { protected void Application_Start() { GlobalConfiguration.Configure(...
20.111111
65
0.698895
[ "MIT" ]
RichardC64/DemoAngularWebApi
server/WebDrh/Global.asax.cs
364
C#
using System; using System.Text.RegularExpressions; using AldursLab.WurmApi.Extensions.DotNet; using AldursLab.WurmApi.Modules.Wurm.Servers.WurmServersModel; namespace AldursLab.WurmApi.Modules.Wurm.Servers { class LogEntriesParser { /// <summary> /// Null if entry is not applicable. //...
37.2
112
0.511793
[ "MIT" ]
artizzan/WurmAssistant3
src/WurmApi/WurmApi/Modules/Wurm/Servers/LogEntriesParser.cs
5,766
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.Reflection; using System.Runtime.InteropServices; using System.Runtime.Serialization; using System.Runtime.CompilerServices; using Internal.Runtime.Augments; namespace...
32.225
124
0.643522
[ "MIT" ]
AlexanderSemenyak/runtime
src/coreclr/nativeaot/System.Private.CoreLib/src/System/RuntimeFieldHandle.cs
2,578
C#
namespace Core4.Sagas.SimpleSaga { public class CompleteOrder { public string OrderId { get; set; } } }
18.428571
44
0.604651
[ "Apache-2.0" ]
A-Franklin/docs.particular.net
Snippets/Core/Core_4/Sagas/SimpleSaga/CompleteOrder.cs
123
C#
using System; using System.Collections.Generic; using System.Web.Routing; namespace CompositeC1Contrib.Rendering.Mvc { public class BootstrapperConfiguration : IBootstrapperConfiguration { public IEnumerable<Type> TemplateTypes { get; private set; } public Action<RouteCollection> Rout...
27.347826
78
0.650238
[ "MIT" ]
burningice2866/CompositeC1Contrib
Rendering.Mvc/BootstrapperConfiguration.cs
631
C#
#region Copyright // // DotNetNuke® - http://www.dotnetnuke.com // Copyright (c) 2002-2018 // by DotNetNuke 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 in the Software without restrict...
40.620915
156
0.638777
[ "MIT" ]
Abrahamberg/Dnn.Platform
DNN Platform/Library/Entities/Content/ContentTypeController.cs
6,218
C#
using ITfoxtec.Identity.Saml2; using ITfoxtec.Identity.Saml2.MvcCore; using ITfoxtec.Identity.Saml2.Schemas; using ITfoxtec.Identity.Saml2.Schemas.Metadata; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; usin...
41.53012
196
0.584856
[ "BSD-3-Clause" ]
ChrisWeaver1/ITfoxtec.Identity.Saml2
test/TestWebAppCoreFramework/Controllers/MetadataController.cs
3,449
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...
32.954023
463
0.72759
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/System.ServiceModel/Sources/System.ServiceModel.Security.WindowsClientCredential.cs
2,867
C#
using PcapDotNet.Base; namespace PcapDotNet.Packets.Ethernet { /// <summary> /// Represents an Ethernet layer. /// <seealso cref="EthernetDatagram"/> /// </summary> public sealed class EthernetLayer : EthernetBaseLayer { /// <summary> /// Creates an instance with zero values. ...
37.113208
140
0.578292
[ "BSD-3-Clause" ]
okaywang/MyPcap
PcapDotNet/src/PcapDotNet.Packets/Ethernet/EthernetLayer.cs
3,934
C#
using NSubstitute; using Serilog.Core; using Serilog.Events; using Serilog.Sinks.Firestore.Interfaces; using Serilog.Sinks.Firestore.Models; using Serilog.Sinks.TestCorrelator; using System; using System.Collections.Generic; using System.Linq; using Xunit; namespace Serilog.Sinks.Firestore.Tests { public class Fir...
33.879121
165
0.638015
[ "MIT" ]
kurtmkurtm/serilog-sinks-firestore
src/Serilog.Sinks.Firestore.Tests/FirestoreSinkTests.cs
3,083
C#
using System; using System.Collections.Generic; namespace Albert.Model { class Packages { public int Count { get; set; } public List<Package> Value { get; set; } } }
15.153846
48
0.614213
[ "MIT" ]
AlbertZhaohongyong/producetool
ProduceTools/Model/Packages.cs
199
C#
namespace dnlib.DotNet { /// <summary> /// Extension methods /// </summary> public static partial class Extensions { } }
16.555556
42
0.563758
[ "MIT" ]
Dekryptor/KoiVM-Virtualization
dnlib/src/DotNet/Extensions.cs
151
C#
using System; using Microsoft.Xna.Framework; namespace Alex.API.Utils { public struct BoundingCylinder : IEquatable<BoundingCylinder> { public Vector3 Min; public Vector3 Max; public double Radius; public BoundingCylinder(Vector3 min, Vector3 max, double radius) { Min = min; Max = max; Radius ...
22.938462
91
0.663984
[ "MPL-2.0" ]
TheBlackPlague/Alex
src/Alex.API/Utils/BoundingCylinder.cs
1,493
C#
// Generated by SharpKit.QooxDoo.Generator using System; using System.Collections.Generic; using SharpKit.Html; using SharpKit.JavaScript; namespace qx.fx.effect.core { /// <summary> /// <para>Core effect &#8220;Scroll&#8221;</para> /// <para>Scrolls to specified coordinates on given element.</para> /// </summa...
36.961538
109
0.674471
[ "MIT" ]
SharpKit/SharpKit-SDK
Defs/Qooxdoo/fx/effect/core/Scroll.cs
5,766
C#
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Corporate.Chat.Application.Interfaces; using Corporate.Chat.Domain.Interfaces.Model; using Corporate.Chat.Domain.Interfaces.Repositories; using Corporate.Chat.Domain.Pagination; namespace Corporate.Chat.Application { publ...
30.898305
139
0.657707
[ "MIT" ]
viniciusduartereis/Corporate-Chat
src/backend/Corporate.Chat.Application/AppService.cs
1,823
C#
using System.Collections.Generic; using Boleto2Net.Exceptions; using System.Web.UI; using System; [assembly: WebResource("Boleto2Net.Imagens.748.jpg", "image/jpg")] namespace Boleto2Net { internal sealed class BancoSicredi : IBanco { internal static Lazy<IBanco> Instance { get; } = new Lazy<IBanco>(()...
59.220601
423
0.570892
[ "Apache-2.0" ]
BoletoNet/boleto2net
Boleto2.Net/Banco/BancoSicredi.cs
69,188
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...
26.02
100
0.579554
[ "ECL-2.0", "Apache-2.0" ]
dimpu47/pulumi-gcp
sdk/dotnet/Compute/Outputs/RegionUrlMapTest.cs
1,301
C#