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 System.Collections; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class Player : MonoBehaviour { private PlayerMovement playerMovement; public AudioClip coin; public AudioSource audioSource; public GameObject winPannel; public GameObject pa...
24.23622
79
0.546784
[ "MIT" ]
daonq2001/The-Farm
The Farm/Mario/Assets/Scripts/Player.cs
3,080
C#
using System.Linq; using Microsoft.EntityFrameworkCore; using Abp.Configuration; using Abp.Localization; using Abp.MultiTenancy; using Abp.Net.Mail; namespace Odco.PointOfSales.EntityFrameworkCore.Seed.Host { public class DefaultSettingsCreator { private readonly PointOfSalesDbContext _context; ...
30.208333
126
0.628966
[ "MIT" ]
CipherLabz/Odco-PointOfSales-Material
aspnet-core/src/Odco.PointOfSales.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/DefaultSettingsCreator.cs
1,452
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.AspNet.Identity; using Microsoft.Owin.Security; namespace MVCronak.Models { public class IndexViewModel { public bool HasPassword { get; set; } public IList<UserLoginInfo> Logins { get; set; } ...
30.837209
110
0.625566
[ "MIT" ]
ronakpromact/MvCDemo
MVCronak/Models/ManageViewModels.cs
2,654
C#
// Copyright (c) Microsoft. All rights reserved. // Copyright (c) Denis Kuzmin <x-3F@outlook.com> github/3F // Copyright (c) IeXod contributors https://github.com/3F/IeXod/graphs/contributors // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Syst...
41.059701
237
0.627045
[ "MIT" ]
3F/IeXod
src/Build/BackEnd/BuildManager/LegacyThreadingData.cs
8,255
C#
 using Newtonsoft.Json; using System.Collections.Generic; namespace Huobi.SDK.Core.LinearSwap.RESTful.Response.Market { /// <summary> /// response for his funding rate request /// </summary> public class GetHisFundingRateResponse { public string status { get; set; } [JsonProperty(...
29.015873
80
0.561816
[ "Apache-2.0" ]
hbdmapi/huobi_futures_CSharp
Huobi.SDK.Core/LinearSwap/RESTful/Response/Market/GetHisFundingRateResponse.cs
1,830
C#
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using Esprima.Ast; using Jint.Native.Object; using Jint.Native.Proxy; using Jint.Runtime; using Jint.Runtime.Descriptors; using Jint.Runtime.Environments; using Jint.Runtime.Interpreter; namespace Jint.Native.Function { public ...
34.266497
137
0.567736
[ "BSD-2-Clause" ]
caseyzhang123/jint
Jint/Native/Function/FunctionInstance.cs
13,503
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...
39.576577
197
0.662645
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/IoTThingsGraph/Generated/Model/Internal/MarshallTransformations/DeleteSystemTemplateResponseUnmarshaller.cs
4,393
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
35.333333
113
0.525729
[ "MIT" ]
Avd6977/squidex
src/Squidex.Infrastructure/Json/Newtonsoft/NamedLongIdConverter.cs
1,169
C#
using System; using System.Threading; using Datadog.Trace.ClrProfiler.CallTarget; namespace Datadog.Trace.ClrProfiler.AutoInstrumentation.NUnit { /// <summary> /// NUnit.VisualStudio.TestAdapter.NUnitTestAdapter.Unload() calltarget instrumentation /// </summary> [InstrumentMethod( Assembly = "N...
42.231884
140
0.628346
[ "Apache-2.0" ]
ConnectionMaster/dd-trace-dotnet
src/Datadog.Trace.ClrProfiler.Managed/AutoInstrumentation/NUnit/NUnitTestAdapterUnloadIntegration.cs
2,914
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System.Collections.Generic; using System.Runtime.Serialization; namespace Nest { [DataContract] public cl...
29.777778
111
0.779851
[ "Apache-2.0" ]
Jiasyuan/elasticsearch-net
src/Nest/Cat/CatResponse.cs
536
C#
using System.Collections.Generic; namespace Config { public enum LoadErrorType { //Warn ConfigNull, ConfigDataAdd, EnumDataAdd, //Error EnumDup, EnumNull, RefNull, RefKeyNull, } public class LoadError { ...
27.4
103
0.538609
[ "MIT" ]
ouchzsc/configgen
src/support/LoadErrors.cs
2,605
C#
using System; using System.Collections.Generic; using System.Linq; using Verse; namespace Mehni.Misc.Modifications { class TimeAssignmentExtension : DefModExtension { public static readonly TimeAssignmentExtension defaultValues = new TimeAssignmentExtension(); public float globalWorkSpeedFac...
19.941176
101
0.752212
[ "MIT" ]
Mehni/4M-Mehni-s-Misc-Modifications
Mehni's Misc Modifications/TimeAssignmentExtension.cs
341
C#
using Newtonsoft.Json; using Ruyi.SDK.BrainCloudApi; using Ruyi.SDK.StorageLayer; using System; using System.Net; using System.Net.Sockets; using Thrift.Protocol; namespace Ruyi.SDK.Online { /// <summary> /// <see cref="Ruyi.SDK.Online"/> namespace provides access to online services. Most functionality is av...
35.697222
176
0.549996
[ "MIT" ]
jake-ruyi/sdk
RuyiSDK/RuyiNet/RuyiNetClient.cs
12,853
C#
using AzureAdExplorerMobile.ViewModels; using System.ComponentModel; using Xamarin.Forms; namespace AzureAdExplorerMobile.Views { public partial class ItemDetailPage : ContentPage { public ItemDetailPage() { InitializeComponent(); BindingContext = new ItemDetailViewMode...
22.8
55
0.675439
[ "MIT" ]
marcusca10/AzureAdExplorerMobile
AzureAdExplorerMobile/AzureAdExplorerMobile/Views/ItemDetailPage.xaml.cs
344
C#
using UnityEngine; using System; using LuaInterface; using SLua; using System.Collections.Generic; public class Lua_UnityEngine_ComputeBuffer : LuaObject { [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static public int constructor(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); UnityEngine.Comput...
25.030303
74
0.697034
[ "MIT" ]
zhukunqian/unity5-slua
Assets/Slua/LuaObject/Unity/Lua_UnityEngine_ComputeBuffer.cs
3,306
C#
#region BSD License /* * Use of this source code is governed by a BSD-style * license or other governing licenses that can be found in the LICENSE.md file or at * https://raw.githubusercontent.com/Krypton-Suite/Extended-Toolkit/master/LICENSE */ #endregion using System.Collections.Generic; using System.ComponentM...
31.661538
110
0.614674
[ "BSD-3-Clause" ]
Krypton-Suite/Extended-Toolk
Source/Krypton Toolkit/Main/Krypton.Toolkit.Suite.Extended.DataGridView/MultiDetailView.cs
2,060
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 02.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
24.719895
139
0.532034
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/GreaterThan/Complete/NullableSByte/Double/TestSet_504__param__01__VV.cs
9,445
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Linear4 { class Program { static void Main(string[] args) { var input = Console.ReadLine(); var arr = input.Split(' ').Select(int.Parse).ToArray...
26.070175
67
0.327725
[ "MIT" ]
cheficha/TelerikAcademyAlpha
Linear4/Linear4/Program.cs
1,488
C#
/* Copyright © Carl Emil Carlsen 2020 http://cec.dk */ using UnityEngine; using OpenCVForUnity.CoreModule; namespace TrackingTools { public static class MatOfPoint2fExtensions { static double[] _temp2d = new double[ 2 ]; static float[] _temp2f = new float[ 2 ]; public static Vector2 ReadVector2( this Mat...
24.191489
96
0.651715
[ "MIT" ]
cecarlsen/TrackingToolsForUnity
Assets/TrackingTools/Runtime/Base/OpenCvExtensions/MatOfPoint2fExtensions.cs
1,140
C#
using System; using Melanchall.DryWetMidi.Common; using Melanchall.DryWetMidi.Core; namespace Melanchall.DryWetMidi.Interaction { /// <summary> /// Represents tempo expressed in microseconds per quarter note or beats per minute. /// </summary> public sealed class Tempo { #region Constants ...
38.580838
123
0.59941
[ "MIT" ]
EnableIrelandAT/Coimbra
ProjectCoimbra.UWP/Melanchall.DryWetMidi.UWP/Interaction/TempoMap/Tempo.cs
6,446
C#
namespace Linn.Api.Ifttt.Testing.Integration.Modules { using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using FluentAssertions; using Linn.Api.Ifttt.Resources.Ifttt; using Newtonsoft.Json; usin...
30.835821
126
0.596321
[ "MIT" ]
linn/linn-api-ifttt
test/Integration.Tests/Modules/WhenConfiguringDeviceIdForPlayPlaylistOnASpecificDevice.cs
2,066
C#
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // 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("WpfApplicatio...
43.814815
99
0.690194
[ "MIT" ]
atzimler/WpfWednesday
Z00_OnlyOneProject/WpfApplication/Properties/AssemblyInfo.cs
2,369
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace kernel { public enum Format { EXPORT_RESULTS_FORMAT_TEXT, EXPORT_RESULTS_FORMAT_XML, } }
16.333333
35
0.722449
[ "MIT" ]
shuice/universal-file-parser
kernel/Format.cs
247
C#
//------------------------------------------------------------ // Game Framework // Copyright © 2013-2019 Jiang Yin. All rights reserved. // Homepage: http://gameframework.cn/ // Feedback: mailto:jiangyin@gameframework.cn //------------------------------------------------------------ using System; namespace GameFram...
23.884298
130
0.444637
[ "MIT" ]
ElPsyCongree/GameFramework
GameFramework/ObjectPool/ObjectInfo.cs
3,169
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace EdaSample.Services.Customer.Controllers { [Route("api/[controller]")] public class ValuesController : Controller { // GET api/values [HttpGet] ...
20.822222
55
0.527215
[ "MIT" ]
dk20170906/EventDriverStudy
src/services/EdaSample.Services.Customer/Controllers/ValuesController.cs
939
C#
// Description: Html Agility Pack - HTML Parsers, selectors, traversors, manupulators. // Website & Documentation: http://html-agility-pack.net // Forum & Issues: https://github.com/zzzprojects/html-agility-pack // License: https://github.com/zzzprojects/html-agility-pack/blob/master/LICENSE // More projects: http://w...
36.140301
204
0.45064
[ "MIT" ]
Aegaina/HtmlAgilityPack
src/HtmlAgilityPack.Shared/HtmlDocument.cs
76,765
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> //--...
39.444444
151
0.581221
[ "MIT" ]
piechocki/Styles2Tex
Styles2Tex/Properties/Settings.Designer.cs
1,067
C#
using Harry.Validation.CodeProvider; using NUnit.Framework; using System; using System.Collections.Generic; using System.Text; namespace Harry.Validation.Test { public class CodeFactoryTest { [Test] public void Create() { ICodeFactory fac = new CodeFactory(); fa...
22.791667
79
0.630713
[ "MIT" ]
harry-wangx/Harry.Validation
Harry.Validation.Test/CodeFactoryTest.cs
549
C#
namespace Sistema.Ventas.Catalogos { partial class GastosAuxiliar { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summar...
47.701493
153
0.59564
[ "MIT" ]
Balox/parking365
03-fuentes/Estacionamientos.Sistema.Ventas/Sistema.Ventas/Cuentas/GastosAuxiliar.designer.cs
9,590
C#
using System; using System.Collections.Generic; using System.Text; namespace Com.Danliris.Service.Packing.Inventory.Application.ToBeRefactored.GarmentShipping.Monitoring.GarmentDetailOmzetByUnitReport { public class GarmentDetailOmzetByUnitReportViewModel { public string Urutan { get; set; } p...
33.051282
133
0.638479
[ "MIT" ]
RichardoKirana/com-danliris-service-packing-inventory
src/Com.Danliris.Service.Packing.Inventory.Application/ToBeRefactored/GarmentShipping/Monitoring/GarmentDetailOmzetByUnitReport/GarmentDetailOmzetByUnitReportViewModel.cs
1,291
C#
// bsn Parser // ---------- // // Copyright 2014 by Arsène von Wyss - avw@gmx.ch // // Development has been supported by Sirius Technologies AG, Basel // // Source: // // https://bsn.kilnhg.com/Code/Parser/Trunk/Source // // License: // // The library is distributed under the GNU Lesser General Publ...
36.016949
173
0.694588
[ "MIT" ]
siriusch/Sirius.RegularExpressions
tests/Sirius.RegularExpressions.Tests/Parser/AlphabetBuilderTest.cs
2,128
C#
using System.Collections; using System.Collections.Generic; using Unity.Entities; using Unity.Mathematics; using UnityEngine; namespace RLTKTutorial.Part1_5 { [System.Serializable] public struct Movement : IComponentData { public int2 value; public static implicit operator int2(Movement c)...
26.75
87
0.714953
[ "MIT" ]
UlyssesWu/rltk_unity_roguelike
Assets/Part1-HelloWorld/1.5-Monsters/Common/Movement.cs
430
C#
using NUnit.Framework; using Splatter.AI; namespace Splatter.AI.Tests { public class ParallelWaitForAllToSucceed : TestBase { [Test] public void Parallel_Success() { Parallel parallel = new Parallel("Parallel", Tree, ParallelMode.WaitForAllToSucceed); parallel.Children = new...
31.833333
97
0.562453
[ "MIT" ]
ormesam/splatter.ai
src/Assets/Splatter.AI/Tests/ParallelWaitForAllToSucceed.cs
1,337
C#
using PnP.Core.Services; using System; using System.Collections.Generic; using System.Threading.Tasks; using PnP.Core.Model.SharePoint.Core.Public; namespace PnP.Core.Model.SharePoint { internal partial class FieldCollection { public async Task<IField> AddBatchAsync(string title, FieldType fieldType, ...
42.673428
185
0.661612
[ "MIT" ]
JarbasHorst/pnpcore
src/sdk/PnP.Core/Model/SharePoint/Core/Internal/FieldCollection.cs
21,040
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 ...
39.693333
120
0.614713
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/talent/v4beta1/google-cloud-talent-v4beta1-csharp/Google.Cloud.Talent.V4Beta1.StandaloneSnippets/JobServiceClient.ListJobsResourceNames2Snippet.g.cs
2,977
C#
using UnityEngine; using UnityEngine.Events; using UnityEngine.UI; using System.Collections; using IOHelper; namespace NullSpace.SDK.Demos { /// <summary> /// This class is a short term solution for displaying the text results of a HDF Packaging operation. /// It also displays a button to open the converted file. ...
21.452055
127
0.66092
[ "MIT" ]
HardlightVR/HL-unity-playground
Assets/NullSpace SDK/Demos/Haptics Explorer/Scripts/UI/PackagingResults.cs
1,568
C#
using System.Collections.Generic; namespace TGIT.ACME.Protocol.HttpModel.Requests { public class CreateOrGetAccount { public List<string>? Contact { get; set; } public bool TermsOfServiceAgreed { get; set; } public bool OnlyReturnExisting { get; set; } } }
22.769231
54
0.672297
[ "MIT" ]
PKISharp/ACME-Server
src/ACME.Protocol.Model/HttpModel/Requests/CreateOrGetAccountRequest.cs
298
C#
namespace Lykke.Service.ClientDictionaries.Client { public static class AutorestClientMapper { } }
15
49
0.683333
[ "MIT" ]
LykkeCity/Lykke.Service.ClientDictionaries
client/Lykke.Service.ClientDictionaries.Client/AutorestClientMapper.cs
120
C#
using System; using System.IO; using System.IO.Compression; using System.Text; namespace Arc.Ddsi.KirikiriDescrambler { internal static class Descrambler { public static string Descramble(string filePath) { using (Stream stream = File.Open(filePath, FileMode.Open, FileAc...
33.021505
114
0.47509
[ "MIT" ]
UserUnknownFactor/KirikiriTools
KirikiriDescrambler/Descrambler.cs
3,073
C#
using System; using System.Threading; using NiL.JS.BaseLibrary; using NiL.JS.Core.Interop; using NiL.JS.Expressions; namespace NiL.JS.Core.Functions { [Prototype(typeof(Function), true)] internal sealed class AsyncFunction : Function { private sealed class Сontinuator { private...
30
109
0.545671
[ "BSD-3-Clause" ]
DotJoshJohnson/NiL.JS
NiL.JS/Core/Functions/AsyncFunction.cs
4,625
C#
using System; using System.Drawing; namespace Gimela.Rukbat.DomainModels { public interface IFrame { bool IsLastFrameNull { get; } Bitmap LastFrame { get; } event EventHandler NewFrameEvent; } }
15.428571
37
0.708333
[ "MIT" ]
J-W-Chan/Gimela
src/Rukbat/Common/Gimela.Rukbat.DomainModels/Media/Interfaces/IFrame.cs
218
C#
using System; using System.Collections.Generic; using GitVersion.Common; using GitVersion.Configuration; using GitVersion.Extensions; using LibGit2Sharp; namespace GitVersion.VersionCalculation { /// <summary> /// Version is extracted from the name of the branch. /// BaseVersionSource is the commit where t...
40.571429
168
0.672144
[ "MIT" ]
AndreasAlexHyp/GitVersion
src/GitVersionCore/VersionCalculation/BaseVersionCalculators/VersionInBranchNameVersionStrategy.cs
2,556
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SignalTest { class Constellation { public struct Point { public double I; public double Q; public int Value; public Poi...
28.676471
127
0.456821
[ "MIT" ]
TylerAdkisson/SignalTest
SignalTest/Constellation.cs
4,877
C#
using System; using System.Linq; namespace CokiSkoki { class Startup { static void Main() { int n = int.Parse(Console.ReadLine()); int[] heights = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); int[] skokLengths = new int[heights.Lengt...
29.108696
87
0.407767
[ "MIT" ]
vasilvalkov/Data-Structures-and-Algorithms
Exam-Day-1/CokiSkoki/Startup.cs
1,341
C#
using FakebookNotifications.DataAccess; using FakebookNotifications.DataAccess.Models; using FakebookNotifications.WebApi.Hubs; using Microsoft.AspNetCore.SignalR; using Microsoft.Extensions.Logging.Abstractions; using Microsoft.Extensions.Options; using Moq; using System; using System.Collections.Generic; using Syste...
35.986111
197
0.574682
[ "MIT" ]
revaturelabs/fakebook-notifications
FakebookNotifications/FakebookNotifications.Testing/HubTests/NotificationHubTest.cs
12,957
C#
//--------------------------------------------------------------------- // <autogenerated> // // Generated by message compiler for wpf (mcwpf.exe) // // Copyright (c) Microsoft Corporation. All Rights Reserved. // // To update this file run "EventTraceCodeGen.cmd /managed" // // </autogenerated> //------------------...
52.413198
112
0.587871
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/wpf/src/Shared/tracing/managed/wpf-etw.cs
118,349
C#
namespace HexaEngine.Core { public static class Constants { public const int MAX_LIGHTS_PER_SCENE = 32; public static int ShadowMapSize { get; set; } = 1024 * 8; public static int MipLevels { get; set; } = 8; } }
22.818182
65
0.61753
[ "MIT" ]
TomMeinhold/Hexa-Engine
HexaEngine.Core/Constants.cs
253
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using Azure.Core.Am...
41.727452
224
0.568677
[ "MIT" ]
RamonArguelles/azure-sdk-for-net
sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/tests/ServiceBusEndToEndTests.cs
63,386
C#
using System; using System.Threading.Tasks; namespace Sushi.Mediakiwi.Data { public interface IDataFilter { bool? FilterB { get; set; } string FilterC { get; set; } decimal? FilterD { get; set; } int? FilterI { get; set; } DateTime? FilterT { get; set; } int ID ...
21.592593
39
0.530017
[ "MIT" ]
Supershift/Sushi.Mediakiwi
src/Sushi.Mediakiwi.Data/Data/Interfaces/IDataFilter.cs
585
C#
namespace Carbon.Css.Gradients { /* internal static class LinearGradientHelper { } */ } /* background: -webkit-linear-gradient(left,rgba(255,0,0,0),rgba(255,0,0,1)); // Safari 5.1-6 background: -o-linear-gradient(right,rgba(255,0,0,0),rgba(255,0,0,1)); // Opera 11.1-12 bac...
35.875
121
0.644599
[ "MIT" ]
Carbon/Css
src/Carbon.Css/Gradients/LinearGradientHelper.cs
1,150
C#
using System; using System.Data.Common; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace EFCore.Jet.Integration.Test.Model35_OneToZeroOneDeleteCascade { [TestClass] public class Model35_OneToZeroOneDeleteCascadeJetTest : Test { protected override DbConnection GetConnection() {...
24.125
71
0.722798
[ "Apache-2.0" ]
ckosti/EntityFrameworkCore.Jet
test/EFCore.Jet.Integration.Test/Model35_OneToZeroOneDeleteCascade/JetTest.cs
388
C#
using System; using System.Diagnostics; using System.Linq; using Ripple.Core.Binary; using Ripple.Core.Hashing; using Ripple.Core.Types; namespace Ripple.Core.ShaMapTree { public class ShaMapInner : ShaMapNode { public int Depth; internal int SlotBits; internal int Version; inte...
27.783282
80
0.487185
[ "ISC" ]
CASL-AE/ripple-netcore
src/Ripple.Core/ShaMapTree/ShaMapInner.cs
8,974
C#
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2022 Jeffrey Su & Suzhou Senparc Network Technology 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 ...
40.122449
109
0.582655
[ "Apache-2.0" ]
AaronWu666/WeiXinMPSDK
src/Senparc.Weixin.MP/Senparc.WeixinTests/Cache/CacheStrategyFactoryTests.cs
4,002
C#
#pragma warning disable IDE0051 using Neo.Cryptography.ECC; using Neo.IO; using Neo.Ledger; using Neo.Persistence; using Neo.VM; using Neo.VM.Types; using System; using System.Collections.Generic; using System.Linq; using System.Numerics; namespace Neo.SmartContract.Native.Tokens { public sealed class NeoToken : ...
43.779783
174
0.621011
[ "MIT" ]
Shyran-Systems/neo
src/neo/SmartContract/Native/Tokens/NeoToken.cs
12,127
C#
using System.ComponentModel.DataAnnotations; using Volo.Abp.Identity; using Volo.Abp.Validation; namespace Generic.Abp.Account { public class CheckVerificationCodeInputDto { [Required] [EmailAddress] [DynamicStringLength(typeof(IdentityUserConsts), nameof(IdentityUserConsts.MaxEmailLen...
23.6
100
0.682203
[ "MIT" ]
tianxiaode/GenericAbp
src/modules/account/src/Generic.Abp.Account.Application.Contracts/Generic/Abp/Account/CheckVerificationCodeInputDto.cs
474
C#
// Copyright (c) 2020-2021 Vladimir Popov zor1994@gmail.com https://github.com/ZorPastaman/Simple-Blackboard using System; using UnityEngine; using UnityEngine.Events; namespace Zor.SimpleBlackboard.Components.Accessors { [AddComponentMenu(AddComponentConstants.AccessorsFolder + "Rect Accessor")] public sealed clas...
25.888889
108
0.787554
[ "MIT" ]
ZorPastaman/Simple-Blackboard
Runtime/Components/Accessors/RectAccessor.cs
466
C#
using System.Collections.Generic; using System.Threading.Tasks; using IdentityGuard.Blazor.Ui.Services; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Authorization; namespace IdentityGuard.Blazor.Ui.Pages.Users { public partial class Claims { [Inject] public IUse...
29.862069
119
0.698614
[ "MIT" ]
swiftwaterlabs/IdentityGuard
src/IdentityGuard.Blazor.Ui/Pages/Users/Claims.razor.cs
868
C#
namespace EA.Iws.Domain.NotificationApplication.WasteRecovery { using System; using Core.Shared; using Prsd.Core.Domain; public class ProviderChangedEvent : IEvent { public Guid NotificationId { get; set; } public ProvidedBy NewProvider { get; private set; } public Provide...
25.842105
80
0.657841
[ "Unlicense" ]
DEFRA/prsd-iws
src/EA.Iws.Domain/NotificationApplication/WasteRecovery/ProviderChangedEvent.cs
493
C#
// <copyright file="PasswordPolicyRecoverySettings.Generated.cs" company="Okta, Inc"> // Copyright (c) 2014 - present Okta, Inc. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. // </copyright> // This file was automatically generated...
31.321429
112
0.704675
[ "Apache-2.0" ]
Christian-Oleson/okta-sdk-dotnet
src/Okta.Sdk/Generated/PasswordPolicyRecoverySettings.Generated.cs
877
C#
// Copyright (c) SDV Code Project. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace SdvCode.Migrations { using Microsoft.EntityFrameworkCore.Migrations; public partial class ResetUserProfile : Migration { protecte...
37.528571
101
0.575561
[ "MIT" ]
biproberkay/SdvCodeWebsite
SdvCode/SdvCode/Data/Migrations/20211014202858_ResetUserProfile.cs
5,256
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.PowerShell.EditorServices.Services; using Microsoft.PowerShell.EditorServices.Services.DebugAdapter; usi...
30.947368
110
0.626417
[ "MIT" ]
Knas2121/PowerShellEditorServices
src/PowerShellEditorServices/Services/DebugAdapter/Handlers/VariablesHandler.cs
1,766
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace AlibabaCloud.SDK.ROS.CDK.Sls { /// <summary>A ROS resource type: `ALIYUN::SLS::Project`.</summary> [JsiiClass(nativeType: typeof(AlibabaCloud.SDK.ROS.CDK.Sls.Project), fullyQualifiedName: "@alicloud/ros-cdk-sls.Project",...
55.139535
460
0.663433
[ "Apache-2.0" ]
aliyun/Resource-Orchestration-Service-Cloud-Development-K
multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Sls/AlibabaCloud/SDK/ROS/CDK/Sls/Project.cs
2,371
C#
namespace GlobalUtils.NumBaseUtils { using System; public class NBase { public int NumberBase { get; set; } public string Number { get; set; } public NBase(string raw, int numberBase = 2) { if (!string.IsNullOrWhiteSpace(raw)) { thi...
29.473118
160
0.480846
[ "MIT" ]
dh5104/AoC2021
GlobalUtils/NumBaseUtils/NBase.cs
2,743
C#
using System; using System.Device.I2c; using System.Threading; namespace Iot.Device.Ags01db.Samples { class Program { static void Main(string[] args) { I2cConnectionSettings settings = new I2cConnectionSettings(1, Ags01db.DefaultI2cAddress); I2cDevice device = I2cDevice...
27.09375
101
0.522491
[ "MIT" ]
Anberm/iot
src/devices/Ags01db/samples/Program.cs
869
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; namespace AnyPrefix.Microsoft.Scripting.Interpreter { internal s...
31.62963
78
0.668618
[ "MIT" ]
shuice/IronPython_UWP
ironpython2/Src/DLR/Src/Microsoft.Dynamic/Interpreter/RuntimeVariables.cs
856
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace stock123.app.ui { public partial class DlgCompareToShare : Form { public DlgCompareToShare() { ...
23.423077
63
0.534483
[ "Unlicense" ]
thuyps/vnchart_windows
stock123/app/ui/DlgCompareToShare.cs
1,218
C#
using System; namespace Models { /// <summary> /// 项目特殊要求 /// </summary> [Serializable] public class SpecialRequirement { public int SpecialRequirementId { get; set; } public int ProjectId { get; set; } public string Content { get; set; } //简单扩展 public s...
18.684211
53
0.557746
[ "MIT" ]
felixzhu1989/Compass
Models/SpecialRequirement.cs
377
C#
using System; using System.Linq; using FluentValidation; namespace Ninject.Web.Mvc5.FluentValidation { /// <summary> /// Validation factory that uses ninject to create validators /// </summary> public class NinjectValidatorFactory : ValidatorFactoryBase { private readonly IKernel _kernel...
29.487179
90
0.6
[ "MIT" ]
rexcfnghk/Ninject.Web.Mvc5.FluentValidation
Ninject.Web.Mvc5.FluentValidation/NinjectValidatorFactory.cs
1,152
C#
using System; using System.IO; using System.Threading.Tasks; using k8s; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace CertManager.Acme.HttpHook { public class Program { public static async Task Main(string[] args...
42.20339
100
0.53253
[ "MIT" ]
mpoettgen/cert-manager-acme-httphook
src/cert-manager-acme-httphook/Program.cs
2,492
C#
internal class FtpDataStream : Stream, IDisposable // TypeDefIndex: 1966 { // Fields private FtpWebRequest request; // 0x28 private Stream networkStream; // 0x30 private bool disposed; // 0x38 private bool isRead; // 0x39 private int totalRead; // 0x3C // Properties public override bool CanRead { get; } publi...
35.406977
113
0.730378
[ "MIT" ]
SinsofSloth/RF5-global-metadata
System/Net/FtpDataStream.cs
3,045
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...
47.435185
188
0.61585
[ "Apache-2.0" ]
Murcho/aws-sdk-net
sdk/src/Services/ECS/Generated/Model/KernelCapabilities.cs
5,123
C#
namespace ManagedBass.Fx { /// <summary> /// BassFx Rotate Effect. /// </summary> /// <remarks> /// <para>This is a volume rotate effect between even channels, just like 2 channels playing ping-pong between each other.</para> /// <para>The <see cref="Rate"/> defines the speed in Hz.</para> /...
29.35
139
0.525554
[ "MIT" ]
Beyley/ManagedBass
src/AddOns/BassFx/Effects/Objects/RotateEffect.cs
1,174
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading; using System.Threading.Tasks; using FluentAssertions; using MediatR; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Moq; using NHSD.BuyingCatalogue.Solutions.API.Controllers...
41.259259
121
0.659336
[ "MIT" ]
nhs-digital-gp-it-futures/BuyingCatalogueService
tests/NHSD.BuyingCatalogue.Solutions.API.UnitTests/ClientApplications/NativeMobile/MobileThirdPartyControllerTests.cs
6,686
C#
// <copyright file="DiceSettingsViewModel.cs" company="DarthPedro"> // Copyright (c) 2017 DarthPedro. All rights reserved. // </copyright> using DiceRoller.Mvc.Services; using OnePlat.DiceNotation; using OnePlat.DiceNotation.DieRoller; using System.Collections.Generic; using System.Linq; namespace DiceRoller.Mvc.Vie...
40.366972
121
0.634545
[ "MIT" ]
voximity/OnePlat.DiceNotation
Samples/DiceRoller.Mvc/ViewModels/DiceSettingsViewModel.cs
4,402
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 1.0.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. n...
36.652174
280
0.642546
[ "MIT" ]
AzureAutomationTeam/azure-sdk-for-net
src/SDKs/KeyVault/dataPlane/Microsoft.Azure.KeyVault/Generated/Models/SasDefinitionUpdateParameters.cs
2,529
C#
namespace BettingSystem.Domain.Teams { using System.Linq; using Common; using Factories; using FluentAssertions; using Microsoft.Extensions.DependencyInjection; using Xunit; public class DomainConfigurationSpecs { [Fact] public void AddDomainShouldRegisterFactories() ...
25
60
0.529778
[ "MIT" ]
kalintsenkov/BettingSystem
src/Server/Teams/Teams.Domain/DomainConfiguration.Specs.cs
1,127
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...
41.037879
169
0.626361
[ "Apache-2.0" ]
ermshiperete/aws-sdk-net
AWSSDK_DotNet35/Amazon.CloudSearch/Model/Internal/MarshallTransformations/DefineIndexFieldResponseUnmarshaller.cs
5,417
C#
using System.IO; using FastRsync.Delta; using FastRsync.Hash; namespace FastRsync.Tests.OctodiffLegacy { // This decorator turns any sequential copy operations into a single operation, reducing // the size of the delta file. // For example: // Copy: 0x0000 - 0x0400 // Copy: 0x0401 - 0x0800 ...
28.924242
111
0.590361
[ "Apache-2.0" ]
GrzegorzBlok/FastRsyncNet
source/FastRsync.Tests/OctodiffLegacy/OctodiffAggregateCopyOperationsDecorator.cs
1,911
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace WebApplication10.Models { public class Purchases { public int id { get; set; } public string Name { get; set; } public string Category { get; set; } public int Quantity { get; set; } ...
24.117647
44
0.617073
[ "BSD-3-Clause" ]
KarimContractor/Inventory
Inventory Management system/WebApplication10/WebApplication10/Models/Purchases.cs
412
C#
namespace Grunt.Models.HaloInfinite { public class Configuration { public int ConfigurationId { get; set; } public string ConfigurationPath { get; set; } } }
18.8
53
0.643617
[ "MIT" ]
dend/grunt
Grunt/Grunt/Models/HaloInfinite/Configuration.cs
190
C#
using System; using System.ComponentModel; using System.Threading.Tasks; using Microsoft.Toolkit.Mvvm.ComponentModel; using SkiaSharp.Views.iOS; using Stylophone.Common.Helpers; using Stylophone.Common.Interfaces; using Stylophone.Common.Services; using Stylophone.Common.ViewModels; using Stylophone.iOS.Services; usin...
40.470588
286
0.746366
[ "MIT" ]
Difegue/Stylophone
Sources/Stylophone.iOS/ViewModels/PlaybackViewModel.cs
1,378
C#
using System; using System.Collections.Generic; using System.Text; using PayRollSystem.Common; namespace PayRollSystem.Northwind { public class NorthwindOverTimeCalculator : IOverTimeCalculator { public int GetAmountOfOverTimeInHours(int hoursWorked, TimeSpan duration) { ...
22.0625
82
0.679887
[ "Unlicense" ]
Dreameris/.NET-Common-Library
developers-stuff/common-lib/rhino-tools/SampleApplications/StormingTheCastle/PayRollSystem/Northwind/NorthwindOverTimeCalculator.cs
353
C#
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace HomeWork.Controllers { [ApiController] [Route("[controller]")] public class QuestionsController : ControllerBase { public QuestionsController() { ...
20.923077
66
0.542892
[ "MIT" ]
FM-I/LessonMonitor
LessonMonitor/HomeWork/Controllers/QuestionsController.cs
818
C#
using System; namespace NServiceKit.LogicFacade { /// <summary>Interface for initialise context.</summary> public interface IInitContext : IDisposable { /// <summary>Gets the initialised object.</summary> /// /// <value>The initialised object.</value> object InitialisedObject ...
21.5625
61
0.628986
[ "BSD-3-Clause" ]
NServiceKit/NServiceKit
src/NServiceKit.Interfaces/LogicFacade/IInitContext.cs
330
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.ServiceFabr...
33.690476
98
0.556184
[ "MIT" ]
sachinkumarc/service-fabric-client-dotnet
src/Microsoft.ServiceFabric.Common/VolumeResourceDescription.cs
1,415
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> //-----------------------------------------...
35.616541
84
0.546548
[ "MIT" ]
PostalMike/DTSReports
ViewReports.ascx.designer.cs
4,737
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
36.756757
153
0.619118
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/model/ImportedAppleDeviceIdentityImportAppleDeviceIdentityListRequestBody.cs
1,360
C#
using System; using System.IO; using Baseline; using Marten.Storage; using Xunit; namespace Marten.Schema.Testing.Bugs { public class Bug_145_table_getting_erroneously_regenerated_Tests: IntegrationContext { public Bug_145_table_getting_erroneously_regenerated_Tests() { StoreOptions...
26.230769
88
0.539589
[ "MIT" ]
barclayadam/marten
src/Marten.Schema.Testing/Bugs/Bug_145_table_getting_erroneously_regenerated_Tests.cs
2,046
C#
using Lykke.SettingsReader.Attributes; namespace Lykke.Service.HFT.Core.Settings { public class DbSettings { [AzureBlobCheck] public string LogsConnString { get; set; } [MongoCheck] public string OrderStateConnString { get; set; } } }
21.615385
56
0.658363
[ "MIT" ]
LykkeCity/Lykke.Service.HFT
src/Lykke.Service.HFT.Core/Settings/DbSettings.cs
283
C#
using System.Threading.Tasks; using WalletWasabi.Userfacing; using WalletWasabi.Wallets; namespace WalletWasabi.Fluent.ViewModels.Dialogs.Authorization { [NavigationMetaData(Title = "Enter your password", NavigationTarget = NavigationTarget.CompactDialogScreen)] public partial class PasswordAuthDialogViewModel : Aut...
26.358974
109
0.7607
[ "MIT" ]
BTCparadigm/WalletWasabi
WalletWasabi.Fluent/ViewModels/Dialogs/Authorization/PasswordAuthDialogViewModel.cs
1,028
C#
namespace KentriosiPhotosContests.Services { using System.Collections.Generic; using System.Linq; using Contracts; using KentriosiPhotoContest.Models; using KentriosiPhotoContest.Data; public class ContestService : BaseService, IContestService { public ContestService(IKentriosiPho...
26.588235
89
0.613938
[ "MIT" ]
KENTRIOSI/KentriosiPhotoContest
KentriosiPhotosContests.Services/ContestService.cs
906
C#
using System.Web; using System.Web.Mvc; namespace OnlineAuction { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
19
80
0.657895
[ "MIT" ]
KesharaWaidyarathna/OnlineAuction
OnlineAuction/OnlineAuction/App_Start/FilterConfig.cs
268
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Azure.EventHubs { using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization...
47.088757
180
0.646017
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/eventhub/Microsoft.Azure.EventHubs/src/Primitives/SharedAccessSignatureTokenProvider.cs
7,960
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace SmartGroceryList2._0MVC { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resou...
24.625
99
0.593909
[ "Unlicense" ]
1rochelle/SmartGroceryList2.0
SmartGroceryList2.0MVC/App_Start/RouteConfig.cs
593
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; using database_csharp.Data; na...
36.028037
128
0.518288
[ "MIT" ]
kazimierz-256/Enron-Corpus-to-EF-PostgreSQL
database_csharp/Migrations/20191213074052_ChangedFromType.Designer.cs
3,857
C#
using Newtonsoft.Json; namespace Lakerfield.BunqSdk.Model { [BunqObject("NoteAttachmentBunqMeFundraiserResultDelete")] public class NoteAttachmentBunqMeFundraiserResultDelete { // TODO: Empty class in definition } }
19.166667
60
0.786957
[ "MIT" ]
Lakerfield/bunqsdk
src/Lakerfield.BunqSdk/Model/Generated/NoteAttachmentBunqMeFundraiserResultDelete.cs
230
C#
using System.Runtime.Serialization; namespace fiskaltrust.ifPOS.v1 { /// <summary> /// Response to the EchoRequest. Returns the message provided in the EchoRequest if successfull. /// </summary> [DataContract] public class EchoResponse { [DataMember(Order = 1)] public string...
23.4
100
0.643875
[ "MIT" ]
fiskaltrust/middleware-interface-dotnet
src/fiskaltrust.ifPOS/v1/Models/EchoResponse.cs
353
C#
using Acr.UserDialogs; using ProMama.Components; using ProMama.Models; using ProMama.ViewModels.Services; using System; using System.Windows.Input; using Xamarin.Forms; namespace ProMama.ViewModels.Home.Paginas { class PerfilCriancaEditViewModel : ViewModelBase { private Aplicativo app = Aplicativo.In...
38.488987
148
0.561177
[ "Apache-2.0" ]
agharium/ProMama
ProMama/ProMama/ViewModels/Home/Paginas/PerfilCriancaEditViewModel.cs
8,773
C#
 using System; using System.Collections.Generic; using UnityEditor; using UnityEditor.Experimental.GraphView; using UnityEditor.UIElements; using UnityEngine; using UnityEngine.UIElements; namespace BlueGraph.Editor { [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] public class CustomNodeViewAt...
38.533445
212
0.517424
[ "MIT" ]
TheChurro/legend_of_login
Assets/BlueGraph/Editor/NodeView.cs
23,045
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
20.292308
48
0.508719
[ "MIT" ]
danielalexe/OTTS
WPF/OTTS_WPF/Controls/CDatetime.xaml.cs
1,321
C#