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 DragonSpark.Model.Sequences; using System.Collections.Generic; namespace DragonSpark.Compose.Extents.Commands; public sealed class SequenceCommandExtent<T> : CommandExtent<IEnumerable<T>> { public static SequenceCommandExtent<T> Default { get; } = new SequenceCommandExtent<T>(); SequenceCommandExtent() {} ...
31.866667
90
0.784519
[ "MIT" ]
DragonSpark/Framework
DragonSpark/Compose/Extents/Commands/SequenceCommandExtent.cs
480
C#
using UnityEngine; namespace GameplayIngredients.Logic { [AddComponentMenu(ComponentMenu.logicPath + "Random Logic")] [Callable("Logic", "Logic/ic-generic-logic.png")] public class RandomLogic : LogicBase { public Callable[] RandomCalls; public override void Execute(GameObject instigat...
24.416667
66
0.614334
[ "MIT" ]
UltraCombos/net.peeweek.gameplay-ingredients
Runtime/LevelScripting/Logic/RandomLogic.cs
586
C#
using DevTools.Infrastructure.Models; using System.Linq; namespace DevTools.Application.Models.Dto { public class ProjectDto { public ProjectId Id { get; set; } public string Name { get; set; } public AddressDto[] Addresses { get; set; } public ProjectDto(Project project) ...
23.086957
83
0.578154
[ "MIT" ]
BorczGrzegorz/DevTools
DevTools.Application/Models/Dto/ProjectDto.cs
533
C#
using System; namespace Least_Squares_Method { class Sum { public double SumXFirstDegree(double[] xArray) { double sum = 0; foreach (var elem in xArray) { sum += elem; } return sum; } public double Sum...
24.015748
71
0.396721
[ "MIT" ]
AlexeyShpavda/NumericalAnalysisMethods
Least Squares Method/Sum.cs
3,052
C#
using System; namespace Registration.Api.Requests { public class GetServiceItemsRequest : BaseRequest { public GetServiceItemsRequest() { } public Registration.Domain.ReadModel.Program[] ProgramIds { get; set; } public bool OnlineOnly { get; set; } } }
21.928571
79
0.641694
[ "MIT" ]
Liang-Zhinian/CqrsFrameworkDotNet
Sample/Reservation/v1/Registration/Registration.Api/Requests/GetServiceItemsRequest.cs
309
C#
namespace Alpha.Travel.Domain.Entities { using System; public sealed class ApiClient : BaseEntity { public Guid ClientId { get; set; } public string Name { get; set; } } }
18.727273
46
0.616505
[ "MIT" ]
SalZaki/AlphaTravel
Alpha.Travel.Domain/Entities/ApiClient.cs
208
C#
using System; using System.Globalization; using System.Linq; using System.Reflection; namespace ISLA2.Areas.HelpPage.ModelDescriptions { internal static class ModelNameHelper { // Modify this to provide custom model name mapping. public static string GetModelName(Type type) { ...
39.833333
140
0.634589
[ "Apache-2.0" ]
philldellow/ISLA2
ISLA2/ISLA2/Areas/HelpPage/ModelDescriptions/ModelNameHelper.cs
1,434
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...
28.16129
111
0.548683
[ "Apache-2.0" ]
TallyUpTeam/aws-sdk-net
sdk/src/Services/GroundStation/Generated/Model/GetConfigResponse.cs
4,365
C#
using System; namespace Prism.Ioc { public static class IContainerRegistryExtensions { public static void RegisterInstance<TInterface>(this IContainerRegistry containerRegistry, TInterface instance) { containerRegistry.RegisterInstance(typeof(TInterface), instance); } ...
34.12069
121
0.662961
[ "MIT" ]
Anapher/Prism
Source/Prism/Ioc/IContainerRegistryExtensions.cs
1,981
C#
using System; using System.Collections.Generic; using System.Threading; using GraphX.Measure; using GraphX.PCL.Common.Enums; using QuickGraph; namespace GraphX.PCL.Common.Interfaces { public interface IGXLogicCore<TVertex, TEdge, TGraph>: IDisposable where TVertex : class, IGraphXVertex where TEdg...
46.571429
190
0.659391
[ "Apache-2.0" ]
anh123minh/DES
GraphX.PCL.Common/Interfaces/IGXLogicCore.cs
8,478
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; using PurchasingSystemServices....
39.866516
128
0.453833
[ "MIT" ]
yosioliver/purchasingsystem-backend
PurchasingSystemServices/Migrations/20210117032222_AlterProductBalanceRemoveColumnProductId.Designer.cs
17,623
C#
using MemorieDeFleurs.UI.WPF.Model; using System; using System.Collections.Generic; using System.Globalization; using System.Threading; using System.Windows; using YasT.Framework.Logging; namespace MemorieDeFleurs.UI.WPF.Views.Helpers { /// <summary> /// 外部化したテキストリソース管理クラス /// /// Vi...
33.255319
148
0.550224
[ "Apache-2.0" ]
Yasuhiro-Tanabe/YtAppCSharp
MemorieDeFleurs/MemorieDeFleurs.UI.WPF/Views/Helpers/TextResourceManager.cs
3,604
C#
using System; namespace LicenceTrackerProto.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
19.727273
70
0.682028
[ "Apache-2.0" ]
Geoff1900/LicenceTrackerProto
LicenceTrackerProto/LicenceTrackerProto/Models/ErrorViewModel.cs
217
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...
35.295918
156
0.611159
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/RoboMaker/Generated/Model/Internal/MarshallTransformations/OutputLocationUnmarshaller.cs
3,459
C#
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Network { /// <summary> /// Returns all browser cookies. Depending on the backend support, will return detailed cookie information in the <code>cookies</code> fi...
29.176471
142
0.788306
[ "MIT" ]
Digitalbil/ChromeDevTools
source/ChromeDevTools/Protocol/Chrome/Network/GetAllCookiesCommand.cs
496
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("Su...
37.648649
84
0.744436
[ "MIT" ]
pavlinpetkov88/ProgramingBasic
DrawingWithLoops/Sunglasses/Properties/AssemblyInfo.cs
1,396
C#
/** * Copyright 2013 Canada Health Infoway, Inc. * * 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...
36.803922
83
0.658498
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-ab-v02_r02/Main/Ca/Infoway/Messagebuilder/Model/Ab_mr2007_v02_r02/Cr/Prpa_mt101103ca/DeceasedTime.cs
1,877
C#
using SFA.DAS.Authorization.ModelBinding; using System; namespace SFA.DAS.EmployerCommitmentsV2.Web.Models.Cohort { public class MessageViewModel : IAuthorizationContextModel { public string AccountHashedId { get; set; } public long AccountId { get; set; } public Guid? ReservationId { ...
38.954545
62
0.659277
[ "MIT" ]
SkillsFundingAgency/das-employercommitments-v2
src/SFA.DAS.EmployerCommitmentsV2.Web/Models/Cohort/MessageViewModel.cs
859
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Resources; using System.Threading.Tasks; using dotMorten.Xamarin.Forms; using KinaUnaXamarin.Helpers; using KinaUnaXamarin.Models; using KinaUnaXamarin.Models.KinaUna; using KinaUnaXamarin.Services...
39.119141
171
0.543762
[ "MIT" ]
KinaUna/KinaUnaXamarin
KinaUnaXamarin/KinaUnaXamarin/Views/Details/FriendDetailPage.xaml.cs
20,031
C#
using Newtonsoft.Json; namespace Mastodon.Model { public class AppRegistration { [JsonProperty("id")] public long Id { get; set; } [JsonProperty("redirect_uri")] public string RedirectUri { get; set; } [JsonProperty("client_id")] public string ClientId { get; set; } [JsonPro...
26.631579
80
0.636364
[ "MIT" ]
Tlaster/Mastodon-Api
Mastodon/Model/AppRegistration.cs
508
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Models.Api20210401 { using Microsoft.Azure.PowerShell.Cmdlets.ChangeAnalysis.Runtime.PowerShell; /// <summary> /// A PowerShell PSTypeConverter to support converting to an instance of <see cref="PropertyChange" /> /// </summary> pub...
51.450704
259
0.582672
[ "MIT" ]
Agazoth/azure-powershell
src/ChangeAnalysis/generated/api/Models/Api20210401/PropertyChange.TypeConverter.cs
7,165
C#
using System; using System.Linq; using Mono.Cecil; using SR = System.Reflection; namespace Insider { public sealed partial class Weaver : IDisposable { /// <summary> /// Trigger <see cref="MessageLogged"/>, and stop weaving if /// <paramref name="importance"/> is <see cref="MessageImpo...
33.776119
124
0.543084
[ "MIT" ]
6A/insider
Insider/Weaver.Utils.cs
2,265
C#
namespace TMOComposerConfig { partial class Form1 { /// <summary> /// 必要なデザイナ変数です。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 使用中のリソースをすべてクリーンアップします。 /// </summary> /// <param name="disposing">マネー...
37.236842
161
0.570318
[ "MIT" ]
3dcustom/tsoview
TMOComposerConfig/Form1.Designer.cs
3,090
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using System.Globalization; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipe...
52.375
259
0.668074
[ "MIT" ]
git-thomasdolan/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterPeering.cs
10,894
C#
using System; namespace StringTask4 { class Program { static void Main(string[] args) { Console.WriteLine("Kirjoita jotain: "); string input = Console.ReadLine(); string inputTmp = input.ToUpper(); inputTmp = inputTmp.Replace(" ", ""); ...
26.448276
69
0.426336
[ "MIT" ]
akitiainen/programming-basics
string-tasks/StringTask4/StringTask4/Program.cs
769
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Microsoft Bot Framework: http://botframework.com // // Bot Builder SDK GitHub: // https://github.com/Microsoft/BotBuilder // // Copyright (c) Microsoft Corporation // All rights reserved. // // MIT License: // Permission ...
40.586538
110
0.593461
[ "MIT" ]
AskYous/botbuilder
CSharp/Tests/Microsoft.Bot.Builder.Tests/ActionsTests.cs
4,223
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace QuieroPizza.Web { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{...
25.25
100
0.566007
[ "MIT" ]
AbnerBejarano/quieropizza
QuieroPizza/QuieroPizza.Web/App_Start/RouteConfig.cs
608
C#
// dnlib: See LICENSE.txt for more info using System; using System.Diagnostics.SymbolStore; using System.IO; using System.Reflection; using System.Runtime.InteropServices; using dnlib.DotNet.Writer; namespace dnlib.DotNet.Pdb.Dss { sealed class SymbolWriter : ISymbolWriter2 { readonly ISymUnmanagedWriter2 writer;...
39.748634
202
0.740858
[ "MIT" ]
CodeShark-Dev/dnlib
src/DotNet/Pdb/Dss/SymbolWriter.cs
7,276
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...
33.62963
109
0.656021
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/EventBridge/Generated/Model/RetryPolicy.cs
2,724
C#
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d2d1.h(1009,9) using System.Runtime.InteropServices; namespace DirectN { /// <summary> /// Allows additional parameters for factory creation. /// </summary> [StructLayout(LayoutKind.Sequential)] public partial struct D2D1_F...
33.055556
149
0.660504
[ "MIT" ]
Steph55/DirectN
DirectN/DirectN/Generated/D2D1_FACTORY_OPTIONS.cs
597
C#
// ----------------------------------------------------------------------- // <copyright file="CodegenProxyExtensions.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root // for license information. // <...
40.125
173
0.577882
[ "MIT" ]
GindaChen/MLOS
source/Mlos.NetCore/CodegenProxyExtensions.cs
1,926
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
37.259259
153
0.575547
[ "MIT" ]
MIchaelMainer/GraphAPI
src/Microsoft.Graph/Requests/Generated/IWorkbookFunctionsRandBetweenRequestBuilder.cs
1,006
C#
using System.Collections.Generic; using System.Drawing; namespace Games { /// <summary> /// Граница/обводка чего-либо /// </summary> public class Border : IDrawableElement { public IDrawable[] ElementContent => GetContent(); List<Line> borderLines = new List<Line>(); public...
29.958763
101
0.423262
[ "BSD-2-Clause" ]
diademoff/games-cli
games-cli/Drawer/Border.cs
3,129
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
38.297297
85
0.723359
[ "Apache-2.0" ]
alessandrojean/LOP-2013
classes/2013.07.24/examples/evento-keydown/Jogo/Properties/AssemblyInfo.cs
1,420
C#
using System; using NiL.JS.Core; using NiL.JS.BaseLibrary; using NiL.JS.Statements; using System.Collections.Generic; namespace NiL.JS.Expressions { #if !(PORTABLE || NETCORE) [Serializable] #endif internal sealed class ForceAssignmentOperator : Assignment { public ForceAssignmentOperator(Expressi...
38.428571
219
0.496333
[ "BSD-3-Clause" ]
uQr/NiL.JS
NiL.JS/Expressions/Assignment.cs
10,168
C#
using System; using System.IO; using System.Reflection; using System.Collections.Generic; using Harmony12; using UnityEngine; using UnityModManagerNet; /// <summary> /// 开始新游戏锁定和自定义特质MOD /// </summary> namespace LKX_NewGameActor { /// <summary> /// 设置文件 /// </summary> public class Settings : UnityModM...
35.517857
165
0.521982
[ "MIT" ]
ignaz-chou/Taiwu_mods
LKX_NewGameActor/Class1.cs
19,273
C#
namespace Application.Sharing.Models { public class SharedEmailsListDTO { public System.Guid PhotoId { get; set; } public string UserEmail { get; set; } } }
18.333333
42
0.721212
[ "MIT" ]
iamprovidence/Lama
src/backend/LamaAPI/Application/Sharing/Models/SharedEmailsListDTO.cs
167
C#
/* * Copyright (c) 2014, Nick Gravelyn. * * 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 software for any purpose, * including co...
35.69697
127
0.730051
[ "Apache-2.0" ]
InCuboGames/pants-off
Assets/Scripts/HUD/SortingLayerAttribute.cs
1,180
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace Ordering.api { public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } public static IHostBuilder CreateHostBuilder(string[...
25.666667
71
0.554731
[ "Apache-2.0" ]
spartan73rmy/NetCoreMicroservices
Ordering.api/Program.cs
539
C#
/* * Copyright 2017 Systemic Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
39.967105
140
0.654486
[ "Apache-2.0" ]
Access4Learning/sif3-framework-dotnet
Code/Sif3Framework/Sif.Framework.Tests/Persistence/NHibernate/EnvironmentRepositoryTest.cs
6,077
C#
using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace TNCServicesPlatform.StorageAPI.Controllers { [Route("api/storage/")] public class StorageController_AzureStorageAPIController : Controller ...
29.809524
144
0.694888
[ "Apache-2.0" ]
cutePanda123/TNCServicesPlatform
TNCServicesPlatform/TNCServicesPlatform.StorageAPI/Controllers/StorageController.AzureStorageAPI.cs
628
C#
namespace AspNetCoreTemplate.Web { using System.Reflection; using AspNetCoreTemplate.Data; using AspNetCoreTemplate.Data.Common; using AspNetCoreTemplate.Data.Common.Repositories; using AspNetCoreTemplate.Data.Models; using AspNetCoreTemplate.Data.Repositories; using AspNetCoreTemplate.Dat...
41.013699
125
0.61523
[ "MIT" ]
Abhinavchamallamudi/ASP.NET-MVC-Template
ASP.NET Core/Web/AspNetCoreTemplate.Web/Startup.cs
5,990
C#
using System.Linq; using System.Collections.Generic; namespace Mapzen.VectorData { public class GeometryContainer { public GeometryType Type = GeometryType.Unknown; public List<Point> Points; public List<List<Point>> LineStrings; public List<List<List<Point>>> Polygons; ...
26.45
71
0.472117
[ "MIT" ]
BergWerkGIS/tangram-unity
Assets/Mapzen/VectorData/GeometryContainer.cs
2,118
C#
using System; using System.IO; using System.Reflection; namespace Example { public static class EmbeddedResourceReader { public static Stream LoadResourceStream(Assembly assembly, string resourceName) { if (assembly is null) { throw new ArgumentNullExcept...
24.692308
87
0.588785
[ "MIT" ]
ScriptBox99/spectreconsole-errata
examples/Shared/EmbeddedResourceReader.cs
642
C#
using Amazon.DynamoDBv2; using Amazon.DynamoDBv2.Model; using Hackney.Core.DynamoDb; using Hackney.Core.Testing.DynamoDb; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Testing; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System; using System.Colle...
34.305263
91
0.562442
[ "MIT" ]
LBHackney-IT/patches-and-areas-api
PatchesAndAreasApi.Tests/MockWebApplicationFactory.cs
3,259
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...
35.491369
149
0.56851
[ "ECL-2.0", "Apache-2.0" ]
Dominik-K/pulumi-aws
sdk/dotnet/Elasticloadbalancing/LoadBalancer.cs
30,842
C#
using System; namespace PowerForensics.Formats { #region HexDumpClass public class HexDump { #region Properties public readonly string Offset; public readonly string _00_01_02_03_04_05_06_07_08_09_0A_0B_0C_0D_0E_0F; public readonly string Ascii; ...
25.855072
80
0.426009
[ "Apache-2.0" ]
darkoperator/PowerForensics_Source
Invoke-IR.PowerForensics/PowerForensics/Formats/HexDump.cs
1,786
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api202101 { using static Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Runtime.Extensions; /// <summary>An error response from the azure resource mover service.</summary> public partial class MoveResourceError { /// <...
67.752475
290
0.68961
[ "MIT" ]
Amrinder-Singh29/azure-powershell
src/ResourceMover/generated/api/Models/Api202101/MoveResourceError.json.cs
6,743
C#
// OData .NET Libraries // Copyright (c) Microsoft Corporation. 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/LICE...
41.477435
163
0.602966
[ "Apache-2.0" ]
manukahn/odata.net
src/Client/Build.Silverlight/Microsoft/OData/Client/MemberAssignmentAnalysis.cs
17,462
C#
namespace RPGCore.Inventories { public class ClingyCondition : ItemCondition { public ClingyCondition () { } public override bool IsValid (ItemSurrogate item) { return item != null; } } }
12.352941
51
0.680952
[ "Apache-2.0" ]
li5414/RPGCore
RPGCore/Assets/RPGCore/Scripts/Inventory/Item Slot/Conditions/ClingyCondition.cs
212
C#
// SPDX-License-Identifier: MIT // Copyright © 2021 Oscar Björhn, Petter Löfgren and contributors namespace Daf.Core.Adf.JsonStructure { public interface IJsonInterface { public string Name { get; set; } } }
19.545455
65
0.739535
[ "MIT" ]
data-automation-framework/daf-core-adf
Daf.Core.Adf/JsonStructure/JsonInterface.cs
220
C#
using System; using System.Collections.Generic; using System.Text; using Entity.Framework; namespace Entity.Components { public class VEHICLE_USER : Entity.Framework.EntityBase { private string _pK_ID; private string _vEHICLEUSER; public string VEHICLEUSER { get { return...
16.972222
59
0.584288
[ "MIT" ]
UnIQSaQYA/FleetManagementSystem
transportationArchitecture/Entity/Components/VEHICLE_USER.cs
613
C#
namespace BasicHttpServer.Server.HTTP { public enum StatusCode { OK = 200, Found = 302, BadRequest = 400, Unauthorized = 401, NotFound= 404 } }
16.416667
38
0.538071
[ "MIT" ]
MirelaMileva/SoftUni-CSharp-Web-Basics-January2022
SUHttpServer/SUHttpServer.HttpServer/HTTP/StatusCode.cs
199
C#
using UnityEngine; namespace UniSimpleProfiler.Internal { /// <summary> /// FPS を計測する構造体 /// </summary> public class FPSCounter { //==================================================================================== // 定数 //==================================================================================...
28.520833
88
0.299489
[ "MIT" ]
baba-s/uni-simple-profiler
app/Assets/UniSimpleProfiler/Scripts/FPSCounter.cs
1,433
C#
// we might want to read from files idk lol ¯\_(ツ)_/¯ namespace FestivalManager.Core.IO { using FestivalManager.Core.IO.Contracts; using System.IO; public class FileReader: IReader { private readonly StreamReader reader; public FileReader(string contents) { this.reader = new StreamR...
26.222222
112
0.697034
[ "MIT" ]
Ivelin153/SoftUni
C# Fundamentals/FestivalManager/Core/IO/FileReader.cs
478
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Dapper.Contrib.Extensions; using invert_api.Infrastructure; using invert_api.Models; using invert_api.Models.Response; using Microsoft.Extensions.Configuration; namespace invert_api.Repositories { public class InsertMessageReposi...
27.770492
96
0.565525
[ "MIT" ]
behoyh/invert-api
src/Repositories/InsertMessageRepository.cs
1,696
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.Threading.Tasks; using Microsoft.CodeAnalysis.Test.Utilities; using Roslyn.Test.Utilities; using Xunit...
30.6
92
0.628624
[ "MIT" ]
06needhamt/roslyn
src/EditorFeatures/CSharpTest2/Recommendations/AsKeywordRecommenderTests.cs
5,969
C#
namespace Relm.UI.States { public enum TextBoxPiece { Left, Center, Right } }
12.666667
28
0.508772
[ "MIT" ]
slyprid/Relm
Relm/Relm/UI/States/TextBoxPiece.cs
116
C#
using System; namespace Windows.UI.Xaml.Controls { public partial class ContentDialogButtonClickEventArgs { private readonly Action<ContentDialogButtonClickEventArgs> _deferralAction; internal ContentDialogButtonClickEventArgs(Action<ContentDialogButtonClickEventArgs> deferralAction) { _deferralAction = ...
30
102
0.801587
[ "Apache-2.0" ]
06needhamt/uno
src/Uno.UI/UI/Xaml/Controls/ContentDialog/ContentDialogButtonClickEventArgs.cs
630
C#
#if !SILVERLIGHT using System; using System.Collections; namespace ServiceStack.Messaging { public class InMemoryTransientMessageService : TransientMessageServiceBase { internal InMemoryTransientMessageFactory Factory { get; set; } public InMemoryTransientMessageService() : this(null) { ...
22.925
82
0.729553
[ "BSD-3-Clause" ]
niemyjski/ServiceStack
src/ServiceStack.Common/Messaging/InMemoryTransientMessageService.cs
917
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...
35.863636
135
0.554753
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Logic/V20160601/Map.cs
7,890
C#
using System; using System.Linq; namespace _04.CountOccurrencesofLargerNumbersinArray { public class Program { public static void Main() { double[] numbers = Console.ReadLine().Split(' ').Select(double.Parse).ToArray(); double number = double.Parse(Console.ReadLine()); ...
24.730769
92
0.51633
[ "MIT" ]
vankatalp360/Programming-Fundamentals-2017
Simple Arrays - Exercises/04.CountOccurrencesofLargerNumbersinArray/04.CountOccurrencesofLargerNumbersinArray.cs
645
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.Reflection; using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Microsoft.Framework.Configuration.CommandLine.Test")] [...
46.25
111
0.794595
[ "Apache-2.0" ]
tugberkugurlu/Configuration
src/Microsoft.Framework.Configuration.CommandLine/Properties/AssemblyInfo.cs
372
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("03....
37.675676
84
0.745337
[ "Apache-2.0" ]
vencislav-viktorov/VS-Console-App
Tech Module Extended/6.Arrays - More Exercises/03. Phonebook/Properties/AssemblyInfo.cs
1,397
C#
using System; using System.Collections.Generic; using System.Linq; namespace SessionManager { public static class SharpSession { /// <summary> /// Session dictionary key:String , Value:Dynamic /// </summary> public static Dictionary<string, dynamic> Session { get; set; } ...
24
71
0.490351
[ "BSD-3-Clause" ]
iQuantile-LLC/SharpSession
SessionManager/SharpSession.cs
2,282
C#
using OceanChip.Common.Extensions; using System.Collections.Generic; using System.Linq; namespace OceanChip.Queue.Clients.Consumers { public class ProcessQueue { private readonly object _lockObj = new object(); private readonly SortedDictionary<long, ConsumingMessage> _messageDict = new Sorted...
32.93617
128
0.494832
[ "Apache-2.0" ]
OceanChip/OQueue
OQueue/Clients/Consumers/ProcessQueue.cs
3,098
C#
using ICSharpCode.SharpZipLib.Core; using ICSharpCode.SharpZipLib.Zip; using NUnit.Framework; using System; using System.Diagnostics; using System.IO; using System.Text; using ICSharpCode.SharpZipLib.Tests.TestSupport; namespace ICSharpCode.SharpZipLib.Tests.Zip { [TestFixture] public class ZipEncryptionHandling {...
29.21246
151
0.672226
[ "MIT" ]
checkoss/SharpZipLib
test/ICSharpCode.SharpZipLib.Tests/Zip/ZipEncryptionHandling.cs
18,289
C#
namespace Humidifier.DMS { using System.Collections.Generic; public class Certificate : Humidifier.Resource { public override string AWSTypeName { get { return @"AWS::DMS::Certificate"; } } /// <summary> /// Certif...
28.296296
149
0.556283
[ "BSD-2-Clause" ]
jakejscott/Humidifier
src/Humidifier/DMS/Certificate.cs
1,528
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 ...
37.15
89
0.685061
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/orgpolicy/v2/google-cloud-orgpolicy-v2-csharp/Google.Cloud.OrgPolicy.V2.StandaloneSnippets/OrgPolicyClient.GetPolicyAsyncSnippet.g.cs
1,486
C#
namespace DigitalFamilyCookbook.Data.Domain.Models; public class Step : BaseDomainModel { public string Id { get; set; } = string.Empty; public int StepId { get; set; } public string Direction { get; set; } = string.Empty; public int SortOrder { get; set; } public int RecipeId { get; set; } ...
24.470588
57
0.578125
[ "MIT" ]
kpwags/digital-family-cookbook
backend/src/DigitalFamilyCookbook.Data/Domain/Models/Step.cs
832
C#
using NUnit.Framework; namespace Atata.Tests { public class ShouldTests : UITestFixture { private const string Country1Name = "England"; private const string Country2Name = "France"; private const string Country3Name = "Germany"; private const string MissingCountryName...
38.753927
114
0.582005
[ "Apache-2.0" ]
Artemyj/atata
src/Atata.Tests/ShouldTests.cs
7,404
C#
using System.Collections.Generic; using PizzaBox.Domain.Models; namespace PizzaBox.Domain.Abstracts { public abstract class APizza { protected List<AIngredient> _components; public List<AIngredient> Components { get { return _components; ...
22.547619
129
0.504752
[ "MIT" ]
celestinojones/project0
PizzaBox.Domain/Abstracts/APizza.cs
947
C#
using System; using Windows.Foundation; using Windows.UI.Xaml; namespace Xamarin.Forms.Platform.UWP { public class ShellHeaderRenderer : Windows.UI.Xaml.Controls.ContentControl { Shell _shell; public ShellHeaderRenderer(Shell element) { Shell.VerifyShellUWPFlagEnabled(nameof(ShellHeaderRenderer)); Set...
21.025641
94
0.712805
[ "MIT" ]
nventive/Uno.Xamarin.Forms
Xamarin.Forms.Platform.UAP/Shell/ShellHeaderRenderer.cs
1,642
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace SitecoreDev.Feature.Media.ViewModels { public class HeroSliderImageViewModel { public HtmlString Image { get; set; } public bool IsActive { get; set; } } }
21
46
0.721612
[ "MIT" ]
claudiu04/SitecoreDev
Feature/Media/SitecoreDev.Feature.Media/ViewModels/HeroSliderImageViewModel.cs
275
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 ...
40.204545
94
0.767665
[ "Apache-2.0" ]
aliyun/aliyun-openapi-net-sdk
aliyun-net-sdk-outboundbot/OutboundBot/Transform/V20191226/UntagResourcesResponseUnmarshaller.cs
1,769
C#
using System; namespace Aeon.Emulator { [Flags] public enum FPUStatus { Clear = 0, InvalidOperation = (1 << 0), Denormalized = (1 << 1), ZeroDivide = (1 << 2), Overflow = (1 << 3), Underflow = (1 << 4), Precision = (1 << 5), StackFault = (1 <...
20.416667
36
0.393878
[ "Apache-2.0" ]
gregdivis/Aeon
src/Aeon.Emulator/Processor/FPUStatus.cs
492
C#
namespace sg_prj { partial class AboutBox { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> p...
56.826087
160
0.633321
[ "MIT" ]
LaikaStudios/sgProjectPlugin
Shotgun Project Plugin/Interface/AboutBox.Designer.cs
10,458
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 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 attribu...
38.545455
84
0.753931
[ "MIT" ]
GerHobbelt/appcenter-sdk-dotnet
SDK/AppCenterPush/Microsoft.AppCenter.Push.UWP/Properties/AssemblyInfo.cs
1,272
C#
//----------------------------------------------------------------------- // <copyright file="CameraImageBytes.cs" company="Google LLC"> // // Copyright 2018 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 ob...
35.815789
99
0.557678
[ "Apache-2.0" ]
ANKITVIRGO23/ARVRTest
Assets/GoogleARCore/SDK/Scripts/CameraImageBytes.cs
5,444
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Security_Indentity_Sample.Models.AccountViewModels { public class LoginWith2faViewModel { [Required] [StringLength(7, ErrorMessage = "The {0} ...
29.608696
123
0.679883
[ "Apache-2.0" ]
vincoss/NetCoreSamples
AspNetCore-2.0/src/Security_Indentity_Sample/Models/AccountViewModels/LoginWith2faViewModel.cs
683
C#
using System; using System.Linq; using System.Threading.Tasks; using LinqToDB; using LinqToDB.Data; using LinqToDB.Mapping; using LinqToDB.SqlQuery; using NUnit.Framework; namespace Tests.Linq { [TestFixture] public class TestQueryCache : TestBase { [Table] class SampleClass { public int ...
33.772727
149
0.63773
[ "MIT" ]
ammogcoder/linq2db
Tests/Linq/Linq/TestQueryCache.cs
4,329
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using PalmeralGenNHibernate.CEN.Default_; using PalmeralGenNHibernate.EN.Default_; namespace LimpiezasPalmeralTest { [TestClass] public class ProductoTest { private ProductoCEN productoTest; [TestInitialize] public...
27.315068
107
0.54664
[ "Apache-2.0" ]
pablovargan/winforms-ooh4ria
LimpiezasPalmeralTest/ProductoTest.cs
1,996
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using NUnit.Framework; using PRI.Messaging.Patterns; using PRI.Messaging.Patterns.Exceptions; using PRI.Messaging.Patterns.Extensions.Bus; using PRI.Messaging.Primitives; using Tests.Mocks; #...
31.793814
154
0.693174
[ "MIT" ]
peteraritchie/Messaging.Patterns
Tests/BusTests.cs
12,336
C#
using System; using System.Globalization; using System.Text.Json; using System.Text.Json.Serialization; namespace Privatbank.Business.Converters { internal class StringDecimalConverter : JsonConverter<decimal> { public override decimal Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerO...
30.571429
114
0.699377
[ "MIT" ]
mindcollapse/Privatbank.Business
Privatbank.Business/Converters/StringDecimalConverter.cs
642
C#
namespace Lexs4SearchRetrieveWebService { /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("WscfGen", "1.0.0.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [Syste...
29.974684
173
0.518159
[ "Apache-2.0" ]
gtri-iead/LEXS-NET-Sample-Implementation-4.0
LEXS Search Retrieve Service Implementation/LexsSearchRetrieveCommon/DateAccuracyIndicatorCodeType.cs
2,368
C#
using System; using System.IO; using Ela.Parsing; using ElaConsole.Options; using Ela; using System.Collections.Generic; using Ela.Debug; namespace ElaConsole { internal sealed class MessageHelper { #region Construction private ElaOptions opt; internal MessageHelper(Ela...
32.953668
117
0.500293
[ "MIT" ]
vorov2/ela
Ela/ElaConsole/MessageHelper.cs
8,537
C#
using System; using System.Collections.Generic; namespace EZOper.NetSiteUtilities.AopApi { /// <summary> /// AOP API: alipay.trade.app.pay /// </summary> public class AlipayTradeAppPayRequest : IAopRequest<AlipayTradeAppPayResponse> { /// <summary> /// app支付接口2.0 /// </sum...
22.854545
82
0.596659
[ "MIT" ]
erikzhouxin/CSharpSolution
NetSiteUtilities/AopApi/Request/AlipayTradeAppPayRequest.cs
2,522
C#
//---------------------- // <auto-generated> // This file was automatically generated. Any changes to it will be lost if and when the file is regenerated. // </auto-generated> //---------------------- #pragma warning disable using System; using SQEX.Luminous.Core.Object; using System.Collections.Generic; using CodeDom...
29.954545
202
0.626201
[ "MIT" ]
Gurrimo/Luminaire
Assets/Editor/Generated/SQEX/Ebony/AIGraph/Data/ConstantValue/ConstantValueFloat.generated.cs
1,977
C#
#region License //-------------------------------------------------- // <License> // <Copyright> 2018 © Top Nguyen </Copyright> // <Url> http://topnguyen.com/ </Url> // <Author> Top </Author> // <Project> Elect </Project> // <File> // <Name> HideInApiDocAttribute.cs </Name> // <Crea...
28.642857
70
0.537406
[ "MIT" ]
anglesen1120/Elect
src/Web/Elect.Web.Swagger/Attributes/HideInApiDocAttribute.cs
805
C#
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt. using System; using System.Collections; using System.ComponentModel; using System.Drawing; using System.Drawing.Design; using System.Globalization; using System.Runtime.InteropServices; using System.Text; using System.Windows.Forms...
38.806009
787
0.528125
[ "Apache-2.0" ]
HaKDMoDz/ATF
Framework/Atf.Gui.WinForms/Controls/PropertyEditing/PropertyEditingControl.cs
44,048
C#
using System.ComponentModel; namespace AdventOfCode { public class BaseViewModel : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; protected void NotifyChange(string propertyName) { if (PropertyChanged != null) { ...
23.631579
67
0.605791
[ "MIT" ]
tpryde/AoC2020
AdventOfCode2020/src/UI/BaseViewModel.cs
451
C#
using SFML.System; using SFML.Graphics; namespace polygon_collision_detection { public abstract class body { public enum enumBodyType { point, line, circle, rectangle, polygon } #region "Properties" internal enumBodyType bodytype;...
26.695652
57
0.492671
[ "MIT" ]
JohnGinnane/polygon-collision-detection
classes/entities/body.cs
2,456
C#
using UnityEngine; using UnityEngine.UI; namespace OmiyaGames.Menus { ///----------------------------------------------------------------------- /// <copyright file="OptionsListMenu.cs" company="Omiya Games"> /// The MIT License (MIT) /// /// Copyright (c) 2014-2018 Omiya Games /// /// P...
33.812709
171
0.53452
[ "MIT" ]
OmiyaGames/what-goes-around
Assets/Omiya Games/Scripts/Menus/Options/OptionsListMenu.cs
10,112
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("La...
37.810811
84
0.745533
[ "Artistic-2.0" ]
WildElf/BeginningCSharp
Lab4/Lab4/Properties/AssemblyInfo.cs
1,402
C#
using System; /* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, softw...
28.666667
133
0.6
[ "Apache-2.0" ]
zhangzihan/nactivity
NActiviti/Sys.Bpm.Engine/Engine/impl/bpmn/listener/ExpressionTaskListener.cs
1,722
C#
using Unity.Entities; namespace Match3Game { public static class StateMachineHelper { public interface IStateTransition<TState> { TState State { get; } } public static TState TryFindTransition<TTransition, TState>( EntityQueryBuilder entities...
31.919192
121
0.449051
[ "MIT" ]
sschoener/dots3
Assets/Scripts/StateMachineHelper.cs
3,160
C#
using Ryujinx.Common; using Ryujinx.Common.Logging; using Ryujinx.Cpu; using Ryujinx.HLE.HOS.Services.Account.Acc.AccountService; using System.Collections.Generic; namespace Ryujinx.HLE.HOS.Services.Account.Acc { class ApplicationServiceServer { readonly AccountServiceFlag _serviceFlag; publi...
32.170404
150
0.59409
[ "MIT" ]
312811719/Ryujinx
Ryujinx.HLE/HOS/Services/Account/Acc/ApplicationServiceServer.cs
7,176
C#
namespace MTProto.NET.Schema.TL { public abstract class TLAbsMessagesFilter : MTObject { } }
15
56
0.695238
[ "MIT" ]
Gostareh-Negar/TeleNet
MTProto.NET/Schema/TL/_generated/TLAbsMessagesFilter.cs
105
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics.CodeAn...
42.115702
174
0.592327
[ "MIT" ]
333fred/roslyn
src/Compilers/Core/Rebuild/CompilationOptionsReader.cs
20,386
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace DbUtilsDemo.Models { [DisplayColumn("FirstName")] public class Employee { [DatabaseGenerated(DatabaseGeneratedOption.None)] [Column("Em...
23.853659
62
0.555215
[ "MIT" ]
KorzhCom/Korzh.DbUtils
samples/DbUtilsDemo.AspNetCore/Data/Models/Employee.cs
1,958
C#