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
// ----------------------------------------------------------------------- // <copyright file="AnyRadixConvert.cs" company="OSharp开源团队"> // Copyright (c) 2014 OSharp. All rights reserved. // </copyright> // <last-editor>郭明锋</last-editor> // <last-date>2014-07-18 16:10</last-date> // --------------------...
34.918699
119
0.497788
[ "Apache-2.0" ]
J-W-Chan/osharp
src/OSharp.Utility/Data/AnyRadixConvert.cs
4,835
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; /// Name: Cory Siebler /// ASUID: 1000832292 /// Email: csiebler@asu.edu /// Class: ASU CSE 445 (#11845) namespace HotelBookingSystem { /// <su...
38.357143
143
0.57034
[ "MIT" ]
crsiebler/HotelBookingSystem
HotelBookingSystem/HotelSupplier.cs
5,911
C#
using Microsoft.EntityFrameworkCore; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WalkingTec.Mvvm.Core.Test.VM { [TestClass] public class BaseCRUDVMTestWithOtherID { private BaseCRUDVM<...
39.367223
161
0.532282
[ "MIT" ]
331378731/WTM
test/WalkingTec.Mvvm.Core.Test/VM/BaseCRUDVMTestWithOtherID.cs
26,175
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.189189
85
0.728966
[ "BSD-2-Clause" ]
automatl/TopMostMagic
TopMostMagic/Properties/AssemblyInfo.cs
1,453
C#
using Furion.DependencyInjection; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.ChangeTracking; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Concurrent; ...
30.839286
159
0.554808
[ "Apache-2.0" ]
DarrenYangsimida/Furion
framework/Furion/DatabaseAccessor/Repositories/EFCoreRepository.cs
24,091
C#
using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.DateTime.Utilities; using Microsoft.Recognizers.Definitions.English; namespace Microsoft.Recognizers.Text.DateTime.English { public class EnglishDateParserConfiguration : B...
37.275
104
0.681422
[ "MIT" ]
Irrelevances/Recognizers-Text
.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDateParserConfiguration.cs
5,966
C#
// (c) Copyright Microsoft Corporation. // This source is subject to the Microsoft Public License (Ms-PL). // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // All other rights reserved. using Windows.UI.Xaml; namespace WinRTXamlToolkit.Controls.DataVisualization.Charting { /// <sum...
47.862069
113
0.717579
[ "MIT" ]
JUV-Studios/WinRTXamlToolk
WinRTXamlToolkit.Controls.DataVisualization/Charting/DataPoint/AreaDataPoint.cs
1,390
C#
/*---------------------------------------------------------------- Copyright (C) 2019 Senparc 文件名:SystemTime.cs 文件功能描述:用于从 DateTimeOffset 进行扩展,方便进行单元测试 创建标识:Senparc - 20181113 修改标识:Senparc - 20181226 修改描述:1、将 DateTime 改为 DateTimeOffset 2、添加 Today 属性 修改标识:Senparc - 201904...
23
69
0.491419
[ "Apache-2.0" ]
JayDenZ09/Senparc.CO2NET
src/Senparc.CO2NET/ExtensionEntities/SystemTime.cs
2,010
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Task3 { static class Program { /// <summary> /// Главная точка входа для приложения. /// </summary> [STAThread] static void Main() ...
21.652174
65
0.606426
[ "MIT" ]
hse-programming-CSharp2020-2021/CSharp2020-2021
02 module/9-10Seminar/Task3/Program.cs
530
C#
using System; using System.Windows.Input; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; using DotNetify; using Newtonsoft.Json; namespace SPA { public class SimpleListVM : BaseVM { private readonly IEmployeeRepository _repository; ...
32.136986
104
0.569906
[ "Apache-2.0" ]
BajakiGabesz/dotNetify
Demo/Knockout/SPA/server/ViewModels/SimpleList.cs
2,346
C#
using System; using System.Collections; using System.Collections.Generic; #if !SILVERLIGHT using System.Data; #endif using System.Globalization; using System.IO; using System.Text; using System.Collections.Specialized; namespace fastJSON { internal sealed class JSONSerializer { private StringBuilder _...
32.568741
130
0.460031
[ "MIT" ]
utech626/Hoot.Standard
Hoot.Standard/fastJSON/JsonSerializer.cs
22,507
C#
// <copyright file="DraftNotification.cs" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> namespace Microsoft.Teams.Apps.CompanyCommunicator.Models { using System.Collections.Generic; /// <summary> /// Draft notification model class. /// </summary> public cla...
29.636364
99
0.611452
[ "MIT" ]
AtWorkRio/microsoft-teams-company-communicator-app
Source/Microsoft.Teams.Apps.CompanyCommunicator/Models/DraftNotification.cs
980
C#
using System.Collections.Generic; using System.Linq; using HarmonyLib; using UnityEngine; namespace Guu.Language.Patchs { [HarmonyPatch(typeof (ResourceBundle))] [HarmonyPatch("LoadFromText")] internal static class LanguagePatch { [HarmonyPriority(Priority.Last)] private static void Po...
33.21875
104
0.614299
[ "MIT" ]
RicardoTheCoder/ViktorsDiskoveries
Project/Guu.Common/Language/Patchs/LanguagePatch.cs
1,065
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.InteropServices; using DxLibDLL; using hsb.Extensions; namespace dxw { #region 【StringSize】 /// <summary> /// 文字列描画サイズ /// </summary> public struct StringSize ...
36.206866
153
0.501946
[ "MIT" ]
osamu-nomura/dxw
dxw/Helper.cs
92,106
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: AssemblyTit...
38.486486
85
0.72823
[ "MIT" ]
DJJA/S3FUN-Algorithm
cee sharp/oefening1/Algorithms/Properties/AssemblyInfo.cs
1,427
C#
 namespace WinsForm0718 { partial class Form1 { /// <summary> /// 設計工具所需的變數。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清除任何使用中的資源。 /// </summary> /// <param name="disposing">如果應該處置受控資源則為 true,否則為...
44.830626
172
0.554653
[ "MIT" ]
llaannn/trygithub1
WinsForm homework 0718ver/WinsForm0718/Form1.Designer.cs
19,934
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IEventHub.cs" company="Kephas Software SRL"> // Copyright (c) Kephas Software SRL. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root...
41.164474
160
0.566885
[ "MIT" ]
snakefoot/kephas
src/Kephas.Core/Interaction/IEventHub.cs
6,259
C#
namespace Nutanix.Powershell.Models { using static Microsoft.Rest.ClientRuntime.Extensions; /// <summary>The status for a resource domain (limits and values)</summary> public partial class ResourceDomainResourcesStatus { /// <summary> /// <c>AfterFromJson</c> will be called after the js...
61.166667
391
0.650204
[ "MIT" ]
gmlp/PowerShell
private/api/Nutanix/Powershell/Models/ResourceDomainResourcesStatus.json.cs
5,872
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace BookSpade.Revamped.Utilities { public enum ActionBy { Seller = 0, Buyer = 1 } public enum BookCondition { Salvageable = 1, Poor = 2, Decent = 3, ...
16.029412
38
0.506422
[ "MIT" ]
hw3jung/Chanel
BookSpade/BookSpade.Revamped/Utilities/EnumsUtility.cs
547
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("05...
38.027027
84
0.744136
[ "MIT" ]
nikolaydechev/CSharp-OOP-Basics
02 Encapsulation/05. PizzaCalories/Properties/AssemblyInfo.cs
1,410
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using AElf.Cryptography.SecretSharing; using AElf.Kernel; using Google.Protobuf; namespace AElf.Contracts.Consensus.DPoS { public partial class ConsensusContract { public override DPoSHeaderInformation GetInformationT...
48.989324
151
0.566686
[ "MIT" ]
quangdo3112/AElf
src/AElf.Contracts.Consensus.DPoS/ConsensusContract/UpdateConsensus.cs
13,766
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("DBC...
38.891892
84
0.753996
[ "MIT" ]
Independent-Investigation-Software/DBCreator
DBCreator/DBCreator/Properties/AssemblyInfo.cs
1,441
C#
/* * The MIT License (MIT) * * Copyright (c) 2014 Andrew B. Johnson * * 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 ri...
41.093023
81
0.697793
[ "MIT" ]
helios2k6/Data-Swallow
Data Swallow/Stream/IOutputMessageSink.cs
1,769
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; using Newtonsoft.Json.Linq; using NuGet.Frameworks; using Xunit; namespace NuGet.ProjectModel.Test { public class PackagesLockFi...
47.145923
140
0.537642
[ "Apache-2.0" ]
AntonC9018/NuGet.Client
test/NuGet.Core.Tests/NuGet.ProjectModel.Test/PackagesLockFileFormatTests.cs
10,985
C#
using System; using System.Collections.Generic; class PQ<T> : List<T> { public static PQ<T> Create(bool desc = false) { var c = Comparer<T>.Default; return desc ? new PQ<T>((x, y) => c.Compare(y, x)) : new PQ<T>(c.Compare); } public static PQ<T> Create<TKey>(Func<T, TKey> toKey, bool desc ...
25.957143
102
0.544304
[ "MIT" ]
sakapon/AtCoder-Contests
CSharp/YJLC/YGR001/Lib/PriorityQueue.cs
1,819
C#
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/ // // 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 ...
30.068627
104
0.671014
[ "Apache-2.0" ]
rpc-bindings/core
src/DSerfozo.RpcBindings/DynamicProxy/Castle.Core/Configuration/AbstractConfiguration.cs
3,067
C#
//------------------------------------------------------------------------------ // <auto-generated>This code was generated by LLBLGen Pro v4.1.</auto-generated> //------------------------------------------------------------------------------ using System; using System.ComponentModel; using System.Runtime.Serializatio...
40.175
189
0.690106
[ "MIT" ]
FransBouma/RawDataAccessBencher
EF6/Model/EntityClasses/Culture.cs
1,609
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class RandomPicker : MonoBehaviour { /* Start is called before the first frame update public List<int> BlueCard = new List<int>(); public List<int> RedCard = new Li...
24.202247
69
0.55896
[ "Apache-2.0" ]
oereo/ML_Agents_App
Project/Assets/Scripts/menu_scripts/RandomPicker.cs
2,156
C#
using System; using DevExpress.CodeRush.StructuralParser; namespace CR_Documentor.Test.Transformation.Syntax.Proxies { public abstract class AccessSpecifiedElementProxy : LanguageElementProxy { public GenericModifier GenericModifier { get; private set; } public bool IsAbstract { get; set; } public bool IsCons...
24.148936
73
0.701322
[ "Apache-2.0" ]
tillig/CR_Documentor
CR_Documentor.Test/Transformation/Syntax/Proxies/AccessSpecifiedElementProxy.cs
1,137
C#
using Coldairarrow.Util; using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using System.Linq; namespace Coldairarrow.Web.Areas.Base_SysManage.Controllers { [Area("Base_SysManage")] public class CityController : BaseController { static CityController() { string j...
27.777108
110
0.465843
[ "MIT" ]
Coldairarrow/Colder.Fx.Core.AdminLTE
src/Coldairarrow.Web/Areas/Base_SysManage/Controllers/CityController.cs
4,731
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. #if STRIDE_GRAPHICS_API_DIRECT3D12 using System; us...
38.772152
195
0.578046
[ "MIT" ]
Alan-love/xenko
sources/engine/Stride.Graphics/Direct3D12/GraphicsDevice.Direct3D12.cs
27,567
C#
using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Domain { /// <summary> /// ActionProperty Data Structure. /// </summary> public class ActionProperty : AlipayObject { /// <summary> /// 属性C端渲染key /// </summary> [JsonPropertyName("key")] ...
23.241379
46
0.532641
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Domain/ActionProperty.cs
742
C#
namespace FinTech.Models { public class DeribitGetTickerRequest : DeribitRpcRequest<DeribitGetTickerRequest.DeribitGetTickerParams> { public DeribitGetTickerRequest(string instrument_name) { this.method = "public/ticker"; this.@params = new DeribitGetTickerParams(instrum...
30.238095
108
0.607874
[ "MIT" ]
Misza13/FinTech-Excel
FinTech/Models/DeribitGetTickerRequest.cs
637
C#
namespace Navigation.Core.Pages.TestStudioPage { using ArtOfTest.WebAii.Controls.HtmlControls; public partial class TestStudioPage { public HtmlSpan TestingFrameworkTreeItem { get { this.Browser.WaitForElement(5000, "TextContent=Testing Framework"); ...
32.019231
103
0.575976
[ "MIT" ]
YaneYosifov/Telerik
Quality Assurance/Part II/Practical Exam/Problem 2. Telerik Testing Framework/TreeNavigation.Core/Pages/TestStudioPage/TestStudioPage.Map.cs
1,667
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Reflection; using System.Text; namespace CommandLineInjector.Extensions { public static class ParameterExtensions { /// <summary> /// Indexes the parameters by creating shortcut names for each parameter a...
43.885246
170
0.629062
[ "MIT" ]
jcharlesworthuk/CommandLineInjector
src/CommandLineInjector/Extensions/ParameterExtensions.cs
2,679
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace ARKBreedingStats { public partial class RaisingControl : UserControl { public ...
47.004255
186
0.516386
[ "MIT" ]
LaoArchAngel/ARKStatsExtractor
ARKBreedingStats/RaisingControl.cs
22,094
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. #if NO_THREAD using System; using System.Threading; namespace System.Reactive.Concurrency { class Thre...
23.305556
118
0.624553
[ "Apache-2.0" ]
LeeCampbell/Rx.NET
Rx.NET/Source/System.Reactive.PlatformServices/Reactive/Concurrency/Thread.Stub.cs
841
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Tripous; using DevApp.Web.Models; namespace DevApp.Web.Controllers { /// <summary> /// A test controller ...
19.404762
51
0.566871
[ "Unlicense" ]
tbebekis/Tripous
DevApps/DevApp.Web/Controllers/TestController.cs
817
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; using ...
37.822878
356
0.564
[ "ECL-2.0", "Apache-2.0" ]
RafalSumislawski/pulumi-aws
sdk/dotnet/Ec2/GetInstance.cs
20,500
C#
using System; using Dpws.Client; using Dpws.Client.Discovery; #if !Windows && !WindowsCE using Microsoft.SPOT; using System.Ext; #endif namespace Interop.SimpleService { class DiscoClient { private DpwsClient m_dpwsClient = null; /// <summary> /// Creates an instance of the ev...
52.125
201
0.564488
[ "Apache-2.0" ]
Sirokujira/MicroFrameworkPK_v4_3
Product/Samples/DPWS/SimpleServiceClient/DiscoveryClient.cs
9,591
C#
using System; using System.Collections.Generic; using UnityEngine; namespace UnityEditor.Rendering.Universal.ShaderGUI { internal class ParticlesUnlitShader : BaseShaderGUI { // Properties private BakedLitGUI.BakedLitProperties shadingModelProperties; private ParticleGUI.Parti...
38.522727
147
0.624779
[ "MIT" ]
AlePPisa/GameJamPractice1
Cellular/Library/PackageCache/com.unity.render-pipelines.universal@8.2.0/Editor/ShaderGUI/Shaders/ParticlesUnlitShader.cs
3,390
C#
using System; public class Program { public static void Main() { string character = Console.ReadLine(); string[] charac = character.Split(' '); string[] reverceChar = new string[charac.Length]; for (int i = 0; i < charac.Length; i++) { reverceChar[i] = char...
21.583333
57
0.5
[ "MIT" ]
IvayloKovachev09/SoftUni
Programming Fundamentals/Arrays and Lists - Lab/06. Reverse Array of Strings/Reverse Array of Strings.cs
520
C#
using ControleDespesas.Domain.Empresas.Commands.Output; using ControleDespesas.Domain.Empresas.Handlers; using ControleDespesas.Domain.Empresas.Interfaces.Handlers; using ControleDespesas.Domain.Empresas.Interfaces.Repositories; using ControleDespesas.Infra.Commands; using ControleDespesas.Infra.Data.Repositories; usi...
37.035714
81
0.676953
[ "MIT" ]
lsantoss/ControleDespesas
ControleDespesas_ApiNetCore21_Dapper/ControleDespesas.Test/Empresas/Handlers/EmpresaHandlerTest.cs
3,114
C#
// *********************************************************************** // Assembly : XLabs.Platform // Author : XLabs Team // Created : 01-02-2016 // // Last Modified By : XLabs Team // Last Modified On : 01-04-2016 // ********************************************************************...
34.063492
113
0.526561
[ "Apache-2.0" ]
Bhekinkosi12/Xamarin-Forms-Labs
src/Platform/XLabs.Platform.WinRT.Shared/Services/FontService.cs
2,148
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // </auto-generated> namespace Microsoft.Azure.Management.Sql.Fluent { u...
47.136986
284
0.589364
[ "MIT" ]
Azure/azure-libraries-for-net
src/ResourceManagement/Sql/Generated/EncryptionProtectorsOperationsExtensions.cs
6,882
C#
using Euricom.IoT.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace Euricom.IoT.Api.Managers.Interfaces { public interface ILazyBoneManager { Task<IEnumerable<Euricom.IoT.Models.LazyBone>> GetAll(); Task<Euricom.IoT.Models.LazyBone> GetByDeviceId(string deviceId...
38.891892
108
0.66713
[ "MIT" ]
Euricom/case-iot-gateway
src/Euricom.IoT.Api.Managers/Interfaces/ILazyBoneManager.cs
1,441
C#
namespace NServiceBus { internal class EncryptionHeaders { public const string KeyIdentifier = "KeyIdentifier"; } }
17.125
60
0.678832
[ "MIT" ]
BobAtParticular/NServiceBus.AesEncryptionService
NServiceBus.AesEncryptionService/Headers.cs
139
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace RostamBot.Persistence.Migrations { public partial class AddReportViaDirectField : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<bool>( name: "IsViaDire...
28.666667
71
0.606105
[ "MIT" ]
Hameds/RostamBot
RostamBot.Persistence/Migrations/20190824074414_AddReportViaDirectField.cs
690
C#
// // Tile.cs // MB2D Engine // // -------------------------------------------------------------- // // Created by Jacob Milligan on 13/10/2016. // Copyright (c) Jacob Milligan All rights reserved // using System; using Microsoft.Xna.Framework; namespace MB2D { /// <summary> /// Flags a tile as passable or im...
26.422535
123
0.578358
[ "Unlicense", "MIT" ]
jacobmilligan/MB2D
src/Tiles/Tile.cs
1,876
C#
using System.Threading.Tasks; using Abp.Application.Services; using lygwys.BookList.MultiTenancy.Dto; namespace lygwys.BookList.MultiTenancy { public interface ITenantRegistrationAppService:IApplicationService { /// <summary> /// 公开注册租户功能 /// </summary> /// <param name="input">...
27.25
70
0.667431
[ "MIT" ]
lygwys/lygwys.BookList-github
src/booklist-aspnet-core/src/lygwys.BookList.Application/MultiTenancy/ITenantRegistrationAppService.cs
454
C#
using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OrmTest { public partial class NewUnitTest { public static SqlSugarClient Db=> new SqlSugarClient(new ConnectionConfig() { DbType = DbType.SqlServer, Connecti...
25.96875
108
0.460289
[ "Apache-2.0" ]
sy0574/SqlSugar
Src/Asp.Net/SqlServerTest/UnitTest/Main.cs
1,664
C#
/* * Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * OpenAPI spec version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: https://github.com/swagger-api/swagger-codegen.git ...
38.33758
226
0.584981
[ "Apache-2.0" ]
baynezy/swagger-codegen
samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ArrayTest.cs
6,019
C#
using System; using System.Collections.Generic; using System.Linq; using OmniSharp.Services; namespace OmniSharp.Endpoint { public class LanguagePredicateHandler : IPredicateHandler { private readonly IEnumerable<IProjectSystem> _projectSystems; public LanguagePredicateHandler(IEnumerable<IPro...
26.903226
128
0.633094
[ "MIT" ]
DustinCampbell/omnisharp-roslyn
src/OmniSharp.Host/Endpoint/LanguagePredicateHandler.cs
834
C#
using System; namespace FindNthDigit { internal class Program { public static void Main(string[] args) { Console.WriteLine(new Solution().FindNthDigit(3)); Console.WriteLine(new Solution().FindNthDigit(11)); Console.WriteLine(new Solution().FindNthDigit(1000...
21.243243
71
0.498728
[ "MIT" ]
thenitro/leet-code-problems
2021/FindNthDigit/FindNthDigit/Program.cs
788
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.Coyote.Random; using Microsoft.Coyote.Specifications; using Microsoft.Coyote.Tasks; using Microsoft.Coyote.Tests.Common; using Microsoft.Coyote.Tests.Common.Tasks; using Xunit; using Xunit.Abstractions; namespace Microsoft.Coy...
32.128866
98
0.439756
[ "MIT" ]
Bhaskers-Blu-Org2/coyote
Tests/Production.Tests/Tasks/RandomValues/TaskRandomBooleanTests.cs
6,235
C#
namespace Notes.App.Controllers { using SimpleMvc.Framework.Attributes.Methods; using SimpleMvc.Framework.Contracts; public class HomeController : BaseController { [HttpGet] public IActionResult Index() => View(); } }
21.333333
49
0.679688
[ "MIT" ]
msotiroff/Softuni-learning
C# Web Module/CSharp-Web-Development-Basics/09.WorkShop/NotesApplication/Notes.App/Controllers/HomeController.cs
258
C#
using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace SpaceShipSurvival { public class ShopController : MonoBehaviour { [SerializeField] private GameObject _upgradeButtonPrefab; [SerializeField] private Transform _upgradeButtonsParent; [SerializeF...
30.33871
103
0.564593
[ "MIT" ]
JoanOrtiga/Spaceship-survival
Spaceship-Survival/Assets/ShopController.cs
1,881
C#
using System; using System.IO; using System.Reflection; using System.Text; using Newtonsoft.Json; using NUnit.Framework; // ReSharper disable InconsistentNaming namespace Bodoconsult.Core.Typography.Test { [TestFixture] public class UnitTestTypographyBase { private const double Tolerance = 0.000...
29.597765
129
0.558324
[ "MIT" ]
RobertLeisner/Bodoconsult.Core.Typography
Bodoconsult.Core.Typography.Test/UnitTestTypographyBase.cs
5,300
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SimpleDeviceDiscovery : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } }
16.105263
52
0.637255
[ "Apache-2.0" ]
M8s-Inc/M8s-Magic-Leap-Playground
Assets/Scripts/SimpleDeviceDiscovery.cs
308
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...
36.067073
135
0.571767
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/EventHub/V20180101Preview/Cluster.cs
5,915
C#
using AutoMapper; using HelloWorld.V2.Infrastructure; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace HelloWorld.V2.Domain { public class HelloWorldService : IHelloWorldService { private static readonly HashSet<string> ValidHelloWorlds = new HashSet<string>(Stri...
30.363636
121
0.638473
[ "MIT" ]
superchar/hello-world-app
HelloWorld.Domain/HelloWorldService.cs
1,338
C#
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; /** * mostly following: http://rbwhitaker.wikidot.com/monogame-texture-atlases-1 */ namespace TileMapAndMoveCharacter { class Character { public Texture2D Texture { get; set; } public int Height { get; set; } publ...
34.824561
108
0.483879
[ "MIT" ]
klnsem/TileMapAndMoveCharacter
TileMapAndMoveCharacter/Character.cs
3,972
C#
namespace Qsi.MongoDB.Internal.Nodes; internal class TemplateElementNode : BaseNode, INode { public bool Tail { get; set; } public TemplateElementValue Value { get; set; } } // TODO: Implicit casting internal class TemplateElementValue { public string Cooked { get; set; } public string Raw { get; s...
19.294118
52
0.704268
[ "MIT" ]
ScriptBox99/chequer-qsi
Qsi.MongoDB/Internal/Nodes/TemplateElementNode.cs
330
C#
using System; using System.Collections.Generic; using System.Text; namespace System.Collections.Generic { /// <summary> /// Enume for sort a <see cref="List{T}"/> using sa <see cref="KeyValuePair{TKey, TVlaue}"/> /// </summary> public enum ListKeyValueSort { /// <summary></summary> ...
34.893333
120
0.538021
[ "MIT" ]
un-pogaz/ChromatikTool
Chromatik/Collections/ListExtension.cs
2,619
C#
using CryptoExchange.Net.Converters; using Newtonsoft.Json; using System; namespace Switcheo.Net.Objects { /// <summary> /// Candlestick information for pair /// </summary> public class SwitcheoCandlestick { /// <summary> /// The time this candlestick opened /// </summary> ...
29.868852
133
0.547201
[ "MIT" ]
Switcheo/Switcheo.Net
Switcheo.Net/Objects/SwitcheoCandlestick.cs
1,824
C#
using DevelopmentInProgress.Socket.Client; using DevelopmentInProgress.TradeView.Wpf.Common.Cache; using DevelopmentInProgress.TradeView.Wpf.Common.Events; using DevelopmentInProgress.TradeView.Wpf.Common.Extensions; using DevelopmentInProgress.TradeView.Wpf.Common.Manager; using DevelopmentInProgress.TradeView.Wpf.Co...
40.575926
244
0.569874
[ "Apache-2.0" ]
CasparsTools/tradeview
src/DevelopmentInProgress.TradeView.Wpf.Strategies/ViewModel/StrategyRunnerViewModel.cs
43,824
C#
using RevolutionaryStuff.Core; using Serilog; using System.Net.Mail; namespace GSA.UnliquidatedObligations.Web.Services { public class EmailServer : IEmailServer { private readonly SmtpClient EmailClient; private readonly ILogger Log; public EmailServer(SmtpClient emailClie...
31.282051
124
0.567213
[ "CC0-1.0" ]
gaybro8777/FM-ULO
ULO/src/GSA.UnliquidatedObligations.Web/Services/EmailServer.cs
1,222
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// InstAccountElementsDTO Data Structure. /// </summary> [Serializable] public class InstAccountElementsDTO : AopObject { /// <summary> /// 请款相关要素 /// </summary> [XmlElement("...
23.243243
63
0.539535
[ "Apache-2.0" ]
alipay/alipay-sdk-net
AlipaySDKNet.Standard/Domain/InstAccountElementsDTO.cs
892
C#
using CleanArchitecture.Application.Common.Exceptions; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; namespace CleanArchitecture.WebUI.Filters; public class ApiExceptionFilterAttribute : ExceptionFilterAttribute { private readonly IDictionary<Type, Action<ExceptionContext>> _exception...
29.41958
91
0.639648
[ "MIT" ]
AamilShohail/Clean-Architecture-
src/WebUI/Filters/ApiExceptionFilterAttribute.cs
4,209
C#
using System; using System.Collections.Generic; using System.Net.Security; using System.Security.Authentication; using StackExchange.Redis.Extensions.Core.Abstractions; using StackExchange.Redis.Extensions.Core.Implementations; using StackExchange.Redis.Extensions.Core.Models; using StackExchange.Redis.Profiling; na...
31.541899
193
0.510361
[ "MIT" ]
SunGram/StackExchange.Redis.Extensions
src/core/StackExchange.Redis.Extensions.Core/Configuration/RedisConfiguration.cs
11,294
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Shouldly; using Spect.Net.Assembler.SyntaxTree.Expressions; using Spect.Net.Assembler.SyntaxTree.Statements; namespace Spect.Net.Assembler.Test.Parser { [TestClass] public class LoopTests : ParserTestBed { [TestMethod] [DataRow(".en...
28.5
77
0.54206
[ "MIT" ]
Dotneteer/spectnetide
Tests/Spect.Net.Assembler.Test/Parser/LoopTests.cs
2,225
C#
using System; using System.Collections.Generic; using System.Text; namespace DISample { public class HomeController { private readonly IHelloService _helloService; public HomeController(IHelloService helloService) { _helloService = helloService ?? throw new ArgumentNullExce...
26.363636
98
0.643103
[ "MIT" ]
CNinnovation/aspnetcorejun2018
foundations/DISample/DISample/HomeController.cs
582
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...
33.946429
88
0.635455
[ "ECL-2.0", "Apache-2.0" ]
EladGabay/pulumi-oci
sdk/dotnet/Identity/Inputs/AuthenticationPolicyPasswordPolicyArgs.cs
1,901
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BeholderBot.Tasks { internal class DistributeOverlords : GameplayTask { public override void Execute() { //send scouting unless it is dangerous. If it is dangerous, keep near spores ...
18.444444
79
0.75
[ "MIT" ]
Dmitrii-Naumov/SC2-CSharpe-Starterk
BeholderBot/Tasks/DistributeOverlords.cs
334
C#
using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Intrinsics; using System.Text; using __m128 = System.Runtime.Intrinsics.Vector128<float>; using static KleinSharp.Simd; // ReSharper disable InconsistentNaming // ReSharper disable ParameterHidesMemb...
28.63964
111
0.663206
[ "MIT" ]
Ziriax/KleinSharp
KleinSharp/Source/Branch.cs
9,576
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; using System.Collections.Generic; using System.Data.Common; using System.Runtime.CompilerServices; using System....
36.789238
118
0.537786
[ "Apache-2.0" ]
ahsonkhan/EntityFrameworkCore
src/EFCore.Relational/Query/Internal/QueryingEnumerable.cs
8,204
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using UnityEditor; using UnityEditor.AddressableAssets.Settings; using UnityEngine.PlayerLoop; namespace AIR.AddressableRegister.Editor { [InitializeOnLoad] public class AddressableRegisterPostProcessor { private st...
35.130435
102
0.62005
[ "MIT" ]
AnImaginedReality/AddressableRegister.Package
Editor/AddressableRegisterPostProcessor.cs
2,424
C#
using System; using System.Threading.Tasks; namespace Company.Desktop.Framework.Mvvm.Interactivity { public interface IActivateable : IDisposable { Task ActivateAsync(IActivationContext context); IObservable<IActivationContext> WhenActivated { get; } } }
22
56
0.799242
[ "Apache-2.0" ]
taori/Amusoft.VisualStudio.Extensions
templateSources/WpfApplication/Company.Desktop.Framework.Mvvm/Interactivity/IActivateable.cs
266
C#
using System; using DotNetRuServer.Comon.BL.Extensions; using DotNetRuServer.Meetups.BL.Entities; using DotNetRuServer.Meetups.BL.Models; namespace DotNetRuServer.Meetups.BL.Extensions { public static class VenueExtensions { public static VenueVm EnsureIsValid(this VenueVm venue) { ...
29.145833
107
0.555397
[ "MIT" ]
b-a-x/Server
DotNetRuServer.Meetups.BL/Extensions/VenueExtensions.cs
1,399
C#
using System; namespace NBehave.Hooks { [AttributeUsage(AttributeTargets.Method | AttributeTargets.Field)] public class BeforeStepAttribute : HookAttribute { } }
25.142857
71
0.75
[ "BSD-3-Clause" ]
MorganPersson/NBehave
src/NBehave/Hooks/BeforeStepAttribute.cs
176
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace Easy14_Coding_Language { class UNUSED_VariableCode_SettingVar { /* ████████╗██╗░░██╗██╗░██████╗  ██╗░██████╗  ██╗░░░██╗███╗░░██╗██╗░░░██╗░██████╗███████╗██████╗░██╗ ╚══██╔══╝██║░░██║██...
41.610169
112
0.385336
[ "MIT" ]
Mervinpais/Easy14_Programing_language
Functions/UNUSEDVariableCode_SettingVar.cs
3,619
C#
namespace P05_DateModifier { using System; public class DateDifference { public static void Main() { string firstDate = Console.ReadLine(); string secondDate = Console.ReadLine(); var diff = new DateModifier(); Console.WriteLine(diff.FindDi...
20.666667
74
0.583333
[ "MIT" ]
MertYumer/C-Fundamentals---January-2019
C# Advanced - January 2019/06. Defining Classess - Exercises/P05-DateModifier/DateDifference.cs
374
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview { using Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.PowerShell; /// <summary> /// A PowerShell PSTypeConverter to support converting to an instance of <see cref="OperationListResultAutoGenerated" /> /// </...
52.950704
251
0.594494
[ "MIT" ]
3quanfeng/azure-powershell
src/PostgreSql/generated/api/Models/Api20200214Preview/OperationListResultAutoGenerated.TypeConverter.cs
7,378
C#
using System; using System.Xml.Linq; namespace TT.HttpClient.Weixin.WeixiinResult.TenPay { /// <summary> /// 统一支付接口在return_code 和result_code 都为SUCCESS 的时候有返回详细信息 /// </summary> public class UnifiedorderResult : Result { ///// <summary> ///// 子商户公众账号ID ///// </summary> ...
30.422222
126
0.473338
[ "MIT" ]
18789073256/SoMall
backEnd/modules/TT.HttpClient.Weixin/WeixiinResult/TenPay/UnifiedorderResult.cs
2,944
C#
using System; using System.Collections; using System.Collections.Generic; using _local.Scripts; using MyNamespace; using UnityEngine; using UnityEngine.Experimental.Rendering.Universal; using Random = UnityEngine.Random; namespace firewalk { public class EnemyAI : MonoBehaviour { [Header("Settings")...
31
122
0.520075
[ "MIT" ]
DataGreed/LD46
LDJam46/Assets/_local/Scripts/EnemyAI.cs
10,137
C#
using System; /* * С помощью какой клавиши можно перевести редактор vi в режим * ввода команд? */ namespace step_3 { class Program { static void Main(string[] args) { Console.WriteLine("Esc"); } } }
15.055556
64
0.523985
[ "Unlicense" ]
tshemake/Software-Development
stepik/762/30070/step_3/Program.cs
332
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. #if FEATURE_CONFIGURATION using System; using System.Configuration; using AnyPrefix.Microsoft.Scripting.Ut...
36.734375
125
0.650362
[ "MIT" ]
shuice/IronPython_UWP
ironpython2/Src/DLR/Src/Microsoft.Scripting/Hosting/Configuration/LanguageElement.cs
2,353
C#
using UnityEngine.TestTools.Graphics; public class GlobalGraphicsTestSettings : GraphicsTestSettings { public int WaitFrames = 0; public GlobalGraphicsTestSettings() { ImageComparisonSettings.TargetWidth = 1920; ImageComparisonSettings.TargetHeight = 1080; ImageComparisonSettings.A...
29.266667
72
0.758542
[ "MIT" ]
Ariions/PT_Application_Tests
Assets/Tests/PlayModeTests/UniversalGraphicsTestSettings.cs
439
C#
/* * DocuSign REST API * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using Syste...
61.309356
6,074
0.603576
[ "MIT" ]
frikke/docusign-csharp-client
sdk/src/DocuSign.eSign/Model/Zip.cs
113,361
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("sp...
37.756757
84
0.743737
[ "MIT" ]
sergeisnitko/spday2018-pnp-spmeta2-demo
SPMeta2/spmeta2.core/Properties/AssemblyInfo.cs
1,400
C#
using FluentValidation; namespace Gear.DynamicReporting.ProjectManagement.Domain.ReportFilters.Commands.AddUserReportActivityStatuses { public class AddUserReportActivityStatusesCommandValidator<TUserIdType> : AbstractValidator<AddUserReportActivityStatusesCommand<TUserIdType>> { public AddUserReportA...
29.4
146
0.656463
[ "MIT" ]
indrivo/bizon360_pm
IndrivoPM/Gear.DynamicReporting.ProjectManagement/Domain/ReportFilters/Commands/AddUserReportActivityStatuses/AddUserReportActivityStatusesCommandValidator.cs
590
C#
using System; using System.Threading.Tasks; using AppInsights.EnterpriseTelemetry; using System.Collections.Generic; using AppInsights.EnterpriseTelemetry.Context; using Microsoft.Extensions.Caching.Memory; using Microsoft.FeatureFlighting.Common.Caching; namespace Microsoft.FeatureFlighting.Caching { public clas...
37.9375
137
0.650741
[ "MIT" ]
microsoft/FeatureFlightingManagement
src/service/Cache/InMemoryCache.cs
2,430
C#
namespace Bike.Ast { using System.Collections.Generic; public partial class ArrayLiteral : ExprNode { public readonly List<ExprNode> Expressions = new List<ExprNode>(); public bool IsRange; } }
20.727273
74
0.666667
[ "MIT" ]
buunguyen/bike
src/Bike/Ast/Literals/ArrayLiteral.cs
230
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
43.344262
177
0.613212
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/DeviceRegisteredOwnersCollectionWithReferencesRequest.cs
7,932
C#
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d3d11.h(11391,5) using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC__union_0 { [MarshalAs(UnmanagedType.ByValArray, SizeConst =...
45.133333
215
0.731167
[ "MIT" ]
riQQ/DirectN
DirectN/DirectN/Generated/D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC__union_0.cs
679
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using com.rherlt.NetCoreBasicAuth.BasicAuthentication; using Microsoft.AspNetCore.Mvc; // For more information on enabling Web API for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 namespac...
29.791667
116
0.678322
[ "MIT" ]
rherlt/Blog-NetCoreBasicAuth
src/com.rherlt.NetCoreBasicAuth.WebApplication/Controllers/AuthController.cs
717
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...
26.533333
81
0.684673
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/DynamoDB/Outputs/TableProjection.cs
796
C#
/************************************************************************************* Extended WPF Toolkit Copyright (C) 2007-2013 Xceed Software Inc. This program is provided to you under the terms of the Microsoft Public License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license For ...
38.116505
181
0.67728
[ "Unlicense" ]
visiontrail/LMT2018
Src/SCMT/UI/DataGrid/Xceed.Wpf.DataGrid/Views/(ColumnVirtualization)/VirtualizingFixedCellSubPanel.cs
7,854
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("02....
38.540541
84
0.751052
[ "MIT" ]
sevgin0954/SoftUni-Projects
Programming - Fundamentals/Regular Expressions (RegEx) - Exercises/02.ExtractSentences byKeyword/Properties/AssemblyInfo.cs
1,429
C#
/** * Copyright 2015 Canada Health Infoway, 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...
37.785714
83
0.712665
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-ab-r02_04_03/Main/Ca/Infoway/Messagebuilder/Model/Ab_r02_04_03/Domainvalue/ActInvoiceDetailTaxCode.cs
1,058
C#