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 ExtendedXmlSerializer.ContentModel.Content; using ExtendedXmlSerializer.ContentModel.Reflection; using ExtendedXmlSerializer.Core; using ExtendedXmlSerializer.ReflectionModel; using System.Collections.Generic; using System.Reflection; namespace ExtendedXmlSerializer.ExtensionModel.References { sealed class Refe...
41.172414
96
0.762982
[ "MIT" ]
ExtendedXmlSerializer/ExtendedXmlSerializer
src/ExtendedXmlSerializer/ExtensionModel/References/ReferencesExtension.cs
1,194
C#
// Decompiled with JetBrains decompiler // Type: SqlDataProvider.Data.WorldMgrDataInfo // Assembly: SqlDataProvider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: E6C792E1-372D-46D0-B366-36ACC93C90BB // Assembly location: C:\Users\Pham Van Hungg\Desktop\Decompiler\Road\SqlDataProvider.dll using Proto...
28.157895
89
0.781308
[ "MIT" ]
HuyTruong19x/DDTank4.1
Source Server/SqlDataProvider/SqlDataProvider/Data/WorldMgrDataInfo.cs
537
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/dwrite.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
37.076923
145
0.637448
[ "MIT" ]
Ethereal77/terrafx.interop.windows
tests/Interop/Windows/um/dwrite/IDWriteGdiInteropTests.cs
1,930
C#
using Microsoft.AspNetCore.Components.Builder; using Microsoft.Extensions.DependencyInjection; namespace bitandbot.demo.blazor { public class Startup { public void ConfigureServices(IServiceCollection services) { } public void Configure(IComponentsApplicationBuilder app) ...
21.333333
66
0.664063
[ "MIT" ]
bitjimmy/bitandbot-demo
src/bitandbot.demo.blazor/Startup.cs
384
C#
// Copyright 2013 Cultural Heritage Agency of the Netherlands, Dutch National Military Museum and Trezorix bv // // 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...
32.673469
110
0.714553
[ "Apache-2.0" ]
Joppe-A/rce-checkers2
CheckersManager/BindableSkosSourcesList.cs
1,603
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; namespace Server.Services.Helpers { internal static class UriExtensions { public static Uri AddParameter(this Uri url, string paramName, string paramValue) { ...
26.173913
89
0.664452
[ "Apache-2.0" ]
CodeFiction/CodeEksi
Core/Services/Helpers/UriExtensions.cs
604
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...
43.682292
175
0.608799
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20191101/NetworkProfile.cs
8,387
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> //--...
41.931507
182
0.600457
[ "MIT" ]
dima117/thinking-home
ThinkingHome.Plugins.WebUI/Lang/AppLang.Designer.cs
3,063
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; using Data.Models; using System.Threading; namespace WinFormsView.ParentControls { public partial cl...
28.916667
102
0.6561
[ "MIT" ]
kristiyanyanchev/It-Kariera-Software-Development-Project
Kristiyan_Yanchev_Lorenzo_Eccheli/Kristiyan_Yanchev_Lorenzo_Eccheli/ParentControls/ParentContactTeacherControl.cs
1,043
C#
using System.Runtime.Serialization; using GadzhiCommon.Enums.LibraryData; using GadzhiCommon.Models.Interfaces.LibraryData; namespace GadzhiDTOBase.TransferModels.Signatures { /// <summary> /// Информация о пользователе. Трансферная модель /// </summary> [DataContract] public class Perso...
27.6
115
0.558776
[ "MIT" ]
rubilnik4/GadzhiResurrected
GadzhiDTOBase/TransferModels/Signatures/PersonInformationDto.cs
1,307
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Delete a system-level Application Server alias from the system. /// The respo...
31.348837
139
0.653561
[ "MIT" ]
cwmiller/broadworks-connector-net
BroadworksConnector/Ocip/Models/SystemAliasDeleteRequest.cs
1,348
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace JitInterface { public static unsafe partial class ClrJit { [Flags] public enum CorJitFlag : uint { SPEED_OPT =...
27.38764
66
0.493538
[ "MIT" ]
FenixDan/JitInterface
JitInterface/ClrJit.cs
4,877
C#
using UnityEngine; using System.Collections; public class WFX_RealtimeReflection : MonoBehaviour { #if UNITY_4_1 || UNITY_4_2 || UNITY_4_3 || UNITY_4_5 || UNITY_4_6 #else ReflectionProbe probe; private Transform camT; void Awake() { probe = GetComponent<ReflectionProbe>(); camT = C...
19.655172
67
0.584211
[ "Apache-2.0" ]
rasbot/9_to_5_Smash_It_AI
Project/Assets/KriptoFX/WeaponEffects/Scene/Other/WFX_RealtimeReflection.cs
572
C#
using System.Xml.Linq; namespace DefaultDocumentation.Api { public interface IElement { string Name { get; } void Write(IWriter writer, XElement element); } }
15.833333
53
0.647368
[ "MIT-0" ]
IdkGoodName/DefaultDocumentation
source/DefaultDocumentation.Api/Api/IElement.cs
192
C#
using System.Collections.Generic; namespace Project0.StoreApplication.Domain.Models { public class PanaceaStore : Store { public PanaceaStore() { Name = "Panacea Store"; Location = "X Ave, Uptobia"; Products = new List<Product>(){ new Product(){ Name ="万灵药", Pr...
16.454545
49
0.555249
[ "MIT" ]
08162021-dotnet-uta/CaseyPengRepo01
projects/project_0/Project0.StoreApplication.Domain/Models/PanaceaStore.cs
368
C#
// MIT License // Copyright (c) 2018 Felix Lange // 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, me...
34.918367
81
0.708358
[ "MIT" ]
fx-lange/unity-record-and-repeat
Source/Recording/Recording.cs
1,711
C#
using System; using System.Threading; using Content.Server.Chat.Managers; using Robust.Shared.GameObjects; using Robust.Shared.IoC; using Robust.Shared.Localization; using Timer = Robust.Shared.Timing.Timer; namespace Content.Server.GameTicking.Rules { public sealed class RuleMaxTimeRestart : GameRule { ...
30.305556
143
0.606783
[ "MIT" ]
A-Box-12/space-station-14
Content.Server/GameTicking/Rules/RuleMaxTimeRestart.cs
2,182
C#
using WDE.Common.Types; using WDE.Module.Attributes; namespace WDE.Common.Solution { [NonUniqueProvider] public interface ISolutionItemIconProvider { } public interface ISolutionItemIconProvider<in T> : ISolutionItemIconProvider where T : ISolutionItem { ImageUri GetIcon(T icon); ...
21.733333
104
0.714724
[ "Unlicense" ]
BAndysc/WoWDatabaseEditor
WoWDatabaseEditor.Common/WDE.Common/Solution/ISolutionItemIconProvider.cs
326
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. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System...
47.582463
206
0.666243
[ "Apache-2.0" ]
cshung/roslyn
src/EditorFeatures/TestUtilities/SignatureHelp/AbstractSignatureHelpProviderTests.cs
22,794
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Xml; using System.Xml.Xsl; using System.Xml.XPath; using System.IO; using System.Configuration; namespace SSTDeskBooks.english.atrium.content_manager { public p...
49.763573
242
0.551223
[ "MIT" ]
chris-weekes/atrium
lmras/DeskbookSAM/english/atrium/content_manager/SAMStructure.aspx.cs
28,417
C#
namespace RESTAPI.Util { /// <summary> /// Generic file utility functions. /// </summary> public static class FileUtil { /// <summary> /// Returns the file extension of a passed /// file path and name or null, if the file /// name has no extension. /// </summ...
30.880952
84
0.562066
[ "MIT" ]
zekroTJA/voidseeker
RESTAPI/Util/FileUtil.cs
1,299
C#
using Microsoft.EntityFrameworkCore; using JetBrains.Annotations; namespace L2L.Data.Model { public class L2lDbContext : DbContext { public L2lDbContext(DbContextOptions options) : base(options) { } public DbSet<Course> Courses { get; set; } } }
23.538462
77
0.630719
[ "MIT" ]
Hivesp/L2L
L2L.data/Model/L2lDbContext.cs
306
C#
using System; using System.Diagnostics; using System.IO; using Maui.Controls.Sample.Services; using Microsoft.Extensions.DependencyInjection; using Microsoft.Maui; using Microsoft.Maui.Controls; using Microsoft.Maui.Essentials; namespace Maui.Controls.Sample { public partial class XamlApp : Application { public Xa...
24.644068
90
0.71458
[ "MIT" ]
GabrieleMessina/maui
src/Controls/samples/Controls.Sample/XamlApp.xaml.cs
1,454
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> //---...
41.458333
80
0.649246
[ "MIT" ]
MertYumer/C-Fundamentals---January-2019
C# Advanced - January 2019/05. Functional Programming/P05-FilterByAge/obj/Debug/netcoreapp2.1/P05-FilterByAge.AssemblyInfo.cs
995
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. /****************************************************************************** * This file is auto-generated from ...
40.489231
175
0.568736
[ "MIT" ]
AaronRobinsonMSFT/coreclr
tests/src/JIT/HardwareIntrinsics/X86/Avx/TestNotZAndNotC.Int32.cs
13,159
C#
using System.Text.Json.Serialization; namespace GlucoseTray.Models { /// <summary> /// Class that maps to the JSON from NightScout status. /// </summary> /// <remarks> /// Currently only maps the status value. /// /// Would it be possible to read the units and alarm thresholds from nights...
24.894737
84
0.623679
[ "MIT" ]
sschocke/GlucoseTray
GlucoseTray/Models/NightScoutStatus.cs
475
C#
using System.Linq; using System.Web.Mvc; using System.Web.Security; using NHibernate; using hackathonishbd.Models; using System; namespace hackathonishbd.Controllers { [RoutePrefix("Administrador")] public class AdministradorController : Controller { [HttpGet] [Route("AltaUsuario")] ...
24.714286
68
0.531792
[ "MIT" ]
TritiumMonoid/hackathon-ish-bd
src/hackathonishbd/Controllers/AdministradorController.cs
1,038
C#
namespace UoT.ui.main.tabs.animation { partial class AnimationTab { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposin...
40.606061
103
0.701493
[ "CC0-1.0" ]
MeltyPlayer/uot
Utility of Time CSharp/ui/main/tabs/animation/AnimationTab.Designer.cs
4,022
C#
/******************************************************* * * 作者:王国超 * 创建日期:20180522 * 运行环境:.NET 4.5 * 版本号:1.0.0 * * 历史记录: * 创建文件 王国超 20180522 16:53 * *******************************************************/ namespace Rafy.MultiTenancy.Exception { /// <summary> /// 多租户数据分片映射配置异常类 /// </summary>...
22.074074
83
0.511745
[ "MIT" ]
zgynhqf/trunk
Rafy/Plugins/Rafy.MultiTenancy/Exception/MultiTenancyShardMapUnfoundException.cs
714
C#
namespace EEFApps.ApiInstructions.DataInstructions.Instructions.Interfaces { using System.Threading.Tasks; public interface IOperationInstruction<TResult> { Task<TResult> Execute(); } }
21.2
75
0.731132
[ "MIT" ]
EugeneElkin/eef-api-instructions
DataInstructions/Instructions/Interfaces/IOperationInstruction.cs
214
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // namespace Microsoft.Kusto.ServiceLayer.Metadata.Contracts { public enum MetadataType { Table = 0, View = 1, SProc = 2, Fun...
22.205882
101
0.574834
[ "MIT" ]
ConnectionMaster/sqltoolsservice
src/Microsoft.Kusto.ServiceLayer/Metadata/Contracts/ObjectMetadata.cs
755
C#
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.IO; using System.Linq; using System.Ref...
42.061818
192
0.578888
[ "Apache-2.0" ]
ProphetLamb-Organistion/Roslynator
src/Tools/MetadataGenerator/Program.cs
11,569
C#
using System; using System.IO; using System.Linq; using System.Xml.Linq; using OmniSharp.Solution; using OmniSharp.Common; namespace OmniSharp.ProjectManipulation.AddToProject { public class AddToProjectHandler { private readonly ISolution _solution; private readonly XNamespace _msBuildNameSpa...
37.65
165
0.63745
[ "MIT" ]
jchannon/OmniSharpServer
OmniSharp/ProjectManipulation/AddToProject/AddToProjectHandler.cs
2,261
C#
using FakeItEasy; using FakeXrmEasy.Extensions; using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Messages; using Microsoft.Xrm.Sdk.Query; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.ServiceModel; namespace FakeXrmEasy { public partial class XrmFakedCont...
42.537842
246
0.533578
[ "MIT" ]
VinnyDyn/fake-xrm-easy
FakeXrmEasy.Shared/XrmFakedContext.Crud.cs
26,418
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
31.172414
81
0.634956
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Waf/V20180125/Models/DescribeCustomRulesResponse.cs
1,882
C#
#nullable disable using System; using System.Linq; using System.Runtime.Serialization; using VocaDb.Model.Domain.ReleaseEvents; using VocaDb.Model.Utils; namespace VocaDb.Model.DataContracts.ReleaseEvents { [DataContract(Namespace = Schemas.VocaDb)] public class ArchivedEventSeriesContract { private...
32.639535
133
0.73958
[ "MIT" ]
AgFlore/vocadb
VocaDbModel/DataContracts/ReleaseEvents/ArchivedEventSeriesContract.cs
2,807
C#
// // System.CodeDom CodeDirective class // // Author: // Marek Safar (marek.safar@seznam.cz) // // (C) 2004 Ximian, Inc. // // // 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 r...
31.804348
73
0.749829
[ "Apache-2.0" ]
Sectoid/debian-mono
mcs/class/System/System.CodeDom/CodeDirective.cs
1,463
C#
using UnityEngine; public class RandomMatchmaker : Photon.PunBehaviour { private PhotonView myPhotonView; // Use this for initialization public void Start() { PhotonNetwork.ConnectUsingSettings("0.1"); } public override void OnJoinedLobby() { Debug.Log("JoinRandom"); ...
27.321429
123
0.62549
[ "Apache-2.0" ]
AndersonMarquess/mankind
Assets/Photon Unity Networking/Demos/MarcoPolo-Tutorial/RandomMatchmaker.cs
1,530
C#
using Microsoft.EntityFrameworkCore; using MSK.Core.Module.Domain; namespace MSK.Application.Module.Data { public interface IEfRepositoryAsync<TEntity> : IEfRepositoryAsync<ApplicationDbContext, TEntity> where TEntity : IEntity { } public interface IEfQueryRepository<TEntity> : IEfQueryReposi...
26.571429
100
0.712366
[ "MIT" ]
thangchung/modular-starter-kit
src/MSK.Application.Module.Data/IEfRepository.cs
746
C#
using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation; using QlikView_CLI.QMSAPI; namespace QlikView_CLI.PWSH { [Cmdlet(VerbsCommon.Get, "QVRemoteTasks")] public class GetQVRemoteTasks : PSClient { [Parameter] public Guid Remoteqmsid; ...
24.530612
157
0.606489
[ "MIT" ]
QlikProfessionalServices/QlikView-CLI
PWSH/Generated/Get/RemoteTasks.cs
1,204
C#
namespace CustomCode.CompileTimeInject.Annotations { /// <summary> /// Used in combination with an <see cref="ExportAttribute"/> to define the lifetime policy of a service. /// </summary> public enum Lifetime : byte { /// <summary> A new service instance is created per request. </summary> ...
37.333333
109
0.632143
[ "MIT" ]
git-custom-code/CompileTimeInject
src/CompileTimeInject.Annotations/Lifetime.cs
560
C#
using System; namespace Exercises.StackExercise { public class StackExceededSizeException : Exception { public StackExceededSizeException() { } public StackExceededSizeException(string message) : base(message) { } public StackExceededSizeEx...
19.272727
74
0.591981
[ "MIT" ]
AnnaLviv/Exercises
Exercises/StackExercise/StackExceededSizeException.cs
426
C#
using ExpenseManager.Entities.Concrete; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace ExpenseManager.WebApp.Models { public class ExpenseCategoryViewModel: BaseViewModel { [Required] publi...
31.583333
108
0.66029
[ "MIT" ]
dudelis/expense-manager
ExpenseManager.WebApp/Models/ExpenseCategoryViewModel.cs
1,518
C#
namespace Content.Server { public static class IgnoredComponents { public static string[] List => new string[] { // Stick components you want ignored here. }; } }
22.555556
54
0.591133
[ "MIT" ]
20kdc/RobustToolboxTemplate
Content.Server/IgnoredComponents.cs
203
C#
using System; namespace Nest { public abstract class QueryDescriptorBase<TDescriptor, TInterface> : DescriptorBase<TDescriptor, TInterface>, IQuery where TDescriptor : QueryDescriptorBase<TDescriptor, TInterface>, TInterface where TInterface : class, IQuery { string IQuery.Name { get; set; } public TDescr...
31.724138
92
0.720652
[ "Apache-2.0" ]
BedeGaming/elasticsearch-net
src/Nest/QueryDsl/Abstractions/Query/QueryDescriptorBase.cs
922
C#
namespace BankTransferSample.Domain { /// <summary>交易状态 /// </summary> public enum TransactionStatus { Started = 1, PreparationCompleted, Completed, Canceled } }
17.461538
37
0.54185
[ "MIT" ]
berkaroad/ENode.Eventual2PC
src/Samples/BankTransferSample/Domain/TransactionStatus.cs
237
C#
using Microsoft.EntityFrameworkCore; using Mix.Cms.Lib.Extensions; namespace Mix.Cms.Lib.Models.Cms { public partial class MySqlMixCmsContext : MixCmsContext { /// <summary> /// Initializes a new instance of the <see cref="ApplicationDbContext" /> class. /// </summary> /// <par...
30.387097
88
0.626327
[ "MIT" ]
1furkankaratas/mix.core
src/Mix.Cms.Lib/Models/Cms/_MySqlMixCmsContext.cs
944
C#
namespace Unity.Tests.Override { public class TypeToInject2 : IInterfaceForTypesToInject { public TypeToInject2(int value) { Value = value; } public int Value { get; set; } } }
21.090909
59
0.577586
[ "Apache-2.0" ]
danielp37/container
tests/Unity.Tests/Override/TypeToInject2.cs
232
C#
using ElBastard0.Api.Models; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.EntityFrameworkCore.Sqlite; using Microsoft.EntityFrameworkCore; using ElBastard0.Api.Services; namespace ElBastard0.Api.Extensions { /// <summary> /// Extensions for IService...
38.866667
119
0.679817
[ "BSD-2-Clause" ]
el-bastard0/simple-inter-system-api-example
src/api/Extensions/ServiceCollectionExtensions.cs
1,751
C#
/***************************************************************************** * Copyright 2016 Aurora Solutions * * http://www.aurorasolutions.io * * Aurora Solutions is an innovative services and product company at * the forefront of the software industry, with processes and practices * involving Domain Dri...
45.663866
244
0.722304
[ "Apache-2.0" ]
trade-nexus/trade-mirror
Signals to Forex - BEN/Up Down Signals/UpDownSingnalsClientTerminal/Service/UpDownSignalsService.cs
5,438
C#
using Newtonsoft.Json; using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace AspNetCore.Security.Jwt.Microservice.Repository.Clients { /// <summary> /// Class MovieProviderClient /// </summary> public class MovieProviderClient : IMovieProviderClient ...
32.142857
124
0.456889
[ "MIT" ]
VeritasSoftware/AspNetCore.Security.Jwt.Microservice
AspNetCore.Security.Jwt.Microservice/Repository/Clients/MovieProviderClient.cs
2,252
C#
using System.ComponentModel; namespace Ztop.Todo.Model { public enum OASystemClass { [Description("任务系统")] TaskSystem, [Description("报销系统")] ReimburseSystem } }
15.923077
29
0.603865
[ "MIT" ]
LooWooTech/Kaopu
Ztop.Todo.Model/SystemClass.cs
225
C#
// <auto-generated /> namespace DataModel.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] public sealed partial ...
28.5
99
0.603509
[ "MIT" ]
MaxReinerAAE/Kundenverwaltung
DataModel/Migrations/201710272016597_InitialDatabase.Designer.cs
855
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; using Xunit; namespace Yarp.ReverseProxy.Abstractions.Tests { public class ProxyRouteTests { [Fact] public void Equals_Positive() { var a = new ProxyRoute() ...
32.091603
93
0.335157
[ "MIT" ]
JamesNK/reverse-proxy
test/ReverseProxy.Tests/Abstractions/RouteDiscovery/Contract/ProxyRouteTests.cs
4,204
C#
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.2 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
32.205882
131
0.653881
[ "Apache-2.0" ]
Jojas/GribApi.NET
src/GribApi.NET/Grib.Api/Interop/SWIG/GribStringList.cs
2,190
C#
using DaSoft.Riviera.Modulador.Bordeo.Model; using DaSoft.Riviera.Modulador.Bordeo.Model.Enities; using DaSoft.Riviera.Modulador.Bordeo.Runtime; using DaSoft.Riviera.Modulador.Core.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static Da...
40.219101
193
0.526191
[ "MIT" ]
ANamelessWolf/RivieraModulador
Bordeo/Controller/BordeoSizeUtils.cs
7,161
C#
using Assets.Scripts.Commands; using Assets.Scripts.Communication.BluePrints; using Assets.Scripts.StateMachine; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; using static Asse...
25.76699
141
0.508855
[ "MIT" ]
StavFaran92/PiggyRun_Code
Scripts/IO/IOTouchSwipeHandler.cs
5,310
C#
// ========================================================================== // StringExtensionsTests.cs // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex Group // All rights reserved. // =================================================...
38.705882
133
0.565729
[ "MIT" ]
maooson/squidex
tests/Squidex.Infrastructure.Tests/StringExtensionsTests.cs
5,278
C#
using UnityEngine; namespace NotificationSamples.Demo { /// <summary> /// Inventory item data. /// </summary> [CreateAssetMenu(fileName = "InventoryItemData", menuName = "NotificationsSamples/Inventory Item", order = 1)] public class InventoryItemData : ScriptableObject { [Tooltip("Item...
29.025641
114
0.638693
[ "MIT" ]
AI3SW/ai_job_teacher_unity
AiJobTeacherUnity/Assets/Samples/Mobile Notifications/1.4.2/Notification Samples/Demo/InventoryItemData.cs
1,132
C#
using System.Reflection; 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("Microsoft.Azure.Devices.Shared.UWP")] [as...
36.972973
84
0.754386
[ "MIT" ]
harunpehlivan/azure-iot-sdk-csharp
shared/Microsoft.Azure.Devices.Shared.UWP/Properties/AssemblyInfo.cs
1,371
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...
31.960526
125
0.626184
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/AppRegistry/Generated/Model/DisassociateAttributeGroupResponse.cs
2,429
C#
// <copyright file="ProcessDataReceivedEventArgs.cs" company="Hottinger Baldwin Messtechnik GmbH"> // // Hbm.Automation.Api, a library to communicate with HBM weighing technology devices // // The MIT License (MIT) // // Copyright (C) Hottinger Baldwin Messtechnik GmbH // // Permission is hereby granted, free of cha...
41.9
99
0.681782
[ "MIT" ]
HBM/Automation-API
Hbm.Automation.API/Data/ProcessDataReceivedEventArgs.cs
2,516
C#
/* * OpenAPI Petstore * * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collect...
39.827751
133
0.574003
[ "Apache-2.0" ]
1inker/openapi-generator
samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/src/Org.OpenAPITools/Client/ClientUtils.cs
8,324
C#
using JT808.Protocol.Attributes; using JT808.Protocol.Formatters; using JT808.Protocol.MessagePack; namespace JT808.Protocol { /// <summary> /// 统一分包数据体 /// </summary> public class JT808SplitPackageBodies : JT808Bodies, IJT808MessagePackFormatter<JT808SplitPackageBodies> { public byte[] ...
28.8125
116
0.663774
[ "MIT" ]
491134648/JT808
src/JT808.Protocol/JT808SplitPackageBodies.cs
938
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...
53.925758
176
0.669523
[ "Apache-2.0" ]
Murcho/aws-sdk-net
sdk/src/Services/ResourceGroupsTaggingAPI/Generated/_bcl35/AmazonResourceGroupsTaggingAPIClient.cs
35,591
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace AsyncStreams { class Program { static async Task Main(string[] args) { await foreach (int i in GetEmployeeIDAsync(5)) { Console.WriteLine(i); } ...
22
72
0.486226
[ "MIT" ]
BhupeshGuptha/Enterprise-Application-Development-with-C-Sharp-9-and-.NET-5
Chapter04/AsyncStreams/Program.cs
728
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace SmartValley.Domain.Entities { public class Country { public long Id { get; set; } [Required, MaxLength(2)] public string Code { get; set; } public ICollection<User> Users { get; set; } ...
30.222222
80
0.674632
[ "MIT" ]
SmartValleyEcosystem/smartvalley
SmartValley.Domain/Entities/Country.cs
546
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Windows.Forms; using Charlotte.Tools; using Charlotte.Tests; namespace Charlotte { class Program { public const string APP_IDENT = "{3ef0127e-8a83-4299-8af9-1f7afeacf106}"; public const string APP...
17.916667
75
0.703876
[ "MIT" ]
stackprobe/CSharp
Labo/Knapsack/Knapsack/Program.cs
647
C#
// The MIT License (MIT) // // Copyright (c) 2015-2020 Rasmus Mikkelsen // Copyright (c) 2015-2020 eBay Software Foundation // Modified from original source https://github.com/eventflow/EventFlow // // Copyright (c) 2018 - 2020 Lutando Ngqakaza // https://github.com/Lutando/Akkatecture // // // Permission is hereby...
39.5
167
0.689758
[ "MIT" ]
rgfaber/m5x-sdk
tests/obsolete/Akka/M5x.Akka.Tests/UnitTests/Extensions/TypeExtensionTests.cs
4,347
C#
// Decompiled with JetBrains decompiler // Type: SqlDataProvider.Data.EventAwardInfo // Assembly: SqlDataProvider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: E6C792E1-372D-46D0-B366-36ACC93C90BB // Assembly location: C:\Users\Pham Van Hungg\Desktop\Decompiler\Road\SqlDataProvider.dll namespace Sql...
27.444444
89
0.738192
[ "MIT" ]
HuyTruong19x/DDTank4.1
Source Server/SqlDataProvider/SqlDataProvider/Data/EventAwardInfo.cs
743
C#
namespace GameHighlightClipper.Converters { public sealed class BooleanToBooleanConverter : BooleanConverter<bool> { } }
22.166667
74
0.759398
[ "MIT" ]
alaviivarantala/VGClipTrimmer
GameHighlightClipper/Converters/BooleanToBooleanConverter.cs
135
C#
using System; using NUnit.Framework; namespace WebGL.UnitTests { [TestFixture] public class ArrayBufferTests { [Test] public void ShouldCreateBufferOfSpecificedSize() { var length = new Random(Environment.TickCount).Next(255); Assert.That(new ArrayBuffer(len...
28.893617
80
0.557437
[ "Apache-2.0" ]
jdarc/webgl.net
WebGL.UnitTests/typedarrays/ArrayBufferTests.cs
1,360
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using BTree; namespace Core.UnitTest { [TestClass] public class CoreTest { [TestMethod] public void TestMethod1() { var cl = new InvertedIndex(); } } }
14.428571
51
0.554455
[ "MIT" ]
bmaximus/inverted_index_with_btree_and_stemmer
Core/Core.UnitTest/CoreTest.cs
305
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
41.615385
112
0.777572
[ "Apache-2.0" ]
bitType/aliyun-openapi-net-sdk
aliyun-net-sdk-dcdn/Dcdn/Transform/V20180115/PreloadDcdnObjectCachesResponseUnmarshaller.cs
1,623
C#
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers * for more information concerning the license and the contributors participating to this project. */ namespace AspNet.Security.OAuth.Salesforce {...
31.307692
98
0.657248
[ "Apache-2.0" ]
AaqibAhamed/AspNet.Security.OAuth.Providers
src/AspNet.Security.OAuth.Salesforce/SalesforceAuthenticationEnvironment.cs
816
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...
36.011364
152
0.641527
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/Internal/MarshallTransformations/DescribeAuthorizerRequestMarshaller.cs
3,169
C#
using GPConnectAdaptor.Models.AddAppointment; using Newtonsoft.Json; namespace GPConnectAdaptor.AddAppointment { public class AddAppointmentRequestDeserializer : IAddAppointmentRequestDeserializer { public AddAppointmentRequest Deserialize(string request) { return JsonConvert.Deseri...
29.384615
87
0.759162
[ "Apache-2.0" ]
nhsconnect/prm-appointments-migrator
app-migrator/GPConnectAdaptor/AddAppointment/AddAppointmentRequestDeserializer.cs
382
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...
27.305263
101
0.579029
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/CreateThingResponse.cs
2,594
C#
 namespace opendota_twitch_bot.Configurations { public class FormaterConfigurations { public string TimeZone { get; set; } public string TimeViewFormat { get; set; } } }
18.181818
50
0.665
[ "MIT" ]
Rakaveli/opendota_twitch_bot
src/Configurations/FormaterConfigurations.cs
202
C#
using System; using Arcus.Messaging.Abstractions; using Arcus.Observability.Correlation; using Arcus.Observability.Telemetry.Serilog.Enrichers; using Serilog.Core; using Serilog.Events; // ReSharper disable once CheckNamespace - made deprecated. namespace Arcus.Messaging.Pumps.Abstractions.Telemetry { /// <summar...
48.510204
185
0.703828
[ "MIT" ]
arcus-azure/arcus.messaging-
src/Arcus.Messaging.Abstractions/Telemetry/ObsoleteMessageCorrelationInfoEnricher.cs
2,379
C#
using System; using Squishy.Network; using WCell.Util.Commands; using WCell.Util.Strings; using StringStream = WCell.Util.Strings.StringStream; namespace Squishy.Irc.Commands { /// <summary> /// Triggers through NOTICE /// </summary> public class NoticeCmdTrigger : IrcCmdTrigger { public NoticeCmdT...
22.448276
83
0.688172
[ "MIT" ]
Domiii/Squishy.IRC
Squishy.Irc/Commands/NoticeCmdTrigger.cs
651
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...
56.938144
509
0.6501
[ "Apache-2.0" ]
sebtelko/pulumi-azure-native
sdk/dotnet/DocumentDB/V20210301Preview/MongoDBResourceMongoDBDatabase.cs
11,046
C#
namespace MassiveKnob.Plugin.CoreAudio.Base { /// <summary> /// Interaction logic for BaseDeviceSettingsView.xaml /// </summary> public partial class BaseDeviceSettingsView { public BaseDeviceSettingsView() { InitializeComponent(); } } }
21.357143
57
0.618729
[ "Unlicense" ]
MvRens/MassiveKnob
Windows/MassiveKnob.Plugin.CoreAudio/Base/BaseDeviceSettingsView.xaml.cs
301
C#
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2021 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file...
32.735552
121
0.477958
[ "Apache-2.0" ]
Spinks90/YAFNET
yafsrc/YAF.Types/Extensions/StringExtensions.cs
18,135
C#
 namespace PicoMoonSharp.Interpreter.Debugging { /// <summary> /// Enumeration of the possible watch types /// </summary> public enum WatchType { /// <summary> /// A real variable watch /// </summary> Watches, /// <summary> /// The status of the v-stack /// </summary> VStack, /// <summary> ///...
17.717949
45
0.591896
[ "MIT" ]
Inkwalker/PicoUnity
Assets/Source/PicoMoonSharp/Interpreter/Debugging/WatchType.cs
693
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...
53.011628
409
0.649265
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/StreamAnalytics/Latest/StreamingJob.cs
18,236
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.CommandLine.Rendering.Views; using System.CommandLine.Tests; using System.CommandLine.Tests.Utili...
30.885965
101
0.539477
[ "MIT" ]
jeredm/command-line-api
src/System.CommandLine.Rendering.Tests/Views/ContentViewTests.cs
7,044
C#
// Copyright (C) 2003-2010 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. // Created by: Alex Yakunin // Created: 2010.03.01 using System; using System.Collections.Generic; using Xtensive.Core; using Xtensive.Tuples.Transform; using System.Linq; namespace Xtensive.Or...
32.876623
112
0.698005
[ "MIT" ]
NekrasovSt/dataobjects-net
Orm/Xtensive.Orm/Orm/VersionCapturer.cs
5,063
C#
//--------------------------------------------------------------------------------------------------- // <auto-generated> // Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. // Generated by DynamicsCrm.DevKit - https://github.com/phuocle/Dynamics-Crm-DevKit // </auto-gen...
29.22658
122
0.67924
[ "MIT" ]
Kayserheimer/Dynamics-Crm-DevKit
test/v.2.10.31/Abc.LuckyStar2/Abc.LuckyStar2.Shared/Entities/LookUpMapping.generated.cs
13,417
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace IdentityServervNextDemo.Migrations { public partial class Upgraded_To_Abp_5_4_0 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropIndex( name: "IX_AbpOrganizat...
44.419355
119
0.537545
[ "MIT" ]
OzBob/aspnetboilerplate-samples
IdentityServervNextDemo/aspnet-core/src/IdentityServervNextDemo.EntityFrameworkCore/Migrations/20200320114152_Upgraded_To_Abp_5_4_0.cs
6,887
C#
using System; using System.Diagnostics; using BenchmarkDotNet.Characteristics; using BenchmarkDotNet.Environments; using BenchmarkDotNet.Jobs; using BenchmarkDotNet.Loggers; using BenchmarkDotNet.Portability; using BenchmarkDotNet.Running; using JetBrains.Annotations; namespace BenchmarkDotNet.Extensions { // we ...
36.884298
182
0.598252
[ "MIT" ]
alexanderkyte/BenchmarkDotNet
src/BenchmarkDotNet/Extensions/ProcessExtensions.cs
4,465
C#
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json.Linq; namespace TypeScript.Syntax { public class EqualsEqualsToken : Node { public override NodeKind Kind { get { return NodeKind.EqualsEqualsToken; } } public override void Ini...
20.857143
55
0.539726
[ "MIT" ]
Luiz-Monad/typescript-converter
src/Syntax/SyntaxNodes/EqualsEqualsToken.cs
730
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/mfmediaengine.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.R...
46.75
321
0.698039
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/Windows/um/mfmediaengine/IMFMediaKeys.cs
5,612
C#
using UnityEngine; using Wenzil.Console.Commands; using DaggerfallWorkshop.Game; using System.Linq; using System; using DaggerfallConnect.Arena2; using System.Collections; using System.Collections.Generic; using DaggerfallWorkshop; using DaggerfallWorkshop.Game.Entity; using System.IO; using DaggerfallWorkshop.Utility;...
48.889057
405
0.550884
[ "MIT" ]
JasonBreen/daggerfall-unity
Assets/Game/Addons/UnityConsole/Console/Scripts/DefaultCommands.cs
129,116
C#
using System; using Android.App; using Android.OS; using Android.Runtime; using Android.Widget; using Plugin.CurrentActivity; namespace CurrentActivityTest { [Application] public class MainApplication : Application { public MainApplication(IntPtr handle, JniHandleOwnership transer) : base(handle, transer) ...
23.3125
128
0.758713
[ "MIT" ]
dave11111/CurrentActivityPlugin
src/CurrentActivityTest.Droid/MainApplication.cs
748
C#
using System; using Memoria.Prime; using UnityEngine; using Object = UnityEngine.Object; namespace Memoria.Assets { public class EncryptFontManager { private static readonly Font DefaultFont = InitializeFont(); static EncryptFontManager() { loadInEditMode = false; }...
35.220183
168
0.54858
[ "MIT" ]
Iamgoofball/Memoria
Assembly-CSharp/Memoria/Assets/EncryptFontManager.cs
3,839
C#
using Aggregates.Contracts; using Aggregates.Messages; using NServiceBus; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Aggregates.Internal; namespace Aggregates { public static class ContextExtensions { public static IReposit...
39.833333
167
0.645607
[ "MIT" ]
virajs/Aggregates.NET
src/Aggregates.NET.NServiceBus/ContextExtensions.cs
2,392
C#
using Microsoft.EntityFrameworkCore; using PushServer.PushConfiguration.Abstractions.Models; using PushServer.PushConfiguration.Abstractions.Services; using PushServer.PushConfiguration.EntityFramework.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ...
45.901235
164
0.602474
[ "MIT" ]
tuwrraphael/PushServer
PushConfiguration.EntityFramework/PushConfigurationStore.cs
7,436
C#
using System; using Nest; using Tests.Core.ManagedElasticsearch.Clusters; using Tests.Domain; using Tests.Framework.Integration; namespace Tests.Mapping.Types.Core.Date { public class DatePropertyTests : PropertyTestsBase { public DatePropertyTests(WritableCluster cluster, EndpointUsage usage) : base(cluster, usa...
22.111111
106
0.651831
[ "Apache-2.0" ]
Henr1k80/elasticsearch-net
src/Tests/Tests/Mapping/Types/Core/Date/DatePropertyTests.cs
1,395
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
35.807692
63
0.75188
[ "Apache-2.0" ]
VAllens/aliyun-openapi-sdk-net-core
src/aliyun-net-sdk-ecs/Model/V20140526/ResizeDiskResponse.cs
931
C#