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 Timetabling.Internal.Specialized; namespace Timetabling.Internal.Constraints { public class DifferentRoom : RoomConstraint { public DifferentRoom(int id, bool required, int penalty, int[] classes) : base(id, required, penalty, classes) { } protecte...
28.794118
110
0.444331
[ "MIT" ]
adrianymeri/itc-2019
src/Timetabling.Internal/Constraints/DifferentRoom.cs
981
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Extensions.C...
39.205479
145
0.480521
[ "MIT" ]
LastExceed/osu
osu.Game/Screens/Ranking/ResultsScreen.cs
11,157
C#
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// alipay.social.forest.tree.query /// </summary> public class AlipaySocialForestTreeQueryRequest : IAlipayRequest<AlipaySocialForestTreeQueryResponse> { /...
23.463768
105
0.537986
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Request/AlipaySocialForestTreeQueryRequest.cs
3,262
C#
// ReSharper disable once CheckNamespace namespace NClient.Annotations { public class PartialUpdateOperationAttribute : OperationAttribute, IPartialUpdateOperationAttribute { public PartialUpdateOperationAttribute(string? path = null) : base(path) { } } }
24.5
103
0.721088
[ "Apache-2.0" ]
nclient/NClient
src/NClient/NClient.Annotations/Operations/PartialUpdateOperationAttribute.cs
296
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("Squ...
37.675676
84
0.748207
[ "Unlicense" ]
cartman300/Squirrel.NET
SquirrelNet31/Properties/AssemblyInfo.cs
1,397
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("07. Rabbit Hole")] [assembly: AssemblyDesc...
37.75
84
0.740986
[ "MIT" ]
pirocorp/CSharp-Fundamentals
08. Array and List Algorithms - Exercises/07. Rabbit Hole/Properties/AssemblyInfo.cs
1,362
C#
using System; using System.IO; using GameEngine.Data.Entities.Core; using GameEngine.Data.Tiles; using General.Common; using General.Encoding; namespace MapEditor.Data { public class GameBuilder { public static GameBuilder Instance { get { return Static<GameBuilder>.Value; } } public void BuildGame(Project...
23.40625
70
0.732977
[ "MIT" ]
oxysoft/PokeSharp
src/MapEditor.Data/GameBuilder.cs
751
C#
using System.Threading.Tasks; namespace SmartProfil.Services.Interfaces { public interface IFeedbacksService { Task SetRatingAsync(int productId, string userId, int rating); double GetAverageRating(int productId); } }
22.545455
70
0.725806
[ "MIT" ]
dimitarkolev00/SmartProfil
SmartProfil/Services/Interfaces/IFeedbacksService.cs
250
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 ...
38.3
94
0.691906
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/pubsub/v1/google-cloud-pubsub-v1-csharp/Google.Cloud.PubSub.V1.StandaloneSnippets/SchemaServiceClient.GetSchemaResourceNamesAsyncSnippet.g.cs
1,532
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 Xunit; namespace Microsoft.AspNetCore.Razor.Language.CodeGeneration { public class CSharpCode...
29.686192
111
0.500846
[ "Apache-2.0" ]
belav/aspnetcore
src/Razor/Microsoft.AspNetCore.Razor.Language/test/CodeGeneration/CSharpCodeWriterTest.cs
14,190
C#
namespace FantasyCritic.MySQL.Entities; internal class MasterGameYearEntity { public MasterGameYearEntity() { } public MasterGameYearEntity(MasterGameCalculatedStats masterGameStats) { MasterGameID = masterGameStats.MasterGame.MasterGameID; Year = masterGameStats.Year; Gam...
50.178295
217
0.73768
[ "MIT" ]
shawnwildermuth/FantasyCritic
src/FantasyCritic.MySQL/Entities/MasterGameYearEntity.cs
6,473
C#
/////////////////////////////////////////////////////////////////////////////////////////////// // // This File is Part of the CallButler Open Source PBX (http://www.codeplex.com/callbutler // // Copyright (c) 2005-2008, Jim Heising // All rights reserved. // // Redistribution and use in source and b...
33.675532
122
0.497236
[ "BSD-3-Clause" ]
cetin01/callbutler-in-vs2008
Common/Utilities.PluginManagement/PluginManager.cs
6,331
C#
using System; using System.Collections.Generic; namespace PizzaWebApp.Models { public class Customer { public int Userid { get; set; } public string Username { get; set; } public int Deflocationid { get; set; } public bool Haveorder { get; set; } public DateTime? Date...
32.8
88
0.61128
[ "MIT" ]
1811-nov27-net/Ivan_Alvarez_Project_1
PizzaWebApp/WebApplication1/Models/Customer.cs
658
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("NH...
37.756757
84
0.743737
[ "Apache-2.0" ]
mustafasacli/NHibSample
NHib/NHib.Factory/Properties/AssemblyInfo.cs
1,400
C#
using Amazon.JSII.Runtime.Deputy; [assembly: JsiiAssembly("@scope/jsii-calc-base", "0.21.1", "scope-jsii-calc-base-0.21.1.tgz")]
32.5
94
0.715385
[ "Apache-2.0" ]
tobli/jsii
packages/jsii-pacmak/test/expected.jsii-calc-base/dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/AssemblyInfo.cs
130
C#
/* * Ed-Fi Operational Data Store API * * The Ed-Fi ODS / API enables applications to read and write education data stored in an Ed-Fi ODS through a secure REST interface. *** > *Note: Consumers of ODS / API information should sanitize all data for display and storage. The ODS / API provides reasonable safeguards ...
46.359712
467
0.674115
[ "Apache-2.0" ]
Ed-Fi-Alliance-OSS/Roster-Starter-Kit-for-Vendors
src/EdFi.Roster.Sdk/Models.Resources/EdFiInterventionPrescriptionLearningResourceMetadataURI.cs
6,444
C#
using System.Reflection; namespace SwissILKnife { public static class ParamHelper { public static bool IsByRef(this ParameterInfo parameterInfo) => parameterInfo.ParameterType.IsByRef && !parameterInfo.IsOut; public static bool IsOutOrRef(this ParameterInfo parameterInfo) => parameterInfo.ParameterType.I...
28.210526
66
0.794776
[ "MIT" ]
SirJosh3917/SwissILKnife
src/SwissILKnife/ParamHelper.cs
538
C#
using System.Collections.Generic; namespace WomPlatform.Web.Api.OutputModels { public record SourceOutput { public string Id { get; init; } public string Name { get; init; } public string Url { get; init; } } public record SourceLoginOutput : SourceOutput { public st...
21.410714
88
0.607173
[ "MIT" ]
WOM-Platform/Registry
src/ApiServer/ApiServer/OutputModels/Source.cs
1,201
C#
namespace Pidgin { /// <summary> /// Constructor functions, extension methods and utilities for <see cref="Parser{TToken, T}"/>. /// This class is intended to be imported statically ("using static Pidgin.Parser"). /// </summary> public static partial class Parser { } /// <summary> /...
53.194444
172
0.684595
[ "MIT" ]
koliyo/Pidgin
Pidgin/Parser.cs
1,917
C#
using System; using System.Collections.Generic; using System.Text; namespace LinFu.DynamicProxy { public interface IWithTarget { object Target { get; set; } } }
15.166667
35
0.686813
[ "MIT" ]
acken/AutoTest.Net
src/AutoTest.TestRunner/Plugins/AutoTest.TestRunners.MSpec/Interfaces/IWithTarget.cs
182
C#
using Content.Shared.ActionBlocker; using Content.Shared.Hands.Components; using Content.Shared.Hands.EntitySystems; using Content.Shared.Interaction; using Content.Shared.Interaction.Events; using Content.Shared.Popups; using Content.Shared.Sound; using Content.Shared.Verbs; using Robust.Shared.Audio; using Robust.Sha...
40.087748
161
0.577624
[ "MIT" ]
EmoGarbage404/space-station-14
Content.Shared/Containers/ItemSlot/ItemSlotsSystem.cs
24,213
C#
using System; using System.IO; using System.Runtime.CompilerServices; using System.Runtime.Versioning; namespace Microsoft.Dnx.Runtime { internal static class FrameworkDefinitions { private const string NetFrameworkIdentifier = ".NETFramework"; public static bool TryPopulateFrameworkFastPath(...
173.692231
249
0.701761
[ "Apache-2.0" ]
aspnet/DNX
src/Microsoft.Dnx.Runtime/FrameworkDefinitions.cs
174,389
C#
using Newtonsoft.Json; using System.ComponentModel.DataAnnotations; namespace WePay.KnowYourCustomer.Structure { /// <summary> /// Contains the user’s address information, including region and postcode. /// </summary> public class KycAddress { [JsonIgnore] private const string Iden...
42.232143
99
0.623256
[ "MIT" ]
PointmanDev/WePay.NET
WePay.NET/KnowYourCustomer/Structure/KycAddress.cs
2,369
C#
/* * Ory APIs * * Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. * * The version of the OpenAPI document: v0.0.1-alpha.42 * Contact: support@ory.sh * Generated by: https://github.com/...
28.4125
179
0.641443
[ "Apache-2.0" ]
russelg/sdk
clients/client/dotnet/src/Ory.Client.Test/Model/ClientSelfServiceRecoveryLinkTests.cs
2,273
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel; namespace downloader { public static class ExtensionMethod { public static TResult SafeInvoke<T, TResult>(this T isi, Func<T, TResult> call) where T : ISynch...
28.645161
116
0.591216
[ "MIT" ]
aliostad/deep-learning-lang-detection
data/train/csharp/49ce1a02c4cc7f66bd6093921af2995ad36b735aExtensionMethod.cs
890
C#
// Copyright (c) Samuel Cragg. // // Licensed under the MIT license. See LICENSE file in the project root for // full license information. namespace SharpKml.Dom { using System; using SharpKml.Base; /// <summary> /// Defines a key/value pair that maps a mode /// (<see cref="Dom.StyleS...
32.111111
86
0.540369
[ "MIT" ]
D-Bullock/sharpkml
SharpKml/Dom/Styles/Pair.cs
1,736
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.Windows.Media.Animation; using Microsoft.Test.Stability.Core; namespace Microsoft.Test.Stability.Exte...
30.25
95
0.719008
[ "MIT" ]
batzen/wpf-test
src/Test/Common/Code/Microsoft/Test/Stability/Extensions/Factories/System.Windows.Media.Animation/SplineDecimalKeyFrameFactory.cs
970
C#
namespace FrameworkTest.TestService { public class ReturnModel { public int code { get; set; } public object content { get; set; } } }
19.111111
44
0.575581
[ "MIT" ]
rentianhua/surfboard
UnitTest/FrameworkTest/TestService/Models.cs
174
C#
// *********************************************************************** // Assembly : Cql.Core.Common // Author : jeremy.bell // Created : 09-14-2017 // // Last Modified By : jeremy.bell // Last Modified On : 09-14-2017 // *******************************************************************...
30.567568
83
0.475243
[ "MIT" ]
cqlcorp/cql.core
Cql.Core.Common/Types/AutocompleteItem.cs
2,262
C#
namespace DreamAITek.T001.Adapter { public class A026Adapter : A000Adapter { } }
14.285714
43
0.63
[ "MIT" ]
twoutlook/BlazorServerDbContextExample
BlazorServerEFCoreSample/Inventory/A000/Adapters/auto/A026Adapter.cs
102
C#
using NHapi.Base.Parser; using NHapi.Base; using NHapi.Base.Log; using System; using System.Collections.Generic; using NHapi.Model.V281.Segment; using NHapi.Model.V281.Datatype; using NHapi.Base.Model; namespace NHapi.Model.V281.Group { ///<summary> ///Represents the ORL_O34_SPECIMEN_OBSERVATION Group. A Group is an ...
26.947368
166
0.670201
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Model.V281/Group/ORL_O34_SPECIMEN_OBSERVATION.cs
3,584
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AWSSDK.Outposts")] [assembly: AssemblyDesc...
52.5625
421
0.757432
[ "Apache-2.0" ]
orinem/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/Outposts/Properties/AssemblyInfo.cs
1,682
C#
// <copyright file="AssemblyInfo.cs" company="Washington University in St. Louis"> // Copyright (c) 2021 Washington University in St. Louis. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // </copyright> using System; using System.Reflection; using...
43.692308
170
0.770246
[ "MIT" ]
WUSTL-EMED/WUSTL.EMed.EntityFramework.SqlServer.Temporal
WUSTL.EMed.EntityFramework.SqlServer.Temporal/Properties/AssemblyInfo.cs
2,275
C#
// UniqueConstraintTest.cs - NUnit Test Cases for testing the class System.Data.UniqueConstraint // // Authors: // Franklin Wise <gracenote@earthlink.net> // Martin Willemoes Hansen <mwh@sysrq.dk> // // (C) 2002 Franklin Wise // (C) 2003 Martin Willemoes Hansen // // // Copyright (C) 2004 Novell, Inc (http://www....
32.105485
127
0.617427
[ "Apache-2.0" ]
Sectoid/debian-mono
mcs/class/System.Data/Test/System.Data/UniqueConstraintTest.cs
7,609
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.VisualStudio.Services.Agent.Util; using System; using System.Collections.Generic; using Microsoft.TeamFoundation.DistributedTask.Logging; // // Pattern: // cmd1 cmd2 --arg1 arg1val --aflag --arg2 arg2val // namespace Microsoft...
34.732824
116
0.460879
[ "MIT" ]
BobSilent/azure-pipelines-agent
src/Microsoft.VisualStudio.Services.Agent/CommandLineParser.cs
4,550
C#
namespace BolRetailerApi.Models.Response.Orders { public class ShipmentDetails { public string PickupPointName { get; set; } public string Salutation { get; set; } public string FirstName { get; set; } public string SurName { get; set; } public string StreetName { get; s...
38.952381
59
0.617359
[ "MIT" ]
Soneritics/BolRetailerAPI
BolRetailerAPI/Models/Response/Orders/ShipmentDetails.cs
820
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using AutoMapper; using CarDealer.DTO; using CarDealer.Models; namespace CarDealer { public class CarDealerProfile : Profile { public CarDealerProfile() { this.CreateMa...
37.787879
103
0.417803
[ "MIT" ]
georgidelchev/CSharp-Databases
02 - [Entity Framework Core]/16 - [JSON Processing - Exercise]/CarDealer/CarDealerProfile.cs
1,249
C#
using System; using System.Collections; using System.Linq; using SkbKontur.DbViewer.Configuration; namespace SkbKontur.DbViewer.Helpers { public static class ObjectPropertyEditor { public static object SetValue(object obj, string[] path, string? value, ICustomPropertyConfigurationProvider propertyConf...
47.410959
160
0.587691
[ "MIT" ]
RomanKhasanov/db-viewer
DbViewer/Helpers/ObjectPropertyEditor.cs
3,461
C#
#region License //MIT License // //Copyright (c) 2017 Dave Glick // //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, co...
34.544118
160
0.711154
[ "Apache-2.0" ]
EamonHetherton/elasticsearch-net
src/CodeGeneration/DocGenerator/Buildalyzer/Environment/DotnetPathResolver.cs
4,700
C#
namespace file_convert { partial class MainForm { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 true;否则...
31.238806
85
0.537506
[ "MIT" ]
void-soul/file-convert
file-convert/MainForm.Designer.cs
2,261
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Xna.Framework; using WzComparerR2.Rendering; namespace WzComparerR2.MapRender { public interface IWcR2Font { float Size { get; } float LineHeight { get; set; } ...
25.670103
67
0.564257
[ "MIT" ]
Atomadeus/WzComparerR2
WzComparerR2.MapRender/IWcR2Font.cs
2,492
C#
using System; namespace _11NumbersInIntervalDividableByGivenNumber { class Program { static void Main() { int p = 0; int j = 0; int start = int.Parse(Console.ReadLine()); int end = int.Parse(Console.ReadLine()); int[] k = new int[end]...
22.258065
54
0.355072
[ "MIT" ]
GoranGit/CSharp
Homework/4-Console-In-and-Out/11NumbersInIntervalDividableByGivenNumber/Program.cs
692
C#
namespace YunXun.Dapper.DataFactory { /// <summary> /// Defines the DatabaseType. /// </summary> public enum DatabaseType { /// <summary> /// Defines the SqlServer. /// </summary> SqlServer, /// <summary> /// Defines the MySQL. /// </summary>...
18.052632
36
0.483965
[ "MIT" ]
castorhrio/CoreWebApi
YunXun.Dapper/DataFactory/DatabaseType.cs
345
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HERENCIA { public class SuperPoderes: villano { public string TipoPoder { get; set; } } }
16.2
45
0.695473
[ "MIT" ]
lelhernandez/ventass
HERENCIA/HERENCIA/SuperPoderes.cs
245
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; using Plugin.PushNotification; namespace PushNotificationSample.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well ...
37.240741
158
0.704625
[ "MIT" ]
BlueChilli/PushNotificationPlugin
samples/PushNotificationSample/PushNotificationSample.iOS/AppDelegate.cs
2,013
C#
// Copyright 2020 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 ...
58.054845
224
0.63166
[ "Apache-2.0" ]
fayssalmartanigcp/google-cloud-dotnet
apis/Google.Cloud.AssuredWorkloads.V1Beta1/Google.Cloud.AssuredWorkloads.V1Beta1.Tests/AssuredWorkloadsServiceClientTest.g.cs
31,756
C#
namespace GoogleTestUI { using System; using OpenQA.Selenium; using OpenQA.Selenium.Support.UI; using static CommonUtils; public class Wait { public static readonly int defaultTimeout = GetIntSetting("defaultTimeout"); public static readonly int pollingInterval = GetIntSetting...
31.95
132
0.585811
[ "Apache-2.0" ]
jenyabak/GoogleTestsUI
GoogleTestsUI/FrameWork/Wripper/Wait.cs
1,919
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...
36.431818
150
0.660636
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/AutoScaling/Generated/Model/Internal/MarshallTransformations/ServiceLinkedRoleFailureExceptionUnmarshaller.cs
3,206
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq.Expressions; using System.Net; using System.Net.Http; using System.Net.Http.Formatting; using Syste...
41.49768
122
0.607643
[ "Apache-2.0" ]
1508553303/AspNetWebStack
test/System.Web.Http.Test/Results/InvalidModelStateResultTests.cs
35,773
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.AwsN...
22.866667
81
0.642857
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/ElasticLoadBalancingV2/Outputs/TargetGroupTag.cs
686
C#
using System.Windows.Controls; namespace StudentsCalendar.Desktop { /// <summary> /// Interaction logic for PopupsView.xaml /// </summary> public partial class PopupsView : UserControl { public PopupsView() { InitializeComponent(); } } }
15.9375
46
0.701961
[ "MIT" ]
jakubfijalkowski/studentscalendar
StudentsCalendar.Desktop/PopupsView.xaml.cs
257
C#
using System; using Locust.ServiceModel; using Locust.Modules.Api.Model; namespace Locust.Modules.Api.Strategies { public partial class ApiDeleteResponse : BaseServiceResponse<object, ApiDeleteStatus> { public override bool IsSuccessfull() { return Status == ApiDeleteStatus.Success; ...
25.422535
86
0.576177
[ "MIT" ]
mansoor-omrani/Locust.NET
Modules/Locust.Modules.Api/Service/Api/Delete/Response.cs
1,805
C#
using System.Collections.Generic; using AspNetCore3Example.Services; using Microsoft.AspNetCore.Mvc; namespace AspNetCore3Example.Controllers { /// <summary> /// Simple REST API controller that shows Autofac injecting dependencies. /// </summary> /// <seealso cref="Microsoft.AspNetCore.Mvc.Controller"...
25.692308
77
0.628743
[ "MIT" ]
kywvane/Autofac.InjectionAttribute
src/AspNetCore3Example/Controllers/ValuesController.cs
1,004
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step...
48.246006
648
0.631548
[ "MIT" ]
Melina-Aero/MelinaAero-UnitsNet
UnitsNet/GeneratedCode/Quantities/Energy.NetFramework.g.cs
15,104
C#
namespace StyleChecker.Test.Refactoring.IsNull { using Microsoft.VisualStudio.TestTools.UnitTesting; using StyleChecker.Refactoring.IsNull; using StyleChecker.Test.Framework; [TestClass] public sealed class AnalyzerTest : DiagnosticVerifier { public AnalyzerTest() : base(new...
24.05
70
0.644491
[ "BSD-2-Clause" ]
MatthewL246/StyleChecker
StyleChecker/StyleChecker.Test/Refactoring/IsNull/AnalyzerTest.cs
481
C#
using System.Collections.Generic; using LightweightCharts.Blazor.Converters; namespace LightweightCharts.Blazor.Customization.Enums { /// <summary> /// Represents the source of data to be used for the horizontal price line.<br/> /// https://tradingview.github.io/lightweight-charts/docs/api/enums/PriceLineSource /...
26.4375
116
0.717494
[ "Apache-2.0" ]
mr-azazael/LightweightCharts.Blazor
src/LightweightCharts.Blazor/Customization/Enums/PriceLineSource.cs
848
C#
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 // 이러한 특성 값을 변경하세요. [assembly: AssemblyTitle("QuiqCompose (OSS)")] [assembly: AssemblyDescription("The fast, simple, anti-disturb SNS composer - Open Source Software")] [...
34
101
0.656513
[ "MIT" ]
SDSkyKlouD/QuiqCompose-OSS-WPF
QuiqCompose/Properties/AssemblyInfo.cs
2,687
C#
using System; using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("NuGet.Dialog10")] [assembly: AssemblyDescription("Manage NuGet Package dialog for Visual Studio 2010")] [assembly: CLSCompliant(false)] [assembly: InternalsVisibleTo("NuGet.TestUI")] [assembly: InternalsVisibleTo(...
34.1
85
0.800587
[ "Apache-2.0" ]
monoman/NugetCracker
Nuget/src/Dialog10/Properties/AssemblyInfo.cs
343
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using dbstore.Models; using dbstore.Interface; using dbstore.Configs; namespace dbstore.Controllers { [Route("api/...
27.690265
112
0.519974
[ "MIT" ]
masalaloe/backend-dbstore
dbstore/Controllers/UsersController.cs
3,131
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Server.IIS.FunctionalTests.Utilities; using Microsoft.AspNetCore.Server.IntegrationTesting; us...
46.86478
180
0.689391
[ "MIT" ]
FWest98/MicrosoftAspNetCore
src/Servers/IIS/IIS/test/Common.FunctionalTests/LoggingTests.cs
14,915
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using GeneticSharp.Domain.Chromosomes; using GeneticSharp.Domain.Randomizations; namespace GeneticSharp.Domain.Crossovers { /// <summary> /// Ordered Crossover (OX1). /// <remarks> /// Also know as...
47.850467
213
0.705273
[ "MIT" ]
rfrerebe/GeneticSharp
src/GeneticSharp.Domain/Crossovers/OrderedCrossover.cs
5,122
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Requests the list of all domains assigned to a group. /// The response is eit...
30.822581
165
0.625327
[ "MIT" ]
ianrathbone/broadworks-connector-net
BroadworksConnector/Ocip/Models/GroupDomainGetAssignedListRequest.cs
1,911
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PathController : MonoBehaviour { private Transform Path; public Transform Path1; public Transform Path2; public Transform Path3; public Transform Path4; public Transform[] Waypoints; private Transfo...
26.172414
108
0.612648
[ "MIT" ]
JoshH-H/RetailRush
Scripts/PathController.cs
3,038
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.PowerPointApi { /// <summary> /// DispatchInterface EffectInformation /// SupportByVersion PowerPoint, 10,11,12,14,15,16 /// </summary> [SupportByVersion("PowerPoint", 10,11,12,14,15,16)] ...
30.3
176
0.702442
[ "MIT" ]
DominikPalo/NetOffice
Source/PowerPoint/DispatchInterfaces/EffectInformation.cs
7,577
C#
namespace PetSanctuary.Test.Pipeline { using PetSanctuary.Web.Controllers; using MyTested.AspNetCore.Mvc; using Xunit; using PetSanctuary.Web.ViewModels.Comments; using PetSanctuary.Test.Data; using PetSanctuary.Data.Models; using System.Linq; public class CommentsPipelineTest { ...
37.234848
116
0.526246
[ "MIT" ]
aleksanderstoyanov/PetSanctuary
PetSanctuary.Test/Pipeline/CommentsPipelineTest.cs
9,832
C#
/* * THIS FILE WAS GENERATED BY PLOTLY.BLAZOR.GENERATOR */ using System; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using System.Text.Json.Serialization; namespace Plotly.Blazor.Traces.BarLib.MarkerLib.ColorBarLib.TitleLib { /// <summary> ///...
35.024194
99
0.510246
[ "MIT" ]
valu8/Plotly.Blazor
Plotly.Blazor/Traces/BarLib/MarkerLib/ColorBarLib/TitleLib/Font.cs
4,343
C#
using UnityEngine; /// <summary> /// /// </summary> public class BossAttackArea : MonoBehaviour { [SerializeField] private BossEnemyController owner; private void OnTriggerEnter(Collider other) { if (other.CompareTag("Player")) { owner.OnAttackAreaTrigger(); } } }
18.235294
55
0.63871
[ "MIT" ]
maxartDanny/GDDi0000_Roll-a-Ball_Danny
Assets/Scripts/EnemyScripts/BossAttackArea.cs
312
C#
using System; using System.Xml.Serialization; using Newtonsoft.Json; namespace Dots.Core.ViewModels { public interface IIdentity { [XmlAttribute("id"), JsonProperty("id")] Guid Id { get; set; } } }
18.916667
48
0.651982
[ "MIT" ]
SurrealIT/BusinessBase
Dots/Dots.Core/ViewModels/IIdentity.cs
229
C#
using Microsoft.AspNet.Identity.EntityFramework; namespace WebAppPart_I.Models { // You can add profile data for the user by adding more properties to your ApplicationUser class, please visit http://go.microsoft.com/fwlink/?LinkID=317594 to learn more. public class ApplicationUser : IdentityUser { } ...
29.764706
175
0.699605
[ "MIT" ]
zaheersani/FA18_VP_Demos
WebAppPart_I/Models/IdentityModels.cs
508
C#
using API.Model; using API.Utilities; using Microsoft.AspNetCore.Cors; using Microsoft.AspNetCore.Mvc; using System.Collections; using System.Collections.Generic; using System.Linq; namespace API.Controllers { [EnableCors("SiteCorsPolicy")] [Route("api/[controller]")] public class MetadataController : Cont...
25.548387
127
0.613005
[ "MIT" ]
Ervie/AmnisAPI
Controllers/MetadataController.cs
1,584
C#
using System.Linq; using System.Threading.Tasks; using Abp.Application.Services; using Abp.Application.Services.Dto; using Abp.Authorization; using Abp.Domain.Repositories; using Abp.Extensions; using Abp.IdentityFramework; using Abp.Linq.Extensions; using Abp.MultiTenancy; using Abp.Runtime.Security; using TodoApp.Au...
39.201613
155
0.662004
[ "MIT" ]
SereneYi/TodoList-Backend
aspnet-core/src/TodoApp.Application/MultiTenancy/TenantAppService.cs
4,863
C#
using EFCore.BulkExtensions.SqlAdapters; using Microsoft.Data.Sqlite; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using System; using System.Collections; using System.Collecti...
55.348671
333
0.59295
[ "MIT" ]
qvsmith/EFCore.BulkExtensions
EFCore.BulkExtensions/TableInfo.cs
54,131
C#
using AutoMapper; namespace UltraNuke.Barasingha.AlarmManagement.API.Application.Mappers { /// <summary> /// /// </summary> public class DomainToDTOProfile : Profile { /// <summary> /// /// </summary> public DomainToDTOProfile() { } } }
17.388889
70
0.533546
[ "MIT" ]
zcqiand/Barasingha-WebApi
src/Services/AlarmManagement/AlarmManagement.API/Application/Mappers/DomainToDTOProfile.cs
315
C#
using System; namespace P04.Recharge { public class Robot : Worker, IRechargeable { private int capacity; private int currentPower; public Robot(string id, int capacity) : base(id) { this.capacity = capacity; } public int Capacity { ...
20.547619
56
0.486674
[ "MIT" ]
Avarea/OOP-Advanced
SOLID/P04.Recharge/Robot.cs
865
C#
using YJC.Toolkit.Sys; namespace YJC.Toolkit.MetaData { public class TableSchemeExConfigFactory : BaseXmlConfigFactory { public const string REG_NAME = "_tk_xml_TableSchemeEx"; private const string DESCRIPTION = "单表TableSchemeEx配置插件工厂"; public TableSchemeExConfigFactory() ...
25.133333
67
0.671088
[ "BSD-3-Clause" ]
madiantech/tkcore
Core/YJC.Toolkit.MetaData/MetaData/_Xml/TableSchemeExConfigFactory.cs
395
C#
using Newtonsoft.Json.Linq; using System; using System.Configuration; using System.Net.Http; namespace EnhancedQuickStart { class Program { static void Main(string[] args) { try { //Get configuration data from App.config connectionStrings ...
35.531915
140
0.498204
[ "MIT" ]
BlueG81/PowerApps-Samples
cds/webapi/C#/EnhancedQuickStart/Program.cs
1,672
C#
using IrcDotNet; using LiveSplit.Model; using LiveSplit.Model.Comparisons; using LiveSplit.Model.Input; using LiveSplit.Options; using LiveSplit.TimeFormatters; using LiveSplit.Updates; using System; using System.Collections.Generic; using System.Drawing; using System.Globalization; using System.Linq; using System.Tex...
37.240066
165
0.515805
[ "MIT" ]
glacials/LiveSplit
LiveSplit/LiveSplit.Core/Web/SRL/SpeedRunsLiveIRC.cs
22,495
C#
using Microsoft.UI.Xaml.Controls; namespace WinMLSamplesGallery { /// <summary> /// An empty page that can be used on its own or navigated to within a Frame. /// </summary> public sealed partial class HomePage : Page { public HomePage() { this.InitializeCompo...
23.882353
82
0.581281
[ "MIT" ]
phillipmacon/WinML
Samples/WinMLSamplesGallery/WinMLSamplesGallery/Pages/HomePage.xaml.cs
408
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using ARX; /// <summary> /// Script holding an ARX_StatQuadBox for debugging in Edit Mode /// </summary> [ExecuteInEditMode] public class ARX_Script_StatBox : MonoBehaviour { public ARX_StatBox_Quad mo_stats = null; void Awa...
20.103448
75
0.665523
[ "CC0-1.0" ]
VelvetAlabaster/ARX
Unremastered Files/ARX8.Core/script/ARX_Script_StatBox.cs
585
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...
37.6875
86
0.602322
[ "Apache-2.0" ]
dineshkummarc/lucene.net
src/contrib/Analyzers/Payloads/PayloadHelper.cs
3,017
C#
using MvvmCross.Forms.Platforms.Ios.Core; namespace BibleBook.iOS { public class Setup : MvxFormsIosSetup<Core.App, UI.App> { } }
16
59
0.694444
[ "Apache-2.0" ]
paulpiotr/BibleBook
src/BibleBook.iOS/Setup.cs
146
C#
using System; namespace DSA { public class Node { public int Value { get; set; } public Node Next; public Node(int val) { this.Value = val; } } class ClosedLoop { public static bool DetectLoop(Node _head) { Node slow =...
26.172414
81
0.438076
[ "MIT" ]
1305Tanmay/algo_ds_101
Data-Structures/LinkedList/Singly_Linked_List/Detect_Cycle/detect_cycle.cs
1,520
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using System.Text; using System.Threading; using System.Threading.Tasks; using Azure.Core.Serialization...
37.716981
136
0.708854
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/digitaltwins/Azure.DigitalTwins.Core/tests/TestObjectSerializer.cs
2,001
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Crestron.SimplSharp; namespace SharpProTouchpanelDemo.UI.Core { /// <summary> /// Used for all events where a string value is changed by the touchpanel. (Text entry events, etc.) /// </summary> public class Str...
28.392857
104
0.615094
[ "MIT" ]
ProfessorAire/ElegantPanelScaffolding
src/Elegant Panel Scaffolding/Resources/StringValueChangedEventArgs.g.cs
797
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Runes.Net.Shared { public interface IDescribable { string GetDescription(); } }
16.285714
33
0.723684
[ "MIT" ]
ROM-II/rom_db_editor
Runes.Net.Shared/IDescribable.cs
230
C#
using System; namespace RDPWrapInstaller.Exceptions { public class OperatingSystemNotSupportedException : Exception { } }
16
65
0.708333
[ "MIT" ]
NUlliiON/RDPWrapInstaller
RDPWrapInstaller/Exceptions/OperatingSystemNotSupportedException.cs
146
C#
using System; using System.Collections.Generic; using Plugin.Iconize; using Xamarin.Forms; using Xamarin.Forms.Platform.MacOS; [assembly: ExportRenderer(typeof(IconTabbedPage), typeof(IconTabbedPageRenderer))] namespace Plugin.Iconize { /// <summary> /// Defines the <see cref="IconTabbedPage" /> renderer. ...
29.745763
120
0.536182
[ "Apache-2.0" ]
stepkillah/Iconize
src/Plugin.Iconize/Platform/macOS/Renderers/IconTabbedPageRenderer.cs
1,757
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("_1...
38.297297
84
0.747354
[ "MIT" ]
V-Uzunov/Soft-Uni-Education
02.ProgrammingFundamentalsC#/07.ArraysAndListExercises/ArraysAndList/15.SumReversedNumbers/Properties/AssemblyInfo.cs
1,420
C#
#if NET_4_0 // TaskTests.cs // // Copyright (c) 2008 Jérémie "Garuma" Laval // // 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 ...
27.173554
94
0.679136
[ "Apache-2.0" ]
OpenPSS/psm-mono
mcs/class/corlib/Test/System.Threading.Tasks/FutureTests.cs
3,290
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/MsHTML.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.921569
145
0.694323
[ "MIT" ]
reflectronic/terrafx.interop.windows
tests/Interop/Windows/Windows/um/MsHTML/DispHTMLHeadElementTests.cs
1,834
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 UiPath.Web.Client20191 { using Models; using System.Threading; using System.Threading.Tasks; /// <summa...
47.09322
484
0.54004
[ "MIT" ]
AFWberlin/orchestrator-powershell
UiPath.Web.Client/generated20191/QueueItemEventsExtensions.cs
11,114
C#
// QuickGraph Library // // Copyright (c) 2004 Jonathan de Halleux // // This software is provided 'as-is', without any express or implied warranty. // // In no event will the authors be held liable for any damages arising from // the use of this software. // Permission is granted to anyone to use this sof...
34.711111
80
0.715749
[ "ECL-2.0", "Apache-2.0" ]
Gallio/mbunit-v2
src/quickgraph/QuickGraph/Concepts/Algorithms/IDistanceRecorderAlgorithm.cs
1,562
C#
using System; namespace AlbLib.Mapping { /// <summary> /// Description of IMinimapVisible. /// </summary> public interface IMinimapVisible { byte MinimapType{get;} bool VisibleOnMinimap{get;} } }
14.857143
36
0.701923
[ "MIT" ]
IllidanS4/AlbLib
Mapping/IMinimapVisible.cs
210
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...
38.777778
220
0.715616
[ "ECL-2.0", "Apache-2.0" ]
chivandikwa/pulumi-aws
sdk/dotnet/WafV2/Outputs/WebAclRuleStatementAndStatementStatementAndStatementStatementOrStatementStatementXssMatchStatementTextTransformation.cs
1,396
C#
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using System; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Xml; namespace Miniblog.Core.Models { public class BlogController : Controller { ...
35.410138
145
0.548933
[ "Apache-2.0" ]
aivsim/SimpleGratitude
src/Controllers/BlogController.cs
7,686
C#
using Microsoft.Dynamics.Framework.Tools.Extensibility; using Microsoft.Dynamics.Framework.Tools.MetaModel.Automation.BaseTypes; using Microsoft.Dynamics.Framework.Tools.MetaModel.Automation.Classes; using Microsoft.Dynamics.Framework.Tools.MetaModel.Automation.Forms; using Microsoft.Dynamics.Framework.Tools.MetaM...
37.4375
110
0.609905
[ "MIT" ]
TrudAX/SSD365VSAddIn
SSD365VSAddIn/SSD365VSAddIn/ExtensionCommand/CreateExtensionCreatorDesignContextMenuAddIn.cs
3,596
C#
// Auto generated code using Kernel; using Kernel.Config; using Kernel.Util; using System; using System.IO; namespace GeneratedCode { public class StringSerializer : IConfigSerializer { object IConfigSerializer.Read(IBinaryReader reader, object o) { return Read(reader, (string)o); } pub...
18.589744
64
0.634483
[ "MIT" ]
hsiuqnav/configMgr
configMgr/Assets/GeneratedCode/StringSerializer.cs
725
C#
using BrewLib.Data; using ManagedBass; using System; using System.Diagnostics; namespace BrewLib.Audio { public class AudioSample { private const int MaxSimultaneousPlayBacks = 8; private string path; public string Path => path; private int sample; public readonly Au...
25.62963
120
0.517823
[ "MIT" ]
T0chi/storybrew
brewlib/Audio/AudioSample.cs
2,078
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Get notified after the asset is imported. /// </summary> public interface IOnPostProcessImportAssetCallback { void OnAssetImported(); } /// <summary> /// Get notified before the asset is deleted. /// </summary> publi...
18.486486
50
0.723684
[ "MIT" ]
DouglasPotesta/QuestZip
Runtime/AssetCallbacks/AssetProcessingInterfaces.cs
686
C#
using DisasterTrackerApp.Dal.Repositories.Contract; using DisasterTrackerApp.Entities; using Newtonsoft.Json; using StackExchange.Redis; namespace DisasterTrackerApp.Dal.Repositories.Implementation; public class RedisWatchChannelsRepository : IRedisWatchChannelsRepository { private const string WatchChannelsHashS...
33.977011
114
0.687754
[ "MIT" ]
FairyFox5700/Disaster-Tracker-App
src/Tracking/DisasterTrackerApp.Dal/Repositories/Implementation/RedisWatchChannelsRepository.cs
2,956
C#