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 System; using Bio.Util.ArgumentParser; using ScaffoldUtil.Properties; namespace ScaffoldUtil { /// <summary> /// Class that provides options to execute step 5 (ScaffoldGeneration) of Comparative assembly. /// </summary> public class Program { /// <summary> /// Main method of ...
37.042254
152
0.53403
[ "Apache-2.0" ]
jdm7dv/Microsoft-Biology-Foundation
archive/Changesets/mbf/Source/Tools/ScaffoldUtil/Program.cs
5,262
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...
33.64
110
0.623781
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/MediaConnect/Generated/Model/GrantEntitlementRequest.cs
4,205
C#
/* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. */ using System; using Adxstudio.Xrm.Cms; using Adxstudio.Xrm.Resources; using Microsoft.Xrm.Portal.Web; namespace Site.Areas.Conference.Pages { public partial...
25.859649
140
0.744233
[ "MIT" ]
Adoxio/xRM-Portals-Community-Edition
Samples/MasterPortal/Areas/Conference/Pages/Home.aspx.cs
1,474
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.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Text; namespace System....
33.426606
162
0.588308
[ "MIT" ]
slamj1/corefx
src/System.Drawing.Primitives/src/System/Drawing/Color.cs
21,861
C#
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
53.454407
195
0.551129
[ "Apache-2.0" ]
jskeet/google-api-dotnet-client
Src/Generated/Google.Apis.GameServices.v1/Google.Apis.GameServices.v1.cs
246,211
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; using System.Xml.Linq; using Autofac; using Autofac.Core; using Module = Autofac.Module; namespace Orchard.Environment { /// <summary> /// Alter components instantiations by set...
44.79562
149
0.572918
[ "BSD-3-Clause" ]
akovsh/Orchard
src/Orchard/Environment/HostComponentsConfigModule.cs
6,139
C#
using System; using System.Collections.Generic; using System.Linq; using ESRI.ArcGIS.Geometry; using ProSuite.Commons.Essentials.Assertions; using ProSuite.Commons.Essentials.CodeAnnotations; namespace ProSuite.QA.Container.PolygonGrower { public class RingGrower<TDirectedRow> where TDirectedRow : class, ILineDirecte...
27.131915
134
0.654015
[ "MIT" ]
ProSuite/ProSuite
src/ProSuite.QA.Container/PolygonGrower/RingGrower.cs
6,376
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xam...
38.851485
99
0.614424
[ "MIT" ]
Bazzaware/ProfessionalCSharp7
AdvancedWindows/TextOverflow/TextOverflow/App.xaml.cs
3,926
C#
using Autofac; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TagCanvas.Extensions { public static class ContainerExtensions { public static ContainerBuilder Register<I, Impl>(this ContainerBuilder builder, bool singleInsta...
23.961538
131
0.629213
[ "MIT" ]
ddadaal/TagCanvas
TagCanvas/Extensions/ContainerExtensions.cs
625
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.Bot.Schema { using System; using Newtonsoft.Json; /// <summary> /// Indicates what the payment request is for and the value asked for. /// </summary> [Obsolete("Bot Framework no...
35.227273
153
0.584086
[ "MIT" ]
Alpharceus/botbuilder-dotnet
libraries/Microsoft.Bot.Schema/PaymentItem.cs
2,327
C#
// PennyLogger: Log event aggregation and filtering library // See LICENSE in the project root for license information. using Xunit; namespace PennyLogger.Internals.Estimator.Cuckoo.UnitTests { /// <summary> /// Tests the various classes derived from <see cref="ICuckooBucket"/> /// </summary> public ...
29.25
87
0.557064
[ "MIT" ]
leosingleton/pennylogger
src/PennyLogger.UnitTests/Internals/Estimator/Cuckoo/CuckooBucketTest.cs
1,991
C#
// Decompiled with JetBrains decompiler // Type: Diga.WebView2.Interop.ICoreWebView2WebResourceResponseReceivedEventHandler // Assembly: Diga.WebView2.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: AAF9543A-0FE1-46E7-BB2C-D24EA0535C0F // Assembly location: O:\webview2\v1077444\Diga.WebView2.In...
40.173913
103
0.807359
[ "MIT" ]
ITAgnesmeyer/Diga.WebView2
Archive/V1077444/Diga.WebView2.Interop.V1077444/ICoreWebView2WebResourceResponseReceivedEventHandl.cs
926
C#
using FluentAssertions; using Xunit; namespace NRamdaLib.Tests { public class AddTests { [Fact] public void CanAddTwoInts() { NRamda.Add(2, 5).Should().Be(2 + 5); } [Fact] public void CanAddTwoFloats() { NRamda.Add(3.345f, 243.34...
23.157895
72
0.514394
[ "MIT" ]
GrahamClark/NRamda
src/NRamdaLib.Tests/AddTests.cs
1,322
C#
/* Copyright 2007-2017 The NGenerics Team (https://github.com/ngenerics/ngenerics/wiki/Team) This program is licensed under the MIT License. You should have received a copy of the license along with the source code. If not, an online copy of the license can be found at https://opensource.org/licenses/MIT. *...
28.666667
88
0.602599
[ "MIT" ]
ngenerics/ngenerics
src/NGenerics.Tests/DataStructures/Mathematical/Vector3DTests/LessThanOperator.cs
1,462
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...
38.783784
85
0.725436
[ "MIT" ]
Retrobyte/File-Searcher
File Searcher/Properties/AssemblyInfo.cs
1,438
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Roslynator.CSharp.Helpers; namespace Roslynator.CSharp.Refactorings { internal s...
47.656
160
0.552291
[ "Apache-2.0" ]
IanKemp/Roslynator
src/Refactorings/CSharp/Refactorings/CommentTriviaRefactoring.cs
5,959
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Trollkit_Library { public static class SharedProperties { public const int BroadcastPort = 9696; public const int MainPort = 6969; public const int DataSize = 1048576; //524288; //2048...
26.923077
76
0.738571
[ "MIT" ]
brann0n/Remote-Access-Trollkit
Trollkit Library/SharedProperties.cs
702
C#
using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using System; using System.Linq; using Tardigrade.Framework.EntityFrameworkCore.Data; namespace Tardigrade.Framework.EntityFrameworkCore.Configurations { /// <summary> /// ConfigurationProvider that reads application settings from ...
39.514286
174
0.689805
[ "Apache-2.0" ]
CaptainMesomorph/tardigrade-framework
Code/Tardigrade.Framework/Tardigrade.Framework.EntityFrameworkCore/Configurations/AppSettingsConfigurationProvider.cs
1,385
C#
using UnityEngine; using UnityEngine.SceneManagement; public class PauseController : MyBehaviour, IEventReceiver<OnPlayerDeath>, IEventReceiver<OnPlayerRespawned>, IEventReceiver<OnLevelBeganSwitching>, IEventReceiver<OnLevelFinishedSwitching> { public bool isPaused { get; private set; } ...
26.053571
84
0.601782
[ "MIT" ]
maksmaisak/Saxion_Y2Q1_Project_Clients_Call
Assets/_Own/Scripts/PauseController.cs
1,459
C#
using System; using System.Drawing; using DotNet.Highcharts.Enums; using DotNet.Highcharts.Attributes; using DotNet.Highcharts.Helpers; namespace DotNet.Highcharts.Options { /// <summary> /// The appearance of the point marker when selected. In order to allow a point to be selected, set the <code>series.allowPointS...
27.295455
158
0.667777
[ "MIT" ]
juniorgasparotto/SpentBook
samples/dotnethighcharts-28017/DotNet.Highcharts/DotNet.Highcharts/Options/PlotOptionsAreaMarkerStatesSelect.cs
1,201
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; using Rendering; using InputCustom; namespace GameLogic { public enum EChessBoardSlot { E_OutOfRange = 0, E_Empty = 1, E_Full = 2, } public class ChessBoard { public bool[,] ...
27.600877
89
0.426823
[ "MIT" ]
954818696/Game-Kaleidoscope
Game/Tetris/Assets/Resources/Script/GameLogic/ChessBoard.cs
6,295
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeordnet sind. [assembly: Assem...
40.648649
106
0.763963
[ "MIT" ]
MarvinTjarksJadeHS/Hello_World
TestAppHSP/TestAppHSP/Properties/AssemblyInfo.cs
1,519
C#
using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; using System.Numerics; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace DCL_Core.CORE { // Implements https://en.bitcoin.it/wiki/Base58Check_encoding // Ipmlemen...
39.067669
139
0.573711
[ "MIT" ]
JohnJohnssonnl/DCL
DCL_Core/CORE/Base58Encoding.cs
5,198
C#
namespace WeatherApiInteraction.DarkSkyWeatherMining { using System; using System.Collections.Generic; using Newtonsoft.Json; public class DarkSkyWeatherResultsList { public double latitude { get; set; } public double longitude { get; set; } public string timezone { get; se...
32.328
73
0.621133
[ "MIT" ]
Bhaskers-Blu-Org2/Smart-Energy-Foundation-Demo-Stack
SmartEnergyAzureDemo/WeatherDataMining/WeatherApiInteraction/DarkSkyWeatherMining/DarkSkyWeatherDataQueryClasses.cs
4,043
C#
using System.Diagnostics; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace MsgPackBlazor.Server.Pages { [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] public class ErrorModel : PageModel { ...
25.892857
88
0.664828
[ "MIT" ]
lolochristen/MessagePack.WebApi.Client
samples/MsgPackBlazor/MsgPackBlazor/Server/Pages/Error.cshtml.cs
727
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("Ba...
38.081081
84
0.747339
[ "MIT" ]
PAFICH/cSHARP
Exam-Preparation-1st-Problems/BabaTincheAirlines/Properties/AssemblyInfo.cs
1,412
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Parking { public class Parking { private List<Car> data; public Parking(string type, int capacity) { data = new List<Car>(Capacity); Type = type; Capacit...
20.152174
103
0.473571
[ "MIT" ]
Mithras11/C_Sharp-Advanced-SoftUni
Exams/28.06.2020/Parking/Parking/Parking.cs
1,856
C#
using System.Collections.Generic; using System.Text.Json; using System.IO; using System.Linq; // Determines the availablity of a domain namespace OpenSRSLib { public class Register<T> : Request<T> { protected string domain; protected ContactSet owner; // required protected Contact...
44.864865
132
0.613855
[ "BSD-3-Clause" ]
fuzzyLojic/opensrsApi
OpenSRSLib/Registration/Register.cs
3,320
C#
using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Running; using Csharp_Parse_Benchmark.Helpers.StringRandom; namespace Csharp_Parse_Benchmark { public class ParseVsTryParseVsConvert { private StringRandom myString = new StringRandom(); private readonly string data; public Parse...
22.56
74
0.552305
[ "MIT" ]
Evanna456/Csharp-Parse-Benchmark
Program.cs
1,130
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FileAndFolderDialog.Wpf.Samples.ViewModels { public class SelectFileDialogExampleViewModel : NinjaMvvm.Wpf.WpfViewModelBase { private read...
32.14359
135
0.535897
[ "MIT" ]
DumpsterNinja/FileAndFolderDialogMvvm
src/Samples/FileAndFolderDialog.Wpf.Samples/ViewModels/SelectFileDialogExampleViewModel.cs
6,270
C#
// Copyright (c) 2021 Alachisoft // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
32.119718
113
0.5672
[ "Apache-2.0" ]
Alachisoft/NCache
Src/NCCommon/Monitoring/ClientMonitor.cs
4,561
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Physics; using Microsoft.MixedReality.Toolkit.Utilities; using System.Collections; using UnityEngine; namespace Microsoft.Mixed...
30.503106
220
0.535668
[ "MIT" ]
AdamMitchell-ms/MixedRealityToolkit-Unity
Assets/MixedRealityToolkit.SDK/Features/UX/Scripts/Pointers/BaseControllerPointer.cs
14,735
C#
using Pekka.ClashRoyaleApi.Client.Contracts; using Pekka.ClashRoyaleApi.Client.Models.CardModels; using Pekka.Core; using Pekka.Core.Contracts; using Pekka.Core.Responses; using System.Collections.Generic; using System.Threading.Tasks; using Pekka.ClashRoyaleApi.Client.Models.GlobalTournamentModels; namespace Pekka...
32.764706
161
0.751346
[ "MIT" ]
Blind-Striker/clash-royale-client-dotnet
src/Pekka.ClashRoyaleApi.Client/Clients/GlobalTournamentClient.cs
1,116
C#
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using Avalonia.Controls; using Avalonia.Native.Interop; using Avalonia.Platform; using Avalonia.Platform.Interop; namespace Avalonia.Nativ...
27.902655
119
0.559784
[ "MIT" ]
Karnah/Avalonia
src/Avalonia.Native/WindowImpl.cs
3,155
C#
using MicroOrm.Dapper.Repositories; using MicroOrm.Dapper.Repositories.DbContext; using System; using System.Collections.Generic; using System.Data; using Crystal.Shared; using System.Threading.Tasks; using AutoMapper; namespace Crystal.Dapper { /// <summary> /// Base unit of work repository /// </summary...
33.4
149
0.506442
[ "MIT" ]
harshitgindra/Crystal.Shared
Crystal.Dapper/Repository/BaseUowRepository.cs
5,513
C#
using Countdown_ASP.NET.Models; using Countdown_ASP.NET.Interfaces; using Microsoft.Extensions.Configuration; using Microsoft.IdentityModel.Tokens; using System.Collections.Generic; using System.Security.Claims; using System.IdentityModel.Tokens.Jwt; using System; using System.Text; namespace Countdown_ASP.N...
30.577778
94
0.624273
[ "MIT" ]
LaunchCodeLiftoffProjects/CountDown
countDownBackEnd/Countdown ASP.NET/Services/TokenService.cs
1,376
C#
namespace RemotePlanning.Ui.StorycardsUi { public class StorycardBatchLoader { } }
15.666667
40
0.723404
[ "Apache-2.0" ]
Omnicrola/remote-planning
RemotePlanning/RemotePlanning/Ui/StorycardsUi/StorycardBatchLoader.cs
94
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("11_...
37.567568
84
0.747482
[ "MIT" ]
dimitarminchev/ITCareer
02. Programming/2019/2019.03.10/11_Raincast/Properties/AssemblyInfo.cs
1,393
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 ...
29.654762
134
0.687274
[ "Apache-2.0" ]
aliyun/aliyun-openapi-net-sdk
aliyun-net-sdk-ccc/CCC/Model/V20200701/SubmitCampaignRequest.cs
2,491
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using Newtonsoft.Json; using VideoKategoriseringsApi.Models; using Microsoft.AspNetCore.Cors; using Newtonsoft....
39.951299
166
0.553027
[ "Apache-2.0" ]
Urbaino/VideoMateApi
Controllers/MainController.cs
12,307
C#
/* * Arranges nodes based on relationships. Contains a series or rows (DiagramRow), * each row contains a series of groups (DiagramGroup), and each group contains a * series of nodes (DiagramNode). * * Contains a list of connections. Each connection describes where the node * is located in the diagram and type...
31.698653
109
0.610335
[ "MIT" ]
VincentH-Net/FamilyShow2022
src/Microsoft.FamilyShow/Controls/Diagram/Diagram.cs
18,829
C#
namespace Apex.ConnectApi { using ApexSharp; using ApexSharp.ApexAttributes; using ApexSharp.Implementation; using global::Apex.System; /// <summary> /// /// </summary> public class ApprovalPostTemplateField { // infrastructure public ApprovalPostTemplateField(dynami...
19.010309
88
0.425163
[ "MIT" ]
apexsharp/apexsharp
Apex/ConnectApi/ApprovalPostTemplateField.cs
1,844
C#
using AbstractSyntax.SpecialSymbol; using AbstractSyntax.Symbol; using AbstractSyntax.Visualizer; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; namespace AbstractSyntax { [DebuggerVisualizer(typeof(SyntaxVisualizer), typeof(SyntaxVisualizerSource))...
24.370213
170
0.440545
[ "Apache-2.0" ]
B-head/Dreit-prototype
AbstractSyntax/Element.cs
5,729
C#
using Newtonsoft.Json; namespace SFA.DAS.EmployerDemand.Domain.Demand.Api.Responses { public class GetStartCourseDemandResponse { [JsonProperty("trainingCourse")] public TrainingCourse Course { get; set; } } }
23.8
60
0.710084
[ "MIT" ]
SkillsFundingAgency/das-employerdemand-web
src/SFA.DAS.EmployerDemand.Domain/Demand/Api/Responses/GetStartCourseDemandResponse.cs
238
C#
// *** WARNING: this file was generated by pulumigen. *** // *** 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.Kubernetes.Types.Ou...
30.535714
131
0.707602
[ "Apache-2.0" ]
Teshel/pulumi-kubernetes
sdk/dotnet/ApiRegistration/V1/Outputs/APIServiceStatus.cs
855
C#
/* * Copyright 2017 riddles.io (developers@riddles.io) * * 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 * * Unle...
31.243243
79
0.653979
[ "Apache-2.0" ]
riddlesio/golad-starterbot-cs
Player/Player.cs
1,156
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Sfa.Tl.Matching.Application.Interfaces; using Sfa.Tl.Matching.Data.Interfaces; using Sfa.Tl.Matching.Domain.Models; using Sfa.Tl.Matching.Models.Command; using Sfa.Tl.Matching.Models.Enums; namespace Sfa.Tl.Matching.Application.S...
42.298701
142
0.649064
[ "MIT" ]
uk-gov-mirror/SkillsFundingAgency.tl-matching
src/Sfa.Tl.Matching.Application/Services/ReferralService.cs
3,259
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> //---...
40.166667
148
0.563278
[ "MIT" ]
Kcsorensen/MadplanVBK
Madplan/Main/obj/Debug/netstandard1.4/Main.ExtensionViews.DataEntryCell.xaml.g.cs
964
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.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; u...
36.575758
165
0.667495
[ "Apache-2.0" ]
ProphetLamb-Organistion/Roslynator
src/Analyzers/CSharp/Analysis/UnnecessaryExplicitUseOfEnumeratorAnalyzer.cs
3,623
C#
public interface IPoolObject { void OnSpawn(); }
10.8
29
0.685185
[ "MIT" ]
jotask/AsteroidsClone
Assets/Scripts/IPoolObject.cs
56
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
20.103448
41
0.763293
[ "MIT" ]
dfgs/NTRCheck
NTRCheck/Views/Test.xaml.cs
585
C#
using System; namespace ALE.ETLBox.DataFlow { public interface IDataFlowTransformation<TInput, TOutput> : IDataFlowLinkSource<TOutput>, IDataFlowLinkTarget<TInput> { } }
18.5
121
0.751351
[ "MIT" ]
SipanOhanyan/etlbox
ETLBox/src/Definitions/DataFlow/IDataFlowTransformation.cs
187
C#
// Copyright (c) Lex Li. All rights reserved. // // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace Microsoft.Web.Administration { public sealed class ApplicationPoolDefaults : ConfigurationElement { private ApplicationPoolRe...
33.153846
120
0.614462
[ "MIT" ]
68681395/JexusManager
Microsoft.Web.Administration/ApplicationPoolDefaults.cs
2,588
C#
using System; using Custom.Algebra.QrCode.Encoding.Terminate; using com.google.zxing.qrcode.encoder; using System.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Custom.Algebra.QrCode.Encoding.Tests.PerformanceTest { using Assert = NUnit.Framework.Assert; using CollectionAs...
25.896552
125
0.665113
[ "Apache-2.0" ]
InnPad/Formall.NET
Formall.MySql/branches/WebSiteWithPresentation/QrCode.Tests/PerformanceTest/TerminatorPTest.cs
1,504
C#
namespace NServiceBus.AcceptanceTests.Basic { using System.Threading.Tasks; using AcceptanceTesting; using EndpointTemplates; using Features; using NUnit.Framework; public class When_depending_on_untyped_feature : NServiceBusAcceptanceTest { [Test] public async Ta...
33.026316
85
0.551793
[ "MIT" ]
JTOne123/NServiceBus.MongoDB
src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.6.0.0/Basic/When_depending_on_untyped_feature.cs
2,510
C#
using System; using System.Windows.Forms; namespace DemoFramework { public partial class LibrarySelection : Form { public LibrarySelection() { InitializeComponent(); AcceptButton = runButton; CancelButton = cancelButton; string[] ...
30.419355
85
0.509544
[ "MIT" ]
yoshinoToylogic/bulletsharp
demos/Generic/DemoFramework/Graphics/LibrarySelection.cs
1,888
C#
using SharpShoppingList.Models; namespace SharpShoppingList.ViewModels { public class ShoppingListViewModel { public ShoppingList ShoppingList { get; set; } public bool Selected { get; set; } } }
20.454545
54
0.693333
[ "MIT" ]
benfo/SharpShoppingList
SharpShoppingList.Shared/ViewModels/ShoppingListViewModel.cs
225
C#
namespace MassTransit.Tests.Pipeline { using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using GreenPipes; using NUnit.Framework; using TestFramework; using Util; [TestFixture] public class Partitioning_a_consumer_by_key : ...
28.171053
148
0.562354
[ "ECL-2.0", "Apache-2.0" ]
AlexGoemanDigipolis/MassTransit
tests/MassTransit.Tests/Pipeline/PartitionByKey_Specs.cs
2,143
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 Microsoft.ML.Core.Data; using Microsoft.ML.Runtime; using Microsoft.ML.Runtime.Data; using Microsoft.ML.Runtim...
45.233969
216
0.536973
[ "MIT" ]
NileshGule/machinelearning
src/Microsoft.ML.FastTree/FastTreeRanking.cs
52,200
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> //--...
35.128521
201
0.539167
[ "MIT" ]
PeterSorokac/Sage300-SDK
resources/Sage300Resources/Sage.CA.SBS.ERP.Sage300.GL.Resources/Forms/OptionsResx.Designer.cs
19,955
C#
namespace ConfArch.Data.Models { public class User { public int Id { get; set; } public string Name { get; set; } public string Password { get; set; } public string FavoriteColor { get; set; } public string Role { get; set; } public string GoogleId { get; set; } ...
25.230769
49
0.567073
[ "MIT" ]
ToanNN/Asp.NetCoreSecurity
ConfArch.Data/Models/User.cs
330
C#
namespace _01.GenericBoxOfString { using System; public class StartUp { public static void Main() { var n = int.Parse(Console.ReadLine()); for (int i = 0; i < n; i++) { var input = Console.ReadLine(); var box = new Box<s...
18.545455
50
0.446078
[ "MIT" ]
anedyalkov/CSharp-OOP-Advanced
04.Generics-Exercises/Generics-Exercises/01.GenericBoxOfString/StartUp.cs
410
C#
namespace MyOnlineShop.Web { using Microsoft.AspNetCore.Http; using MyOnlineShop.Application.Common.Contracts; using System; using System.Security.Claims; using static Constants; public class CurrentUserService : ICurrentUser { private readonly ClaimsPrincipal user; public...
30.272727
105
0.653654
[ "MIT" ]
DimchoLakov/MyOnlineShop-Domain-Driven-Design
MyOnlineShop/MyOnlineShop.Web/CurrentUserService.cs
1,001
C#
using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using System; using System.Collections.Generic; using System.Configuration; using System.Drawing; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Xunit; namespace Rotativa.AspNetCore.Tests { [Trait("R...
39.921127
113
0.530342
[ "MIT" ]
SRJPN/Rotativa.AspNetCore
Rotativa.AspNetCore.Tests/RotativaTests.cs
14,177
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.151079
131
0.603368
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Devices/DpsCertificate.cs
5,998
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 * ...
46.72118
254
0.649854
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet-intl-en
TencentCloud/Apigateway/V20180808/Models/ModifyApiRequest.cs
17,427
C#
using System; #if UNITY_EDITOR using UnityEngine; using UnityEditor; #endif namespace Acedia { /// <summary> /// Hides the field when the editor is in play-mode. /// </summary> /// <inheritdoc cref="BaseOnPlayAttribute"/> [AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = ...
26.5
111
0.639794
[ "MIT" ]
imAcedia/unity-acedia-collection
Runtime/Attributes/FieldVisibility/OnPlay/HideOnPlayAttribute.cs
1,168
C#
using Loans.Api.Models; using Loans.Api.Services.Abstract; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Loans.Api.Services.Concrete { public class LoanDetailsService : ILoanDetail...
27.9
121
0.574074
[ "MIT" ]
harshjp722/hp-banking-system
src/Services/Loans/Loans.Api/Services/Concrete/LoanDetailsService.cs
1,676
C#
using KPLN_DataBase.Controll; using System; using System.Collections.ObjectModel; using System.ComponentModel; using System.Runtime.CompilerServices; namespace KPLN_DataBase.Collections { public class DbUser : DbElement, INotifyPropertyChanged, IDisposable { public static ObservableCollection<DbUser> ...
29.322148
105
0.460746
[ "Apache-2.0" ]
bimkpln/Git_Repo_KPLN
KPLN_DataBase/KPLN_DataBase/Collections/DbUser.cs
4,371
C#
namespace Netnr.Func.ViewModel { /// <summary> /// 登录用户信息 /// </summary> public class LoginUserVM { /// <summary> /// 用户ID /// </summary> public string UserId { get; set; } /// <summary> /// 登录账号 /// </summary> public string UserName {...
21.192308
44
0.433757
[ "MIT" ]
chaojunluo/netnrf
src/Netnr.ResponseFramework/Netnr.Func/ViewModel/LoginUserVM.cs
585
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ToDoAPI { public class Program { public static...
25.518519
70
0.642961
[ "MIT" ]
fupn26/ProjectManager_Onlab_2021
src/ProjectService/ToDoAPI/Program.cs
689
C#
using Microsoft.AspNetCore.DataProtection; namespace aggregator.cli { class MyProtector { readonly IDataProtector _protector; // the 'provider' parameter is provided by DI public MyProtector(IDataProtectionProvider provider) { _protector = provider.CreateProtector(...
26.8
87
0.682836
[ "Apache-2.0" ]
rjosborne/aggregator-cli
src/aggregator-cli/Logon/MyProtector.cs
538
C#
using System; using Newtonsoft.Json; namespace Timemicro.Zcash.RPCClient { public class JsonRPCResponseError { public JsonRPCResponseError() { } [JsonProperty("code")] public string Code { get; set; } [JsonProperty("mess...
15.518519
37
0.479714
[ "MIT" ]
timemicrotech/Zcash.RPCClient
src/Timemicro.Zcash.RPCClient/JsonRPCResponseError.cs
421
C#
using AutoMapper; using DasBlog.Core.Common; using DasBlog.Managers; using DasBlog.Managers.Interfaces; using DasBlog.Services.ActivityLogs; using DasBlog.Services.ConfigFile.Interfaces; using DasBlog.Services.FileManagement; using DasBlog.Web.Identity; using DasBlog.Web.Settings; using DasBlog.Web.Mappers; using DasB...
35.856041
150
0.746989
[ "MIT" ]
dsmeltz/dasblog-core
source/DasBlog.Web.UI/Startup.cs
13,950
C#
namespace Agoda.Frameworks.LoadBalancing { public class FixedDeltaWeightManipulationStrategy : IWeightManipulationStrategy { public int Delta { get; } public FixedDeltaWeightManipulationStrategy(int delta) { Delta = delta; } public WeightItem UpdateWeight<T...
26.947368
94
0.628906
[ "Apache-2.0" ]
JTOne123/net-loadbalancing
Agoda.Frameworks.LoadBalancing/FixedDeltaWeightManipulationStrategy.cs
514
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; //using Discount.GRPC.Extensions; namespace Discount.GRPC { public class Program { public static void Main(string[] a...
31.84375
136
0.636899
[ "MIT" ]
pourali1982/AspNetCoreMicroservices
src/Services/Discount/Discount.GRPC/Program.cs
1,019
C#
using GRINTSYS.SAPRestApi.BussinessLogic.Inputs; using GRINTSYS.SAPRestApi.Domain.Output; using GRINTSYS.SAPRestApi.Inputs; using GRINTSYS.SAPRestApi.Models; using GRINTSYS.SAPRestApi.Persistence.Repositories; using SAPbobsCOM; using System; using System.Threading.Tasks; namespace GRINTSYS.SAPRestApi.Domain.Services ...
42.030488
143
0.556652
[ "MIT" ]
Grintsys/GRINTSYS.SAPRestApi
Domain/Services/Payments/SapPaymentService.cs
6,895
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
41.576923
120
0.668363
[ "MIT" ]
jalvarezz13/MemeCollection
MemeCollection/CategoriaDeportesPage.xaml.cs
2,168
C#
using Floo.Core.Shared; using IdentityModel; using Microsoft.AspNetCore.Http; using System.Security.Claims; using System.Threading.Tasks; namespace Floo.Infrastructure { public class IdentityContext : IIdentityContext { public static readonly IdentityContext Empty = new IdentityContext(); priv...
27.637931
97
0.618216
[ "Apache-2.0" ]
ElderJames/Floo
src/Floo.Infrastructure/IdentityContext.cs
1,605
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
67.242991
253
0.693398
[ "MIT" ]
Agazoth/azure-powershell
src/Migrate/generated/api/Models/Api20180901Preview/AssessmentDetailsExtendedInfo.json.cs
7,089
C#
using System; namespace MathLibrary { public class MathHelper { public int Max(int x, int y) { if (x == y) { return x; } if (x > y) { return x; } else { ...
14.68
36
0.286104
[ "MIT" ]
thewahome/math-master
MathLibrary/MathHelper.cs
369
C#
using System; using System.Globalization; using System.IO; using Aspose.Note; using System.Drawing; using System.Collections.Generic; namespace Aspose.Note.Examples.CSharp.Text { using System.Linq; public class ChangeStyle { public static void Run() { // ExStart:ChangeStyle ...
26.571429
75
0.560676
[ "MIT" ]
alexeiso/Aspose.Note-for-.NET
Examples/CSharp/Text/ChangeStyle.cs
1,304
C#
#region LICENSE /* Sora - A Modular Bancho written in C# Copyright (C) 2019 Robin A. P. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License...
35.584615
106
0.587549
[ "MIT" ]
Tiller431/yes
Sora/Sora/Events/BanchoEvents/Multiplayer/Match/OnBanchoMatchSettingsEvent.cs
2,313
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.WebUtilities; namespa...
34.030769
120
0.617993
[ "MIT" ]
Tru-Dev/RetroGG.net
RetroGG.net/Areas/Identity/Pages/Account/ConfirmEmailChange.cshtml.cs
2,214
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using MediatR; using Microsoft.AspNetCore.Mvc; using NanoFabric.Mediatr.Commands; using SampleService.Kestrel.Application.CommandSide.Commands; // For more information on enabling Web API for empty proje...
28.446809
116
0.639491
[ "MIT" ]
AndrewChien/NanoFabric
sample/SampleService.Kestrel/Controllers/EchoController.cs
1,339
C#
///////////////////////////////////////////////////////////////////// // Copyright (c) Autodesk, Inc. All rights reserved // Written by Forge Design Automation team for Inventor // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted,...
39.230088
125
0.588992
[ "MIT" ]
Developer-Autodesk/forge-configurator-inventor
WebApplication/Definitions/FdaStatsDTO.cs
4,435
C#
using System.Windows; namespace BreweryApp { /// <summary> /// Logique d'interaction pour App.xaml /// </summary> public partial class App : Application { } }
15.416667
43
0.610811
[ "MIT" ]
yves982/BreweryApp
BreweryApp/App.xaml.cs
187
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 * ...
30.117647
83
0.642578
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/Tci/V20190318/Models/CreateLibraryRequest.cs
1,584
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
48.441441
157
0.642924
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IMailFolderChildFoldersCollectionRequest.cs
5,377
C#
using Shop.Infrastructure.Models; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Shop.Module.Catalog.Entities { /// <summary> /// 产品属性模板(例:女装属性模板、连衣裙属性模板) /// </summary> public class ProductAttributeTemplate : EntityBase { public Prod...
27.452381
144
0.626193
[ "MIT" ]
LGinC/module-shop
src/server/src/Modules/Shop.Module.Catalog.Abstractions/Entities/ProductAttributeTemplate.cs
1,203
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; ...
42.132959
301
0.537032
[ "Apache-2.0" ]
0xced/NuGet.Client
test/NuGet.Clients.Tests/NuGet.CommandLine.Test/RestoreNETCoreTest.cs
427,481
C#
using Aju.Carefree.Dto; using Aju.Carefree.Entity; using AutoMapper; namespace Aju.Carefree.AutoMapperConfig { public class CarefreeProfile : Profile, IProfile { public CarefreeProfile() { CreateMap<Areas, AreasDto>(); CreateMap<AreasDto, Areas>(); } } }
19.8125
52
0.624606
[ "MIT" ]
Fast1804/Aju.Carefree
Aju.Carefree.AutoMapperConfig/CarefreeProfile.cs
319
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using WinFormsMVC.Controller.Attribute; namespace WinFormsMVCUnitTest.Test.Controller.BaseController { [TestClass] public class BothAttributeReflectionTest { /// *** 以降、GetRuntimeConstructorのテスト *** /// // 引数...
20.6375
95
0.488795
[ "MIT" ]
belre/WinFormsMVC
WinFormsMVCUnitTest/Test/Controller/BaseController/SecondAttributeReflectionTest.cs
1,705
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.CSharp.Test.Utilities; using Microsoft....
27.851958
175
0.597714
[ "Apache-2.0" ]
ElanHasson/roslyn
src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenCheckedTests.cs
77,514
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/vsstyle.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { pu...
29.375
145
0.693617
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/vsstyle/BORDER_NOSCROLLSTATES.cs
472
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class DayOfWeek { static void Main() { var n =int.Parse(Console.ReadLine()); string[] days = { "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" }; ...
21.565217
105
0.540323
[ "MIT" ]
V-Uzunov/Soft-Uni-Education
02.ProgrammingFundamentalsC#/06.ArraysAndList/01.Arrays/01.DayOfWeek/DayOfWeek.cs
498
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace Doraemon.Data.Migrations { public partial class RemoveModmailBlockProperty : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "IsModmailBlocked", ...
27.92
71
0.580229
[ "MIT" ]
n-Ultima/Doraemon
Doraemon.Data/Migrations/20210925012147_RemoveModmailBlockProperty.cs
700
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace RTS { public static class Globals { //scroll and camera public static float ScrollSpeed { get { return 2; } } public static float RotateSpeed { get { return 200; } } public static int Scro...
41.867446
167
0.683816
[ "MIT" ]
kevinkraft/RTS_4
Assets/Globals/RTS.cs
21,480
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> //--...
34.483871
151
0.582788
[ "MIT" ]
MegaRoks/SteamAppClient
SteamAppClient/Properties/Settings.Designer.cs
1,071
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Text; using System.Reflection; using System.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; using NUnit.Framework; using Assert = NUnit.Framework.Assert; using CollectionAssert = NUnit.Framework.Collectio...
33.665025
172
0.550629
[ "MIT" ]
842549829/CsQuery
source/CsQuery.Tests/HtmlParser/Html5Compliance.cs
6,836
C#