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
// This code was generated by Hypar. // Edits to this code will be overwritten the next time you run 'hypar init'. // DO NOT EDIT THIS FILE. using Amazon; using Amazon.Lambda.Core; using Hypar.Functions.Execution; using Hypar.Functions.Execution.AWS; using System; using System.IO; using System.Reflection; using System...
38.918367
129
0.636078
[ "MIT" ]
tkahng/HyparFunctionsTests
EnvelopBySketchNew/src/Function.g.cs
1,907
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-------------------------------------...
28.169184
160
0.509063
[ "Apache-2.0" ]
corvus-dotnet/Corvus.JsonSchema
Solutions/Corvus.JsonSchema.Benchmarking/202012/DependentSchemasDraft202012/BooleanSubschemas/Schema.cs
18,648
C#
// Copyright (c) 2018 Jon P Smith, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/ // Licensed under MIT license. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using BizLogic.Orders; using DataLayer.EfClasses; using Generi...
39.303371
115
0.618067
[ "MIT" ]
tchpeng/GenericBizRunner
ServiceLayer/OrderServices/WebChangeDeliveryDto.cs
3,502
C#
// "Therefore those skilled at the unorthodox // are infinite as heaven and earth, // inexhaustible as the great rivers. // When they come to an end, // they begin again, // like the days and months; // they die and are reborn, // like the four seasons." // // - Sun Tsu, // "The Art of War" using DA.HtmlRenderer.Ada...
23.169492
82
0.553036
[ "BSD-3-Clause" ]
digitalalien/HTML-Renderer
Source/HtmlRenderer.PdfSharp/Adapters/ImageAdapter.cs
1,369
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.17379 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
43.068493
205
0.609415
[ "Apache-2.0" ]
rocky20798/SkeletonBasics-WPF
Properties/Resources.Designer.cs
3,144
C#
#if NETFX_CORE using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Media.Animation; #else #endif namespace Charts.WPF.ChartControls { using System.Windows; using System.Windows.Controls; using System.Windows.Media; /// <summary> /// The pie...
27.362319
131
0.555614
[ "Apache-2.0" ]
mendonca-andre/Charts.WPF
Charts.WPF/ChartControls/PiePieceLabel.cs
3,778
C#
using ANM.Core.Domain.Abstractions.Events; using ANM.Example.Domain.Wallets; namespace ANM.Example.Domain.Stocks.Events { public class StockBougthDomainEvent : DomainEvent { public StockBougthDomainEvent(Wallet source, Stock entity) : base() { this.Wallet = source; thi...
26.32
92
0.639818
[ "MIT" ]
alesimoes/hexagonal-clean-architecture
source/ANM.Example.Domain/Stocks/Events/StockBougthDomainEvent.cs
660
C#
using DarkUI.Config; using System; using System.ComponentModel; using System.Drawing; using System.Drawing.Drawing2D; using System.Windows.Forms; namespace DarkUI.Controls { public class DarkCheckBox : CheckBox { #region Field Region private DarkControlState _controlState = DarkControlState.N...
30.11658
131
0.539957
[ "MIT" ]
ohhsodead/DarkUI-master
DarkUI/Controls/DarkCheckBox.cs
11,627
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Shoot : MonoBehaviour { public GameObject bullet; // Use this for initialization void Start () { } // Update is called once per frame void Update () { if (Input.GetKey("space"...
18.782609
73
0.592593
[ "MIT" ]
AdamMinarik/SchoolWorkspace
UnityProjects/2nd lesson/Top Down Shooter/Assets/Shoot.cs
434
C#
namespace Azure.IoT.DeviceUpdate { public partial class DeploymentsClient { protected DeploymentsClient() { } public DeploymentsClient(string accountEndpoint, string instanceId, Azure.Core.TokenCredential credential) { } public DeploymentsClient(string accountEndpoint, string instanceId,...
93.52518
391
0.756359
[ "MIT" ]
AzureAppServiceCLI/azure-sdk-for-net
sdk/deviceupdate/Azure.Iot.DeviceUpdate/api/Azure.Iot.DeviceUpdate.netstandard2.0.cs
39,000
C#
/* * WebAPI * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: data * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.R...
36.908451
210
0.594352
[ "Apache-2.0" ]
zanardini/ARXivarNext-WebApi
ARXivarNext-ConsumingWebApi/IO.Swagger/Model/ProfileMailResponseItem.cs
5,241
C#
using System; using System.Collections.Generic; using KoiVM.Runtime.VCalls; namespace KoiVM.Runtime.Data { internal static class VCallMap { static readonly Dictionary<byte, IVCall> vCalls; static VCallMap() { vCalls = new Dictionary<byte, IVCall>(); foreach (var type in typeof(VCallMap).Assembly...
25.956522
69
0.671692
[ "CC0-1.0" ]
ElektroKill/KoiVM
KoiVM.Runtime/Data/VCallMap.cs
599
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 ...
33.101449
142
0.700963
[ "Apache-2.0" ]
awei1688/aliyun-openapi-net-sdk
aliyun-net-sdk-qualitycheck/Qualitycheck/Model/V20190115/ListRulesRequest.cs
2,284
C#
using Obi; using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening; using TapticPlugin; public class ObiRopeManager : MonoBehaviour { //public ObiRope rope; public ObiSolver solver; public float Distance = .1f; public float Damper = 500f; public ObiRopeC...
32.08046
225
0.591007
[ "MIT" ]
debruw/SewingRace
Assets/Scripts/ObiRopeManager.cs
5,584
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; // 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.540541
77
0.760168
[ "MIT" ]
starostin13/Samples
Graphics/Vuforia/LauncherIOS/Properties/AssemblyInfo.cs
1,427
C#
using System; using System.Linq; using System.Text.RegularExpressions; using HandlebarsDotNet; using WireMock.Util; using WireMock.Validation; namespace WireMock.Transformers { internal static class HandlebarsRegex { public static void Register(IHandlebars handlebarsContext) { hand...
35.46875
135
0.557269
[ "Apache-2.0" ]
APIWT/WireMock.Net
src/WireMock.Net/Transformers/HandleBarsRegex.cs
2,272
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using NBitcoin; using NBitcoin.DataEncoders; using Xels.Bitcoin.Base.Deployments; using Xels.Bitcoin.Connection; using Xels.Bitcoin.Consensus; using Xels.Bitcoin.Cons...
60.869458
1,096
0.661878
[ "MIT" ]
xels-io/SideChain-SmartContract
src/Xels.Bitcoin.IntegrationTests/SegWitTests.cs
49,428
C#
// ------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. // Mono Runtime Version: 4.0.30319.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </autogenerat...
25.738095
81
0.482886
[ "MIT" ]
bytecodelab/hive5-sdk-unity
Assets/Hive5/Models/ResponseBody/AuthenticatePlatformAccountResponseBody.cs
1,081
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. #nullable enable #pragma warning disable SA1028 // ignore whitespace warnings for generated code using System; usin...
35.309735
151
0.606516
[ "Apache-2.0" ]
ddonabedian/medikit
src/EHealth/Medikit.Security.Cryptography.Pkcs/System/Security/Cryptography/Pkcs/Asn1/RecipientIdentifierAsn.xml.cs
3,992
C#
#if UNITY_IOS using UnityEngine; using UnityEditor; using UnityEditor.Callbacks; using UnityEditor.iOS.Xcode; using System.Diagnostics; using System.IO; using Debug = UnityEngine.Debug; namespace Kakera.Unimgpicker { public class XcodeProjectConfigurator { [PostProcessBuild] static void OnPost...
30.191489
130
0.644116
[ "MIT" ]
ShreenathManikandaswamy/ARKIT-Photon
Assets/Unimgpicker/Editor/XcodeConfigurator.cs
1,421
C#
using QP_Comercio_Electronico.Models; using SQLite; using SQLiteNetExtensions.Attributes; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel.DataAnnotations.Schema; using System.Text; using XFFurniture.Models; namespace SwipeMenu.Models { public class ...
34.714286
77
0.672154
[ "MIT" ]
joseluishl123/Ordenes
XFFurniture/XFFurniture/Models/OrdenModelo.cs
1,460
C#
using System; using System.Xml.Serialization; namespace eidss.model.Avr.Chart { [Serializable] public class PieProperties : IParentSeries, IPieProperties { [XmlIgnore] public SeriesProperties ParentSeries { get; set; } public void CopyFrom(IPieProperties pie) {...
23.5
63
0.591876
[ "BSD-2-Clause" ]
EIDSS/EIDSS-Legacy
EIDSS v6.1/eidss.model/AVR/Chart/PieProperties.cs
519
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Xamarin.Forms.Labs.Services.Serialization { /// <summary> /// Serializer extensions. /// </summary> public static class StringSerializerExtensions { ...
35.192308
121
0.5949
[ "Apache-2.0" ]
mrbrl/Xamarin-Forms-Labs
src/Xamarin.Forms.Labs/Xamarin.Forms.Labs/Services/Serialization/StringSerializerExtensions.cs
2,747
C#
using System; using System.Collections.Generic; using System.Text; namespace Orleans.Runtime.GrainDirectory { internal class AdaptiveGrainDirectoryCache<TValue> : IGrainDirectoryCache<TValue> { internal class GrainDirectoryCacheEntry { internal TValue Value { get; private set; } ...
37.273743
153
0.586181
[ "MIT" ]
1007lu/orleans
src/Orleans.Runtime/GrainDirectory/AdaptiveGrainDirectoryCache.cs
6,672
C#
using BasonManagement.Application.Interfaces.CacheRepositories; using AspNetCoreHero.Results; using AutoMapper; using MediatR; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace BasonManagement.Application.Features.Products.Queries.GetAllCached { public class GetAllP...
37.416667
148
0.744618
[ "MIT" ]
chougule-lalit/PrismCement
BasonManagement.Application/Features/Products/Queries/GetAllCached/GetAllProductsCachedQuery.cs
1,349
C#
namespace Cactus.TimmyAuth { public static class Const { public const string AuthenticationType = "TIMMY"; public const char ComplexTokenMarker = '!'; } }
20.444444
57
0.646739
[ "MIT" ]
CactusSoft/Cactus.DummyAuthentication
Cactus.TimmyAuth/Const.cs
186
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...
26.806452
165
0.555957
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/DataFactory/GetTrigger.cs
2,493
C#
// <copyright file="AccountRepository.cs" company="SoluiNet"> // Copyright (c) SoluiNet. All rights reserved. // </copyright> namespace SoluiNet.DevTools.Management.Finances.Data.Repositories { using System.Collections.Generic; using System.Linq; using NHibernate; using NHibernate.Criterion; /// ...
31.096491
77
0.517913
[ "MIT" ]
Kimiyou/SoluiNet.DevTools
SoluiNet.DevTools.Management.Finances/Data/Repositories/AccountRepository.cs
3,547
C#
// Copyright 2022 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 ...
46.195652
137
0.735529
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Analytics.Admin.V1Alpha/Google.Analytics.Admin.V1Alpha.GeneratedSnippets/AnalyticsAdminServiceClient.CreateDisplayVideo360AdvertiserLinkRequestObjectAsyncSnippet.g.cs
2,125
C#
namespace SignalR.Core.Model { public interface IModel // : INotifyPropertyChanged { } }
12.875
55
0.660194
[ "MIT" ]
Behzadkhosravifar/SignalR
SignalR/Core/SignalR.Core/Model/IModel.cs
105
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Microsoft.ConsoleHelper.Threading { /// <summary>Provides a pump that supports running asynchronous methods on the current thread.</summary> public static class ...
45.083333
108
0.623537
[ "MIT" ]
brentstineman/ServiceFabricPubSub
src/ServiceFabricPubSub/ClientApp/Microsoft.ConsoleHelper/AsyncPump.cs
3,248
C#
using System; using ByteBee.Framework.Converting; using ByteBee.Framework.Converting.Abstractions; using NUnit.Framework; namespace ByteBee.Framework.Tests.Converting.Standard.UriCastingTests { [TestFixture] public sealed partial class UriCastingTest { private ITypeConverter<Uri> _converter; ...
22.041667
70
0.646503
[ "MIT" ]
ByteBee/ByteBee
tests/converting/Standard/UriCastingTests/UriCastingTest.cs
531
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Domain.Core.Classes { public interface IEvent { } public interface IApplyEvent<in T> where T : IEvent { void Apply(T @event); } public interface IEventPub...
16.434783
55
0.661376
[ "MIT" ]
Harunx9/AkkaCQRSExample
Domain/Core/Classes/Event.cs
380
C#
using System; using System.Collections.Generic; using AppStore.Infra.CrossCutting.Encryption.Extension; using AppStore.Domain.CreditCards; using System.Linq; namespace AppStore.Domain.Users { public class User : IUser { public User() { } public User(string email, string password, IUserReposito...
34.949367
98
0.612821
[ "MIT" ]
leocosta/AppStore
server/src/AppStore.Domain/Users/User.cs
2,763
C#
using System; using System.Collections.Generic; using System.Net.Http; using UniRx.Async; using UnityEngine; using Utf8Json; namespace GoogleSpreadSheetDownloaderForUnity { public class GoogleSpreadSheetLoaderForHttp : IAsyncCsvLoader { private readonly IGoogleSpreadSheetLoaderParam _param;...
30.142857
136
0.458383
[ "MIT" ]
R-Sudo/GoogleSpreadSheetDownloaderForUnity
UnityProject/Assets/GoogleSpreadSheetDownloaderForUnity/Scripts/GoogleSpreadSheetLoaderForHttp.cs
7,210
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cofoundry.Domain { public class PermissionCommandData { public string EntityDefinitionCode { get; set; } public string PermissionCode { get; set; } } }
19.3125
56
0.71521
[ "MIT" ]
BOBO41/cofoundry
src/Cofoundry.Domain/Domain/Roles/Commands/PermissionCommandData.cs
311
C#
using System; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Options; using Microsoft.IdentityModel.Tokens; using OnionSquadTeamProject.Api.Services.Authentication; namespace OnionSquadTeamProject.A...
33.174603
113
0.697608
[ "MIT" ]
AdamSzerszen/OnionSquadTeamProject
OnionSquadTeamProject.Api/Authentication/JwtMiddleware.cs
2,092
C#
#region netDxf library licensed under the MIT License // // netDxf library // Copyright (c) 2019-2021 Daniel Carvajal (haplokuon@gmail.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), ...
33.715789
92
0.633156
[ "MIT" ]
Atlant3D/netDxf
netDxf/Tables/LinetypeSegment.cs
3,203
C#
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/ // // 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...
39.847619
84
0.70435
[ "Apache-2.0" ]
CalosChen/Core
src/Castle.Core/Components.DictionaryAdapter/Xml/Internal/Serializers/XmlTypeSerializerCache.cs
4,186
C#
namespace Modularity { partial class ModuleControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> //...
38.631579
166
0.559946
[ "MIT" ]
jackhuclan/bedrock
Quickstarts/Modularity/Modularity/ModuleControl.Designer.cs
2,938
C#
using System.Runtime.InteropServices; namespace System.Speech.Internal.SapiInterop { [StructLayout(LayoutKind.Sequential)] internal class SPSERIALIZEDPHRASEELEMENT { internal uint ulAudioTimeOffset; internal uint ulAudioSizeTime; internal uint ulAudioStreamOffset; internal uint ulAudioSizeBytes; inter...
18.621622
44
0.812772
[ "MIT" ]
aaasoft/Unoffical.System.Speech
System.Speech/System.Speech.Internal.SapiInterop/SPSERIALIZEDPHRASEELEMENT.cs
689
C#
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// anttech.blockchain.defin.customer.login.confirm /// </summary> public class AnttechBlockchainDefinCustomerLoginConfirmRequest : IAlipayRequest<AnttechBlockchainDefi...
22.951613
135
0.552706
[ "MIT" ]
fory77/paylink
src/Essensoft.Paylink.Alipay/Request/AnttechBlockchainDefinCustomerLoginConfirmRequest.cs
2,856
C#
using System; using System.IO; using GroupDocs.Conversion.Options.Convert; namespace GroupDocs.Conversion.Examples.CSharp.BasicUsage { /// <summary> /// This example demonstrates how to convert HTM file into TXT format. /// For more details about Hypertext Markup Language File (.htm) to Plain Text File For...
41.354839
159
0.665367
[ "MIT" ]
groupdocs-conversion/GroupDocs.Conversion-for-.NET
Examples/GroupDocs.Conversion.Examples.CSharp/BasicUsage/ConvertToWordProcessing/ConvertToTxt/ConvertHtmToTxt.cs
1,282
C#
using EasyModular.SqlSugar; using SqlSugar; using System; using System.Collections.Generic; using System.Text; namespace Demo.Admin.Domain { /// <summary> /// 用户最近选择 /// </summary> [SugarTable("Sys_User_Latest_Select", "用户最近选择")] public partial class UserLatestSelectEntity : SoftDeleteEntity<strin...
20.342105
74
0.538163
[ "MIT" ]
doordie1991/EasyModular
simple/01_Admin/Demo.Admin.Domain/UserLatestSelect/Entity/UserLatestSelectEntity.cs
827
C#
using System; using System.Threading.Tasks; namespace RocketOptimize.Simulation { public class AscentOptimization { private static double ErrorFunction(double x, double scale = 1) { return (x * x / (scale * scale)); } public static double ComputeScore(AscentSimulat...
51.270408
198
0.611305
[ "MIT" ]
eweilow/rocket-optimize
RocketOptimize/Simulation/Optimize.cs
10,051
C#
using System.Linq; using FluentAssertions; using NUnit.Framework; using SkbKontur.TypeScript.ContractGenerator.CodeDom; using SkbKontur.TypeScript.ContractGenerator.Tests.Types; namespace SkbKontur.TypeScript.ContractGenerator.Tests { public class OptionsTests : TypeScriptTestBase { public OptionsTe...
52.181818
229
0.721254
[ "MIT" ]
mr146/TypeScript.ContractGenerator
TypeScript.ContractGenerator.Tests/OptionsTests.cs
2,870
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 Microsoft.EntityFrameworkCore.Metadata; using Remotion.Linq; using Remotion.Linq.Clauses; using Remotion.Linq.C...
41.615385
124
0.592113
[ "Apache-2.0" ]
Alecu100/EntityFrameworkCore
src/EFCore/Query/Internal/IncludeCompiler.IncludeLoadTree.cs
3,248
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...
34.572816
135
0.627633
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/DeviceFarm/Generated/Model/Internal/MarshallTransformations/GetProjectRequestMarshaller.cs
3,561
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AlibabaCloud.SDK.Vod20170321.Models { public class AttachAppPolicyToIdentityResponse : TeaModel { [NameInMap("RequestId")] [Validation(Required=true)] ...
24.111111
63
0.672811
[ "Apache-2.0" ]
alibabacloud-sdk-swift/alibabacloud-sdk
vod-20170321/csharp/core/Models/AttachAppPolicyToIdentityResponse.cs
651
C#
namespace SofiaToday.Web.Controllers { using System.Web.Mvc; using Common; using Data.Models; using Services.Data.Contracts; using ViewModels.Articles; public class CommentsController : BaseController { private readonly ICommentsService comments; public CommentsController(...
25.411765
80
0.573302
[ "MIT" ]
stoberov/SofiaToday
Source/Web/SofiaToday.Web/Controllers/CommentsController.cs
1,298
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace yys_yuhun10_ { public class Client { public Point start_single_src = new Point(1800, 930); public Point ready_src = new Point(2130, 1060); ...
30.943662
74
0.583523
[ "MIT" ]
nzaocan/YYSHelper
yys_yuhun10_/Client.cs
2,199
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { public static void Main() { var lines = int.Parse(Console.ReadLine()); var persons = new List<Person>(); for (int i = 0; i < l...
28.461538
87
0.495946
[ "MIT" ]
vlganev/CSharp-Fundamentals
CSharp OOP Basics/Lab Encapsulation/Persons/Program.cs
742
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Crystal3.Core { public enum Subplatform { None, /// <summary> /// Desktop and Holographic only (as of 6/16/2019) /// </summary> MixedReality, ...
20.153846
58
0.551527
[ "MIT" ]
Amrykid/Crystal
src/Crystal3/Core/Subplatform.cs
526
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.IoTJobsDataPlane")] [assembly: Asse...
47.34375
245
0.749835
[ "Apache-2.0" ]
altso/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/IoTJobsDataPlane/Properties/AssemblyInfo.cs
1,515
C#
using UnityEngine.Networking; #if ENABLE_PLAYFABSERVER_API namespace PlayFab { using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using MultiplayerAgent.Model; ...
38.106742
140
0.549536
[ "Apache-2.0" ]
CaptainPineapple/gsdk
UnityGsdk/Assets/PlayFabSdk/MultiplayerAgent/PlayFabMultiplayerAgentAPI.cs
13,568
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HandClapScript : MonoBehaviour { public void Clap() { Camera.main.GetComponent<cameraShake>().SmallShake(); } }
15.266667
61
0.707424
[ "MIT" ]
ojaypopedev/SwatTime
SwatTime/Assets/HandClapScript.cs
231
C#
using System.Collections.Generic; using Findit.API.Core; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authorization; namespace Findit.API.Controllers { public class ValuesController : BaseController { [AllowAnonymous] // GET api/values [HttpGet] public IEnumerable<string> Get() { retur...
16.795455
50
0.652233
[ "MIT" ]
robnvd/Findit.API
src/Findit.API/Controllers/ValuesController.cs
741
C#
using CarShop.Data.Models; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CarShop.Data { public class CarshopDbContext :DbContext { public DbSet<Car> Cars { get; set; } public D...
23.066667
100
0.653179
[ "MIT" ]
villdimova/SoftUni-WEB
ExamPreparation/CarShop/CarShop/Data/CarshopDbContext.cs
694
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace Microsoft.Management.UI.Internal { /// <summary> /// The FilterRulePanelItemType enum is used to classify a <see cref="FilterRulePanelItem"/>'s /// hierarchical relationship within a <see cref="FilterRulePanel"/>. /// ...
37.875
131
0.667492
[ "MIT" ]
10088/PowerShell
src/Microsoft.Management.UI.Internal/ManagementList/FilterProviders/FilterRulePanelItemType.cs
1,212
C#
namespace ChainOfResponsibilityPattern { /// <summary> /// The 'Handler' abstract class /// </summary> internal abstract class Approver { protected Approver Successor { get; set; } public void SetSuccessor(Approver successor) { Successor = successor; } ...
21.777778
63
0.612245
[ "MIT" ]
PhilShishov/Design-Patterns
BehavioralPatterns/ChainOfResponsibilityPattern/Approver.cs
394
C#
namespace RippleDotNetCore.Rippled.Models.Requests.Ledger { public class LedgerRequestParams { public string LedgerHash { get; set; } public string LedgerIndex { get; set; } public bool Full { get; set; } public bool Accounts { get; set; } public bool Transactions { get;...
30.866667
58
0.606911
[ "MIT" ]
dxzcc/RippleDotNetCore
src/RippleDotNetCore.Rippled/Models/Requests/Ledger/LedgerRequestParams.cs
465
C#
using System; using System.Collections.Generic; using System.Text; namespace PartsTreeSystem { public class Asset { internal virtual Difference GetDifference(int instanceID) { return null; } internal virtual void SetDifference(int instanceID, Difference difference) { } } }
21.769231
80
0.780919
[ "Apache-2.0" ]
effekseer/PartsTreeSystem
PartsTreeSystem/Asset.cs
285
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 ...
23.762376
112
0.667917
[ "Apache-2.0" ]
bitType/aliyun-openapi-net-sdk
aliyun-net-sdk-dms-enterprise/Dms_enterprise/Model/V20181101/RegisterUserRequest.cs
2,400
C#
using Newtonsoft.Json; using System.Web.Http; namespace Swagger_Test.Controllers { public class SymbolsController : ApiController { public Symbols Post(Symbols x) { return x; } } public class Symbols { [JsonProperty(PropertyName = "@id")] public...
19.416667
50
0.579399
[ "BSD-3-Clause" ]
heldersepu/Swagger-Net-Test
Swagger_Test/Controllers/SymbolsController.cs
468
C#
using System; using System.Linq; using Microsoft.CodeAnalysis; namespace Avalonia.PropertyGenerator.CSharp { internal sealed class StyledProperty : Property { private StyledProperty(IFieldSymbol field, string name, bool clrPropertyExists, Accessibility clrPropertyAccessibility) : b...
30.95
128
0.617124
[ "MIT" ]
jp2masa/Avalonia.PropertyGenerator
src/Avalonia.PropertyGenerator.CSharp/StyledProperty.cs
1,238
C#
using HelperUtilities.IO; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { Logger _logger = new Logger(); _logger.App...
16.904762
42
0.605634
[ "MIT" ]
vibs2006/OWIN-WebAPI-Service
ConsoleApp1/Program.cs
357
C#
using System; using System.Drawing; using System.IO; using NUnit.Framework; namespace GraphicsCourse.Task2.UnitTests; public class Tests { private Drawer _drawer = null!; [SetUp] public void Setup() { _drawer = new Drawer(new Size(800, 800)); } [TestCase(1, 0, 1, 0)] [T...
28.603896
127
0.542565
[ "Apache-2.0" ]
gODeaLoAple/urfu-computer-grahpics
GraphicsCourse/GraphicsCourse.Task2.UnitTests/Tests.cs
4,405
C#
namespace Dio.Series { public class Serie : EntidadeBase { public Serie(Genero genero, string descricao, string titulo, int ano) { Genero = genero; Descricao = descricao; Titulo = titulo; Ano = ano; } public Serie(Guid id...
24.058824
87
0.461288
[ "CC0-1.0" ]
mckatoo/localiza-bootcamp-2
Cadastro_de_Series/Dio.Series/Classes/Serie.cs
1,231
C#
using NPOI.OpenXml4Net.Util; using System; using System.IO; using System.Xml; using System.Xml.Serialization; namespace NPOI.OpenXmlFormats.Spreadsheet { [Serializable] [XmlType(Namespace = "http://schemas.openxmlformats.org/spreadsheetml/2006/main")] public class CT_MergeCell { private string refField; [XmlA...
19.255319
86
0.687293
[ "MIT" ]
iNeverSleeeeep/NPOI-For-Unity
NPOI.OpenXmlFormats.Spreadsheet/CT_MergeCell.cs
905
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; us...
26.363636
79
0.602759
[ "MIT" ]
axzxs2001/AspNetGitDemo
AspNetGitDemo/Web001/Startup.cs
1,450
C#
namespace CollectIt.Database.Abstractions.Account.Exceptions; public class UserAlreadySubscribedException : UserSubscriptionException { public UserAlreadySubscribedException(int userId, int subscriptionId) : base(userId, subscriptionId) { } }
29.222222
73
0.787072
[ "Apache-2.0" ]
Reb1azzze/collect-it
src/CollectIt.Database/CollectIt.Database.Abstractions/Account/Exceptions/UserAlreadySubscribedException.cs
263
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using resources.Data; us...
36.461538
109
0.619952
[ "CC0-1.0" ]
SoftwareMasons/aurelia-openiddict
src/resources/Startup.cs
3,320
C#
namespace Auditio.Content; public class Class1 { }
10.4
27
0.769231
[ "MIT" ]
cwoodruff/auditio
auditio/Auditio.Content/Class1.cs
54
C#
//GENERATED: CS Code using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace UnrealEngine{ public partial class ALODActor:AActor { [MethodImplAttribute(MethodImplOptions.InternalCall)] public static extern new IntPtr StaticClass(); } }
24.583333
55
0.789831
[ "MIT" ]
RobertAcksel/UnrealCS
Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile/ALODActor.cs
295
C#
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Threading.Tasks; using Microsoft.AspNetCore.Server.IntegrationTesting; using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging.Testing; using Xunit; using X...
46.736111
161
0.612481
[ "Apache-2.0" ]
06b/AspNetCore
src/MusicStore/test/MusicStore.E2ETests/SmokeTestsOnNanoServer.cs
13,460
C#
using System.Web.Mvc; namespace AlloyDemoKit.Business.VisitorGroupUIStyling { public class OverrideVisitorGroupCssAttribute : OutputProcessorActionFilterAttribute { protected override string Process(string data) { return data .Replace("</head", "<link href=\"/Static...
39.285714
163
0.654545
[ "Apache-2.0" ]
rholzner/AlloyDemoKit
src/AlloyDemoKit/Business/VisitorGroupUIStyling/OverrideVisitorGroupCss.cs
827
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/sapi.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtime.Co...
51
164
0.662713
[ "MIT" ]
Ethereal77/terrafx.interop.windows
sources/Interop/Windows/um/sapi/ISpDataKey.cs
6,326
C#
using APPRestaurante.UnitOfWork; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace APPRestaurante.Web.Areas.Admin.Controllers { public class ClienteController : BaseController { public ClienteController(IUnitOfWork unit) : base(unit) ...
20.043478
63
0.646421
[ "MIT" ]
HugoRoca/app-restaurant
APPRestaurante/APPRestaurante.Web/Areas/Admin/Controllers/ClienteController.cs
463
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using StarkPlatform.CodeAnalysis.Stark.Syntax; using StarkPla...
35.53616
171
0.590807
[ "Apache-2.0" ]
stark-lang/stark-roslyn
src/Compilers/Stark/Portable/Symbols/Source/LambdaSymbol.cs
14,252
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using MLAgents; using System; [RequireComponent(typeof(Rigidbody))] [RequireComponent(typeof(CarVehicle))] public class AltAgentCar : AbstractAgentCarController { // A reference to the vehicle "driven" by the agent private Abstract...
32.889952
155
0.658859
[ "MIT" ]
FotisSpinos/Year-4-AI
AI Year 4 Project/Assets/Training/AltAgentCar.cs
6,876
C#
// // Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // using nanoFramework.TestFramework; using System; using System.Diagnostics; namespace NFUnitTestClasses { [TestClass]...
31.385554
124
0.441657
[ "MIT" ]
Eclo/lib-CoreLibrary
Tests/NFUnitTestClasses/UnitTestPropertiesTests.cs
61,706
C#
using System; using System.Threading.Tasks; namespace Maxisoft.Utils { public static class FuncExtensions { public static Task<T> ToTask<T>(this Func<T> func) { return Task.Run(func); } } }
18.384615
58
0.598326
[ "MIT" ]
sucrose0413/Maxisoft.Utils
Maxisoft.Utils/FuncExtensions.cs
241
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 applicable la...
25.790476
80
0.562777
[ "ECL-2.0", "Apache-2.0", "MIT" ]
ONLYOFFICE/CommunityServer
common/ASC.Data.Storage/ProgressStream.cs
2,708
C#
using Orleans.Serialization.Buffers; using Orleans.Serialization.TypeSystem; using Orleans.Serialization.WireProtocol; using System; using System.Buffers; using System.Runtime.CompilerServices; namespace Orleans.Serialization.Codecs { /// <summary> /// Codec for operating with the wire format. /// </summar...
43.251592
170
0.55666
[ "MIT" ]
BearerPipelineTest/orleans
src/Orleans.Serialization/Codecs/FieldHeaderCodec.cs
13,581
C#
using System; using System.Collections.Generic; namespace Yarn.EventSourcing { public interface IAggregate { Guid Id { get; } int Version { get; } IEnumerable<object> GetUncommittedEvents(); void ClearUncommittedEvents(); } }
20.769231
51
0.651852
[ "MIT" ]
stepaside/Yarn
Yarn/EventSourcing/IAggregate.cs
270
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ResolveEventTrigger.cs" company="Sitecore A/S"> // Copyright (C) 2013 by Sitecore A/S // </copyright> // <summary> ...
34.844444
121
0.482143
[ "Apache-2.0" ]
BrightcoveOS/Sitecore-8.x-Media-Framework-2.x-Connector
src/Sitecore.MediaFramework/Pipelines/Analytics/ResolveEventTrigger.cs
1,570
C#
namespace EasyServices.Web.Areas.Administration.Controllers { using System.Threading.Tasks; using EasyServices.Services.Data; using EasyServices.Web.ViewModels.Administration.SubCategories; using Microsoft.AspNetCore.Mvc; public class SubCategoriesController : AdministrationController { ...
33.090909
97
0.664286
[ "MIT" ]
djengo16/EasyServices
Web/EasyServices.Web/Areas/Administration/Controllers/SubCategoriesController.cs
1,822
C#
using System; using System.IO; namespace FingerSensorsApp.Helpers { public static class StreamExtensions { public static string ToBase64String(this Stream stream) { using (var memoryStream = new MemoryStream()) { stream.CopyTo(memoryStream); ...
22.833333
70
0.588808
[ "Apache-2.0" ]
srw2ho/FingerPrintSensor_SEN0188
FingerSensorsApp/Helpers/StreamExtensions.cs
413
C#
// <auto-generated /> using System; using AbpUserImport.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion...
38.787105
106
0.446021
[ "MIT" ]
bartvanhoey/AbpUserImport
src/AbpUserImport.EntityFrameworkCore/Migrations/20211223102134_Initial.Designer.cs
89,639
C#
/******************************************************************************* * Copyright 2012-2019 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...
44.398148
273
0.607716
[ "Apache-2.0" ]
5u5hma/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/ElasticTranscoder/Basic/Read-ETSJob-Cmdlet.cs
9,590
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; using Phone.Classes; using System.Windows.Media.Imaging; using System.Windows.Media; us...
33.580645
241
0.518732
[ "MIT" ]
Apidcloud/ProjectoSueca
Windows Phone 7.1 - updated/Phone - actualizado/Phone/JogoPage.xaml.cs
14,579
C#
namespace BrightChain.Engine.Enumerations { /// <summary> /// List of the pre-specified block sizes this node supports /// The BlockSizeMap class contains the map to the actual sizes. /// </summary> public enum BlockSize { /// <summary> /// Invalid/indeterminate/unknown block si...
31.057143
113
0.551058
[ "Apache-2.0" ]
MaxMood96/BrightChain
src/BrightChain.Engine/Enumerations/BlockSize.cs
1,089
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ViewLocator.cs" company="Catel development team"> // Copyright (c) 2008 - 2015 Catel development team. All rights reserved. // </copyright> // ----------------------------------...
74.185714
141
0.68756
[ "MIT" ]
crazeydave/Catel
src/Catel.MVVM/Catel.MVVM.Shared/MVVM/Locators/ViewLocator.cs
10,388
C#
using System.Collections.Generic; using System.Linq; using GingerbreadAI.NLP.Word2Vec.AnalysisFunctions; using GingerbreadAI.NLP.Word2Vec.Embeddings; using Xunit; namespace GingerbreadAI.NLP.Word2Vec.Test.AnalysisFunctions; public class KMeansShould { [Theory] [MemberData(nameof(GetPutXElementsInXClustersData...
34.427083
126
0.54947
[ "MIT" ]
benchiverton/GingerbreadAI
src/NLP/GingerbreadAI.NLP.Word2Vec.Test/AnalysisFunctions/KMeansShould.cs
3,305
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. using Mosa.Compiler.Framework; using Mosa.Compiler.MosaTypeSystem; using System; using System.Collections.Generic; using System.Text; namespace Mosa.Compiler.Trace { /// <summary> /// Logs all instructions. /// </summary> public static class Instr...
23.571429
111
0.675758
[ "BSD-3-Clause" ]
Kintaro/MOSA-Project
Source/Mosa.Compiler.Framework/InstructionLogger.cs
2,310
C#
//------------------------------------------------------------------------------ // <auto-generated> // Этот код создан программой. // Исполняемая версия:4.0.30319.42000 // // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае // повторной генерации кода. // </auto-ge...
45.046875
189
0.627818
[ "BSD-3-Clause" ]
TrueMemer/AKITE.Contingent
Client/Properties/Resources.Designer.cs
3,394
C#
using System; namespace ToDo_List.Utils { public class MenuUtils { public static void MenuDeslogado() { Console.WriteLine("--------------------------------------------"); Console.WriteLine("---------- TT Trello Terminal ------------"); Console.WriteLine("--...
53.263158
78
0.330534
[ "MIT" ]
Gcarvalhu/ProgramacaoOrientadaAoObjeto
ToDo_List/Utils/MenuUtils.cs
2,030
C#
namespace OnlineStore.Models.Enums { public enum SortingOptions { Alphabetical_Ascending, Alphabetical_Descending, Price_LowToHigh, Price_HighToLow } }
19.5
34
0.666667
[ "MIT" ]
JV-Amorim/OnlineStore-ASP.NET-Core
Models/Enums/SortingOptions.cs
195
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Net.Http.Headers; namespace JHCW.Areas.HelpPage { /// <summary> /// This is used to identify the place where the sample should be applied. /// </summary> public class HelpPageSampleKey { //...
38.381503
176
0.554518
[ "MIT" ]
booko365dev/BookExamples
JHCW/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs
6,640
C#
using System; namespace BeatServerBrowser.Core.Interfaces { public interface ILoadingService { bool IsLoading { get; set; } void Load(Action action); } }
16.727273
43
0.652174
[ "MIT" ]
denpadokei/BeatServerBrowser
BeatServerBrowser.Core/Interfaces/ILoadingService.cs
186
C#