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 NBitcoin; using WalletWasabi.Crypto; using WalletWasabi.Crypto.Randomness; using WalletWasabi.WabiSabi.Backend.Rounds; using WalletWasabi.WabiSabi.Crypto; using WalletWasabi.WabiSabi.Models.MultipartyTransaction; namespace WalletWasabi.WabiSabi.Models; public record RoundState(uint256 Id, uint256 BlameOf, Cre...
33.704918
143
0.817121
[ "MIT" ]
CAnorbo/WalletWasabi
WalletWasabi/WabiSabi/Models/RoundState.cs
2,056
C#
using APIServer.Aplication.Commands.WebHooks; using HotChocolate.Types; namespace APIServer.Aplication.GraphQL.Types { public class UpdateWebHookActivStatePayloadType : ObjectType<UpdateWebHookActivStatePayload> { protected override void Configure(IObjectTypeDescriptor<UpdateWebHookActivStatePayload> descripto...
31.916667
103
0.76893
[ "MIT" ]
shockzinfinity/trouble-training
Src/APIServer/Aplication/Graphql/Types/MutationTypes/WebHooks/UpdateProjectWebHookActivStateMuattionTypes.cs
766
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; using Excel = Microsoft.Office.Interop.Excel; using Office = Microsoft.Office.Core; using Microsoft.Office.Tools.Excel; using System.Windows.Forms; namespace ExcelCamAddIn { public partial class ThisAddIn ...
26.689189
86
0.574177
[ "MIT" ]
nemanja-popovic/ExcelAddInWithCamera
ExcelCamAddIn/ThisAddIn.cs
1,977
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BlockchainCS { public enum BlockchainMode { MainNet = 0x77, TestNet = 0x00 } public class Blockchain { public static int Difficult...
29.661392
128
0.495786
[ "BSD-3-Clause" ]
JelloJellyton/V2AN
BlockchainCS/Blockchain.cs
9,375
C#
using LogJoint.Postprocessing; using System.Linq; namespace LogJoint.Chromium.ChromeDriver { }
13.857143
40
0.814433
[ "MIT" ]
rkapl123/logjoint
trunk/extensions/chromium/model/Formats/Chromedriver/Reader/Extensions.cs
99
C#
/* This file is part of pspsharp. pspsharp is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. pspsharp is distributed in the hope that it wil...
40.5
86
0.711692
[ "MIT" ]
xXxTheDarkprogramerxXx/PSPSHARP
PSP_EMU/HLE/kernel/types/IWaitStateChecker.cs
1,379
C#
// Copyright 2008-2011. This work is licensed under the BSD license, available at // http://www.movesinstitute.org/licenses // // Orignal authors: DMcG, Jason Nelson // Modified for use with C#: // - Peter Smith (Naval Air Warfare Center - Training Systems Division) // - Zvonko Bostjancic (Blubit d.o.o. - zvonko....
39.668449
165
0.551699
[ "BSD-2-Clause" ]
mcgredonps/Unity_DIS
Assets/Plugins/DIS/Enumerations/Entity.Information.Minefield/Fusing.cs
14,836
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> //--...
45.221344
200
0.611572
[ "MIT" ]
allenlooplee/RPABook
src/ML/ML/Properties/Resources.Designer.cs
11,443
C#
using UnityEngine; using UnityEngine.UI; using TMPro; using System.IO; /* * * * Think of ways to gate the other modes... * * Finish Tutorial for "quick play" * Play quick play 4 times for challenge mode * Get Elo rating of ...
30.9
98
0.623979
[ "Unlicense" ]
chrsjwilliams/Omino
Assets/Scripts/_ChrsUtils/SceneManager/TutorialLevelSceneScript.cs
6,491
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /****************************************************************************** * This file is auto-generated from a template file by the GenerateTests.csx * * script in tests\src...
44.028986
184
0.60395
[ "MIT" ]
333fred/runtime
src/tests/JIT/HardwareIntrinsics/General/Vector128/GreaterThanOrEqual.Byte.cs
15,190
C#
using Unity.Networking.Transport; using Unity.NetCode; using Unity.Mathematics; using UnityEngine; public struct Char_TerraformerSnapshotData : ISnapshotData<Char_TerraformerSnapshotData> { public uint tick; private int CharacterInterpolatedDataPositionX; private int CharacterInterpolatedDataPositionY; ...
65.995466
267
0.773048
[ "MIT" ]
The-ULTIMATE-MULTIPLAYER-EXPERIENCE/Ultimate-Archery-Multiplayer-Unity-Game
DOTSSample-master/Assets/Scripts/Networking/Generated/Char_TerraformerSnapshotData.cs
131,001
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("Col...
38.054054
84
0.75071
[ "Unlicense" ]
slogslog/Coding-Kurzgeschichten
Livestreams/Collector_Livestream/Collector_Livestream/Properties/AssemblyInfo.cs
1,411
C#
// Copyright 2017 Quintonn Rothmann // 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, distrib...
52.870968
465
0.718731
[ "MIT" ]
quintonn/QBic
BasicAuthentication.Core/Security/RefreshToken.cs
1,641
C#
using Vortice.Direct3D12; namespace RayTracingTutorial13.Structs { public struct PipelineConfig { public RaytracingPipelineConfig config; public StateSubObject suboject; public PipelineConfig(int maxTraceRecursionDepth) { config = new RaytracingPipelineConfig(maxTr...
22.777778
74
0.680488
[ "MIT" ]
Jorgemagic/CSharpDirectXRaytracing
13-SecondRayType/RTX/Structs/PipelineConfig.cs
412
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Azure.Messaging.ServiceBus { /// <summary> /// The <see cref="Pr...
48.643243
232
0.676742
[ "MIT" ]
ChenTanyi/azure-sdk-for-net
sdk/servicebus/Azure.Messaging.ServiceBus/src/Processor/ProcessSessionMessageEventArgs.cs
9,001
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace Infra.Migrations { public partial class GenericBattlev3 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropForeignKey( name: "FK_InputBattleData_KoffieBattle_Cu...
34.293333
72
0.563764
[ "MIT" ]
Kimo-sudo/CitrixDomain
Infra/Migrations/20200208184846_GenericBattlev3.cs
2,574
C#
using UnityEngine; using System.Collections; public class OnJoinInstantiate : MonoBehaviour { public Transform ObjectToInstantiate; public bool InstantiateSceneObjects = false; public GameObject newObj; // not used but to show that you get the GO as return public void OnJoinedRoom() ...
31.571429
123
0.632579
[ "Apache-2.0" ]
alejandrade/GlobalGameJam-Hackaton
Orbital/Assets/Photon Unity Networking/Demos/DemoChangeOwner/OnJoinInstantiate.cs
1,105
C#
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/openiddict/openiddict-core for more information concerning * the license and the contributors participating to this project. */ using System.Collections.Immutable; using System.ComponentModel;...
43.097859
120
0.61284
[ "Apache-2.0" ]
OrgAE/OrgAE-Openiddict
src/OpenIddict.Abstractions/Primitives/OpenIddictParameter.cs
56,374
C#
using SharpDX.Direct3D9; using System; using System.Threading; using System.Windows.Interop; namespace LottieSharp.WpfSurface { class Dx11ImageSource : D3DImage, IDisposable { // - field ----------------------------------------------------------------------- private static int ActiveClients;...
32.512315
176
0.545303
[ "Apache-2.0" ]
ascora/LottieSharp
LottieSharp/WpfSurface/Dx11ImageSource.cs
6,602
C#
using System; using System.Collections.Generic; using System.Text; namespace CoinMarketCapNet.Endpoints { internal enum EndpointSecurityType { None, ApiKey } }
14.615385
38
0.689474
[ "MIT" ]
M-Boukhlouf/CoinMarketCapNet
CoinMarketCapNet/Endpoints/EndpointSecurityType.cs
192
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MsExcel = Microsoft.Office.Interop.Excel; namespace ComWrapper.Excel { public class Names : WrapperBase<MsExcel.Names>, IEnumerable<Name> { public int Cou...
25.113636
91
0.569231
[ "MIT" ]
sumakineko/ComWrapper
ExcelWrapper/Excel/Names.cs
1,107
C#
// Copyright (c) 2015 - 2019 Doozy Entertainment. All Rights Reserved. // This code can only be used under the standard Unity Asset Store End User License Agreement // A Copy of the EULA APPENDIX 1 is available at http://unity3d.com/company/legal/as_terms using System; using Doozy.Editor.Nody; using Doozy.Engine...
44.842466
169
0.601497
[ "MIT" ]
MikaelStenstrand/drivingo
Assets/Doozy/Editor/UI/Nodes/GUIs/PortalNodeGUI.cs
6,547
C#
using System; namespace WebMagicSharp.Utils { public static class LangUtils { public static int HASH_SEED = 17; public static int HASH_OFFSET = 37; /** Disabled default constructor. */ public static int HashCode(int seed, int hashcode) { return seed * HASH_...
30.64557
105
0.458488
[ "Apache-2.0" ]
Peefy/DuGu.WebMagicSharp
WebMagicSharp/Utils/LangUtils.cs
2,423
C#
using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Linq; namespace PVInfo { class Program { static void Main(string[] args) { /* string folderOfScans = @"X:\Data\C57\GRABNE\2021-10-04-ne-washon"; if ...
40.592233
126
0.532289
[ "MIT" ]
swharden/ephys-projects
tools/PVInfo/Program.cs
8,364
C#
#region License // Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) // // 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...
70.45098
269
0.738937
[ "Apache-2.0" ]
MDormann/FluentValidation
src/FluentValidation/Resources/Languages/DutchLanguage.cs
3,593
C#
using System; using System.Diagnostics; using System.Windows; using System.Windows.Interop; using System.Windows.Media; using OpenTK.Graphics.OpenGL; using OpenTK.Graphics.Wgl; using OpenTK.Wpf.Interop; namespace OpenTK.Wpf { /// Renderer that uses DX_Interop for a fast-path. internal sealed class GLWpfContro...
42.670103
258
0.623822
[ "MIT" ]
BBoldenow/GLWpfControl
src/GLWpfControl/GLWpfControlRenderer.cs
4,139
C#
/* * Copyright (c) 2018, Firely (info@fire.ly) and contributors * See the file CONTRIBUTORS for details. * * This file is licensed under the BSD 3-Clause license * available at https://github.com/ewoutkramer/fhir-net-api/blob/master/LICENSE */ using Hl7.Fhir.Introspection; using Hl7.Fhir.Model; using Hl7.Fhir...
34.521212
108
0.635007
[ "BSD-3-Clause" ]
amitpuri/fhir-net-api
src/Hl7.Fhir.Core/Specification/PocoStructureDefinitionSummaryProvider.cs
5,698
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.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Gc...
43.837748
261
0.649218
[ "ECL-2.0", "Apache-2.0" ]
23doors/pulumi-gcp
sdk/dotnet/Organizations/GetIAMPolicy.cs
13,239
C#
using static System.Console; namespace Casm.Emulator { public static class Program { public static void Main(string[] args) { var context = new EmulatorContext(); context.ExecuteNextInstruction(); context.ExecuteNextInstruction(); PrintRegister...
23.08
60
0.52513
[ "MIT" ]
jorgy343/condor
ncasm/Casm.Emulator/Program.cs
579
C#
using System; namespace PnP.Core.Admin.Model.SharePoint { /// <summary> /// Contains the available options for creating a classic site collection (e.g. classic team site) /// </summary> public class ClassicSiteOptions : CommonSiteOptions { /// <summary> /// Default constuctor for c...
34.013333
137
0.562917
[ "MIT" ]
JackStrap/pnpcore
src/sdk/PnP.Core.Admin/Model/SharePoint/Core/Public/Options/ClassicSiteOptions.cs
2,553
C#
//----------------------------------------------------------------------- // <copyright file="Variable.cs" company="None"> // Copyright (c) Brandon Wallace and Jesse Calhoun. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace TQVaultData { usin...
23.699507
93
0.605903
[ "MIT" ]
marq/TQVaultAE
src/TQVaultAE.DAL/Variable.cs
4,813
C#
// Unity C# reference source // Copyright (c) Unity Technologies. For terms of use, see // https://unity3d.com/legal/licenses/Unity_Reference_Only_License using UnityEngine; using System; using System.Linq; using UnityEditor.EditorTools; using UnityEditor.IMGUI.Controls; namespace UnityEditor { [CustomEditor(type...
35.163636
121
0.587901
[ "Unlicense" ]
HelloWindows/AccountBook
client/framework/UnityCsReference-master/Editor/Mono/Inspector/PolygonCollider2DEditor.cs
5,802
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...
63.193333
385
0.685515
[ "MIT" ]
Agazoth/azure-powershell
src/PostgreSql/generated/api/Models/Api20210601/RestartParameter.PowerShell.cs
9,330
C#
namespace RD_AAOW { /// <summary> /// Перечисление результатов инициализации класса-описателя диаграммы /// </summary> public enum DiagramDataInitResults { /// <summary> /// Файл данных успешно загружен /// </summary> Ok = 0, /// <summary> /// Файл данных не найден или недоступен /// </summary> ...
26.204819
96
0.694713
[ "MIT" ]
adslbarxatov/GeomagDataDrawer
src/DiagramDataInitResults.cs
2,659
C#
namespace Klaims.Scim.Endpoints { using System; using Klaims.Scim.Resources; using Klaims.Scim.Services; using Microsoft.AspNet.Mvc; [Route(ScimConstants.Routes.Templates.Self)] public class SelfEndpoint : ScimEndpoint { private readonly IScimUserManager resourceManager; public SelfEndpoint(IScimUserMan...
22.746032
127
0.690858
[ "Apache-2.0" ]
aanufriyev/Klaims.DirectoryServices
src/Klaims.Scim/Endpoints/SelfEndpoint.cs
1,435
C#
/* ======================================================================= Copyright 2017 Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsdynamik (chair of fluid dynamics) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. ...
42.7833
220
0.576115
[ "Apache-2.0" ]
leyel/BoSSS
src/L4-application/CNS/IBM/BoundaryConditionSource.cs
21,020
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
41
179
0.613508
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/EntitlementManagementAccessPackageCatalogsCollectionPage.cs
1,599
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Car.Data; using Car.Data.Interfaces; using Car.Data.Repository; using Car.Services; using Car.Services.AutoMapper; using Car.Services.Interfaces; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting...
33.457447
106
0.638474
[ "MIT" ]
buibup/Car
Car.Api/Startup.cs
3,147
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Windows.Data; using System.Windows; using System.Windows.Input; using PropertyChanged; namespace Abnaki.Windows.Software.Wpf.PreferredControls.Grid { /// <summary> /// ViewModel for Grid ...
27.317073
77
0.609821
[ "MIT" ]
abnaki/windows
Library/Software/WpfPreferredControls/Grid/GridVm.cs
1,122
C#
using eliteKit.eliteCore; using SkiaSharp; using SkiaSharp.Views.Forms; using Xamarin.Forms; #pragma warning disable ALL namespace eliteKit.eliteElements { public class eliteProgressSteps : SKCanvasView { private int canvasWidth = 0; private int canvasHeight = 0; private int stepSweepA...
32.258503
268
0.511704
[ "MIT" ]
arqueror/eliteK
src/Forms/eliteKit_Src/eliteElements/eliteProgressSteps.cs
9,486
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
39.054054
85
0.72872
[ "MIT" ]
saintsrowmods/SaintsRow2Tools
ctsMapper/Properties/AssemblyInfo.cs
1,448
C#
using CuttingEdge.Conditions; using Newtonsoft.Json; using SquareAccess.Configuration; using SquareAccess.Exceptions; using SquareAccess.Shared; using SquareAccess.Throttling; using System; using System.Collections.Generic; using System.Net.Http; using System.Net; using System.Runtime.CompilerServices; usin...
36.392857
217
0.701546
[ "MIT" ]
skuvault-integrations/squareAccess
src/SquareAccess/Services/BaseService.cs
8,154
C#
// <copyright file="Ability.cs" company="Worldshifters"> // Copyright (c) Worldshifters. All rights reserved. // </copyright> #pragma warning disable CA1034 // Nested types should not be visible namespace Worldshifters.Data.Hero { using System; using System.Collections.Generic; using Google.Protobuf.Coll...
35.473684
169
0.637389
[ "MIT" ]
Seiryuha96/Worldshifters.Open
Worldshifters.Abstractions/Hero/Ability.cs
3,372
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...
42.226804
178
0.642578
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/Signer/Generated/Model/BadRequestException.cs
4,096
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; // <copyright file="" company=""> // <author>Pierre-François Léon</author> // </copyright> /// <summary> /// Affichage graphique des statistiques : /// - Ouvrir le site http://gnuplot.respawned.com /// - Copier / coller des d...
42.733871
370
0.586243
[ "MIT" ]
PiFou86/420-229-SF_Algo_Prog_II
ComparaisonAlgorithmesEtStD/Program.cs
10,645
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.235294
182
0.698343
[ "Apache-2.0" ]
virajs/aws-sdk-net
AWSSDK_DotNet35/Amazon.SimpleWorkflow/Model/WorkflowExecutionAlreadyStartedException.cs
2,052
C#
 using System; using System.Linq; using UML=TSF.UmlToolingFramework.UML; namespace TSF.UmlToolingFramework.Wrappers.EA { /// <summary> /// Multiplicity is an interval with a lower limit of type Unsigned Integer (Natural), and a upper limit of type UnlimitedNatural /// it is usually represented as [lower limit]..[u...
24.592593
130
0.64119
[ "BSD-2-Clause" ]
Helmut-Ortmann/Enterprise-Architect-Add-in-Framework
EAAddinFramework/EAWrappers/Multiplicity.cs
2,658
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Eco.DataContext { public partial class AspNetUserClaims { public int Id { get; set; } public string ClaimType { get; set; } public ...
26
51
0.661172
[ "Apache-2.0" ]
arsalan0312/Eco
Eco/DataContext/AspNetUserClaims.cs
548
C#
namespace KafkaFlow.Producers { using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Confluent.Kafka; /// <summary> /// </summary> public static class BatchProduceExtension { /// <summary> /// Calls the Produce()...
31.794326
150
0.510596
[ "MIT" ]
fab60/kafka-flow
src/KafkaFlow/Producers/BatchProduceExtension.cs
4,483
C#
using MediatR; using Pets.Platform.Permissions.Core.Domain; using Pets.Platform.Permissions.Core.Interfaces; namespace Pets.Platform.Permissions.Core.Queries; public class GetUserUiModules : IRequest<UserUiModules> { public long UserId { get; init; } public long ProjectId { get; init; } } public class UserU...
29.225
106
0.718563
[ "MIT" ]
11pets/Pets.Platform.Permissions
Pets.Platform.Permissions.Core/Queries/GetUserUiModulesQuery.cs
1,171
C#
using System; using System.Threading.Tasks; using ResourceProvisioning.Abstractions.Repositories; using ResourceProvisioning.Broker.Domain.Aggregates.ResourceAggregate; namespace ResourceProvisioning.Broker.Domain.Repository { public interface IResourceRepository : IRepository<ResourceRoot> { Task<ResourceRoot> G...
27.307692
70
0.842254
[ "MIT" ]
dfds/resource-provisioning-poc
src/ResourceProvisioning.Broker.Domain/Repositories/IResourceRepository.cs
357
C#
using Dapper.Contrib.Extensions; namespace Blog.Models { [Table("[Category]")] public class Category { public Category() => Posts = new List<Post>(); public int Id { get; set; } public string Name { get; set; } public string Slug { get; set; } public Lis...
22.1875
45
0.549296
[ "MIT" ]
DouglasMoraiis/dotnet-cli-projects
Blog/Models/Category.cs
355
C#
#region License // /* // * ###### // * ###### // * ############ ####( ###### #####. ###### ############ ############ // * ############# #####( ###### #####. ###### ############# ############# // * ###### #####( ###### #####. ###### ##### ###### ###...
46.735065
679
0.551326
[ "MIT" ]
Adyen/adyen-dotnet-api-library
Adyen/Model/MarketPay/GetAccountHolderResponse.cs
17,993
C#
#if ENABLE_PLAYFABSERVER_API using System; using System.Collections.Generic; using PlayFab.SharedModels; namespace PlayFab.MatchmakerModels { [Serializable] public class AuthUserRequest : PlayFabRequestCommon { /// <summary> /// Session Ticket provided by the client. /// </summary> ...
35.537634
132
0.604034
[ "Apache-2.0" ]
deltaDNA/tutorial-playfab
Assets/PlayFabSdk/Matchmaker/PlayFabMatchmakerModels.cs
9,915
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Runtime....
41.558036
202
0.605973
[ "Apache-2.0", "MIT" ]
amamounelsayed/azure-functions-host
src/WebJobs.Script/Description/DotNet/FunctionAssemblyLoadContext.cs
18,620
C#
using System.Threading.Tasks; using AElf.Types; namespace AElf.Kernel.SmartContractExecution.Application { public interface ITransactionValidationProvider { Task<bool> ValidateTransactionAsync(Transaction transaction); } }
24.3
69
0.781893
[ "MIT" ]
clairernovotny/AElf
src/AElf.Kernel.SmartContractExecution/Application/ITransactionValidationProvider.cs
243
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.740741
151
0.584343
[ "MIT" ]
Silex/mipsdk-samples-plugin
PlatformFileServer/Properties/Settings.Designer.cs
1,075
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using ZigBeeNet; using ZigBeeNet.App; using ZigBeeNet.App.Discovery; using ZigBeeNet.ZDO.Command; using ZigBeeNet.Util; using Microsoft.Extensi...
44.068966
194
0.630125
[ "EPL-1.0" ]
JanneMattila/ZigbeeNet
libraries/ZigBeeNet/App/IasClient/ZclIasZoneClient.cs
12,802
C#
using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Service.Exchange.Balances.Postgres.Migrations { public partial class UpdateBalancePrecision : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<decima...
32.40625
71
0.488428
[ "MIT" ]
MyJetWallet/Service.Exchange.Balances
src/Service.Exchange.Balances.Postgres/Migrations/20211118110605_UpdateBalancePrecision.cs
2,076
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
33.298013
152
0.577367
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/CloudWatch/Generated/Model/PutAnomalyDetectorRequest.cs
5,028
C#
using MediatR; namespace ChatterBot.Core.Auth { public class AccessTokenReceived : IRequest<bool> { public string AccessToken { get; set; } = string.Empty; public string Scope { get; set; } = string.Empty; public string State { get; set; } = string.Empty; public string TokenTyp...
26.153846
63
0.575
[ "MIT" ]
SimonGeering/ChatterBot
src/Core/ChatterBot/Core/Auth/AccessTokenReceived.cs
682
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("MSCodeTools")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: Assemb...
25.594595
56
0.714889
[ "Apache-2.0" ]
andyshao/CodeTools
MSCodeTools/Properties/AssemblyInfo.cs
1,306
C#
#if true public class BuildinSceneIndex { public const int AppStage_lv_003_001_00 = 0; public const int AppSystem_PermanentCollection = 1; public const int CameraModule_CameraModule = 2; public static readonly int[] Category_AppStage = new int[]{AppStage_lv_003_001_00, }; public static readonly int[] Category_AppSyste...
34.45
93
0.802612
[ "MIT" ]
fullmoonhalf/until
Assets/Generated/UpdateScenesInBuild/BuildinSceneIndex.cs
689
C#
using System; using System.Collections.Generic; using System.Linq; using Xunit; namespace TogglDesktop.Tests { public class LibraryIntegrationTests : IClassFixture<LibraryFixture> { private readonly LibraryFixture _state; private readonly string _firstTimeEntryGuid; public...
32.432099
119
0.559117
[ "BSD-3-Clause" ]
AndrewVebster/toggldesktop
src/ui/windows/TogglDesktop/TogglDesktop.Tests/LibraryIntegrationTests.cs
13,137
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace Example.Web.Legacy { public class Pr...
26.037037
77
0.640114
[ "MIT" ]
TartanLeGrand/Prise
samples/Example.Web.Legacy/Program.cs
705
C#
using Elight.Entity.Sys; using Elight.Logic.Base; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Elight.Utility.Web; using Elight.Utility.Operator; using Elight.Utility.Extension; namespace Elight.Logic.Sys { public class S...
37.379121
208
0.463472
[ "MIT" ]
luhongguo/adentAnchor
Elight.Logic/Sys/SysPermissionLogic.cs
6,843
C#
namespace App08TagHelpers.ViewModels { public class IndexViewModel { public string SearchTerm { get; set; } } }
16.625
46
0.654135
[ "MIT" ]
bigfont/asp-net-5-beginner
App06TagHelpers/ViewModels/IndexModel.cs
135
C#
using System; using System.Collections.Generic; namespace Company1.Department1.Project1.Services.Helper.DataAccess { /// <summary> /// Singleton Implementation for TokenCollection /// </summary> public class SingletonData { private static volatile SingletonData instance; private st...
27.051282
94
0.487204
[ "MIT" ]
manihew/urban-barnacle
Source/Company1.Department1.Project1.Services/Helper/DataAccess/SingletonData.cs
1,057
C#
using System; using System.Collections.Generic; namespace Tulet.Models.Entities { public partial class Category { public Category() { Post = new HashSet<Post>(); } public int Id { get; set; } public string Name { get; set; } public ICollection<Post...
18.368421
51
0.561605
[ "MIT" ]
chukwuemekachm/Tulet
Models/Entities/Category.cs
351
C#
using System.Collections.Generic; using System.Linq; using Newtonsoft.Json.Linq; namespace ScriptPlayer.Shared.Scripts { public class FeelMeLikeBruteForceJsonLoader : FeelMeJsonLoaderBase { public override List<ScriptFileFormat> GetSupportedFormats() { return new List<ScriptFileForm...
30.703704
87
0.618818
[ "BSD-3-Clause" ]
atkdg/ScriptPlayer
ScriptPlayer/ScriptPlayer.Shared/Scripts/FeelMe/FeelMeLikeBruteForceJsonLoader.cs
829
C#
// // Copyright (C) DataStax Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
30.515385
139
0.600706
[ "Apache-2.0" ]
halex2005/csharp-driver
src/Cassandra/Connections/SniConnectionEndPoint.cs
3,967
C#
using System; using Xamarin.Forms; namespace FormsGallery { class MyotonicDystrophy : ContentPage { public MyotonicDystrophy() { Command<Type> navigateCommand = new Command<Type>(async (Type pageType) => { Page page = (Page)Activa...
42.615309
233
0.243109
[ "Apache-2.0" ]
EricGrahamMacEachern/anesthesiaconsiderations-Android
anesthesiaconsiderations-Android/MyotonicDystrophy.cs
43,513
C#
#region Copyright(c) Alexey Sadomov, Vladimir Timashkov. All Rights Reserved. // ----------------------------------------------------------------------------- // Copyright(c) 2010 Alexey Sadomov, Vladimir Timashkov. All Rights Reserved. // // Redistribution and use in source and binary forms, with or without // m...
46.904348
117
0.629218
[ "MIT" ]
sadomovalex/camlex
Camlex.NET.UnitTests/ReverseEngeneering/Analyzers/TestBase/ReUnaryExpressionTestBase.cs
5,396
C#
using System.Diagnostics; using System.IO.Compression; using System.Net; namespace WO_Updater { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { using WebClient wc = new(); ...
41.085714
133
0.646036
[ "MIT" ]
DeanReynolds/Windows-Optimizer
WO Updater/Form1.cs
1,438
C#
// // MessageHandlers.cs // using System; using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using System.Net; using System.Net.Http; using System.Linq; using System.IO; using NUnit.Framework; #if MONOMAC using Foundation; #endif namespace MonoTests.Sys...
22.22807
116
0.704815
[ "BSD-3-Clause" ]
alexanderkyte/xamarin-macios
tests/monotouch-test/System.Net.Http/MessageHandlers.cs
1,269
C#
using System; using LogParserApi.Core.Contracts; using LogParserApi.Parsers; using LogParserApi.Parsers.FileSystem; using LogParserApi.Parsers.Log4Net; using LogParserApi.ParserTests.UserSecrets; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace LogParserApi.ParserTes...
28.414634
81
0.683262
[ "MIT" ]
penCsharpener/LogParserApi
tests/LogParserApi.ParserTests/DependencyRegistration.cs
1,167
C#
using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Mundipagg.Models.Request { [JsonObject(NamingStrategyType = typeof(SnakeCaseNamingStrategy))] public class UpdateGeneralSettingsRequest { public string DisplayName { get; set; } public string Logo { get; set; } ...
22.16
70
0.65343
[ "MIT" ]
AmandaMaiaPessanha/mundipagg-dotnet
Mundipagg/Models/Request/UpdateGeneralSettingsRequest.cs
556
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace GloboTicket.Web { public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } public static IHostBuilder CreateHostBuilder(string[] args) =...
24.857143
70
0.578544
[ "Apache-2.0" ]
CraigRichards/deploying-asp-dot-net-core-microservices-kubernetes-aks
GloboTicket/GloboTicket.Web.Bff/Program.cs
522
C#
using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using Hornbill; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using NUnit.Framework; using Shouldly; using Stackage.Core.Abstractions.Metrics; using Stackage.Http.Extensions; ...
30.709677
119
0.636555
[ "MIT" ]
concilify/stackage-http-nuget
package/Stackage.Http.Tests/MetricsScenarios/get_request_from_service_with_no_base_address.cs
2,856
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.ResponseCompression; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using System.Linq; namespace blaz...
32.55
143
0.62212
[ "MIT" ]
theilgaz/blazor-sandbox
src/blazor-intro/blazor-intro/Server/Startup.cs
1,953
C#
using RegularAPINET6.Models; using System; using System.Collections.Generic; namespace RegularAPINET6.Repositories.Interfaces; public interface IPersonRepository { void Create(Person person); #nullable enable Person? GetPersonById(Guid id); #nullable disable List<Person> GetAllPersons(); void Update(P...
22.6875
49
0.768595
[ "Apache-2.0" ]
pmortari/MinimalAPIsSandbox
RegularAPINET6/Repositories/Interfaces/IPersonRepository.cs
365
C#
namespace VoiceSystem.Web.Controllers { using System.Linq; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; using VoiceSystem.Web.ViewModels.Manage; [Authori...
38.002427
121
0.535671
[ "MIT" ]
todorm85/TelerikAcademy
Courses/Software Technologies/AspNet MVC/Exam/Web/HikingPlanAndRescue.Web/Controllers/ManageController.cs
15,659
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Azure.Messaging.ServiceBus { /// <summary> /// The set of well-known reasons for an Service Bus operation failure that was the cause of an exception. /// </summary> public enum ServiceBusFailureRe...
32.324675
128
0.60225
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/servicebus/Azure.Messaging.ServiceBus/src/Primitives/ServiceBusFailureReason.cs
2,491
C#
using NBi.Xml.Items.Calculation.Grouping; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace NBi.Xml.Items.Alteration.Summarization { public class SummarizeXml : AlterationXml { [XmlElement(Type ...
33.592593
87
0.668137
[ "Apache-2.0" ]
TheAutomatingMrLynch/NBi
NBi.Xml/Items/Alteration/Summarization/SummarizeXml.cs
909
C#
// This file is subject to the MIT License as seen in the root of this folder structure (LICENSE) using UnityEngine; using UnityEngine.Rendering; namespace Crest { /// <summary> /// Captures waves/shape that is drawn kinematically - there is no frame-to-frame state. The gerstner /// waves are drawn in th...
44.884921
161
0.620988
[ "MIT" ]
TalhaCagatay/crest-oceanrender
src/unity/Assets/Crest/Scripts/LodData/LodDataAnimatedWaves.cs
11,313
C#
#region License // https://github.com/TheBerkin/Rant // // Copyright (c) 2017 Nicholas Fleck // // 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 l...
34.606061
87
0.626095
[ "MIT" ]
MozaicWorks/rant
Rant/Core/Utilities/Extensions.cs
2,286
C#
// This file is part of Tmds.Ssh which is released under MIT. // See file LICENSE for full license details. using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; using static Tmds.Ssh.Interop; namespac...
35.63964
140
0.51049
[ "MIT" ]
tmds/Tmds.Ssh
src/Tmds.Ssh/SshClient.Authenticate.cs
7,912
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 02.12.2021. using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.S...
28.467593
165
0.563669
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/Equal/Complete/NewArray1_Object/NewArray1_Object/TestSet_001__fields__02__VC.cs
6,151
C#
// Copyright 2016 MaterialUI for Unity http://materialunity.com // Please see license file for terms and conditions of use, and more information. using UnityEngine; using UnityEngine.UI; namespace MaterialUI { /// <summary> /// Changes the state of a ScrollRect, depending on whether its content Re...
33.909836
122
0.528886
[ "Apache-2.0" ]
Ianmaster231/tabekana
Tabekana/Assets/MaterialUI/Scripts/Common/VerticalScrollLayoutElement.cs
8,276
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq.Expressions; using System.Threading; namespace Kooboo.Json.Deserialize { internal class DeserializeObjectJump { private static SpinLock _spinLock = new SpinLock(); private static readonly Dictionary<Type, Func<...
43.677419
289
0.576071
[ "MIT" ]
Kooboo/Json
Kooboo.Json/Formatter/Deserializer/DeserializeObjectJump.cs
4,064
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.AwsN...
34.435897
255
0.625465
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/KMS/Outputs/KeyTag.cs
1,343
C#
using LuaInterface; using System; using UnityEngine; public class UISpriteAnimationWrap { public static void Register(LuaState L) { L.BeginClass(typeof(UISpriteAnimation), typeof(MonoBehaviour), null); L.RegFunction("RebuildSpriteList", new LuaCSFunction(UISpriteAnimationWrap.RebuildSpriteList)); L.RegFunction...
27.504732
154
0.71694
[ "MIT" ]
moto2002/kaituo_src
src/UISpriteAnimationWrap.cs
8,719
C#
using System; using System.Collections.Generic; using DataBuddy; namespace Graffiti.Core { public class TagWeightCloud { public static TagWeightCollection FetchTags(int minWeight, int maxItems) { TagWeightCollection twc = ZCache.Get<TagWeightCollection>("TagCloud:" + minWeight + "|...
30.107527
127
0.492143
[ "MIT" ]
harder/GraffitiCMS
src/Graffiti.Core/Data/TagWeightCloud.cs
2,800
C#
//----------------------------------------------------------------------- // <copyright file="Dial180.cs" company="David Black"> // Copyright 2008 David Black // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. ...
38.510638
176
0.563444
[ "Apache-2.0" ]
LGM-AdrianHum/Dashboarding
Codeplex.Dashboarding/Dial180.cs
10,862
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Abp.Auditing; using Abp.Authorization.Users; using Abp.Extensions; using NoteApp.Validation; namespace NoteApp.Authorization.Accounts.Dto { public class RegisterInput : IValidatableObject { [Required] [StringL...
29.897959
137
0.636177
[ "MIT" ]
nitinreddy3/NoteApp
aspnet-core/src/NoteApp.Application/Authorization/Accounts/Dto/RegisterInput.cs
1,467
C#
/*******************************************************************\ * Copyright (c) 2016 Shinobytes, Gothenburg, Sweden. * * Any usage of the content of this file, in part or whole, without * * a written agreement from Shinobytes, will be considered a * * violation against international copyri...
38.4
74
0.515625
[ "MIT" ]
Shinobytes/core
Shinobytes.Core/Net/INetworkConnectionManager.cs
576
C#
namespace ShakaDB.Client.Protocol { using System.IO; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; public static class Transmitter { private const uint Magic = 0x4B414D41; private const int HeaderSize = 8; public static async Task<byte[]> R...
29.015625
115
0.518578
[ "MIT" ]
burzyk/Apollo.Data
clients/dotnet/ShakaDB.Client/Protocol/Transmitter.cs
1,859
C#
using API.Foundation; using API.Foundation.Contexts; using API.Todo.Middleware; using Autofac; using Autofac.Extensions.DependencyInjection; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.D...
38.785714
106
0.662063
[ "MIT" ]
ismail5g/TodoApps
Todo/Startup.cs
3,258
C#
namespace MicroSistema { partial class frmMdiPrincipal { /// <summary> /// Variável de designer necessária. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Limpar os recursos que estão sendo usados. /// </summ...
59.324405
156
0.666056
[ "MIT" ]
AntonioZanini/MicroSistema
MicroSistema/frmMdiPrincipal.Designer.cs
39,890
C#
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Forms; using System; using System.Linq.Expressions; namespace Plk.Blazor.DragDrop.Demo.Data { public class TextField : Field { public string Value { get; set; } public override RenderFragment RenderFieldEdit() ...
25.9375
137
0.598795
[ "MIT" ]
rdm1234/blazor-dragdrop
Plk.Blazor.DragDrop.Demo/Data/TextField.cs
832
C#