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 GitClientVS.Contracts.Models; namespace GitClientVS.Contracts.Interfaces.ViewModels { public interface IConnectSectionViewModel : IViewModel, IViewModelWithErrorMessage, IInitializable, IDisposable { void ChangeActiveRepo(); LocalRepo SelectedRepository { get; set; } } ...
26.833333
115
0.757764
[ "MIT" ]
DirtyApexAlpha/bitbucket-for-visual-studio
Source/GitClientVS.Contracts/Interfaces/ViewModels/IConnectSectionViewModel.cs
324
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 System.Globalization; using Avalonia.Animation.Animators; using Avalonia.Utilities; namespace Avalonia { /// <summary> /// De...
33.163386
122
0.50371
[ "MIT" ]
Karnah/Avalonia
src/Avalonia.Visuals/Rect.cs
16,847
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("Cl...
38.527778
84
0.754146
[ "BSD-3-Clause" ]
matthewrenze/clean-architecture-in-asp-net-mvc-5
Properties/AssemblyInfo.cs
1,390
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...
29.942857
152
0.646947
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/CostManagement/V20190101/Inputs/QueryDatasetConfigurationArgs.cs
1,048
C#
using System; class SumSeconds { static void Main(string[] args) { var a = int.Parse(Console.ReadLine()); var b = int.Parse(Console.ReadLine()); var c = int.Parse(Console.ReadLine()); var sum = a + b + c; var minutes = sum / 60; var seconds = sum % 60; ...
19.380952
82
0.538084
[ "MIT" ]
andreykata/SoftUni
Programming Basics/2016 June/CSharpProgrammingBasic03SimpleConditions/Task06SumSeconds/SumSeconds.cs
409
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _06.Rhombus_of_Stars { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); for (int i = 1; i <= n; i++) ...
21.146341
54
0.384083
[ "MIT" ]
DanielBankov/SoftUni
Programming Basics/06. Drawing Shapes with Loops/06. Rhombus of Stars/Program.cs
869
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // La información general de un ensamblado se controla mediante el siguiente // conjunto de atributos. Cambie estos valores de atributo para modificar la información // asociada con un ensamblado. [assembly: Assembl...
41.054054
113
0.75576
[ "MIT" ]
KAROrellana/holamundo
Win.HolaMundo/Win.HolaMundo/Properties/AssemblyInfo.cs
1,537
C#
/* Copyright (c) 2013, 2014 Paolo Patierno All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 and Eclipse Distribution License v1.0 which accompany this distribution. The Eclipse Public License is available at http://www.eclipse...
27.878049
79
0.674541
[ "MPL-2.0-no-copyleft-exception", "MPL-2.0", "Apache-2.0" ]
TRUMPF-IoT/cdePlugins
src/182 - MQTT Sender/GnatMQ/Communication/MqttClientConnectedEventArgs.cs
1,145
C#
using Jint.Native.Object; using Jint.Runtime; using Jint.Runtime.Descriptors; using Jint.Runtime.Interop; namespace Jint.Native.Symbol { /// <summary> /// http://www.ecma-international.org/ecma-262/5.1/#sec-15.5.4 /// </summary> public sealed class SymbolPrototype : ObjectInstance { privat...
32.333333
145
0.59757
[ "BSD-2-Clause" ]
jfoshee/jint
Jint/Native/Symbol/SymbolPrototype.cs
2,718
C#
// HO=False using System; // using System; using System.Collections.Generic; // using System.Collections.Generic; using System.Linq; // using System.Linq; using System.Text; // using System.Text; // // // // // // // namespace Charlotte // namespace Charlotte { // { public class IndicateDynamicDesdemona...
78.475588
1,272
0.805286
[ "MIT" ]
soleil-taruto/Hatena
a20201226/Confused_03/tmpsol_mid/Elsa20200001/Games/Scripts/Script_Stage_02.cs
43,423
C#
using Molder.Database.Exceptions; using Molder.Helpers; using Microsoft.Extensions.Logging; using System; using System.Data; using System.Data.Common; using System.Data.SqlClient; using System.Diagnostics.CodeAnalysis; using System.Threading; namespace Molder.Database.Models { [ExcludeFromCodeCoverage] public...
35.488722
170
0.525424
[ "MIT" ]
Fufelhmertz/AlfaBank.AFT.Core.Library
src/Molder.Database/Models/SqlProvider.cs
4,722
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace AiqlWrapper.Helper { internal class ExpressionsMisc { public static IQueryable TryGetBaseIQueryable(MethodCallExpression mce) { ...
25.69697
79
0.485849
[ "MIT" ]
petterlundanes/AiqlWrapper
AiqlWrapper/Helper/ExpressionsMisc.cs
850
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Microsoft.AspNet.SignalR; using System.Threading; using System.Threading.Tasks; using Newtonsoft.Json; using SignalR_Chat.Models; namespace SignalR_Chat { public class ChatServerHub : Hub { // called from client...
24.44
85
0.705401
[ "MIT" ]
luckyw/SignalR_Chat
SignalR_Chat/Controllers/ChatServerHub.cs
613
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ordering.Domain.Common { public abstract class EntityBase { public int Id { get; set; } public string CreatedBy { get; set; } public DateTime CreatedDate { get; set; } public string...
22.5
49
0.730864
[ "MIT" ]
mehrahmad9033/netmicroservices
src/Services/Ordering/Ordering.Domain/Common/EntityBase.cs
407
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> //--...
39.518519
151
0.582006
[ "MIT" ]
yavor87/TelerikWpfDataGrid
src/Data/DynamicData/SampleWpfApp/Properties/Settings.Designer.cs
1,069
C#
using ADS.DataStructures; using ADS.DataStructures.Contracts; using System; using System.Collections.Generic; using System.Text; namespace ADS.Algorithms.Graphs { /// <summary> /// Given a digraph and a set of source vertices, support queries of the form "Is there a directed path from any vertex in the set to...
30.360656
163
0.535637
[ "MIT" ]
MarkoPapic/ADS
ADS/Algorithms/Graphs/ReachabilityDfs.cs
1,854
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 Cake.Common.Tests.Fixtures.Build; using Xunit; namespace Cake.Common.Tests.Unit.Build.GitHubActions.Data { ...
26.880399
92
0.470152
[ "MIT" ]
Acidburn0zzz/cake
src/Cake.Common.Tests/Unit/Build/GitHubActions/Data/GitHubActionsWorkflowInfoTests.cs
8,093
C#
using System; namespace McqRepository.Models { public class Query { public Guid? Id { get; set; } public Guid? PaperId { get; set; } public Guid CategoryId { get; set; } public string Category { get; set; } public string Question { get; set; } public string Answ...
26.5
44
0.572327
[ "MIT" ]
SiyadMuhammed/mcqServer
McqRepository/Models/Query.cs
479
C#
using Elastic.Xunit.XunitPlumbing; using Nest; namespace Examples.Ml.AnomalyDetection.Apis { public class SetUpgradeModePage : ExampleBase { [U(Skip = "Example not implemented")] public void Line78() { // tag::ae4aa368617637a390074535df86e64b[] var response0 = new SearchResponse<object>(); // end::ae4...
26.607143
84
0.73557
[ "Apache-2.0" ]
FrankyBoy/elasticsearch-net
src/Examples/Examples/Ml/AnomalyDetection/Apis/SetUpgradeModePage.cs
745
C#
 using MyWebClient.Helpers; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Web; using System.Web.Mvc; namespace WebClient.Controllers { public class BaseController : Controller { protected override IAsyncResult BeginExecuteCore(AsyncCallback cal...
33.309278
114
0.586815
[ "Apache-2.0" ]
MGaden/Asp-MVC-SPA-AngularJS-WebAPI
WebClient/WebClient/Controllers/BaseController.cs
3,233
C#
using Telerik.RazorConverter.WebForms.DOM; namespace Telerik.RazorConverter.Razor.DOM { public interface IRazorCodeNodeFactory { IRazorCodeNode CreateCodeNode(string code, bool requiresPrefix, bool requiresBlock, CodeBlockNodeType codeBlockType); } }
27.2
125
0.786765
[ "MIT" ]
halex2005/webformsrazorconveter
Telerik.RazorConverter/Razor/DOM/IRazorCodeNodeFactory.cs
272
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using Microsoft.Azure.WebJobs.Logging; using Microsoft....
41.653846
236
0.5652
[ "Apache-2.0", "MIT" ]
divyagandhii/azure-functions-host
src/WebJobs.Script/Config/HostJsonFileConfigurationSource.cs
9,749
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.Xaml...
38.351351
99
0.626498
[ "Apache-2.0" ]
aliozgur/xamarin-forms-book-samples
Chapter13/ImageTap/ImageTap/ImageTap.UWP/App.xaml.cs
4,257
C#
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Website: https://www.blazor.zone or https://argozhang.github.io/ using BootstrapBlazor.Components; using BootstrapBlazor.Shared.Common; us...
30.253165
111
0.46569
[ "Apache-2.0" ]
5118234/BootstrapBlazor
src/BootstrapBlazor.Shared/Pages/Messages.razor.cs
4,980
C#
using Microsoft.AspNetCore.Html; using Microsoft.AspNetCore.Mvc.Rendering; using TitanFx.AspNetCore.Mvc.Templating.Constants; using TitanFx.AspNetCore.Mvc.Templating.Utilities; namespace TitanFx.AspNetCore.Mvc.Templating.Templates { /// <summary> /// An editor template for rendering a hidden input /// </s...
34.698413
104
0.60979
[ "Apache-2.0" ]
titan-fx/AspNetCore
TitanFx.AspNetCore.Mvc.Templating/Templates/HiddenTemplate.cs
2,188
C#
//--------------------------------------------------------------------- // <copyright file="EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // // @owner [....] // @backupOwner [....] //---------------------...
40.145749
270
0.520825
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/DataEntityDesign/Design/System/Data/Entity/Design/SSDLGenerator/EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs
19,834
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...
59.674343
242
0.810111
[ "MIT" ]
cristianofx/XamarinStudies
TravelRecordApp/TravelRecordApp.Android/Resources/Resource.designer.cs
570,069
C#
using BlazorComponent; using Microsoft.AspNetCore.Components; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MASA.Blazor { public class MDataIterator<TItem> : BDataIterator<TItem>, IDataIter...
28.59375
156
0.510792
[ "MIT" ]
masastack-opensource/MASA.Blazor
src/MASA.Blazor/Components/DataIterator/MDataIterator.cs
7,322
C#
using EasyNetQ.ConnectionString; using EasyNetQ.Consumer; using EasyNetQ.Interception; using EasyNetQ.Producer; using EasyNetQ.Scheduling; namespace EasyNetQ.DI { /// <summary> /// Registers the default EasyNetQ components /// </summary> public static class DefaultServicesRegistration { pu...
54.363636
140
0.675251
[ "MIT" ]
harrisonmeister/EasyNetQ
Source/EasyNetQ/DI/DefaultServicesRegistration.cs
2,992
C#
using NBi.Core.Calculation.Grouping; using NBi.Core.ResultSet; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBi.Core.Calculation { class FilterGroupByFilter: IResultSetFilter { private readonly IResultS...
27.208333
86
0.601072
[ "Apache-2.0" ]
CoolsJoris/NBi
NBi.Core/Calculation/FilterGroupByFilter.cs
1,308
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; using System.Threading.Tasks; using System.Windows.Forms; namespace One_Night_Ultimate_Werewolf { public delegate void myDelegate(Form...
28.591398
92
0.507334
[ "Unlicense" ]
yarinvasket/One-Night-Ultimate-Werewolf
Ohno.cs
2,661
C#
// Copyright 2016 Google Inc. 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 // // Unless required by applicable...
40.25
135
0.601553
[ "Apache-2.0" ]
fayssalmartanigcp/google-cloud-dotnet
apis/Google.Cloud.Logging.Log4Net/Google.Cloud.Logging.Log4Net.Snippets/GoogleStackdriverAppenderSnippets.cs
6,440
C#
/* MIT License Copyright (c) 2021 Marco Tröster 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, merge, ...
41.190476
123
0.640848
[ "MIT" ]
Bonifatius94/PrimeGen
Program.cs
2,598
C#
using Microsoft.AspNetCore.Mvc; using ThreeFourteen.QuickService.Sample.Services; namespace ThreeFourteen.QuickService.Sample.Controllers { [ApiController] [Route("api/customer")] public class CustomerController : ControllerBase { private readonly ICustomerService _customerService; ...
25.833333
68
0.653226
[ "Apache-2.0" ]
KevWK314/ThreeFourteen.QuickService
src/ThreeFourteen.QuickService.Sample/Controllers/CustomerController.cs
622
C#
using System; using System.Data; using System.Linq; using System.Reflection; using System.Linq.Expressions; using System.Collections.Generic; namespace Riz.XFramework.Data { /// <summary> /// 表达式扩展方法 /// </summary> public static class ExpressionExtensions { private static readonly string _...
40.620408
166
0.5833
[ "Apache-2.0" ]
TANZAME/RIB.XFramework
src/Riz.XFramework/Data/ExpressionVisitor/ExpressionExtensions.cs
10,316
C#
using System; using System.Collections.Generic; namespace Problem_10._Crossroads { class Program { static void Main() { int greenLDuration = int.Parse(Console.ReadLine()); int freeWindow = int.Parse(Console.ReadLine()); var carsTail = new Queue<string>(); ...
35.215686
108
0.412027
[ "MIT" ]
rumenand/HomeWork_Tasks
CSharp Advanced/01.Exercises Stacks and Queues/Problem 10. Crossroads/Program.cs
1,798
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using starsky.foundation.database.Helpers; using starsky.foundation.database.Interfaces; using starsky.foundation.database.Models; using starsky.foundation.database.Query; using starsky.foundation.platform.Extensions; using starsky.found...
34.00495
108
0.736061
[ "MIT" ]
qdraw/starsky
starsky/starsky.foundation.sync/SyncServices/SyncFolder.cs
6,877
C#
namespace HackF5.UnitySpy.ProcessFacade { using System; using System.Diagnostics; using JetBrains.Annotations; /// <summary> /// A MacOS specific facade over a process that provides access to its memory space /// through a server running with root privileges. /// </summary> [PublicAPI]...
30.358974
89
0.617399
[ "MIT" ]
frcaton/unityspy
src/HackF5.UnitySpy/ProcessFacade/ProcessFacadeMacOSClient.cs
1,186
C#
using Fluent.Net.Ast; using Newtonsoft.Json.Linq; using System.Linq; namespace Fluent.Net.Test { static class AstToJson { public static JToken ToJson(BaseNode node) { if (node == null) { return JValue.CreateNull(); } return ToJson...
31.230241
79
0.497139
[ "Apache-2.0" ]
GeoffreyKnobloch/Fluent.Net
Fluent.Net.Test/AstToJson.cs
9,090
C#
using System; using System.Collections; using System.ComponentModel; using System.Drawing; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using Netron; namespace QuickGraph.Layout.Connections { [ Connection("Spline") ] [ Serializable ] public class SplineConnection : Connection { ...
23.97561
75
0.637843
[ "ECL-2.0", "Apache-2.0" ]
Gallio/mbunit-v2
src/quickgraph/QuickGraph.Layout/Connections/SplineConnection.cs
1,966
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 mit einer Assembly verknüpft sind. [assembly: A...
40.486486
106
0.761015
[ "MIT" ]
DMXControl/KernelCloudPlugin
KernelCloudPlugin/Properties/AssemblyInfo.cs
1,516
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityStandardAssets.CrossPlatformInput; public class Player : MonoBehaviour { public Rigidbody2D playerRB; private SpriteRenderer _playerSR; private Animator _anim; public LayerMask whatIsGround; //for single ju...
27.648855
112
0.555701
[ "MIT" ]
Aurinn1/RFR
Player.cs
14,490
C#
using Newtonsoft.Json; using Quartz; using Reclaimed.API.DomainObjects; using Reclaimed.API.Services; using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; namespace Reclaimed.API.Jobs { public class HelloJob : IJob { public async Task Execut...
28.16129
144
0.682703
[ "MIT" ]
CandeeGenerations/candee-camp
api/Jobs/HelloJob.cs
875
C#
/* * OpenBots Server API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: v1 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using Sys...
41.784679
814
0.5275
[ "Apache-2.0" ]
arenabilgisayar/OpenBots.Agent
OpenBots.Service.API/Model/AgentModel.cs
20,182
C#
using OpenNetMeter.Models; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Wind...
27.51
78
0.568521
[ "Apache-2.0" ]
Ashfaaq18/OpenNetMeter
ViewModels/DataUsageSummaryVM.cs
2,753
C#
using System; using System.ServiceProcess; namespace WindowsService { static class Program { /// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { if (Environment.UserInteractive) { ...
22
53
0.464489
[ "MIT" ]
Usman-uzi/techintalk
Background Services/WindowsService/Program.cs
706
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace TestIT.Models.ViewModels { public class UsersViewModel { private List<ApplicationUser> users = new List<ApplicationUser>(); public List<ApplicationUser> GetUsers() { re...
22.84
74
0.607706
[ "MIT" ]
Mr-357/TestIT
TestIT/TestIT/Models/ViewModels/UsersViewModel.cs
571
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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...
28.895652
463
0.708697
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/System/Sources/System.Net.HttpListenerPrefixCollection.cs
3,323
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Web.Mvc; using FormFactory.AspMvc; using FormFactory.AspMvc.ModelBinders; using FormFactory.AspMvc.Wrappers; namespace FormFactory { public static class AspMvcPropertiesForHelper {...
30.967742
136
0.697917
[ "MIT" ]
tanis2000/FormFactory
FormFactory.AspMvc/AspMvcPropertiesForHelper.cs
960
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.Probabilistic.Math; using Microsoft.ML.Probabilistic.Utilities; namespace Microsoft.ML.Probabili...
36.766467
134
0.567101
[ "MIT" ]
Bruugs/infer
test/Tests/Strings/DiscreteCharTest.cs
6,144
C#
using Microsoft.AspNetCore.Identity; using System; using System.Collections.Generic; using System.Text; namespace Data.Entities { public class UserRol: IdentityRole { public string Description { get; set; } } }
17.923077
47
0.716738
[ "MIT" ]
pinolerosoftware/apiSivCore
SIV/Data/Entities/Users/UserRol.cs
235
C#
using NUnit.Framework; using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Text; using System.Threading.Tasks; using Tizen.NUI.BaseComponents; using Tizen.NUI.Binding; namespace Tizen.NUI.Components.Devel.Te...
39.714614
149
0.60266
[ "Apache-2.0", "MIT" ]
lol-github/TizenFX
test/Tizen.NUI.Tests/Tizen.NUI.Components.Devel.Tests/testcase/Controls/RecyclerView/TSCollectionView.cs
34,514
C#
using System; using System.Collections.Generic; using System.Linq; namespace _10.SoftUniCoursePlanning { class Program { static void Main(string[] args) { List<string> lessons = Console.ReadLine() .Split(", ", StringSplitOptions.RemoveEmptyEntries) .To...
31.254386
88
0.365422
[ "MIT" ]
dimitar-yo-dimitrov/SoftUni-Software-Engineering
C# Fundamentals/Lists/10.SoftUniCoursePlanning/Program.cs
3,565
C#
/*=============================================================================== EntitySpaces Studio by EntitySpaces, LLC Persistence Layer and Business Objects for Microsoft .NET EntitySpaces(TM) is a legal trademark of EntitySpaces, LLC http://w...
30.636364
94
0.590504
[ "Unlicense" ]
EntitySpaces/EntitySpaces-CompleteSource
Samples/Silverlight_RiaServices_Hierarchical_CS/Silverlight_RiaServices/Queries/CustomerDemographics.cs
1,685
C#
// Copyright (c) 2007-2012 Michael Chapman // http://ipaddresscontrollib.googlecode.com // 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 limitati...
38.168831
86
0.680844
[ "MIT" ]
stamepicmorg/Android-ADB-Screenshoter
Sources/IPAddressControlLib/NativeMethods.cs
2,939
C#
using UnityEngine; using System.Collections; public class ObjectSpawner : MonoBehaviour { public Transform target; public float distanceAhead; public float distanceInterval; public float horizontalOffset; public int instanceLimit; public float distanceToLatestPosition; [Header("Prefab Ref...
31.256098
109
0.626219
[ "MIT" ]
qcoronia/hop-to-heaven
Assets/Scripts/ObjectSpawner.cs
2,565
C#
namespace GraphQL.EntityFramework; #region FiltersSignature public class Filters { public delegate bool Filter<in TEntity>(object userContext, TEntity input) where TEntity : class; public delegate Task<bool> AsyncFilter<in TEntity>(object userContext, TEntity input) where TEntity : class; ...
25.991935
133
0.506671
[ "MIT" ]
SimonCropp/GraphQL.EntityFramework
src/GraphQL.EntityFramework/Filters/Filters.cs
3,225
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
36.82906
145
0.598747
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Web/V20200601/Outputs/IpSecurityRestrictionResponse.cs
4,309
C#
using System.Collections.Generic; using System.Threading.Tasks; using NBitcoin; using Purple.Bitcoin.Utilities; namespace Purple.Bitcoin.Features.Consensus.CoinViews { /// <summary> /// Database of UTXOs. /// </summary> public abstract class CoinView { /// <summary> /// Retrieves t...
57.5
180
0.665876
[ "MIT" ]
glasgowdev/purple
src/Purple.Bitcoin.Features.Consensus/CoinViews/CoinView.cs
3,797
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Web.Mvc; using Common; using Hangfire; using IBLL; using Masuit.MyBlogs.WebApp.Models; using Masuit.Tools.Net; using Masuit.Tools.Systems; using Models.DTO; using Models.Entity; using Models.Enum; nam...
40.188525
476
0.554558
[ "MIT" ]
formylover/Masuit.MyBlogs
src/Masuit.MyBlogs.WebApp/Controllers/BugController.cs
5,025
C#
using System.Runtime.CompilerServices; //[assembly: InternalsVisibleTo("Octokit.Tests")]
30
49
0.8
[ "MIT" ]
editor-tools/octokit.net
Octokit/Properties/AssemblyInfo.cs
92
C#
// <auto-generated /> using DatingApp.API.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace DatingApp.API.Migrations { [DbContext(typeof(DataContext))...
29.27027
75
0.590951
[ "MIT" ]
tp2124/dating-app
src/DatingApp.API/Migrations/20200108202520_InitialCreate.Designer.cs
1,085
C#
using System; using System.Globalization; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.Versioning; using System.Threading.Tasks; using AddonsBackend; using BradlBot.Commands; using DSharpPlus; using DSharpPlus.CommandsNext; using DSharpPlus.CommandsNext.Attribu...
37.059406
219
0.604595
[ "MIT" ]
brad1111/BradlBot
BaseCommands/UserCommands.cs
3,759
C#
using Upgrade; namespace Ship { namespace SecondEdition.TIEDDefender { public class DeltaSquadronPilot : TIEDDefender { public DeltaSquadronPilot() : base() { PilotInfo = new PilotCardInfo( "Delta Squadron Pilot", ...
22.5
56
0.450505
[ "MIT" ]
97saundersj/FlyCasual
Assets/Scripts/Model/Content/SecondEdition/Pilots/TIEDDefender/DeltaSquadronPilot.cs
497
C#
using NMF.Collections.Generic; using NMF.Collections.ObjectModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NMF.Models.Collections { /// <summary> /// Denotes an ordered set implementation to store associated elements /// ...
26.857143
108
0.515548
[ "BSD-3-Clause" ]
NMFCode/NMF
Models/Models/Collections/AssociationOrderedSet.cs
2,446
C#
// Artificial Intelligence for Humans // Volume 2: Nature-Inspired Algorithms // C# Version // http://www.aifh.org // http://www.jeffheaton.com // // Code repository: // https://github.com/jeffheaton/aifh // // Copyright 2014 by Jeff Heaton // // Licensed under the Apache License, Version 2.0 (the "License")...
39.156627
97
0.729538
[ "BSD-3-Clause" ]
AbleLynn/AIalgorithm
vol2/vol2-csharp-examples/AIFH-Vol2-ECA/Properties/AssemblyInfo.cs
3,169
C#
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Dock.Model.Controls; using Xunit; namespace Dock.Model.ReactiveUI.UnitTests.Controls { public class LayoutDockTests { [Fact] public ...
25
101
0.653333
[ "MIT" ]
PurpleGray/Dock
tests/Dock.Model.ReactiveUI.UnitTests/Controls/LayoutDockTests.cs
455
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 ...
42.327586
115
0.670468
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/automl/v1/google-cloud-automl-v1-csharp/Google.Cloud.AutoML.V1.StandaloneSnippets/AutoMlClient.ExportDataSnippet.g.cs
2,455
C#
//----------------------------------------------------------------------- // <copyright file="SwaggerResponse.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license> // <author>Rico Suter, mail@rsuter.com</au...
47.061111
159
0.586353
[ "MIT" ]
SamuelMcAravey/NSwag
src/NSwag.Core/OpenApiResponse.cs
8,473
C#
using System.Diagnostics.CodeAnalysis; using System.IO; using engenious.Audio; namespace engenious.Pipeline { public class AudioContent { [SuppressMessage("ReSharper", "InconsistentNaming")] public enum Format:ushort { PCM = 0x0001, MS_ADPCM = 0x0002, ...
30.907895
110
0.520647
[ "MIT" ]
OctoAwesome/engenious
ContentPipeline/Pipeline/Processor/AudioContent.cs
2,351
C#
using System.Collections.Generic; using System.Linq; using System.Reflection; namespace SharpVk.Spirv { public partial struct OpCode { /// <summary> /// </summary> public Op Op { get; private set; } /// <summary> /// </summary> ...
22.538462
64
0.47099
[ "MIT" ]
xuri02/SharpVk
src/SharpVk/Spirv/OpCode.partial.cs
881
C#
using System.Security.Claims; using System.Threading.Tasks; using IdentityOIDCWebApplicationSample.Identity.Models; using Microsoft.AspNetCore.Identity.Service; using Microsoft.AspNetCore.Identity.Service.IntegratedWebClient; using Microsoft.AspNetCore.Identity.Service.Mvc; using Microsoft.AspNetCore.Mvc; using Micros...
41.96124
129
0.670977
[ "Apache-2.0" ]
Asesjix/Identity
samples/IdentityOIDCWebApplicationSample/Areas/Identity/Controllers/IdentityServiceController.cs
5,415
C#
using System; using System.Collections.Generic; using AnimalCrossing.ViewModels; using AnimalCrossing.Models; using Windows.UI.Xaml.Controls; using System.Reactive.Linq; using Windows.Foundation; using System.Threading.Tasks; using System.Diagnostics; using Windows.UI.Xaml.Navigation; namespace AnimalCrossing.Views ...
38.131313
167
0.617748
[ "MIT" ]
KevinZjYang/AnimalCrossing
AnimalCrossing/Views/LittleAnimalPage.xaml.cs
3,799
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace LR.Controllers { public class HomeController : Controller { public ActionResult Index() { var matcher = Worker.MatchingWorker.Instance; return View(); ...
18.666667
57
0.636905
[ "MIT" ]
harmoniemand/lunch-roulette
LR-2-0/LR/Controllers/HomeController.cs
338
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Runtime.InteropServices; using System.Security.Cryptography.X509Certificates; using System.Threading.Tasks; using Azure.Functions.Cli.Actions.HostActions.We...
44.523404
253
0.577463
[ "MIT" ]
TylerLeonhardt/azure-functions-core-tools
src/Azure.Functions.Cli/Actions/HostActions/StartHostAction.cs
20,926
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright company="Chocolatey" file="ApplicationParameters.cs"> // Copyright 2014 - Present Rob Reynolds, the maintainers of Chocolatey, and RealDimensions Software, LLC // </copyright> // ...
46.230769
121
0.425957
[ "Apache-2.0" ]
Rajchowdhury420/ChocolateyGUI
Source/ChocolateyGui.Common/ApplicationParameters.cs
603
C#
using AspNetDependencyInjection; using AspNetDependencyInjection.Configuration; using AspNetDependencyInjection.Services; using Microsoft.Extensions.DependencyInjection; using SampleWebApplication; using WebActivatorEx; [assembly: PreApplicationStartMethod( typeof( SampleApplicationStart ), methodName: nameof( Sam...
41.836066
241
0.773903
[ "MIT" ]
Jehoel/AspNetDependencyInjection
SampleWebApplication/App_Start/SampleApplicationStart.cs
2,552
C#
// <auto-generated /> using System; using Forum1.Models.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Forum1.Migrations { [DbContext(typeof(Applicat...
37.711921
125
0.4694
[ "MIT" ]
Hugo-Oliveira-RDO11/Forums
Forum1/Migrations/ApplicationDataContextModelSnapshot.cs
11,391
C#
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("HostTools")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly...
36.777778
82
0.743202
[ "Apache-2.0" ]
ratoy/HostManager
HostTools/Properties/AssemblyInfo.cs
995
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 Microsoft.EntityFrameworkCore.Storage; using Microsoft.EntityFrameworkCore.Storage.Internal; using Microsoft.EntityFrameworkCore.Tes...
38.330645
115
0.67389
[ "Apache-2.0" ]
vadzimpm/EntityFramework
test/EFCore.Relational.Tests/Migrations/MigrationCommandListBuilderTest.cs
4,753
C#
using Api.Data; using Api.Helpers; using Api.Interfaces; using Api.Services; using Api.SignalR; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System; namespace Api.Extensions { public static class ApplicationServiceExtensions ...
44.8125
172
0.600767
[ "MIT" ]
FelipeAMendes/dattingapp
Api/Extensions/ApplicationServiceExtensions.cs
2,868
C#
public class Person { private string firstName; private string lastName; private int age; public Person(string firstName, string lastName, int age) { this.FirstName = firstName; this.LastName = lastName; this.Age = age; } public string FirstName { get { return this...
30.181818
94
0.628012
[ "Unlicense" ]
GoldenR1618/SoftUni-Projects
06.C#_OOP_Basics/02.ENCAPSULATION/LAB/01. Persons/Person.cs
666
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.Net.Sockets; using System.Runtime.InteropServices; internal static partial class Interop { internal static partial class Sys { [GeneratedD...
49
170
0.779221
[ "MIT" ]
333fred/runtime
src/libraries/Common/src/Interop/Unix/System.Native/Interop.GetSockOpt.cs
1,078
C#
using Microsoft.AspNetCore.Http; using MyRaspNet.DataAccess; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; namespace MyRaspNet.Models { public class UserContext { private readonly HttpContext context; private readonly myRaspNetContext db; pu...
34.92053
130
0.506353
[ "MIT" ]
anwarminarso/MyRaspNet
MyRaspNet/Models/UserContext.cs
5,275
C#
using System; using System.Threading.Tasks; using JackIsBack.Common; using Tweetinvi.Events; namespace JackIsBack.Console { /// <summary> /// This client application will subscribe to a Tweet Stream within /// JackIsBack.Common to display within the console. /// </summary> public class Program ...
28.069767
99
0.558409
[ "Apache-2.0" ]
colemanwhaylon/jackisback
JackIsBack.Console/Program.cs
1,209
C#
namespace EA.Iws.RequestHandlers.ImportNotification { using System; using System.Threading.Tasks; using Domain.ImportNotification; using Prsd.Core.Mediator; using Requests.ImportNotification; internal class GetImportNotificationIdByNumberHandler : IRequestHandler<GetImportNotificationIdByNumbe...
31.541667
115
0.731836
[ "Unlicense" ]
DEFRA/prsd-iws
src/EA.Iws.RequestHandlers/ImportNotification/GetImportNotificationIdByNumberHandler.cs
759
C#
using System.Collections.Generic; using tcl.MetadataManageTool.Models; using tcl.RepositoryExtend; namespace tcl.MetadataManageTool.IRepositories { #region //分组仓储接口,不用分组可以直接删除 public partial interface ISchoolGetPageListRepository { /// <summary> /// 根据学校id获取学校信息 /// </summary> ...
24.122449
64
0.537225
[ "MIT" ]
tcltom/aspnetboilerplate
tcl.MetadataManageTool/tcl.MetadataManageTool.Core/IRepositories/Group/ISchoolGroupRepository.cs
2,520
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Naruto.Id4.MongoDB; namespac...
34.732143
122
0.592802
[ "MIT" ]
zhanghaiboshiwo/Naruto.Id4.MongoDB
test/Naruto.Test.Id4Mongodb/Startup.cs
1,945
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://w...
36.105263
87
0.586735
[ "MIT" ]
Andrean/azure-powershell
src/StackAdmin/Network/Commands.Network/Models/PSPacketCaptureFilter.cs
1,337
C#
using Curiosity.Configuration; namespace Curiosity.Tools.Web { /// <summary> /// Interface for web app configuration that has public domain which differs from hosting url. /// </summary> public interface IWebAppConfigurationWithPublicDomain : ILoggableOptions, IValidatableOptions { /// <sum...
29.733333
98
0.665919
[ "MIT" ]
siisltd/Curiosity.Utils
src/Curiosity.Tools.Web/IWebAppConfigurationWithPublicDomain.cs
446
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 11.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
26.757143
145
0.540043
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/Equal/Complete2__objs/DateOnly/NullableDateOnly/TestSet_504__param__02__VN.cs
3,748
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Diagnostics.Runtime; using ClrDiagnostics.Extensions; using ClrDiagnostics.Models; namespace ClrDiagnostics { public partial class DiagnosticAnalyzer { public IEnumerable<(ClrStaticField field, ClrObject obj)> GetStatic...
41.791667
145
0.585743
[ "MIT" ]
peters/PowerDiagnostics
DiagExperimentsSolution/ClrDiagnostics/DiagnosticAnalyzer.Statics.cs
2,008
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 QEditor { public partial class FormNumberInput : Form { public FormNumberInput...
25.596774
68
0.449905
[ "MIT" ]
kapuusagi/MZPlugins
tools/QuestEditor/FormNumberInput.cs
1,589
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Routing.Patterns; using Microsoft.Extensions.DependencyInjection; using Microsoft.Net.Http.Headers; using static Microsoft...
33.319899
122
0.648397
[ "MIT" ]
Aezura/aspnetcore
src/Http/Routing/test/UnitTests/Matching/HttpMethodMatcherPolicyIntegrationTestBase.cs
13,228
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/msctf.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System;...
35.901961
145
0.694156
[ "MIT" ]
reflectronic/terrafx.interop.windows
tests/Interop/Windows/Windows/um/msctf/ITfReadOnlyPropertyTests.cs
1,833
C#
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace SlackCoffee.Models { public abstract class OrderBase { [Key] public string Id { get; set; } [ForeignKey("users")] ...
27.643678
119
0.544283
[ "MIT" ]
danpat04/SlackCoffee
SlackCoffee/Models/Order.cs
2,435
C#
using Microsoft.EntityFrameworkCore.Migrations; using System; namespace GymHub.Data.Migrations { public partial class Addproductscommentslikes : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<DateTime>( name:...
43.223529
111
0.531029
[ "MIT" ]
rosenkolev1/GymHub-SoftUni-CSharp-WebProject
GymHub/GymHub.Data/Migrations/20201117103057_Add products comments likes.cs
3,676
C#
using Elastic.Xunit.XunitPlumbing; using Nest; using System.ComponentModel; namespace Examples.Eql { public class SearchPage : ExampleBase { [U(Skip = "Example not implemented")] [Description("eql/search.asciidoc:17")] public void Line17() { // tag::423f422b18fea34486a77579b2b12d72[] var response0 = ne...
39.278846
377
0.55765
[ "Apache-2.0" ]
adamralph/elasticsearch-net
tests/Examples/Eql/SearchPage.cs
4,085
C#
/** * ************************************************* * Copyright (c) 2019, Grindrod Bank Limited * License MIT: https://opensource.org/licenses/MIT * ************************************************** */ using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using za.co...
44.535398
238
0.629906
[ "MIT" ]
paulvancoller/A3S
src/za.co.grindrodbank.a3s/Services/FunctionService.cs
10,065
C#
using System; using System.Collections.Generic; using System.Text; namespace datastructures.Classes { public class Node { public int Value { get; set; } public Node Next { get; set; } } }
15.642857
38
0.639269
[ "MIT" ]
VergilPrime/data-structures
data-structures/Classes/Node.cs
221
C#