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 ISP.Good.Code.Interfaces; namespace ISP.Good.Code.Machines { public class OldFashionedPrinter : IPrint { /// <summary> /// Old fashioned printer just prints, no other implements are required. /// </summary> public void Print() { throw new System.NotIm...
22.4375
80
0.593315
[ "Unlicense" ]
yigityuksel/Fundamentals
ISP.Good.Code/Machines/OldFashionedPrinter.cs
361
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 Xunit; namespace Microsoft.AspNetCore.Mvc.ModelBinding.Test { public class ModelBindingResultTest { [Fact] public void Su...
24.861111
111
0.569832
[ "Apache-2.0" ]
belav/aspnetcore
src/Mvc/Mvc.Core/test/ModelBinding/ModelBindingResultTest.cs
895
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Microsoft Cognitive Services (formerly Project Oxford): https://www.microsoft.com/cognitive-services // // Microsoft Cognitive Services (formerly Project Oxford) GitHub: // https://github.com/Microsoft/Cognitive-Video-Windo...
37.406977
103
0.676096
[ "MIT" ]
Bhaskers-Blu-Org2/Cognitive-Video-Windows
Sample-WPF/Helpers.cs
3,219
C#
using System; using System.Collections; using System.IO; using System.Net.Sockets; using System.Threading.Tasks; namespace LMP.MasterServer.Http { public class HttpProcessor { public static string JQueryCallBack; public TcpClient Socket; public string HttpMethod; publ...
29.057971
151
0.464339
[ "MIT" ]
Badca52/LunaMultiplayer
LMP.MasterServer/Http/HttpProcessor.cs
4,012
C#
namespace SerialPort { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
43.271654
108
0.550086
[ "MIT" ]
moamenibrahim/Orion-GUI
SerialPort/SerialPort/SerialPort/Form1.Designer.cs
10,993
C#
namespace ProjectSnowshoes { partial class CanWeMakeAHoverFormLikeThisIsThisLegal { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
42.318841
137
0.585274
[ "Apache-2.0" ]
IndigoBox/ProjectSnowshoes
ProjectSnowshoes/CanWeMakeAHoverFormLikeThisIsThisLegal.Designer.cs
2,922
C#
/* * * (c) Copyright Ascensio System Limited 2010-2021 * * 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 appli...
36.437673
216
0.50783
[ "Apache-2.0" ]
jeanluctritsch/CommunityServer
module/ASC.Files.Thirdparty/GoogleDrive/GoogleDriveProviderInfo.cs
13,154
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace AppAdvisory.MathGame { public class gotoMM18 :ButtonHelper { public GameObject level; override public void OnClicked() { menuManager.backtonormal(); Destroy(level); menuManager.GoToMM18(); RemoveListener(); } }...
17
36
0.749226
[ "MIT" ]
MrD005/Math-Game
BODMAS/Assets/MathGame/Scripts/Multiplication/GoTOLevel/gotoMM18.cs
325
C#
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Azure.Devices.Edge.Hub.Core { using System; using System.Linq; using System.Threading.Tasks; using Microsoft.Azure.Devices.Edge.Hub.Core.Device; using Microsoft.Azure.Devices.Edge.Hub.Core.Identity; using Microsoft.Azure.Devic...
52.69145
241
0.645971
[ "MIT" ]
chzawist/iotedge
edge-hub/core/src/Microsoft.Azure.Devices.Edge.Hub.Core/DeviceScopeAuthenticator.cs
14,174
C#
namespace Examples.Issues.ComplexGenerics { /* Written in response to a question about how to handle multiple "packet" subclasses; * may as well keep it as a test... * */ using ProtoBuf; using System.Data; using NUnit.Framework; using System; using System.ComponentModel; using System.IO; ...
29.16875
86
0.534176
[ "MIT" ]
Bhaskers-Blu-Org2/vsminecraft
dependencies/protobuf-net/Examples/Issues/ComplexGenerics/ComplexGenericExample.cs
4,669
C#
using System; using Covid19Radar.Api.Common; using Covid19Radar.Api.Models; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Covid19Radar.Api.Tests.Common.Models { [TestClass] [TestCategory("Models")] public class DiagnosisModelTest { [TestMethod] public void CreateMethod(...
21.483871
56
0.596096
[ "MPL-2.0-no-copyleft-exception", "MPL-2.0", "Apache-2.0" ]
178inaba/Covid19Radar
src/Covid19Radar.Api.Tests/Common/Models/DiagnosisModelTest.cs
668
C#
using Bluegiga; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using System; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace BGLibExt.Samples.MiTemperatureHumidityMonitor { internal class Program { private readonly B...
47.307692
167
0.649051
[ "MIT" ]
BGLibExt/BGLibExt.NET
BGLibExt.Samples.MiTemperatureHumidityMonitor/Program.cs
3,693
C#
namespace MbDotNet.Models.Responses.Fields { public abstract class ResponseFields { } }
14.428571
43
0.70297
[ "MIT" ]
DraKOCDS/MbDotNet
MbDotNet/Models/Responses/Fields/ResponseFields.cs
103
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. // 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 fi...
36.072289
165
0.650301
[ "Apache-2.0" ]
HaloFour/roslyn
src/Debugging/Roslyn.Reflection.Metadata.Decoding/MethodSignature.cs
2,994
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using Azure.Core; namespace Azure.ResourceManager.DesktopVirtualization.Models { /// <summary> ApplicationGroup properties that can be patched....
45.590909
225
0.671984
[ "MIT" ]
maincotech/azure-sdk-for-net
sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/ApplicationGroupPatch.cs
2,006
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; namespace System.Reflection { public static class RuntimeReflect...
37.157303
143
0.649531
[ "MIT" ]
guhuro/coreclr
src/mscorlib/src/System/Reflection/RuntimeReflectionExtensions.cs
3,307
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net.Mail; namespace ComposingMethods.QuickWin { public class ModelState { public static void AddModelError(string key, string errorMessage) { } } public class QuickWin { private readonly SmtpCl...
30.34058
154
0.465488
[ "MIT" ]
fabiogalante/refactoring-c-sharp
1ComposingMethods/00. Quick Win/QuickWin.cs
4,189
C#
using Pokloni.ba.WinUI.Korisnici; using Pokloni.ba.WinUI.Proizvodi; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Pokloni.ba.WinUI { static class Program { [STAThread] static void Main() { ...
22.136364
65
0.669405
[ "MIT" ]
tarikcosovic/Cross-Platform-Application-Pokloni.ba-
Pokloni.ba.WinUI/Program.cs
489
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.Reflection; namespace Microsoft.Extensions.DependencyInjection.ServiceLookup { internal class GenericService : IGenericS...
32.029412
119
0.69146
[ "Apache-2.0" ]
Wodsoft/DependencyInjection
src/Microsoft.Extensions.DependencyInjection/ServiceLookup/GenericService.cs
1,089
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System.Linq; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authorization; namespace Api.Controllers { [Route("identity...
28.4
107
0.681338
[ "Apache-2.0" ]
samlu91/IdentityServer4.Samples
Quickstarts/1_ClientCredentials/Api/Controllers/IdentityController.cs
570
C#
/* * Copyright (C) Sony Computer Entertainment America LLC. * All Rights Reserved. */ using System; using System.ComponentModel.Composition; using System.Windows.Forms; using Sce.Atf; using Sce.Atf.Applications; using Sce.Sled.Shared; namespace Sce.Sled.Lua { [Export(typeof(IInitializable))] [Export(ty...
26.60177
110
0.608117
[ "Apache-2.0" ]
MasterScott/SLED
tool/SledLuaLanguagePlugin/SledLuaLuaVersionService.cs
3,006
C#
bool isSkewSymmetricMatrix(int[][] matrix) { for (int i = 0; matrix.Length > i; ++i) for (int j = 0; matrix[0].Length > j; ++j) if (matrix[i][j] != -matrix[j][i]) return false; return true; }
29.5
50
0.5
[ "MIT" ]
gurfinkel/codeSignal
tournaments/isSkewSymmetricMatrix/isSkewSymmetricMatrix.cs
236
C#
/* * Copyright (c) InWorldz Halcyon Developers * Copyright (c) Contributors, http://opensimulator.org/ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above c...
51.147287
137
0.651864
[ "BSD-3-Clause" ]
ConnectionMaster/halcyon
OpenSim/Framework/NetworkServersInfo.cs
6,598
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using DSharpPlus.Entities; namespace DSharpPlus.SlashCommands { /// <summary> /// All choice providers must inherit from this interface. /// </summary> public interface IChoiceProvider { /// <summary> ///...
24.631579
76
0.675214
[ "MIT" ]
DSharpPlus/DSharpPlus
DSharpPlus.SlashCommands/IChoiceProvider.cs
468
C#
/** * Puma - CityEngine Plugin for Rhinoceros * * See https://esri.github.io/cityengine/puma for documentation. * * Copyright (c) 2021 Esri R&D Center Zurich * * 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 ...
32.353383
170
0.611201
[ "Apache-2.0" ]
Esri/puma
PumaGrasshopper/ReportAttribute.cs
4,305
C#
using System.Threading.Tasks; using Qmmands; namespace Volte.Commands { public abstract class ActionResult : CommandResult { public override bool IsSuccessful => true; public abstract ValueTask<ResultCompletionData> ExecuteResultAsync(VolteContext ctx); public static implicit operator...
26.866667
93
0.717122
[ "MIT" ]
BoredManCodes/Bolte
src/Commands/Results/ActionResult.cs
403
C#
using System; using System.Diagnostics; namespace Bistrotic.Application.Commands { [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")] [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] public class CommandHandlerAttribute : Attribute { public Type? Command { get; set; } ...
28.785714
77
0.694789
[ "MIT" ]
Bistrotic/Bistrotic
src/Core/Application/Bistrotic.Application.Abstractions/Commands/CommandHandlerAttribute.cs
405
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Practices.Composite.Presentation.Events; using Microsoft.Practices.Composite.Presentation.Commands; using System.Windows.Data; using System.ComponentModel; using System.Windows; namespace EclipsePOS.WPF.SystemManag...
33.402402
231
0.608559
[ "MIT" ]
naushard/EclipsePOS
V.1.0.8/EclipsePOS.WPF.SystemManager/EclipsePOS.WPF.SystemManager.PosSetup/Views/Customer/CustomerViewPresenter.cs
11,125
C#
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace myBOOKs.Droid { [Activity(Label = "myBOOKs", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.Screen...
41
270
0.722099
[ "MIT" ]
felipe-felizardo/myBOOKs
myBOOKs/myBOOKs.Android/MainActivity.cs
1,355
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #nullable disable using System; using System.Diagnostics; using Microsoft.AspNetCore.Razor.Language; using Microsoft.AspNetCore.Razor.Language.Intermediate; namespace Microsoft.As...
36.390476
128
0.651924
[ "MIT" ]
dotnet/razor-compiler
src/Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/src/AssemblyAttributeInjectionPass.cs
3,823
C#
using Aow.Infrastructure.IRepositories; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Aow.Services.UserPayment { [Service] public class GetUserPayments { private IRepositoryWrapper _repoWrapper; public GetUserPayments(IRepository...
38.098592
139
0.572643
[ "Apache-2.0" ]
dpk2789/aow-new-api
Aow.Services/UserPayment/GetUserPayments.cs
2,707
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...
32
110
0.63742
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/AuditManager/Generated/Model/BatchAssociateAssessmentReportEvidenceResponse.cs
2,496
C#
using Millistream.Streaming.DataTypes.Parsing; using System; using System.Text; namespace Millistream.Streaming.DataTypes { /// <summary> /// Represents a semi-annual calendar year. /// </summary> public readonly struct SemiAnnual : IComparable, IComparable<SemiAnnual>, IEquatable<SemiAnnual> { ...
57.166667
295
0.627165
[ "MIT" ]
mgnsm/Millistream.NET
Source/Millistream.Streaming.DataTypes/SemiAnnual.cs
11,664
C#
namespace TelegramClient.UnitTests.Framework { using Autofac; public abstract class TestBase { public ContainerBuilder ContainerBuilder { get; } = new ContainerBuilder(); private IContainer _container; public IContainer Container => _container ?? (_container = ContainerBu...
28.75
94
0.675362
[ "MIT" ]
a-rahmani1998/TelegramClient
tests/TelegramClient.UnitTests/Framework/TestBase.cs
347
C#
namespace Win.TiendaElectronicos { partial class FormReporteVentas { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summa...
39.904762
108
0.616945
[ "MIT" ]
Daniel-LM94/Ventas
1.6 - Tienda Electronicos/TiendaElectronicos/Win.TiendaElectronicos/FormReporteVentas.Designer.cs
2,516
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
38.440299
163
0.60629
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Route53/Generated/Model/Internal/MarshallTransformations/GetHealthCheckResponseUnmarshaller.cs
5,151
C#
namespace Atlas.Roleplay.Library.Events { public enum EventType { Send, Request, Response } }
14.333333
39
0.565891
[ "MIT" ]
Local9/Atlas
Atlas.Roleplay.Library/Events/EventType.cs
129
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
43.914286
165
0.607027
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/WorkbookFunctionsFixedRequestBuilder.cs
3,074
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 regenerat...
25.956098
118
0.53411
[ "Apache-2.0" ]
stoolball-england/stoolball-org-uk
Stoolball.Web/Views/EditFriendlyMatch.generated.cs
5,323
C#
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // //********************************************************* using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRunti...
43.045977
160
0.495594
[ "MIT" ]
mfloresn90/CSharpSources
USB CDC Control sample/C#/Scenario2_Read.xaml.cs
14,982
C#
using Abp.Events.Bus; using System; using System.Collections.Generic; using System.Text; namespace ABPsinglePageProj1.Events { public class EmployeeCompletedEventData:EventData { public int empId { get; set; } public string empname { get; set; } public DateTime empcreationtime { get; se...
23.8125
53
0.67979
[ "MIT" ]
Heba-Ahmed-Magdy/ABPSPProj1
aspnet-core/src/ABPsinglePageProj1.Core/Events/EmployeeCompletedEventData.cs
383
C#
using System; namespace ReactiveUI.Routing.Presentation { public abstract class Presenter<TRequest> : IPresenterFor<TRequest> where TRequest : PresenterRequest { public IObservable<PresenterResponse> Present(PresenterRequest request) { if (request == null) throw new Argumen...
37.055556
154
0.70015
[ "MIT" ]
KallynGowdy/ReactiveUI.Routing
src/ReactiveUI.Routing.Core/Presentation/Presenter.cs
669
C#
#pragma checksum "..\..\..\..\..\PropertyGrid\Implementation\Editors\CollectionEditor.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9D9E058CDB7BD654B60258AF3E84DF9D4E36C50505CFB0A2FC14C5EAF3B900DA" //------------------------------------------------------------------------------ // <auto-generated> // Il codice è...
41.613636
200
0.660022
[ "BSD-2-Clause" ]
3DSG-dev/CHIMERA-obj-importer
ExtendedWPFToolkit/Xceed.Wpf.Toolkit/obj/Debug/PropertyGrid/Implementation/Editors/CollectionEditor.g.cs
3,665
C#
using SkiaSharp; using System; namespace SkiaRate { public partial class RatingView { #region properties /// <summary> /// Gets or sets the spacing between two rating elements /// </summary> public float Spacing { get; set; } = 8; /// <summary> /// Gets...
35.137725
188
0.492161
[ "MIT" ]
clovisnicolas/SkiaRate
Sources/SkiaRate.Shared/RatingView.cs
5,870
C#
using Newtonsoft.Json; namespace FreshdeskApi.Client.Contacts.Models { public class Contact : ContactBase { /// <summary> /// Additional companies associated with the contact /// /// Note that this field is only returned when getting a single /// contact, not when listi...
27.588235
71
0.622601
[ "MIT" ]
knippers/FreshdeskApiDotnet
FreshdeskApi.Client/Contacts/Models/Contact.cs
471
C#
using System; using System.Collections.Generic; using System.Text; namespace Catapult.Protocol { public class NetworkProtocolMarker : IProtocolMarker { } }
15.454545
56
0.747059
[ "MIT" ]
klukule/FallGuys.Protocol
FallGuys.Protocol/Protocol/NetworkProtocolMarker.cs
172
C#
namespace RecyclingStation.WasteDisposal.Interfaces { /// <summary> /// Interface that Garbage objects should implement. /// </summary> public interface IWaste { /// <summary> /// The name of the waste product. /// </summary> string Name { get; } /// <summar...
26.12
91
0.551302
[ "MIT" ]
mayapeneva/C-Sharp-OOP-Advanced
Exams.NET_Framework/RecyclingStation/RecyclingStation/RecyclingStation/WasteDisposal/Interfaces/IWaste.cs
655
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using Azure.Core; namespace Azure.Monitor.Query { /// <summary> /// Provides the client configuration options for connecting to Azure Monitor Logs service. /// </summary> public class LogsQuer...
31.016129
160
0.582423
[ "MIT" ]
adminnz/azure-sdk-for-net
sdk/monitor/Azure.Monitor.Query/src/LogsQueryClientOptions.cs
1,923
C#
//------------------------------------------------------------------------------ // <copyright file="MembershipPasswordCompatibilityMode.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //--------------------------------------------------------------------------...
34.214286
80
0.463466
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/xsp/system/ApplicationServices/Configuration/MembershipPasswordCompatibilityMode.cs
479
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("Gr...
37.810811
84
0.744103
[ "Apache-2.0" ]
hotjk/ace
Grit.Sequence/Properties/AssemblyInfo.cs
1,402
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
37.206897
153
0.585728
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IWorkbookFunctionsRightRequestBuilder.cs
1,079
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WebApiClient; using WebApiClient.Attributes; using WebApiClient.Contexts; namespace Demo { /// <summary> /// 记录日志 /// </summary> class Logger : ApiActionFilterAttribute { ...
30.46875
135
0.664615
[ "MIT" ]
wanglong/WebApiClient
Demo/Logger.cs
989
C#
using System; using System.ComponentModel; using Avalonia.Controls; using Avalonia.Diagnostics.Models; using Avalonia.Input; using Avalonia.Threading; using Avalonia.VisualTree; namespace Avalonia.Diagnostics.ViewModels { internal class MainViewModel : ViewModelBase, IDisposable { private readonly Top...
31.816901
99
0.544489
[ "MIT" ]
ShadowsInRain/Avalonia
src/Avalonia.Diagnostics/Diagnostics/ViewModels/MainViewModel.cs
6,779
C#
using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using OrchardCore.DisplayManagement.Handlers; namespace OrchardCore.DisplayManagement.Descriptors { public interface IShapeTableManager { ShapeTable GetShapeTable(string themeId); } public interface IShapeTableProvid...
35.830769
163
0.68012
[ "BSD-3-Clause" ]
NuxeeStars/My.First.Orchard.Shop
src/OrchardCore/OrchardCore.DisplayManagement/Descriptors/Interfaces.cs
2,329
C#
// Copyright (c) 2019 DHGMS Solutions and Contributors. All rights reserved. // This file is licensed to you under the MIT license. // See the LICENSE file in the project root for full license information. using Dhgms.GripeWithRoslyn.Analyzer.CodeCracker.Extensions; using Microsoft.CodeAnalysis; using Microsoft.CodeA...
41.425532
120
0.70981
[ "MIT" ]
DHGMS-Solutions/GripeWithRoslyn
src/Dhgms.GripeWithRoslyn.Analyzer/Analyzers/ReactiveUi/ViewModelClassShouldInheritReactiveObjectAnalyzer.cs
1,949
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Cosm...
49.671233
243
0.767512
[ "MIT" ]
AME-Redmond/azure-sdk-for-net
sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/CassandraResourcesMigrateCassandraKeyspaceToManualThroughputOperation.cs
3,626
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.Globalization; using System.Diagnostics; using Microsoft.AspNetCore.Components.Rendering; ...
36.311558
111
0.565873
[ "Apache-2.0" ]
1n5an1ty/aspnetcore
src/Components/Web/src/Routing/NavLink.cs
7,226
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
29.232558
106
0.628481
[ "ECL-2.0", "Apache-2.0" ]
EladGabay/pulumi-oci
sdk/dotnet/DatabaseManagement/Outputs/ManagedDatabasesChangeDatabaseParameterCredentials.cs
1,257
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. namespace Microsoft.EntityFrameworkCore.Metadata { /// <summary> /// Names for well-known model annotations. Applications should not use the...
42.145161
139
0.622273
[ "Apache-2.0" ]
Wrank/EntityFrameworkCore
src/EFCore/Metadata/CoreAnnotationNames.cs
5,226
C#
using System; using System.Collections.Generic; using System.Data; using System.Configuration; using System.Collections; using System.IO; using System.Reflection; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Security; using System.Web.Services.Description; using System.Web...
33.946457
206
0.476109
[ "MIT" ]
harder/GraffitiCMS
src/Graffiti.Web/graffiti-admin/site-options/utilities/FileBrowser.ascx.cs
21,556
C#
namespace ForwardMiddleware.ApiConfig { using System.Collections.Generic; using System.Threading.Tasks; /// <summary> /// API config handler. /// </summary> public interface IApiConfigHandler { /// <summary> /// Gets the apis async. /// </summary> /// <retur...
22.333333
46
0.584577
[ "MIT" ]
catcherwong-archive/ForwardMiddleware
ForwardMiddleware/ApiConfig/IApiConfigHandler.cs
404
C#
using Android.Support.V4.Media.Session; using MediaManager.Volume; namespace MediaManager.Platforms.Android { public class VolumeManager : IVolumeManager //VolumeProviderCompat.Callback { private MediaManagerImplementation _mediaManagerImplementation; private MediaControllerCompat _mediaContro...
29.285714
122
0.568902
[ "MIT" ]
brminnick/XamarinMediaManager
MediaManager/Platforms/Android/Volume/VolumeManager.cs
1,642
C#
/* Copyright (c) 2015 Ki 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, publish, distribute, sublic...
26.669951
104
0.67307
[ "MIT" ]
AraHaan/ILSpy
ILSpy.BamlDecompiler/Rewrite/MarkupExtensionRewritePass.cs
5,416
C#
using StoryLine.Contracts; namespace StoryLine.Selenium.Actions { public class Navigate : IActionBuilder { private string _url; public Navigate Url(string url) { _url = url; return this; } public IAction Build() { return ne...
16.454545
44
0.535912
[ "BSD-3-Clause" ]
DiamondDragon/StoryLine.Selenium
StoryLine.Selenium/Actions/Navigate.cs
364
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class resolution : MonoBehaviour { // Use this for initialization void Start () { Screen.SetResolution(1280, 720, true); } }
15.466667
46
0.706897
[ "MIT" ]
figgyfunk/awkward_sim
Assets/Scripts/resolution.cs
234
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using JX.Core; using JX.Core.Entity; namespace JX.Core { /// <summary> /// 数据库表:U_Award 的仓储接口. /// </summary> public partial interface IU_AwardRepositoryADO : IRepositoryADO<U_Award> { /// <summary> /// 通过主键删除 ...
20.702703
73
0.643603
[ "Apache-2.0" ]
lixiong24/IPS2.1
CodeSmith/output/IRepositoriesADO/IU_AwardRepositoryADO.cs
876
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.11
109
0.645726
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/ElastiCache/Generated/Model/FailoverGlobalReplicationGroupRequest.cs
3,311
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
47.236842
277
0.728691
[ "ECL-2.0", "Apache-2.0" ]
chivandikwa/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementNotStatementStatementNotStatementStatementGeoMatchStatementGetArgs.cs
1,795
C#
using DataStructures; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DataStructuresTests { [TestClass] public class DoublyLinkedListTests { [TestMethod] public void InitalizeEmptyTest() { DoublyLinkedList<int> ints = new DoublyLinkedList<int>(); ...
26.830357
69
0.468885
[ "CC0-1.0" ]
GabrielGrigore17/ADS-in-CSharp
ADS1/DataStructures/DataStructuresTests/DoublyLinkedListTests.cs
3,005
C#
using Content.Shared.Chat; using Robust.Shared.Log; using Robust.Shared.Maths; namespace Content.Client.Chat { public class StoredChatMessage { // TODO Make me reflected with respect to MsgChatMessage /// <summary> /// Client's own copies of chat messages used in filtering locally ...
29.153846
97
0.560686
[ "MIT" ]
A-Box-12/space-station-14
Content.Client/Chat/StoredChatMessage.cs
1,516
C#
using System; using System.Collections.Generic; using System.Text; namespace MxNet.GluonTS.Dataset { class ProcessTimeSeriesField { } }
13.636364
33
0.733333
[ "Apache-2.0" ]
AnshMittal1811/MxNet.Sharp
src/MxNet.GluonTS/Dataset/ProcessTimeSeriesField.cs
152
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; public class SnakeBody : NetworkBehaviour { public GameObject forwardSnakeBody; public float speed; public bool onGround; public GameObject mySnake; public bool isShock; private Trans...
28.969388
90
0.52906
[ "MIT" ]
IdlessChaye/Unity
Game/SnakeBoom/SnakeBoom/Assets/Scripts/SnakeBody.cs
2,869
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace TatliSozlukProject { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}....
24.416667
99
0.59215
[ "MIT" ]
alpercevizz/TatliSozlukProject
TatliSozlukProject/App_Start/RouteConfig.cs
588
C#
using BattleAxe; namespace bxl.Data { public static class Error { public static ProcedureDefinition Insert { get { return new ProcedureDefinition("bxl.Error_Insert", Connection.Value); } } } }
20
85
0.576923
[ "MIT" ]
DNCarroll/bxl
bxl/Data/Error.cs
262
C#
namespace BullOak.Test.EndToEnd.Stub.Shared.ViewingQuery { using System; public class VewingVM { public Guid ViewingId { get; set; } public string MovieName { get; set; } } }
19
57
0.631579
[ "MIT" ]
BullOak/BullOak
src/BullOak.Test.EndToEnd/Stub/Shared/ViewingQuery/VewingVM.cs
211
C#
using System; using System.Collections.Generic; using System.Linq; using Azure.Messaging.EventHubs; using Newtonsoft.Json; using Orleans.Runtime; using Orleans.Serialization; using Orleans.Streams; namespace Orleans.ServiceBus.Providers { /// <summary> /// Batch container that is delivers payload and stream po...
36.87931
195
0.628799
[ "MIT" ]
AmedeoV/orleans
src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubBatchContainer.cs
4,278
C#
using System; using Microsoft.Xna.Framework.Input; namespace Farmhand.Events.Arguments.ControlEvents { public class EventArgsKeyPressed : EventArgs { public EventArgsKeyPressed(Keys keyPressed) { KeyPressed = keyPressed; } public Keys KeyPressed { get; ...
21.625
53
0.630058
[ "MIT" ]
Entoarox/Stardew-Farmhand
Libraries/Farmhand/Events/Arguments/ControlEvents/EventArgsKeyPressed.cs
348
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; // 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. [asse...
38.578947
99
0.754434
[ "Apache-2.0" ]
hputtick/ImageProcessor
src/ImageProcessor/Properties/AssemblyInfo.cs
1,469
C#
namespace _Com_Ciurea_Seminar4_1046 { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
43.054726
174
0.564826
[ "MIT" ]
Adriana-Giol/Laborator-Programare-Aplicatii-Windows
1. Laborator/4. Seminar 4/[Com]Ciurea_Seminar4_1046/Form1.Designer.cs
8,656
C#
using Octokit.Internal; using Octokit.Reflection; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Octokit { internal static class ReflectionExtensions { public static string GetJsonFieldName(this MemberInfo memberInfo) { var mem...
31.951807
109
0.630468
[ "MIT" ]
3shape/octokit.net
Octokit/Helpers/ReflectionExtensions.cs
2,654
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Mime; using System.Text.Json; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using YogoServer.StartupManager; namespace YogoServer.ErrorHandling.Middleware { pub...
32.448718
120
0.620703
[ "MIT" ]
victorsimas/yogo-server
src/YogoServer/ErrorHandling/Middleware/ApiErrorHanlder.cs
2,531
C#
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET. // Licensed under the Apache License, Version 2.0. namespace ImageMagick { /// <summary> /// Skews the current coordinate system in the vertical direction. /// </summary> public sealed class DrawableSkewY : IDrawable, IDrawingWand { ...
29.212121
80
0.567427
[ "Apache-2.0" ]
ScriptBox99/Magick.NET
src/Magick.NET/Drawables/DrawableSkewY.cs
964
C#
using FluentValidation; namespace Ordering.Application.Features.Orders.Commands.CheckoutOrder { public class CheckoutOrderCommandValidator : AbstractValidator<CheckoutOrderCommand> { public CheckoutOrderCommandValidator() { RuleFor(p => p.UserName) .NotEmpty().With...
33.583333
92
0.610422
[ "MIT" ]
StrahinjaHT/AspnetMicroservices
src/Services/Ordering/Ordering.Application/Features/Orders/Commands/CheckoutOrder/CheckoutOrderCommandValidator.cs
808
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 may...
36.846847
119
0.677262
[ "Apache-2.0" ]
Tasteful/lucene.net
test/core/Analysis/TestStopAnalyzer.cs
4,090
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Microsoft.Bot.Builder.Dialogs { /// <summary> /// Provides context for a step in a <see cref="Waterfa...
41.080645
150
0.596781
[ "MIT" ]
Divyansh-Choudhary/BotBuilder
libraries/Microsoft.Bot.Builder.Dialogs/WaterfallStepContext.cs
5,096
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Lclb.Cllb.Interfaces { using Microsoft.Rest; using Models; using Newtonsoft.Json; using System.Colle...
44.416
364
0.574087
[ "Apache-2.0" ]
BrendanBeachBC/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/Regardingobjectidadoxioapplicationbpfv3.cs
16,656
C#
/** * ======================================================================== * Copyright (c) 2019 Karve Informatica S.L. * Licensed under the Karve License to our customers. * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS I...
36.684615
134
0.522122
[ "Apache-2.0" ]
giorgiozoppi/fleetadmiral
src/repository/GroupRepository.cs
4,771
C#
using System; using System.Collections.Generic; using System.Linq; namespace AOC1._1 { public class Day7 { private class Bag { public Bag(string name) { Name = name; Children = new Dictionary<Bag, int>(); } public...
30.790123
117
0.476945
[ "MIT" ]
QLerin/AdventOfCode
AOC1.1/Day7.cs
4,990
C#
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace MxWeiXinPF.Web.admin.diancai { publ...
27.75
84
0.464373
[ "MIT" ]
herrylau/wwzkushop
MxWeiXinPF.Web/admin/diancai/caidan_list_all.aspx.designer.cs
3,180
C#
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt. using System; using System.ComponentModel; using System.IO; using Microsoft.Win32; using Sce.Atf.Wpf.Applications; using Sce.Atf.Wpf.Controls; namespace Sce.Atf.Wpf.Models { internal sealed class SettingsLoadSaveViewModel : D...
31.311111
103
0.48687
[ "Apache-2.0" ]
HaKDMoDz/ATF
Framework/Atf.Gui.Wpf/Models/SettingsLoadSaveDialogViewModel.cs
4,096
C#
using System; using System.ComponentModel.Composition; using NuPattern.ComponentModel.Design; using NuPattern.Library.Properties; using NuPattern.Runtime; using NuPattern.Runtime.Events; namespace NuPattern.Library.Events { /// <summary> /// Exposes the event raised when any runtime component in the...
39.028777
108
0.599631
[ "Apache-2.0" ]
dbremner/nupattern
Src/Library/Source/Events/OnElementDeletingEvent.cs
5,427
C#
/* MIT License Copyright (c) 2018 Grega Mohorko 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, publish,...
27
78
0.73178
[ "MIT" ]
GregaMohorko/GM.Tools
src/GM.Tools/GM.Tools/Google/API/Maps/DistanceMatrix/Restriction.cs
1,676
C#
using System; using System.Collections.Generic; namespace Hao.Geometry { // Token: 0x0200003B RID: 59 public static class IntersectionCircle2 { // Token: 0x06000269 RID: 617 RVA: 0x0000A540 File Offset: 0x00008740 public static bool Intersects(this Circle2 circle, Circle2 other) { IntersectionCircle2Circl...
31.605634
104
0.748217
[ "Apache-2.0" ]
JieGou/mh-master
Hao.Geometry/IntersectionCircle2.cs
2,246
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
36.571429
132
0.63762
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ServiceDiscovery/Generated/Model/Internal/MarshallTransformations/TooManyTagsExceptionUnmarshaller.cs
3,328
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; using CycleCycleCycle.Models; namespace CycleCycleCycle.Services.RouteFileCreator { public interface IRouteFileCreator { XDocument CreateRoute(Route route, out string filename); } }
20.866667
64
0.769968
[ "MIT" ]
JamesRandall/CycleCycleCycle.com
CycleCycleCycle/Services/RouteFileCreator/IRouteFileCreator.cs
315
C#
using MongoDB.Driver; using System; using System.Collections.Generic; using System.Text; namespace ProgramPet.Repository { public class conection { public IMongoDatabase startconection() { var client = new MongoClient(""); var database = client.GetDatabase("developersd...
18.75
64
0.626667
[ "MIT" ]
gustavoguerra/Pet
ProgramPet/ProgramPet.Repository/conection.cs
377
C#
#region License /* * HttpRequestHeader.cs * * This code is derived from System.Net.HttpRequestHeader.cs of Mono * (http://www.mono-project.com). * * The MIT License * * Copyright (c) 2005 Novell, Inc. (http://www.novell.com) * Copyright (c) 2014 sta.blockhead * * Permission is hereby granted, free of charge,...
27.008547
117
0.608228
[ "MIT" ]
n30np14gu3/crystal
crystal/network/websockets/Net/HttpRequestHeader.cs
6,320
C#
using System; namespace _07ConcatNames { class Program { static void Main(string[] args) { string firstName = Console.ReadLine(); string secondName = Console.ReadLine(); string delimiter = Console.ReadLine(); string result = firstName + delimite...
21.833333
63
0.56743
[ "MIT" ]
kalintsenkov/SoftUni-Software-Engineering
CSharp-Technology-Fundamentals/Homeworks-And-Labs/02DataTypesLab/07ConcatNames/Program.cs
395
C#
// // Copyright (c) 2004-2021 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of s...
39.436893
127
0.654357
[ "BSD-3-Clause" ]
304NotModified/NLog
src/NLog/Internal/FileAppenders/ICreateFileParameters.cs
4,062
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace YoloCutomTrainModel.UnitTest { [TestClass] public class DetectHinhNguoi { [TestMethod] public async Task Run() { }...
15.714286
52
0.681818
[ "MIT" ]
badpaybad/darknet-yolo-dataset-creator
YoloCutomTrainModel.UnitTest/DetectHinhNguoi.cs
332
C#