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 Microsoft.AspNetCore.Razor.TagHelpers; namespace APIViewWeb.TagHelpers { [HtmlTargetElement("a", Attributes = "username")] public class UserLinkTagHelper : TagHelper { public string Username { get; set; } public override void Process(TagHelperContext context, TagHelperOutput output)...
27.352941
86
0.649462
[ "MIT" ]
AlexGhiondea/azure-sdk-tools
src/dotnet/APIView/APIViewWeb/TagHelpers/UserLinkTagHelper.cs
467
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Steeltoe.Extensions.Configuration.RandomValue; namespace RandomValue { public class Program { public static void Main(...
26.592593
76
0.665738
[ "Apache-2.0" ]
Aegaina/Samples
Configuration/src/AspDotNetCore/RandomValue/Program.cs
720
C#
using System; using System.Collections; using System.Collections.Generic; public static class Program { public static T GenericMethod<T> (T value) { return value; } public static void PrintValues<T> (T[] values) { foreach (var value in values) Console.WriteLine(value); } ...
22.232558
63
0.616109
[ "MIT" ]
RedpointGames/JSIL
Tests/SpecialTestCases/GenericMethodSignatures.cs
958
C#
using System; namespace MPM.Types { public class InterfaceProvision : IEquatable<InterfaceProvision> { public InterfaceProvision() { } public InterfaceProvision(string interfaceName, MPM.Types.SemVersion version) { this.InterfaceName = interfaceName; this.Version = ...
33.897959
113
0.596026
[ "MIT" ]
DSTech/MPM_CS
MPM/Types/InterfaceProvision.cs
1,661
C#
namespace WpfAnalyzers.Test.WPF0043DontUseSetCurrentValueForDataContextTests { using Gu.Roslyn.Asserts; using NUnit.Framework; public class ValidCode { private static readonly SetValueAnalyzer Analyzer = new SetValueAnalyzer(); [Test] public void IgnoreSetDataContext() ...
23.121951
83
0.600211
[ "MIT" ]
Insire/WpfAnalyzers
WpfAnalyzers.Test/WPF0043DontUseSetCurrentValueForDataContextTests/ValidCode.cs
948
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
39.054054
85
0.727336
[ "MIT" ]
DalavanCloud/VFSForGit
GVFS/GVFS.PerfProfiling/Properties/AssemblyInfo.cs
1,448
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/codecapi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System.Runtime.InteropServi...
39.733333
145
0.791946
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/Windows/um/codecapi/CODECAPI_AVEncVideoEncodeDimension.cs
598
C#
using System; using System.Diagnostics.Contracts; namespace Fulib { /// <summary> /// https://raw.githubusercontent.com/louthy/language-ext/master/LanguageExt.Core/DataTypes/Unit/Unit.cs /// </summary> [Serializable] public struct Unit : IEquatable<Unit>, IComparable<Unit> { public stat...
26.56962
108
0.531682
[ "MIT" ]
embarrassedmilk/fulib
lib/Fulib/Unit/Unit.cs
2,099
C#
// This source code is dual-licensed under the Apache License, version // 2.0, and the Mozilla Public License, version 2.0. // // The APL v2.0: // //--------------------------------------------------------------------------- // Copyright (c) 2007-2020 VMware, Inc. // // Licensed under the Apache License, Version 2....
38.173913
85
0.583713
[ "MIT" ]
houseofcat/RabbitMQ.Core
v6.1.0/RabbitMQ.Client/client/api/IAutorecoveringConnection.cs
1,756
C#
using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Data.SqlClient; using EPiServer.Core; using EPiServer.Research.Transla...
49.069544
334
0.584229
[ "MIT" ]
Episerver-trainning/episever6_translatex
EPiServer.Research.TranslateX/EPiServer5.1/Core/Manager.cs
40,926
C#
namespace MongoDataAccess.App.Models; public interface IStoredCustomer { string ID { get; } string DBName { get; } bool IsAdult { get; } }
17
38
0.673203
[ "MIT" ]
xmj-alliance/pit
dotnet/mongo-data-access/MongoDataAccess.App/Models/IStoredCustomer.cs
155
C#
using MikuMikuWorld.Assets; using MikuMikuWorld.Properties; using OpenTK.Graphics; using PmxModelImporter; using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Runtime.Serialization.Jso...
39.155502
114
0.474369
[ "BSD-3-Clause" ]
yoship1639/MikuMikuWorld
MikuMikuWorldLib/Importers/PmxImporter.cs
16,417
C#
using System.Security.Cryptography; using System.Threading; namespace RockLib.Encryption.Symmetric { internal static class RNG { private static readonly ThreadLocal<RandomNumberGenerator> _instance = new ThreadLocal<RandomNumberGenerator>(RandomNumberGenerator.Create); public stati...
26.833333
81
0.656315
[ "MIT" ]
JTOne123/RockLib.Encryption
RockLib.Encryption/Symmetric/RNG.cs
483
C#
using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Threading.Tasks; using Zilon.Core.Graphs; using Zilon.Core.Tactics; using Zilon.Core.Tactics.Spatial; namespace Zilon.Core.MassSectorGenerator.SectorValidators { /// <summary> /// Валидатор контейнеров в секторе. /// </s...
34.414634
108
0.584692
[ "MIT" ]
kreghek/Zilon_Roguelike
Zilon.Core/Zilon.Core.MassSectorGenerator/SectorValidators/ChestValidator.cs
3,099
C#
// based on: https://docs.microsoft.com/en-us/archive/msdn-magazine/2014/april/async-programming-patterns-for-asynchronous-mvvm-applications-commands using System.Threading.Tasks; using System.Windows.Input; namespace Plugin.Workshop.ViewModels { public interface IAsyncCommand : ICommand { Task Execut...
32
150
0.738839
[ "MIT" ]
buildsoft-eu/plugin-workshop
src/Plugin.Workshop/ViewModels/IAsyncCommand.cs
450
C#
using System; namespace RobotsTxt { internal class Line { public LineType Type { get; private set; } public string Raw { get; private set; } public string Field { get; private set; } public string Value { get; private set; } public Line(string line) { ...
27.816667
117
0.476333
[ "MIT" ]
fortedigital/SmokeTester
SmokeTester/Robots.Txt/Entities/Line.cs
1,671
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace UI.Info { public partial class Form_Warning : System.Windows.Forms.Form { publ...
25.977273
70
0.624672
[ "MIT" ]
angelrps/ARP_Toolkit
2020/TransferViewFilters/VS_TransferViewFilters/UI/Form_Warning.cs
1,145
C#
using System.Threading.Tasks; using System.Collections.Generic; using Refit; namespace Appmilla.Moneyhub.Refit.OpenFinance { public interface IBeneficiaries { /// <summary> /// Retrieve all beneficiaries for a user /// </summary> /// <param name="limit">The total number of reco...
45.533333
234
0.672035
[ "MIT" ]
Appmilla/moneyhub-api-client
Moneyhub.ApiClient/Moneyhub.ApiClient/OpenFinance/Apis/Beneficiaries.cs
1,368
C#
using System; using System.Collections.Generic; using System.Linq; using UnityEditor; using UnityEngine.AssetGraph; using UnityEngine.AssetGraph.DataModel.Version2; namespace BDFramework.Editor.AssetGraph.Node { /// <summary> /// 颗粒度,不修改 只作为连线查看用 避免线到一坨了 /// </summary> [CustomNode("BDFramework/[颗粒度]预览...
28.053333
204
0.569392
[ "Apache-2.0" ]
Danqingii/BDFramework.Core
Packages/com.popo.bdframework/Editor/EditorPipeline/BuildPipeline/AssetBundleEditor/AssetGraph/Node/SetGranularityNull.cs
2,168
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...
27.130435
81
0.616987
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Logic/V20180701Preview/Outputs/BatchReleaseCriteriaResponse.cs
1,248
C#
//LICENSE: MIT //Copyright(c) 2012 Felix Geisendörfer(felix @debuggable.com) and contributors //Copyright(c) 2013 Andrey Sidorov(sidorares @yandex.ru) and contributors //MIT, 2015-present, brezza92, EngineKit and contributors //Permission is hereby granted, free of charge, to any person obtaining a copy //of this so...
35.77116
114
0.520667
[ "MIT" ]
SharpConnect/SharpConnect.MySql
src/SharpConnect.MySql_SH/Internal/MySqlPacketParsers.cs
34,236
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Red.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Red.Formats.Red.Records.Enums; namespace GameEstate.Red.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class SStoryBoardAnimationInfo : CV...
32.891892
132
0.681183
[ "MIT" ]
bclnet/GameEstate
src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/SStoryBoardAnimationInfo.cs
1,217
C#
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace ZenFulcrum.EmbeddedBrowser { /// <summary> /// A BrowserUI that tracks pointer interaction through a camera to a mesh of some sort. /// </summary> [RequireComponent(typeof(MeshCollider))] public class PointerUIMesh : Point...
32.12987
143
0.727971
[ "CC0-1.0" ]
CognitiveModeling/InteractiveClimateMuseum
ClimateMuseum_Desktop/Assets/ZFBrowser/Scripts/BrowserUI/PointerUIMesh.cs
2,474
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Xunit; namespace Claytondus.Square.Test { public class ItemsTest { [Fact] public async Task ApplyFeeTest() { var itemClient = new Squa...
31.08
122
0.626126
[ "MIT" ]
claytondus/Claytondus.Square
src/Claytondus.Square.Test/ItemsTest.cs
1,556
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using Exceptionless.Configuration; using Exceptionless.Dependency; using Exceptionless.Plugins.Default; using Exceptionless.Logging; using Exceptionless.Models; using Exception...
47.783673
232
0.635475
[ "Apache-2.0" ]
wu-yafeng/Exceptionless.Net
src/Exceptionless/Extensions/ExceptionlessConfigurationExtensions.cs
23,414
C#
namespace MCCompilerConsole.Converter.Compiler { public enum ERROR_TEXT { ERROR_BASE_FILENAME_LINENO, NOT_EXIT_FILE, NOT_EXIT_FILE_NAME_INCLUDE, NOT_EXIT_FILE_NAME_INIT, NOT_EXIT_FILE_NAME_MAIN, ST_PREPROCESSOR_ERROR, SYMBOL_IS_REQUIRED, INVALID_T...
28.681159
108
0.626074
[ "MIT" ]
dennissato/MCCompilerConsole
Converter/Compiler/ErrorData.cs
3,960
C#
namespace ZooPlanet.Web.Areas.Admin.Models.Contacts { using ZooPlanet.Services.Models; using System.Collections.Generic; public class ContactsListingViewModel { public IEnumerable<ContactServiceModel> Contacts { get; set; } = new List<ContactServiceModel>(); public int CurrentPage { ...
28.590909
108
0.670906
[ "MIT" ]
thelad43/Zoo-Planet
ZooPlanet/ZooPlanet.Web/Areas/Admin/Models/Contacts/ContactsListingViewModel.cs
631
C#
using System; using System.Linq; using System.Collections.Generic; using Foundation; using UIKit; namespace unitTestsiOS { public class Application { // This is the main entry point of the application. static void Main(string[] args) { // if you want to use a different App...
23.619048
99
0.645161
[ "MIT" ]
candidodmv/DefaultHttpClientFactory
tests/unitTestsiOS/Main.cs
498
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Xml; using DataAccessLayer.basis; using Model.DataEntity; using Model.DocumentManagement; using Model.Helper; using Model.Locale; using Mode...
33.358779
153
0.561785
[ "MIT" ]
uxb2bralph/IFS-EIVO03
Model/InvoiceManagement/InvoiceProcess/D0501Handler.cs
4,394
C#
using XenForms.Core.FileSystem; namespace XenForms.Core.Toolbox.AppEvents { public class ProjectFolderSelected : IAppEvent { public FolderDesc Folder { get; set; } public ProjectFolderSelected() { } public ProjectFolderSelected(FolderDesc folder) { Folder = folder;...
22.533333
55
0.636095
[ "MIT" ]
DevChive/XenForms
Source/Core/Toolbox/AppEvents/ProjectFolderSelected.cs
340
C#
using Clarity.App.Worlds.Assets; using Clarity.Common.Infra.DependencyInjection; using Clarity.Engine.Platforms; namespace Clarity.Ext.Format.Dicom { public class DicomFormatExtension : IExtension { public string Name => "Technion.Format.Dicom"; public void Bind(IDiContainer di) { ...
22.285714
64
0.649573
[ "MIT" ]
Zulkir/ClarityWorlds
Source/Clarity.Ext.Format.Dicom/DicomFormatExtension.cs
470
C#
using System; namespace Observer_Pattern { public class FallsIllEventArgs : EventArgs { public readonly string Address; public FallsIllEventArgs(string address) { this.Address = address; } } }
20.666667
48
0.620968
[ "Apache-2.0" ]
bbigcd/codestore
src/netcore/design patterns/Observer Pattern/FallsIllEventArgs.cs
248
C#
using System; using CompanyName.MyMeetings.Modules.Administration.Application.Configuration.Commands; using Newtonsoft.Json; namespace CompanyName.MyMeetings.Modules.Administration.Application.Members { public class CreateMemberCommand : InternalCommandBase<Guid> { [JsonConstructor] public Cre...
26.297297
87
0.5889
[ "MIT" ]
BaylorRae/modular-monolith-with-ddd
src/Modules/Administration/Application/Members/CreateMember/CreateMemberCommand.cs
975
C#
/* * this is adapted for ServiceModel.Grpc example from grpc-dotnet repository * see https://github.com/grpc/grpc-dotnet/blob/master/examples/Counter/Server/Services/CounterService.cs */ using System; using System.Collections.Generic; using System.Threading.Tasks; using Contract; using Microsoft.Extensions.Logging...
29.055556
105
0.622052
[ "Apache-2.0" ]
max-ieremenko/ServiceModel.Grpc
Examples/grpc-dotnet-Counter/Server/Services/CounterService.cs
1,571
C#
using System; using System.Collections.Generic; namespace UniRx.Operators { internal class DistinctObservable<T> : OperatorObservableBase<T> { readonly IObservable<T> source; readonly IEqualityComparer<T> comparer; public DistinctObservable(IObservable<T> source, IEqualityCo...
32.358209
118
0.482242
[ "MIT" ]
cschladetsch/UniRx
Scripts/Operators/Distinct.cs
4,338
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. #nullable disable using System.Collections.Immutable; using System.Linq; using System.Threading; using System.Thre...
38.56962
122
0.604201
[ "MIT" ]
belav/roslyn
src/Workspaces/Core/Portable/Remote/RemoteUtilities.cs
3,049
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Steeltoe.Comm...
46.507692
132
0.722957
[ "Apache-2.0" ]
SteeltoeOSS/steeltoe
src/Integration/test/IntegrationBase.Test/Endpoint/CorrelationIdTest.cs
6,046
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("13...
38.405405
84
0.748065
[ "MIT" ]
Maskln/CSharp-Part-1
6.Loops/13.BinaryToDecimalNumber/Properties/AssemblyInfo.cs
1,424
C#
using System; using System.Collections.Generic; using System.Linq; using Umbraco.Core.Cache; using Umbraco.Core.Logging; using Umbraco.Core.Models; using Umbraco.Core.Models.EntityBase; using Umbraco.Core.Models.Rdbms; using Umbraco.Core.Persistence.Factories; using Umbraco.Core.Persistence.Querying; using Umbraco.Core...
40.643357
183
0.585255
[ "MIT" ]
ClaytonWang/Umbraco-CMS
src/Umbraco.Core/Persistence/Repositories/EntityContainerRepository.cs
11,624
C#
using System; using AgkSharp; using AGKCore; using System.Reflection; using System.Linq; using UI = AGKCore.UI; using AGKProject; using System.Windows.Forms; namespace AgkSharp_Template { static class Program { [STAThread] static void Main(string[] args) { //---------------...
39.606742
164
0.553191
[ "MIT" ]
Ortu-/AgkSharp-Framework
Program.cs
7,052
C#
using System; using System.Globalization; using ClearHl7.Extensions; using ClearHl7.Helpers; namespace ClearHl7.V282.Segments { /// <summary> /// HL7 Version 2 Segment RFI - Request For Information. /// </summary> public class RfiSegment : ISegment { /// <summary> /// Gets the ID f...
48.44
187
0.609827
[ "MIT" ]
davebronson/clear-hl7-net
src/ClearHl7/V282/Segments/RfiSegment.cs
4,846
C#
using System.Web; using System.Web.Mvc; namespace Ed_Fi.Credential.MVC { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { } } }
16.571429
80
0.633621
[ "Apache-2.0" ]
Ed-Fi-Exchange-OSS/Credential-Manager
Ed-Fi.Credential.MVC/App_Start/FilterConfig.cs
234
C#
using Newtonsoft.Json; namespace mdryden.JsonApi { public interface IResource { [JsonProperty("data", NullValueHandling = NullValueHandling.Ignore)] Resource Data { get; set; } } }
18.9
70
0.740741
[ "MIT" ]
pudds/JsonApi.Net
src/mdryden.JsonApi/IResource.cs
191
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...
27.432432
94
0.626601
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Media/V20180330Preview/Outputs/CopyAudioResponse.cs
1,015
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.Globalization; #if ASPNETWEBAPI using System.Net.Http; #else using System.Web.Routing; #endif #if ASPNE...
30.057971
164
0.633558
[ "Apache-2.0" ]
1508553303/AspNetWebStack
src/Common/Routing/Constraints/MaxLengthRouteConstraint.cs
2,076
C#
using System.Windows; using ControlzEx.Standard; namespace SimpleMusicPlayer.Core.Interfaces { public interface IWindowSetting { WINDOWPLACEMENT Placement { get; set; } DpiScale? DpiScale { get; set; } } }
21.363636
47
0.689362
[ "Apache-2.0", "MIT" ]
jianyuyanyu/simple-music-player
src/SimpleMusicPlayer/Core/Interfaces/IWindowSetting.cs
237
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. // // ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ // ██╔██╗...
31.352941
128
0.651782
[ "Apache-2.0" ]
SimonCropp/elasticsearch-net
src/Elastic.Clients.Elasticsearch/_Generated/Types/Ml/RuleCondition.g.cs
3,111
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.CodeAnalysis.LanguageServerIndexFormat.Generator.Graph { /// <summary> /// Represents a...
41.875
200
0.675622
[ "MIT" ]
Dean-ZhenYao-Wang/roslyn
src/Features/Lsif/Generator/Graph/Item.cs
1,007
C#
namespace CameraBazaar.Data.Migrations { using Microsoft.EntityFrameworkCore.Migrations; public partial class AddRestricColumnToUsersTable : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<bool>( name: "IsRestrict...
27.625
71
0.594268
[ "MIT" ]
u-ashikov/CameraBazaar
CameraBazaar.Data/Migrations/20171121092911_AddRestricColumnToUsersTable.cs
665
C#
// MIT License // // Copyright (c) 2009-2017 Luca Piccioni // // 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, cop...
31.77027
98
0.76393
[ "MIT" ]
GiantBlargg/OpenGL.Net
OpenGL.Net/Glx.VERSION_1_2.cs
2,351
C#
namespace MyForum.Web.API { using System.Reflection; using System.Text; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Microsoft...
38.945313
125
0.619659
[ "MIT" ]
BorisLechev/MyForum
Server/Web/MyForum.Web.API/Startup.cs
4,987
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Boilerplate.Business.Abstract; using Boilerplate.Business.Core; using Boilerplate.Core.Helpers.Api; using Boilerplate.Core.Helpers.Generators; using Boilerplate.DAL.Abstract; using Boilerplate.Entity.Models; using Boilerplate.Entity.Re...
30.492462
109
0.539057
[ "MIT" ]
bugrayus/FiveLayeredDotNetBoilerplate
Boilerplate.Business/Concrete/UserService.cs
6,086
C#
using System; using System.Threading.Tasks; using System.Collections.Concurrent; using System.Linq; using Orleans; using TestGrainInterfaces; using Xunit; using Assert = Xunit.Assert; using TestExtensions; using Xunit.Abstractions; using Orleans.Runtime; using System.Collections.Generic; using Orleans.Internal; namesp...
37.373494
122
0.642166
[ "MIT" ]
Abramalin/orleans
test/Tester/EventSourcingTests/CountersGrainTests.cs
3,102
C#
/* * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
41.329897
131
0.608381
[ "Apache-2.0" ]
zz0733/aws-sdk-net
AWSSDK_DotNet35/Amazon.Glacier/Model/Internal/MarshallTransformations/ListPartsRequestMarshaller.cs
4,009
C#
using NBitcoin; using NBitcoin.BouncyCastle.Math; using NBitcoin.Crypto; using NBitcoin.Protocol; using NBitcoin.RPC; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Ru...
46.232518
382
0.740842
[ "MIT" ]
gabrielkrieger/WalletWasabi
WalletWasabi.Tests/IntegrationTests/RegTests.cs
162,646
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.IO; using System.Linq; using System.Net; using System....
42.377289
196
0.548189
[ "MIT" ]
cloudmelon/tye
src/Microsoft.Tye.Hosting/DockerRunner.cs
23,140
C#
using System; using NextGenSoftware.OASIS.API.Core; using System.Collections.Generic; using System.Threading.Tasks; using System.Linq; using NextGenSoftware.OASIS.API.Core.Interfaces; using NextGenSoftware.OASIS.API.Core.Enums; using NextGenSoftware.OASIS.API.Core.Holons; using NextGenSoftware.OASIS.API.Core.Helpers; ...
34.868421
141
0.480874
[ "CC0-1.0" ]
NilagrivSolutions/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK
NextGenSoftware.OASIS.API.Providers.Neo4jOASIS.Aura/Neo4jOASIS.cs
25,177
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Negocio; using System.Data.SqlClient; namespace Dados_do_Cliente.Formularios { p...
36.66426
172
0.53141
[ "MIT" ]
ricardohtakuno/Cadastro_de_Cliente
Dados do Cliente/Dados do Cliente/Formularios/frmFornecedor.cs
10,212
C#
namespace Wingman.Tests.ServiceFactory.Strategies { using Moq; using Wingman.DI; using Wingman.DI.ArgumentBuilder; using Wingman.DI.Constructor; using Wingman.ServiceFactory.Strategies; using Xunit; public class PerRequestRetrievalStrategyTests { private readonly Mock<IConstr...
39.464789
131
0.640614
[ "MIT" ]
Aleksbgbg/Wingman
Wingman.Tests/ServiceFactory/Strategies/PerRequestRetrievalStrategyTests.cs
2,804
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.71134
172
0.680425
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Macie2/Generated/Model/_bcl45+netstandard/ListCustomDataIdentifiersPaginator.cs
4,046
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.Contracts; using System.Linq; namespace DataStructures.TrieSpace { [Serializable] public partial class Trie : IEnumerable<string> { [Serializable] private class Node { ...
30.339506
109
0.479756
[ "MIT" ]
Jmerk523/data-structures-csharp
data-structures-csharp/data-structures-csharp/Trie/Node.cs
4,917
C#
namespace JWLMerge.BackupFileServices.Helpers { using System; using System.Collections.Generic; using System.Linq; using Events; using Models.DatabaseModels; using Serilog; /// <summary> /// Merges the SQLite databases. /// </summary> internal sealed class Merger { ...
36.111111
126
0.523309
[ "MIT" ]
AntonyCorbett/JWLMerge
JWLMerge.BackupFileServices/Helpers/Merger.cs
17,227
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; namespace SoftGL { partial class SoftGLRenderContext { private unsafe List<Fragment> LinearInterpolationLineLoop(int count, DrawElementsType type, IntPtr indices, VertexArrayObject vao, ShaderProgr...
45.444444
209
0.553266
[ "MIT" ]
bitzhuwei/SoftGL
SoftGL/RenderContext/DrawCommand/DrawElements/LinearInterpolation/RC.LineLoop.cs
2,865
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; using System.Xml; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Text; using System.Runtime.Seriali...
30.680328
145
0.531926
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Private.DataContractSerialization/src/System/Xml/XmlDictionary.cs
3,743
C#
// This file is part of the DisCatSharp project, a fork of DSharpPlus. // // Copyright (c) 2021 AITSYS // // 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 wit...
42.677419
289
0.664147
[ "MIT" ]
JBraunsmaJr/DisCatSharp
DisCatSharp/Entities/DCS/DisCatSharpTeamMember.cs
3,969
C#
using FileSplit.Core.Types; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; using System.Threading.Tasks; namespace FileSplit.UI.Wpf2 { class FolderPicked : IFolderPicked { private readonly bool _picked; private readonly string _fol...
22.145833
62
0.569144
[ "MIT" ]
jptarqu/XamarinForms.FileSplit
FileSplit/Wpf/FileSplit.UI.Wpf2/FolderPicked.cs
1,065
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <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 regenerate...
61.897782
1,359
0.810998
[ "MIT" ]
ankittyagii/santa-talk
src/SantaTalk.Android/Resources/Resource.designer.cs
733,922
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace _2DGameEngine { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] ...
22.791667
66
0.57404
[ "MIT" ]
Amacalex/3DSoftEngine
Program.cs
547
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace reverse { class Program { static void Main(string[] args) { Console.WriteLine("Enter Name: "); string name = Console.ReadLine(); str...
23.08
61
0.521664
[ "Apache-2.0" ]
99manns/reverse
reverse/reverse/Program.cs
579
C#
using System; using Microsoft.AspNetCore.Http; namespace Multitenancy.Extensions { public static class MultitenancyHttpContextExtensions { private const string ThemeContextKey = "ThemeContext"; public static void SetThemeContext<TTheme>(this HttpContext context, ThemeContext<TTheme> themeCont...
29.32
111
0.59618
[ "MIT" ]
lkubis/AspNetCore.RazorPages.Themes
src/Multitenancy/Extensions/MultitenancyHttpContextExtensions.cs
1,468
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using Microsoft.VisualStudio.Shell.Flavor; using Microsoft.VisualStudio.Shell.Interop; using Microsoft.VisualStudio; using System.Runtime.InteropServices; using Xamarin.Windows.Properties; using System.Linq; ...
41.130435
107
0.583932
[ "MIT" ]
wjk/xamarin-windows
vs/Xamarin.Windows.VisualStudio.Vsix/XamarinWindowsFlavoredProject.cs
4,732
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.Collections.Generic; using System.IO; using System.Net.Sockets; using System.Net.Test.Common; using Sys...
44.25
113
0.603146
[ "MIT" ]
939481896/dotnet-corefx
src/System.Net.Http/tests/FunctionalTests/HttpRetryProtocolTests.cs
6,549
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://ww...
43.428571
164
0.61616
[ "MIT" ]
ethanmoffat/azure-powershell
src/ResourceManager/Sql/Commands.Sql/ThreatDetection/Cmdlet/SetAzureSqlServerThreatDetection.cs
4,753
C#
using System.Collections.Generic; using System.Threading.Tasks; namespace StreamInstruments.CommandHub.Modules { public interface IModule { Modules Type { get; } Task<string> ExecuteFunctionAsync(string functionName, string[] functionParams); } }
24
89
0.697917
[ "MIT" ]
blackb0x3/StreamInstruments
StreamInstruments.CommandHub.Modules/IModule.cs
290
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------------...
27.777778
80
0.578667
[ "MIT" ]
opc-cpvp/OPC.PowerApps
src/Compliance.EarlyBound/OptionSets/opc_pafileopc_rroshassessment.cs
750
C#
using BASE.Application.Client.Cards; using BASE.Application.Client.Flights; using BASE.Application.Client.Notifications; using BASE.Application.Client.PointsOfInterest; using BASE.Application.Client.Recommendations.Airports; using BASE.Application.Client.Recommendations.Events; using BASE.Application.Client.Recommenda...
35.397436
120
0.649765
[ "MIT" ]
jmserrano-dev/hackathon-travel.wallet
src/BASE.Web/Startup.cs
2,763
C#
using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Domain { /// <summary> /// VoucherLiteInfo Data Structure. /// </summary> public class VoucherLiteInfo : AlipayObject { /// <summary> /// 发券时间,格式为:yyyy-MM-dd HH:mm:ss /// </summary> [JsonProper...
25
52
0.536
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Domain/VoucherLiteInfo.cs
945
C#
using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Sayer.Collections.Test { [TestClass] public class PoolTest { [TestMethod] public void TestPool() { using (var pool = new Pool<o...
32.125
81
0.423087
[ "MIT" ]
efieleke/Utils
Test/Collections/PoolTest.cs
3,857
C#
using Shouldly; using System; using System.Threading.Tasks; using Xunit; namespace NetLearningGuide.UnitTest.NetLearning.CSharpLeaning { public class ChapterSix { #region 隐式转换 /// <summary> /// 隐式转换 /// </summary> /// <returns></returns> [Fact] public Ta...
27.742991
119
0.478861
[ "MIT" ]
wingtian/NetLearningGuide
src/NetLearningGuide.UnitTest/NetLearning/CSharpLeaning/ChapterSix.cs
6,125
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> //--...
44.698795
185
0.606199
[ "MIT" ]
TimothyMothra/D2WeaponReport
src/DestinyLib.Database/Properties/Resources.Designer.cs
3,712
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using ...
26.66
106
0.648162
[ "MIT" ]
Tames12/curso-rest-dotnet-lab1
src/ProductsApi/Startup.cs
1,333
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.756757
85
0.730795
[ "MIT" ]
xhafan/eshop-coreddd
Eshop.WebApi.UnitTests/Properties/AssemblyInfo.cs
1,474
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VegetableTrading { class Program { static void Main(string[] args) { var VPriceForKilo = double.Parse(Console.ReadLine()); var FPriceForKilo = d...
32.818182
75
0.634349
[ "Unlicense" ]
KostadinovK/Programming-Basics-with-Csharp
L04_05/ExtraTasks/VegetableTrading.cs
724
C#
/** * Copyright (c) 2019 Daniel Lo Nigro (Daniel15) * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Libgpgme; using Secu...
28.682353
104
0.66776
[ "MIT" ]
Daniel15/SecureSign
src/SecureSign.Tools/KeyHandlers/GpgKeyHandler.cs
7,316
C#
namespace CBookingProject.API.Models { public class Response { public bool IsSuccess { get; set; } public string Message { get; set; } public object Result { get; set; } } }
21.1
43
0.597156
[ "MIT" ]
juan-addon/CBookingProject
CBookingProject.Api/Models/Response.cs
213
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Diagnostics; using System.Linq; using System.Net.NetworkInformation; using System.Numerics; using System.Threading; using System.Windows.Forms; using BetterJoyForCemu.Controller; using Nefarius.ViGEm.Client.Targets.DualShock4; usi...
46.469547
216
0.487891
[ "MIT" ]
imanityed/BetterJoy_Chinese-revision
BetterJoyForCemu/Joycon.cs
65,861
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.Management.Network.Models { public partial class Ipv6ExpressRouteCircuitPeeringConfig : IUtf8JsonSerializable { ...
40.588235
203
0.597681
[ "MIT" ]
AbelHu/azure-sdk-for-net
sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/Models/Ipv6ExpressRouteCircuitPeeringConfig.Serialization.cs
3,450
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HugeStructures.TitanicMap { public interface ITitanicMap<K,V> : IEnumerable<KeyValuePair<K,V>>, IDisposable { V this[K key] { get; set; } bool TryGetValue(K key, out V value);...
22.1875
81
0.709859
[ "MIT" ]
rasberry/HugeStructures
src/TitanicMap/ITitanicMap.cs
357
C#
using System; using System.Threading; using YesSql.Sql; namespace YesSql.Services { /// <summary> /// This class manages a linear identifiers block allocator /// c.f., http://literatejava.com/hibernate/linear-block-allocator-a-superior-alternative-to-hilo/ /// </summary> public class LinearBlockId...
39.011976
306
0.575748
[ "MIT" ]
BOBO41/yessql
src/YesSql.Core/Services/LinearBlockIdGenerator.cs
6,517
C#
// File generated from our OpenAPI spec namespace Stripe { using Newtonsoft.Json; public class ChargePaymentMethodDetailsKlarna : StripeEntity<ChargePaymentMethodDetailsKlarna> { /// <summary> /// The Klarna payment method used for this transaction. Can be one of <c>pay_later</c>, /...
46.148148
99
0.550562
[ "Apache-2.0" ]
Gofundraise/stripe-dotnet
src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsKlarna.cs
1,246
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using TMXN.Data; namespace TMXN.Data.M...
35.660099
125
0.439656
[ "MIT" ]
daughtryz/Web-TMXN
Data/TMXN.Data/Migrations/20200318105256_ChangedAwardRelation.Designer.cs
21,719
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using Drexel.Terminal.Internals; using Drexel.Terminal.Source; namespace Drexel.Terminal.Layout.Layouts { public class LayoutManager : IDisposable { private readonly ITerminal terminal; private readonly ...
33.531008
124
0.444111
[ "MIT" ]
mdrexel/Drexel.Terminal
Drexel.Terminal.Layout/Layouts/LayoutManager.cs
17,304
C#
using System; using System.Collections.Generic; using Alipay.AopSdk.Response; namespace Alipay.AopSdk.Request { /// <summary> /// AOP API: alipay.acquire.precreate /// </summary> public class AlipayAcquirePrecreateRequest : IAopRequest<AlipayAcquirePrecreateResponse> { /// <summary> ...
28.966825
151
0.579025
[ "MIT" ]
ArcherTrister/LeXun.Alipay.AopSdk
src/Alipay.AopSdk/Request/AlipayAcquirePrecreateRequest.cs
7,268
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AloysAdjustments.Plugins.Common { public class CommonConfig { public const string ConfigName = "Common"; public string HumanoidMatcher { get; set; } public str...
23.277778
57
0.694511
[ "MIT" ]
AkiniKites/AloysAdjustments
src/Plugins/AloysAdjustments.Plugins.Common/CharacterConfig.cs
421
C#
namespace SpaceEngineers.Core.DataAccess.Orm.InMemoryDatabase.Migrations { using System.Threading; using System.Threading.Tasks; using AutoRegistration.Api.Attributes; using AutoRegistration.Api.Enumerations; using Basics; using Database; using Orm.Model; [Component(EnLifestyle.Singlet...
30.392857
90
0.705053
[ "MIT" ]
warning-explosive/Core
Modules/DataAccess.Orm.InMemoryDatabase/Migrations/CreateTableModelChangeMigration.cs
853
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.428571
147
0.65859
[ "Apache-2.0" ]
DalavanCloud/aws-sdk-net
sdk/src/Services/SecurityHub/Generated/Model/Internal/MarshallTransformations/GetMasterAccountRequestMarshaller.cs
2,724
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Schema; using System.Xml.Serialization; namespace Workday.Recruiting { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough, ...
20.52459
136
0.72524
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.Recruiting/CompanyObjectIDType.cs
1,252
C#
#nullable enable using System; using System.Collections.Generic; using System.Linq; using Content.Server.GameObjects.Components.Chemistry; using Content.Server.GameObjects.Components.GUI; using Content.Server.GameObjects.Components.Items.Storage; using Content.Server.GameObjects.Components.Utensil; using Content.Share...
33.315574
127
0.547915
[ "MIT" ]
BlindfoldedHuman/space-station-14
Content.Server/GameObjects/Components/Nutrition/FoodComponent.cs
8,131
C#
#region Apache License, Version 2.0 // // 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, ...
33.758621
63
0.741573
[ "Apache-2.0" ]
jni4net/build
nMaven/0.17-patched/core-integration-tests/src/test/resources/MavenITmng-0015-DeployLibraryAsSnapshot/It0015.cs
979
C#
using AutoMapper; using Microsoft.AspNetCore.Mvc; using netCoreAPI.Core.Controllers.Base; using netCoreAPI.Model.Dtos; using netCoreAPI.Model.Entities; using netCoreAPI.Model.ResponseModels; using netCoreAPI.Static.Services; using System.Collections.Generic; using System.Linq; namespace netCoreAPI.Core.Controllers { ...
36.544715
126
0.595551
[ "MIT" ]
msx752/basic-netcore-31-api
netCoreAPITest/netCoreAPI.Core/Controllers/PersonalCustomContoller.cs
4,497
C#