content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
namespace Eva.eShop.Services.Marketing.API.IntegrationEvents.Handlers { using Marketing.API.IntegrationEvents.Events; using Marketing.API.Model; using Eva.BuildingBlocks.EventBus.Abstractions; using Eva.eShop.Services.Marketing.API.Infrastructure.Repositories; using Microsoft.Extensions.Logging; ...
41.896552
170
0.662551
[ "MIT" ]
Liang-Zhinian/eShop
src/Services/Marketing/Marketing.API/IntegrationEvents/Handlers/UserLocationUpdatedIntegrationEventHandler.cs
2,432
C#
using HarmonyLib; using Kingmaker.Blueprints; using Kingmaker.Blueprints.Classes.Spells; using Kingmaker.Blueprints.JsonSystem; using Kingmaker.EntitySystem.Entities; using Kingmaker.PubSubSystem; using Kingmaker.UI.MVVM._VM.CharGen.Phases.Spells; using Kingmaker.UnitLogic; using Kingmaker.UnitLogic.Abilities.Blueprin...
49.773109
189
0.634138
[ "MIT" ]
1onepower/WrathMods-TabletopTweaks
TabletopTweaks/NewComponents/AdditionalSpellSelection.cs
5,925
C#
using System; using System.Data; using System.IO; using System.Text; using Zhoubin.Infrastructure.Common.Extent; namespace Zhoubin.Infrastructure.Common.Document { public class CsvDocumnet : DocumentBase<DataTable> { private Encoding _encoding; private string _file; private bool _first...
30.520408
102
0.509194
[ "Apache-2.0" ]
cdzhoubin/Infrastructure.Net
Source/Common/Document/CsvDocumnet.cs
2,993
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...
36.547619
88
0.639739
[ "ECL-2.0", "Apache-2.0" ]
dimpu47/pulumi-gcp
sdk/dotnet/CloudIdentity/Inputs/GroupGroupKeyArgs.cs
1,535
C#
using System; using System.ComponentModel; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Text; using System.Windows.Forms; namespace FlatUI { public class FlatProgressBar : Control { private int W; private int H; private int _Value = 0; private int _Maximum = 100; private bool...
23.088372
147
0.638598
[ "MIT" ]
BlueEyesDev/MultiAccount-DofusRetro
ThemeFlat/FlatProgressBar.cs
4,966
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using System.Diagnostics; using System.Runtime.InteropServices; namespace KiepCommunication.Model { public cla...
29.203125
102
0.648475
[ "MIT" ]
Joozt/KiepCommunicationSoftware
KiepCommunication/Model/TextToSpeech.cs
1,871
C#
using System; using System.Globalization; using System.Xml; namespace NewLife.Serialization { /// <summary>Xml基础类型处理器</summary> public class XmlGeneral : XmlHandlerBase { /// <summary>实例化</summary> public XmlGeneral() { Priority = 10; } /...
33.208696
136
0.408615
[ "MIT" ]
NewLifeX/X_NET40
NewLife.Core/Serialization/Xml/XmlGeneral.cs
7,772
C#
// ********************************************************************* // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License // ********************************************************************* using System; using System.Collections.Generic; using System.Runtime.Serializ...
59.380952
203
0.392469
[ "MIT" ]
Chaycej/Trill
Sources/Core/Microsoft.StreamProcessing/Operators/Afa/CompiledPartitionedAfaPipe_EventList.cs
27,436
C#
using System; using System.Net; namespace ExceptionMiddleware.Errors { public class NotFoundException : InvalidRestOperationException { #region Properties public override int ResponseCode => (int) HttpStatusCode.NotFound; #endregion #region Constructors public NotFo...
29.4
111
0.656463
[ "MIT" ]
DesselBane/ExceptionMiddleware
Errors/NotFoundException.cs
884
C#
 #region License, Terms and Conditions // // IPaymentProfileAttributes.cs // // Authors: Kori Francis <twitter.com/djbyter>, David Ball // Copyright (C) 2010 Clinical Support Systems, Inc. All rights reserved. // // THIS FILE IS LICENSED UNDER THE MIT LICENSE AS OUTLINED IMMEDIATELY BELOW: // // Permission is hereb...
28.468944
102
0.519908
[ "MIT" ]
EdLichtman/chargify-dot-net
Source/ChargifyDotNet/Interfaces/IPaymentProfileAttributes.cs
9,169
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...
32.755495
154
0.570829
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/ElasticLoadBalancing/Generated/Model/LoadBalancerDescription.cs
11,923
C#
// Copyright (c) Alexandre Mutel. All rights reserved. // Licensed under the BSD-Clause 2 license. // See license.txt file in the project root for full license information. using System; namespace BananaLoader.Tomlyn.Syntax { /// <summary> /// An inline table TOML syntax node. /// </summary> public se...
32.206897
124
0.549251
[ "Apache-2.0", "MIT" ]
NaNraptor/BananaLoader
BananaLoader.AssemblyGenerator/Tomlyn/Syntax/InlineTableSyntax.cs
2,802
C#
using Microsoft.Azure.Cosmos; using Microsoft.Azure.Cosmos.Fluent; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Text; namespace Community.Azure.Cosmos { ...
52.392045
216
0.642338
[ "MIT" ]
IharYakimush/Azure
Community.Azure.Cosmos/DependencyInjectionExtensions.cs
9,223
C#
#region License /* ********************************************************************************** * Copyright (c) Roman Ivantsov * This source code is subject to terms and conditions of the MIT License * for Irony. A copy of the license can be found in the License.txt file * at the root of this distribution. ...
41.603774
136
0.695238
[ "MIT" ]
Plankankul/SharpDevelop-w-Framework
src/AddIns/Misc/Reports/Irony/CompilerServices/Scanner/ScannerData.cs
2,207
C#
// <copyright file="RandomPolygonGenerator.cs" company="Eötvös Loránd University (ELTE)"> // Copyright 2016-2019 Roberto Giachetta. Licensed under the // Educational Community License, Version 2.0 (the "License"); you may // not use this file except in compliance with the License. You may // obtain a c...
49.404494
221
0.623038
[ "ECL-2.0" ]
AegisSpatial/aegis
src/Core/Algorithms/RandomPolygonGenerator.cs
17,593
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using EventStore.Core.Bus; using EventStore.Core.Index; using EventStore.Core.Messages; using EventStore.Core.Services.Storage; using EventStore.Core.Services.Storage.ReaderIndex; using EventStore.Core.Tests.Services.Replication; using...
40.508621
168
0.78953
[ "Apache-2.0", "CC0-1.0" ]
BearerPipelineTest/EventStore
src/EventStore.Core.Tests/Services/IndexCommitter/with_index_committer_service.cs
4,699
C#
using System.Collections.Generic; using UnityEngine; namespace sc.terrain.vegetationspawner { public partial class VegetationSpawner { public void RefreshGrassPrototypes() { foreach (Terrain terrain in terrains) { List<DetailPrototype> grassPr...
38.391144
178
0.45223
[ "Apache-2.0" ]
jrouillard/Arachnarok
Assets/VegetationSpawner/Runtime/VegetationSpawner.Grass.cs
10,406
C#
using System.Collections.Generic; using System.Linq; using System.Text; using Jotunn.Utils; using UnityEngine; namespace JotunnDoc.Docs { public class MaterialDoc : Doc { public MaterialDoc() : base("prefabs/material-list.md") { On.Player.OnSpawned += DocMaterials; } ...
35.930693
160
0.504547
[ "MIT" ]
MSchmoecker/Jotunn
JotunnDoc/Docs/MaterialDoc.cs
3,631
C#
#nullable enable using System; using Leclair.Stardew.Common.Events; using StardewModdingAPI; namespace Leclair.Stardew.Almanac.Managers; public class BaseManager : EventSubscriber<ModEntry> { public readonly string Name; public BaseManager(ModEntry mod, string? name = null) : base(mod) { Name = name ?? GetTy...
23.346154
118
0.705107
[ "MIT" ]
KhloeLeclair/StardewMods
Almanac/Managers/BaseManager.cs
607
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ReplacementShader : MonoBehaviour { public Shader ReplacementMaterial; void OnEnable() { if (ReplacementMaterial != null) GetComponent<Camera>().SetReplacementShader(ReplacementMaterial, "Render...
21.4
91
0.691589
[ "MIT" ]
TacPhoto/Learning
Unity/FirstSteps/ReplacementShader/ReplacementShader.cs
430
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...
37.532787
167
0.604062
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/AppRegistry/Generated/Model/Internal/MarshallTransformations/ApplicationSummaryUnmarshaller.cs
4,579
C#
using Acr.UserDialogs; using System.Threading.Tasks; namespace BethanysPieShopStockApp.Services { public class DialogService : IDialogService { public Task ShowDialog(string message, string title, string buttonLabel) { return UserDialogs.Instance.AlertAsync(message, title, buttonLa...
24.571429
80
0.700581
[ "MIT" ]
VeselinovStf/Data-in-Xamarin.Forms
Working-With-Remote-Data/src/Mobile/BethanysPieShopStockApp/Services/DialogService.cs
346
C#
// Decompiled with JetBrains decompiler // Type: Functal.FnFunction_Cast_ToInt32_FromInt16 // Assembly: Functal, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 47DC2DAE-D56F-4FC5-A0C3-CC69F2DF9A1F // Assembly location: \\WSE\Folder Redirection\JP\Downloads\Functal-1_0_0\Functal.dll namespace Functal {...
25.785714
85
0.711911
[ "MIT" ]
jpdillingham/Functal
src/FnFunction_Cast_ToInt32_FromInt16.cs
724
C#
using Microsoft.Extensions.DependencyInjection; using StockTicker.Service; using System; using System.Collections.Generic; using System.Text; namespace ClientSideAuth.Extensions { public static class DependencyInjection { public static IServiceCollection AddRandomStockTicker(this IServiceCol...
25.315789
96
0.706861
[ "Apache-2.0" ]
fluffy-bunny/asp.net-inmemory-identity-blazor
src/StockTicker.Service/Extensions/DependencyInjection.cs
483
C#
using System.IO; using CoreLibraries.IO; using VaultLib.Core; using VaultLib.Core.Data; using VaultLib.Core.Types; using VaultLib.Core.Types.Attrib; using VaultLib.Frameworks.Speed; namespace VaultLib.Support.ProStreet.VLT { [VLTTypeInfo(nameof(TireTimeEffectRecord))] public class TireTimeEffectRecord : VLTBa...
33.136364
140
0.62963
[ "MIT" ]
BreakinBenny/VaultLib
VaultLib.Support.ProStreet/VLT/TireTimeEffectRecord.cs
1,460
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...
29.075188
101
0.569692
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/ThingAttribute.cs
3,867
C#
#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "43459500A2029731FA3FEA093A5D22C55A3F4CC5" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Ch...
38.934211
141
0.668131
[ "MIT" ]
bhabesh7/bhabeshgitprojects
CSharpCompiler/Accord.MainApp/obj/Debug/MainWindow.g.i.cs
2,961
C#
using System; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace ZendeskApi.Client.Models { [JsonObject("satisfaction_rating")] public class SatisfactionRating { [JsonProperty] public long? Id { get; set; } [JsonProperty("group_id")] public long GroupId { g...
25.357143
58
0.610329
[ "Apache-2.0" ]
gareththackeray/ZendeskApiClient
src/ZendeskApi.Client/Models/SatisfactionRating.cs
1,067
C#
using qckdev.AspNetCore.Identity.Exceptions; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Identity; using System; using System.Threading.Tasks; namespace qckdev.AspNetCore.Identity.JwtBearer { sealed class JwtRefreshTokenProvider<TUser> : IUserTwoFactorTokenProvider<TUser> where ...
32.849057
131
0.658242
[ "MIT" ]
hfrances/qckdev.AspNetCore.Identity
qckdev.AspNetCore.Identity/JwtBearer/JwtRefreshTokenProvider.cs
1,743
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.IO.Compression; using System.Threading; using MarcusW.VncClient.Protocol.Services; namespace MarcusW.VncClient.Protocol.Implementation.Services.Communication { /// <summary> /// A <...
41.116667
178
0.619578
[ "MIT" ]
MarcusWichelmann/MarcusW.VncClient
src/MarcusW.VncClient/Protocol/Implementation/Services/Communication/BuiltinZLibInflater.cs
4,934
C#
using Microsoft.Identity.Web; var builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddMicrosoftIdentityWebApiAuthentication(builder.Configuration) //Default - AzureAd .EnableTokenAcquisitionToCallDownstreamApi() .AddMicrosoftGraph(graphBaseUrl: "https://graph.m...
25.25
100
0.776678
[ "MIT" ]
ceeidpnotes/ceeidpnotes
Demos-Src/CS/NOT_FINISHED/TKFY22-step5-mtapp-onbehalf/TKFY22-step5-Api01/Program.cs
909
C#
using E_ShopApp.Services; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Essentials; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace E_ShopApp.Pages { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class...
27.714286
121
0.618557
[ "MIT" ]
JiboGithub/EShop_MobileAppXamarin
E_ShopApp/Pages/LoginPage.xaml.cs
1,166
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...
41.117188
195
0.647729
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/AuditManager/Generated/Model/Internal/MarshallTransformations/ListControlDomainInsightsResponseUnmarshaller.cs
5,263
C#
using System; using System.Linq; using System.Collections.Generic; using System.Runtime.InteropServices; using Torque3D.Engine; using Torque3D.Util; namespace Torque3D { public unsafe class CollisionTrigger : GameBase { public CollisionTrigger(bool pRegister = false) : base(pRegister) { } public Collisio...
27.717105
140
0.627819
[ "MIT" ]
lukaspj/T3D-CSharp-Tools
BaseLibrary/Torque3D/Engine/CollisionTrigger.cs
4,213
C#
namespace ePlatform.eBelge.Api.Models.Models.Enums { public enum EFaturaDataStatus { Waiting = 0, Running = 1, Completed = 2, Failed = 3 } }
18.4
50
0.565217
[ "MIT" ]
Quaqmre/eplatform-api-dotnet-client
src/ePlatform.eBelge.Api.Invoice/Models/Enums/EFaturaDataStatus.cs
184
C#
using Examine; using Umbraco.Cms.Core.Scoping; using Umbraco.Cms.Core.Services; namespace Umbraco.Cms.Infrastructure.Examine { public class UmbracoIndexConfig : IUmbracoIndexConfig { public UmbracoIndexConfig(IPublicAccessService publicAccessService, IScopeProvider scopeProvider) { ...
32.342105
105
0.6786
[ "MIT" ]
Ambertvu/Umbraco-CMS
src/Umbraco.Infrastructure/Examine/UmbracoIndexConfig.cs
1,229
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using OrchardCore.Environment.Shell; namespace OrchardCore.Modules { /// <summary> /// This middleware replaces the default service provider by the one for the current tenant /// </summary> pu...
36.891566
113
0.482691
[ "BSD-3-Clause" ]
Yuexs/OrchardCore
src/OrchardCore/OrchardCore.Modules/ModularTenantContainerMiddleware.cs
3,062
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _05_Hands_of_Cards { class Program { static void Main(string[] args) { Dictionary<string, string> playersCards = new Dictionary<string, string>(); ...
26.39604
135
0.368717
[ "MIT" ]
akkirilov/ProgrammingFundamentalsHomeworks
01_ProgrammingFundamentals/Homeworks/06_Dictionaries-Exercises/05_Hands of Cards/Program.cs
2,668
C#
namespace ResXManager.Infrastructure { public static class JsonConvert { public static string? SerializeObject(object value) { return Newtonsoft.Json.JsonConvert.SerializeObject(value); } public static T? DeserializeObject<T>(string value) wher...
27.727273
76
0.601639
[ "MIT" ]
GeertvanHorrik/ResXResourceManager
src/ResXManager.Infrastructure/JsonConvert.cs
612
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using watchtower.Constants; using watchtower.Models; using watchtower.Models.Events; namespace watchtower.Code.Challenge { public class AssaultRifleChallenge : IRunChallenge { public int ID => 14; p...
24.193548
97
0.686667
[ "MIT" ]
ElReyZero/flash
Code/Challenge/AssaultRifleChallenge.cs
752
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace chkam05.VisualPlayer.Data.Lyrics.Events { public class LyricsItemUpdateEventArgs : EventArgs { // VARIABLES public string PropertyName { get; private set; } ...
28.179487
92
0.579618
[ "MIT" ]
chkam05/chkam05.VisualPlayer
chkam05.VisualPlayer/Data/Lyrics/Events/LyricsItemUpdateEventArgs.cs
1,101
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq.Expressions; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Query.Pipeline; using Microsoft....
42.04
126
0.716461
[ "Apache-2.0" ]
Wrank/EntityFrameworkCore
src/EFCore.Relational/Query/Pipeline/RelationalShapedQueryOptimizingExpressionVisitors.cs
2,104
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using System; using System.Runtime.InteropServices; using System.Text; using Microsoft.Git.CredentialManager.Interop.Windows.Native; namespace Microsoft.Git.CredentialManager.Interop.Windows { public class WindowsSystem...
38.830189
152
0.557823
[ "MIT" ]
0823969789/Git-Credential-Manager-Core
src/shared/Microsoft.Git.CredentialManager/Interop/Windows/WindowsSystemPrompts.cs
6,174
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using PMDVoices2SQLite; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PMDVoices2SQLite.Tests { [TestClass()] public class PMDVoiceMethodTests { [TestMethod()] ...
39.149254
94
0.500572
[ "CC0-1.0" ]
average34/PMDVoices2SQLite
PMDVoices2SQLiteTests/PMDVoiceMethodTests.cs
2,625
C#
using Codeplex.Data; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace HatoDSP { public class PatchReader { Dictionary<string, CellTree> cells = new Dictionary<st...
36.153226
151
0.447245
[ "MIT" ]
yuinore/HeartBeat
HatoDSP/PatchReader.cs
4,911
C#
using System; using System.Windows.Forms; using AdminTools.Forms; namespace AdminTools { static class Program { [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(n...
20.764706
65
0.614731
[ "MIT" ]
Gartenschlaeger/AdminTools
AdminTools/Program.cs
355
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ObjectPoolingManager : MonoBehaviour { public static ObjectPoolingManager SharedInstance; [System.Serializable] public class ObjectPoolItem { public GameObject poolItem; public GameObject parentPooler; public int amo...
20.652381
79
0.67489
[ "Apache-2.0" ]
PioneerRedwood/BrawlMasters
Assets/Scripts/Managers/ObjectPoolingManager.cs
4,337
C#
namespace MassTransit.ActiveMqTransport.Configuration { using System; using System.Collections.Generic; public class ActiveMqHostConfigurator : IActiveMqHostConfigurator { readonly ConfigurationHostSettings _settings; public ActiveMqHostConfigurator(Uri address) { ...
27.712121
120
0.604155
[ "ECL-2.0", "Apache-2.0" ]
AlexanderMeier/MassTransit
src/Transports/MassTransit.ActiveMqTransport/ActiveMqTransport/Configuration/ActiveMqHostConfigurator.cs
1,829
C#
using System; using System.Threading; using Microsoft.Extensions.Logging; namespace k8s.Operators { /// <summary> /// Implements the watch callback method for a given <namespace, resource, label selector> /// </summary> public class EventWatcher { private readonly ILogger _logger; ...
38.581818
164
0.62394
[ "Apache-2.0" ]
falox/csharp-operator-sdk
src/k8s.Operators/EventWatcher.cs
2,122
C#
using System.ComponentModel.DataAnnotations; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using Seeker.Data.Models...
38.402878
154
0.572312
[ "MIT" ]
DamnStation/Seeker
src/Seeker/Web/Seeker.Web/Areas/Identity/Pages/Account/ExternalLogin.cshtml.cs
5,340
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.ResourceManager; using Azure.ResourceManager.Sql; namespace Azure.Reso...
41.131148
236
0.738143
[ "MIT" ]
danielortega-msft/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LongRunningOperation/ServerJobAgentJobStepCreateOrUpdateOperation.cs
2,509
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. // This code was generated by an automated template. namespace Mosa.Compiler.Framework.IR { /// <summary> /// MulOverflowOut64 /// </summary> /// <seealso cref="Mosa.Compiler.Framework.IR.BaseIRInstruction" /> public sealed class MulOverflowOut64...
22.095238
68
0.702586
[ "BSD-3-Clause" ]
AnErrupTion/MOSA-Project
Source/Mosa.Compiler.Framework/IR/MulOverflowOut64.cs
464
C#
using DexTranslate.Abstractions.Service; using DexTranslate.Api.Controllers; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Moq; using System.IO; using System.Threading.Tasks; using Xunit; namespace DexTranslate.ApiFixtures { public class ImportControlle...
31.595238
141
0.616428
[ "MIT" ]
dexgrid/dextranslate
tests/DexTranslate.ApiFixtures/ImportControllerFixtures.cs
1,329
C#
// <auto-generated /> namespace Microsoft.AspNetCore.Localization { using System.Globalization; using System.Reflection; using System.Resources; internal static class Resources { private static readonly ResourceManager _resourceManager = new ResourceManager("Microsoft.AspNetCore...
30.866667
123
0.585313
[ "Apache-2.0" ]
CBaud/AspNetCore
src/Middleware/Localization/src/Properties/Resources.Designer.cs
1,389
C#
using System; using System.Collections.Generic; #nullable disable namespace P1FinalDbContext { public partial class Customer { public Customer() { Orders = new HashSet<Order>(); } public int CustomerId { get; set; } public string Fname { get; set; } ...
22.4
62
0.585714
[ "MIT" ]
06012021-dotnet-uta/ChristianRomeroP1
P1FinalDbContext/Customer.cs
562
C#
using System; namespace Reference.Lib.DataStructures.Graphs { public interface IWeightedEdge<T, W> : IEdge<T> where T : IComparable<T> where W : IComparable<W> { W Weight { get; } } }
20
51
0.609091
[ "MIT" ]
lsadam0/Reference.Lib
src/Reference.Lib/DataStructures/Graphs/IWeightedEdge.cs
220
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace WinAppDriver.Extensions { public static class COMExceptionExtensions { public static bool IsTimeout(this COMException comEx) { ...
27.157895
107
0.709302
[ "MIT" ]
ejhollas/WinAppDriver
WinAppDriver/Extensions/COMExceptionExtensions.cs
518
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.XR; public class PlayerMovementFPS : MonoBehaviour { [SerializeField] KeyCode jumpKey = KeyCode.Space; public CharacterController controller; public float speed = 12f; //Apparently mixing character c...
30.695122
114
0.634485
[ "MIT" ]
Ziggareto/ucl-vr-game-2021
Assets/Scripts/MovementLooking/PlayerMovementFPS.cs
2,519
C#
/* * Prime Developer Trial * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; using System.Col...
41.204082
457
0.648176
[ "Apache-2.0" ]
factset/enterprise-sdk
code/dotnet/SecuritizedDerivativesAPIforDigitalPortals/v2/src/FactSet.SDK.SecuritizedDerivativesAPIforDigitalPortals/Model/SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresSidewaysYieldRelative.cs
6,057
C#
using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System; namespace Mundipagg.Models.Request { [JsonObject(NamingStrategyType = typeof(SnakeCaseNamingStrategy))] public class UpdateSubscriptionBillingDateRequest { public DateTime NextBillingAt { get; set; } } }
25.166667
70
0.761589
[ "MIT" ]
AmandaMaiaPessanha/mundipagg-dotnet
Mundipagg/Models/Request/UpdateSubscriptionBillingDateRequest.cs
302
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using SeoSchema; using SeoSchema.Enumerations; using SuperStructs; namespace SeoSchema.Entities { /// <summary> /// The act of giving money to a seller in exchange for goods or services rendered. An agent buys an object, prod...
63.583333
427
0.690403
[ "MIT" ]
jefersonsv/SeoSchema
src/SeoSchema/Entities/BuyAction.cs
6,867
C#
using System; using System.Linq; class Euler1_3 { public static void Main() { var range = Enumerable.Range(1, 999); var result = (from n in range where n % 3 == 0 || n % 5 == 0 select n).Sum(); Console.WriteLine(result); } }
21.066667
52
0.474684
[ "MIT" ]
gdm9000/euler1
c#/euler1_3.cs
316
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Rendering; namespace FamousQuotes.App.Areas.Identity.Pages.Account.Manage { public static class ManageNavPages { public static string Index => "Index"; public static...
42.372549
140
0.751041
[ "MIT" ]
mayapeneva/FamousQuotes
FamousQuotes.App/Areas/Identity/Pages/Account/Manage/ManageNavPages.cs
2,163
C#
using System; using System.Collections.Generic; using UnityEngine; namespace Unity.VisualScripting { public sealed class DescriptorProvider : SingleDecoratorProvider<object, IDescriptor, DescriptorAttribute>, IDisposable { private readonly Dictionary<object, HashSet<Action>> listeners = new Dictionary<...
29.871951
157
0.593182
[ "MIT" ]
2PUEG-VRIK/UnityEscapeGame
2P-UnityEscapeGame/Library/PackageCache/com.unity.visualscripting@1.6.1/Editor/VisualScripting.Core/Descriptors/DescriptorProvider.cs
4,899
C#
using System; using Arcus.Messaging.Abstractions.ServiceBus.MessageHandling; using GuardNet; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Logging; // ReSharper disable once CheckNamespace namespace Microsoft.Extensions.DependencyInjection { /// <summary> /// Extensions...
63.45098
167
0.703337
[ "MIT" ]
arcus-azure/arcus.messaging-
src/Arcus.Messaging.Abstractions.ServiceBus/Extensions/IServiceCollectionExtensions.cs
6,474
C#
namespace CTOS { partial class add { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="dis...
40.809524
107
0.540257
[ "Apache-2.0" ]
duxingzhe/Customized-System
CTOS/C#/CTOS/add.Designer.cs
11,191
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by SpecFlow (http://www.specflow.org/). // SpecFlow Version:2.4.0.0 // SpecFlow Generator Version:2.4.0.0 // // Changes to this file may cause incorrect behavior and wi...
47.073892
265
0.65676
[ "MIT" ]
SkillsFundingAgency/das-tlevels-automation-suite
src/SFA.Tl.Matching.Automation.Tests/Project/Tests/Features/SelectProviders_SearchResults.feature.cs
9,558
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace BDSA2018.Lecture11.Entities { public class Episode { public int Id { get; set; } [Required] [StringLength(100)] public string Title { get; set; } public DateTime? Fir...
21.56
76
0.625232
[ "MIT" ]
ondfisk/BDSA2018
BDSA2018.Lecture11.Entities/Episode.cs
539
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// <summary> /// A provider that can supply ...
42.40625
142
0.652911
[ "Apache-2.0" ]
belav/aspnetcore
src/Mvc/Mvc.Abstractions/src/ModelBinding/IModelMetadataProvider.cs
1,357
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
33.324561
169
0.589629
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/DataFactory/Latest/Inputs/DeleteActivityArgs.cs
3,799
C#
using System; using System.Collections.Generic; using Sirenix.OdinInspector; using UnityEngine; namespace JReact.Selection { /// <summary> /// selects one item /// </summary> /// <typeparam name="T">type of the selectable item</typeparam> public abstract class J_Selector<T> : ScriptableObject, jOb...
33.505263
92
0.534716
[ "MIT" ]
GiacomoMariani/JReact_Headless
Selection/J_Selector.cs
3,185
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using BuildXL.Cache.ContentStore.FileSystem; using BuildXL.Cache.ContentSto...
51.00625
202
0.665115
[ "MIT" ]
MatisseHack/BuildXL
Public/Src/Cache/DistributedCache.Host/Service/Internal/ContentServerFactory.cs
8,163
C#
using JSC_LMS.Application.Response; using MediatR; using System; using System.Collections.Generic; using System.Text; namespace JSC_LMS.Application.Features.Students.Queries.GetStudentByPagination { public class GetStudentByPaginationQuery : IRequest<Response<GetStudentListByPaginationResponse>> { pub...
26.2
101
0.753181
[ "Apache-2.0" ]
ashishneosoftmail/JSC_LMS
src/Core/JSC_LMS.Application/Features/Students/Queries/GetStudentByPagination/GetStudentByPaginationQuery.cs
395
C#
using AutoFixture; using FluentAssertions; using TramsDataApi.ApplyToBecome; using Xunit; namespace TramsDataApi.Test.ApplyToBecome { public class SyncAcademyConversionProjectFactoryTests { private readonly Fixture _fixture; public SyncAcademyConversionProjectFactoryTests() { ...
60.767123
145
0.710325
[ "MIT" ]
DFE-Digital/trams-data-api
TramsDataApi.Test/ApplyToBecome/SyncAcademyConversionProjectFactoryTests.cs
4,436
C#
namespace AgileObjects.AgileMapper.Api.Configuration { /// <summary> /// Provides options for configuring a mapping based on the preceding condition. /// </summary> /// <typeparam name="TSource">The source type to which the configuration should apply.</typeparam> /// <typeparam name="TTarget">...
50.5
114
0.659653
[ "MIT" ]
WeiiWang/AgileMapper
AgileMapper/Api/Configuration/IConditionalRootMappingConfigurator.cs
1,616
C#
using System; using Newtonsoft.Json; using Siccity.GLTFUtility.Converters; using UnityEngine; namespace Siccity.GLTFUtility { // https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#accessor /// <summary> Reads data from BufferViews </summary> public class GLTFAccessor { #region Serialized...
33.577039
108
0.6553
[ "MIT" ]
takhlaq/GLTFUtility
Scripts/Spec/GLTFAccessor.cs
11,116
C#
using System; namespace MultiplyBigNumber { class Program { static void Main(string[] args) { decimal first = decimal.Parse(Console.ReadLine()); decimal second = decimal.Parse(Console.ReadLine()); Console.WriteLine(first * second); } } }
20.8
63
0.573718
[ "MIT" ]
kristiyanivanovx/SoftUni-Programming-Basics-March-2020
02 - CSharp-Fundamentals/08 - Text Processing - Exercise/MultiplyBigNumber/Program.cs
314
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace AutoBalance1Wpf { /// <summary> /// App.xaml の相互作用ロジック /// </summary> public partial class App : Application ...
18.555556
43
0.667665
[ "MIT" ]
kcg-edu-future-lab/Algorithm-Motion
Lab/AlgorithmMotion201906/AutoBalance1Wpf/App.xaml.cs
354
C#
namespace GitHubAPI.IntegrationTests { using NUnit.Framework; using GitHubAPI.Models; using GitHubAPI.Api.Issues; using GitHubAPI.IntegrationTests.Ext; using FluentAssertions; using RestSharp; using System.Collections.Generic; public class IssueTests { public abstract class...
34.654762
135
0.564525
[ "Apache-2.0" ]
HaKDMoDz/csharp-github-api
csharp-github-api.IntegrationTests/IssueTests.cs
8,735
C#
#if !NETSTANDARD13 /* * 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 ...
33.325
102
0.672168
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/IdentityManagement/Generated/Model/_bcl45+netstandard/IListAccountAliasesPaginator.cs
1,333
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; [ExecuteInEditMode] public class DropdownTextAlignLeft : MonoBehaviour { #pragma warning disable 0649 //Serialized Fields [SerializeField] private Text textComponent; [SerializeField] private RectTr...
27.177778
152
0.714636
[ "MIT" ]
Trif4/NitoriWare
Assets/Scripts/UI/DropdownTextAlignLeft.cs
1,225
C#
// <auto-generated /> using System; using IdentityServer4.EntityFramework.DbContexts; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace SqlServer.Migrations.Confi...
36.962373
125
0.487961
[ "Apache-2.0" ]
284171004/IdentityServer4
src/EntityFramework.Storage/migrations/SqlServer/Migrations/ConfigurationDb/ConfigurationDbContextModelSnapshot.cs
25,543
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using NBitcoin; using NBitcoin.DataEncoders; using Stratis.Bitcoin.Base; using Stratis.Bitcoin.Base.Deployments; using Stratis.Bitcoin.Base.Deployments.Mo...
45.13211
213
0.611863
[ "MIT" ]
Auxon/StratisBitcoinFullNode
src/Stratis.Bitcoin.Features.RPC/Controllers/FullNodeController.cs
24,599
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT { /// <summary> /// <see cref="Windows.UI.Xa...
28.875
72
0.645022
[ "MIT" ]
devsko/Microsoft.Toolkit.Win32
Microsoft.Toolkit.Win32.UI.Controls/Interop/WinRT/ClickMode.cs
462
C#
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using Mechsoft.GeneralUtilities; using Mechsoft.FleetDeal;...
33.551102
170
0.570183
[ "MIT" ]
mileslee1987/PrivateFleet
PrivateFleet.New/User Controls/UCSeries.ascx.cs
16,742
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
55.235849
206
0.695303
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IDeviceAndAppManagementRoleAssignmentRequest.cs
5,855
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.Cdn.Models { public partial class HttpErrorRange : IUtf8JsonSerializable { void IUtf8JsonSe...
31.580645
92
0.506129
[ "MIT" ]
damodaravadhani/azure-sdk-for-net
sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/HttpErrorRange.Serialization.cs
1,958
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraBehaviour : MonoBehaviour { public Transform target; public float resizeSpeed = 3f; public bool gameOver; float previousZ; // Update is called once per frame void LateUpdate () { if(target.positio...
28.114286
104
0.722561
[ "MIT" ]
JetLightStudio/ValleyOfCubes_Unity3D
Assets/Scripts/CameraBehaviour.cs
986
C#
#region Copyright notice and license // Copyright 2015, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyrig...
30.608696
112
0.64306
[ "BSD-3-Clause" ]
JiangxinNet/grpc
src/csharp/Grpc.IntegrationTesting/InteropClientServerTest.cs
4,928
C#
using Files.Repository; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.StaticFiles; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Threax.AspNetCore.Halcyon.Ext; namespace Files.Controllers {...
33.618182
122
0.626284
[ "MIT" ]
threax/Threax.Files
Files/Controllers/DownloadController.cs
1,851
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Input; using Microsoft.MixedReality.Toolkit.Utilities; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Examples.Dem...
39.926829
157
0.571472
[ "MIT" ]
ERNICommunity/ERNI.SmartHomeAR
Assets/MRTK/Examples/Demos/EyeTracking/DemoVisualizer/Scripts/LogStructureEyeGaze.cs
3,276
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Reflection; using System.Threadin...
40.552795
120
0.618012
[ "Apache-2.0" ]
Karthik270290/Projects
test/Microsoft.AspNetCore.Mvc.FunctionalTests/TagHelpersTest.cs
13,058
C#
using System; using System.Collections; using System.Drawing; using System.Windows.Forms; namespace PocketPCControls { /// <summary> /// A control for viewing image thumbnails. /// </summary> public class ThumbnailViewer : Control { /* * Constants */ public const int THUMBNAIL_WIDTH = 6...
23.938294
132
0.61069
[ "MIT" ]
jwnichls/puc
csharp/PocketPCControls/ThumbnailViewer.cs
13,190
C#
// Licensed to the .NET Foundation under one or more agreements. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Diagnostics; using Xunit; public class ClassWithNoNamespace { } namespace System.Drawing.Tests { public class bitmap_173x183_indexed_8...
41.742268
170
0.602618
[ "MIT" ]
Adam25T/corefx
src/System.Drawing.Common/tests/ToolboxBitmapAttributeTests.cs
8,100
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Linq; // Except public class Obst_Clear : MonoBehaviour { private GameObject drone; public GameObject _building; /// <summary> /// 今回の Update で検出された遮蔽物の Renderer コンポーネント。 /// </summary> private List<Re...
32.605505
148
0.590884
[ "MIT" ]
Howellm/AR_HoloLens2_Stereo
Assets/Obstract_Check/Obst_Clear.cs
4,038
C#
using System; public class Program { public static void Main() { double width = double.Parse(Console.ReadLine()); double height = double.Parse(Console.ReadLine()); Console.WriteLine(GetTriangleArea(width, height)); } static double GetTriangleArea(double width, double height) ...
18.7
62
0.625668
[ "MIT" ]
IvayloKovachev09/SoftUni
Programming Fundamentals/method and debuging lab1/05. Calculate Triangle Area/05. Calculate Triangle Area.cs
376
C#
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Runtime.InteropServices; using System.Runtime.Serialization; using System.Numerics; using System.Linq; using NUnit.Framework; using Newtonsoft.Json; using GlmSharp; // ReSharper disable InconsistentNaming...
18.652174
39
0.794872
[ "MIT" ]
akriegman/GlmSharpN
GlmSharp/GlmSharpTest5/Generated/Mat3x5/bmat3x5.Test.cs
429
C#
using System; using System.Linq; using System.Threading; using Inscribe.Storage; using Livet; namespace Inscribe.Core { /// <summary> /// Statistics Service /// </summary> public static class Statistics { private static readonly DateTime wakeupTimeStamp = DateTime.Now; static Time...
32.481818
108
0.602015
[ "MIT" ]
fin-alice/Mystique
Inscribe/Core/Statistics.cs
3,613
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; using Excel = Microsoft.Office.Interop.Excel; namespace School_Software { public partial class frmBook...
59.286689
959
0.623913
[ "MIT" ]
maziesmith/Library-Management-System-c-
Library PRO Software/frmBookIssueListStudent.cs
17,373
C#
namespace Assets.Script { public class RightScreenTrigger : ScreenTrigger, IBulletRecycle { } }
16.714286
67
0.65812
[ "MIT" ]
tboogh/T-Type
Assets/Script/RightScreenTrigger.cs
119
C#