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
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut generi...
31.908367
96
0.599825
[ "MIT" ]
georghinkel/ttc2017smartGrids
generator/Schema/IEC61970/Informative/InfERPSupport/IErpReqLineItem.cs
8,011
C#
using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using EPiServer.Core; using EPiServer.Filters; using AlloyDemoKit.Business; using AlloyDemoKit.Models.Blocks; using AlloyDemoKit.Models.ViewModels; using EPiServer.Web.Mvc; using EPiServer; using EPiServer.Templates.Blog.Mvc.Models.Blocks; name...
30.727273
99
0.650148
[ "Apache-2.0" ]
Codecamv/AlloyDemoKit
src/AlloyDemoKit/Controllers/CarouselBlockController.cs
1,352
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
47.370968
499
0.623425
[ "MIT" ]
excubo-ag/Analyzers.DependencyInjectionValidation
DependencyInjectionValidation/Resources.Designer.cs
8,813
C#
using Catalog.API.Entities; using System.Collections.Generic; using System.Threading.Tasks; namespace Catalog.API.Repositories { public interface IProductRepository { Task<IEnumerable<Product>> GetProducts(); Task<Product> GetProductById(string productId); Task<IEnumerable<Product>> ...
24.833333
80
0.723154
[ "MIT" ]
majaham/AspnetMicroservices
src/Services/Catalog/Catalog.API/Repositories/IProductRepository.cs
598
C#
namespace PersonInfo { using System; public class StartUp { public static void Main() { string name = Console.ReadLine(); int age = int.Parse(Console.ReadLine()); string id = Console.ReadLine(); string birthdate = Console.ReadLine(); ...
26.636364
79
0.578498
[ "MIT" ]
dMundov/SoftUni-HomeWorks
CSharp-OOP/05.Interfaces and Abstraction - Exercise/02.MultipleImplementation/StartUp.cs
588
C#
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild using Kaitai; using System.Collections.Generic; namespace KCD.Library.Tables { public partial class PerkCodex : KaitaiStruct { public static PerkCodex FromFile(string fileName) { ret...
40.578125
124
0.556026
[ "MIT" ]
Scrivener07/Kingdom-Come
Source/KCD.Kaitai/Tables/PerkCodex.cs
5,194
C#
using System; class PrintPerimetarAndArea { static void Main() { System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture; Console.WriteLine("Enter a radius of circle: "); double r = double.Parse(Console.ReadLine()); double area =...
32.533333
113
0.643443
[ "MIT" ]
iKostov86/CSharp
Homeworks/C# - part 1/ConsoleInputOutput/02.PrintPerimatarAndArea/PrintPerimetarAndArea.cs
490
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. namespace System.Resources { [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)] public seale...
38.823529
117
0.690152
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Private.CoreLib/src/System/Resources/NeutralResourcesLanguageAttribute.cs
1,320
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("VoicemeeterTest")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("VoicemeeterTest")] [assembly: Assembly...
30
56
0.757143
[ "MIT" ]
DmitriySalnikov/VoicemeeterRemote
VoicemeeterTest/Properties/AssemblyInfo.cs
631
C#
// This file was auto-generated based on version 1.0.0 of the canonical data. using System; using System.Collections.Generic; using Xunit; public class GoCountingTests { [Fact] public void Black_corner_territory_on_5x5_board() { var coordinate = (0, 1); var board = " B \n" +...
32.037234
77
0.508052
[ "MIT" ]
shm613/csharp
exercises/go-counting/GoCountingTests.cs
6,023
C#
using System; using Xunit; using System.Linq; using ToDoApi.Data; using Microsoft.EntityFrameworkCore; using ToDoApi.Models; using ToDoApi.Controllers; using System.Net; using Microsoft.AspNetCore.Mvc; namespace ToDoApiTests { public class ToDoControllerTest { [Fact] public void CanCreateAToDoI...
31.025974
82
0.481582
[ "MIT" ]
ericsingletonjr/Lab17-API-Double-Resource
ToDoApi/ToDoApiTests/ToDoControllerTest.cs
4,778
C#
using UnityEngine; using UnityEngine.UI; namespace TowerBuilder { public class TowerGenerator : MonoBehaviour { [SerializeField] private Camera _camera; [SerializeField] private GameObject _brickPrefab; [SerializeField] private GameObject _towerPools; [SerializeField] private Te...
32.370787
106
0.592156
[ "MIT" ]
pid011/TowerBuilder
Assets/TowerBuilder/TowerGenerator.cs
2,881
C#
#nullable disable using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Pakhd.Shared.Models { public enum SalesOrderStatus { Open, Released, Posted } public class SalesOrder { [Key] [Da...
25.25641
63
0.651777
[ "Apache-2.0" ]
pakhd/pakhd
Shared/Models/SalesOrder.cs
987
C#
using AutoMapper; using Hotel.App.Model; using Hotel.App.Model.SYS; using System; using System.Collections.Generic; using System.Linq; namespace Hotel.App.API.ViewModels.Mappings { public class DomainToViewModelMappingProfile : Profile { protected override void Configure() { Mapper...
39.022727
82
0.557368
[ "MIT" ]
liquanchun/hotel-app-api
Hotel.App.API/ViewModels/Mappings/DomainToViewModelMappingProfile.cs
1,719
C#
namespace OTProyect.Migrations { using System; using System.Data.Entity; using System.Data.Entity.Migrations; using System.Linq; internal sealed class Configuration : DbMigrationsConfiguration<OTProyect.Models.ApplicationDbContext> { public Configuration() { Automati...
31.71875
106
0.564532
[ "MIT" ]
JeyssonXD/Sistema-Alerta-OT
OTProyect/Migrations/Configuration.cs
1,015
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace HjtProject.Views.Shared { public class PartialFooterModel : PageModel { public void OnGet() { } } }
18.764706
47
0.711599
[ "MIT", "Unlicense" ]
MeshalNajdi/Project04_Auth_CRUD_ASP.NET
HjtProject/Views/Shared/PartialFooter.cshtml.cs
319
C#
 namespace Project.Controllers.Api { using Microsoft.AspNetCore.Mvc; using Project.Controllers.Api.Cars; using Project.Services.Cars; using Project.Services.Cars.Models; [ApiController] [Route("api/cars")] public class CarsApiController : ControllerBase { private readonly ICarServ...
22.114286
82
0.576227
[ "MIT" ]
HardSmile/ASP.NET---Core-Project
Project/Controllers/Api/CarsApiController.cs
776
C#
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("InterfaceDeserializer.Test")]
50
60
0.85
[ "MIT" ]
kkikzk/InterfaceDeserializer
InterfaceDeserializer/AssemblyInfo.cs
102
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto // </auto-generated> // Original file comments: // Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file ex...
75.78133
411
0.739221
[ "Apache-2.0" ]
garrettwong/google-cloud-dotnet
apis/Google.Cloud.Monitoring.V3/Google.Cloud.Monitoring.V3/ServiceServiceGrpc.g.cs
59,261
C#
using Adnc.Application.Shared.Dtos; using System; using System.Collections.Generic; using System.Text; namespace Adnc.Usr.Application.Dtos { /// <summary> /// 角色,权限 /// </summary> [Serializable] public class RoleMenuCodesDto : BaseDto { /// <summary> /// 菜单Code /// </summary> ...
17.64
43
0.594104
[ "MIT" ]
JavaScript-zt/Adnc
src/ServerApi/Portal/Adnc.Usr/Adnc.Usr.Application/Services/Role/Dtos/RoleMenuCodesDto.cs
461
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; namespace Azure.AI.Language.QuestionAnswering.Models { /// <summary> Represent input text record to be queried. </summary> public partial class TextRecord ...
30.925
123
0.577203
[ "MIT" ]
EitanGayor/azure-sdk-for-net
sdk/cognitivelanguage/Azure.AI.Language.QuestionAnswering/src/Generated/Models/TextRecord.cs
1,237
C#
using System.Runtime.Serialization; namespace Umbraco.Web.Models.ContentEditing { [DataContract(Name = "searchResult", Namespace = "")] public class SearchResultItem : EntityBasic { /// <summary> /// The score of the search result /// </summary> [DataMember(Name = ...
26.066667
58
0.575448
[ "MIT" ]
Abhith/Umbraco-CMS
src/Umbraco.Web/Models/ContentEditing/SearchResultItem.cs
393
C#
// Copyright (c) 2007 James Newton-King. All rights reserved. // Use of this source code is governed by The MIT License, // as found in the license.md file. public class DeserializeCustomCreationConverter : TestFixtureBase { #region DeserializeCustomCreationConverterTypes public class Person { pu...
25.719298
88
0.603683
[ "MIT" ]
SimonCropp/Argon
src/Tests/Documentation/Samples/Serializer/DeserializeCustomCreationConverter.cs
1,468
C#
using UnityEngine; using Facepunch; using System.Collections.Generic; namespace Tub.InputOutput { public class ButtonTrigger : Tub.InputOutput.Button, INetworkObserved { } }
14.916667
70
0.793296
[ "MIT" ]
Facepunch/Tub.Editor
Assets/Internal/Exported/Tub.InputOutput/ButtonTrigger.cs
179
C#
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Riganti.Utils.Infrastructure.Core; using System.Collections.Generic; namespace BcsAdmin.DAL.Api { public class BcsObject : IEntity<int> { public int Id { get; set; } public string Name { get; set; } public string Descriptio...
28.409091
66
0.6624
[ "Apache-2.0" ]
sybila/BCSParser
BcsAdmin.DAL/Api/BcsObject.cs
627
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerShooter : MonoBehaviour { public Transform cameraTransform; public Transform shotSource; public GameObject plagueHatProjectilePrefab; public GameObject spiderHatProjectilePrefab; // We need this funct...
33.075472
160
0.67142
[ "MIT" ]
frostblooded/ArenaShooterGame
Assets/Scripts/PlayerShooter.cs
1,753
C#
namespace Gripper.ChromeDevTools.Target { using Newtonsoft.Json; /// <summary> /// Controls whether to discover available targets and notify via /// `targetCreated/targetInfoChanged/targetDestroyed` events. /// </summary> public sealed class SetDiscoverTargetsCommand : ICommand { pr...
26.939394
103
0.624297
[ "MIT" ]
tomaskrupka/Gripper
src/Gripper.ChromeDevTools/Target/SetDiscoverTargetsCommand.cs
889
C#
using Liquid.Repository; using MediatR; namespace Liquid.Domain.Extensions.Crud.Queries.GetAllGenericEntity { /// <summary> /// Query to Get All Entities /// </summary> /// <typeparam name="TEntity"></typeparam> /// <typeparam name="TIdentifier"></typeparam> public class GetAllGenericEntityQue...
35.777778
159
0.684783
[ "MIT" ]
Control-Alt-Sistemas/Liquid-Application-Framework
src/Liquid.Domain.Extensions.Crud/Queries/GetAllGenericEntity/GetAllGenericEntityQuery.cs
646
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.Linq; using Microsoft.EntityFrameworkCore.Specification.Tests; using Microsoft.EntityFrameworkCore.Specification.Tests.TestMo...
37.037815
249
0.570278
[ "Apache-2.0" ]
davidroth/EntityFrameworkCore
test/Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests/RowNumberPagingTest.cs
8,815
C#
using System; namespace PubNubAPI { public class PNPushRemoveChannelResult: PNResult { public string Message {get; set;} } }
16.111111
52
0.675862
[ "MIT" ]
BananiumLabs/bullet-heaven
BulletHeaven/Assets/PubNub/Models/Consumer/Push/PNPushRemoveChannelResult.cs
145
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
40.930328
157
0.531891
[ "MIT" ]
goosetuv/Snow-Recognition-Database
Properties/Sql.Designer.cs
9,989
C#
/* * Copyright © 2016-2018 EDDiscovery development team * * 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 ap...
39.059524
200
0.626333
[ "Apache-2.0" ]
EDDiscovery/EliteDangerous
EliteDangerous/JournalEvents/JournalSupercruise.cs
3,201
C#
#region License /* ************************************************************************************** * Copyright (c) Librame Pong All rights reserved. * * https://github.com/librame * * You must not remove this notice, or any other, from this software. * **************************************************...
42.6125
118
0.626283
[ "MIT" ]
gitter-badger/aspnetcore
src/Librame.AspNetCore.Web/Builders/WebBuilderExtensions.cs
3,797
C#
using Kaiyuanshe.OpenHackathon.Server.Biz; using Kaiyuanshe.OpenHackathon.Server.Models; using Kaiyuanshe.OpenHackathon.Server.ResponseBuilder; using Kaiyuanshe.OpenHackathon.Server.Swagger; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System.ComponentModel.DataAnnotations; using Syste...
39
137
0.627106
[ "MIT" ]
think-in-universe/open-hackathon
src/open-hackathon-server/Kaiyuanshe.OpenHackathon.Server/Controllers/UserController.cs
2,732
C#
namespace _02.Bank_accounts { public abstract class Account : Bank, IAccount { public Customer Customer { get; set; } public decimal Balance { get; set; } public decimal InterestRate { get; set; } public Account(Bank inputBank) : base (inputBank.BankName) ...
25.714286
111
0.6
[ "MIT" ]
fr0wsTyl/TelerikAcademy-2015
Telerik - C# OOP/Old Homeworks/05. OOP Principles - Part 2/02. Bank accounts/Account.cs
720
C#
using System.Collections.Generic; using Essensoft.AspNetCore.Payment.Alipay.Response; namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// <summary> /// alipay.fund.trans.trusteeship.account.create /// </summary> public class AlipayFundTransTrusteeshipAccountCreateRequest : IAlipayRequest<Alipa...
23.064516
129
0.554196
[ "MIT" ]
Msy1989/payment
src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayFundTransTrusteeshipAccountCreateRequest.cs
2,878
C#
#pragma checksum "E:\BIS SCHOOL\SUMMER 2020\CIS174Advanced C#.NetCore\Code\AssignmentsAtanga\Areas\Users\Views\Home\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "133a33518c4528443463b520b41b5ecef54e39d2" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.Ra...
53.425532
213
0.748706
[ "BSD-2-Clause" ]
eatanga/Advanced-C--Asp.NetCore
Code/AssignmentsAtanga/obj/Debug/netcoreapp3.1/Razor/Areas/Users/Views/Home/Index.cshtml.g.cs
2,511
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Diagnostics; using System.Collections.Generic; namespace Microsoft.PowerShell.Commands.Internal.Format { /// <summary> /// queue to provide sliding window capabilities for auto size funct...
34.669617
125
0.545988
[ "MIT" ]
renovate-mirrors/PowerShell
src/System.Management.Automation/FormatAndOutput/common/OutputQueue.cs
11,753
C#
// dnlib: See LICENSE.txt for more info using System; using System.Collections.Generic; using dnlib.Utils; using dnlib.W32Resources; using dnlib.IO; using dnlib.Threading; namespace dnlib.PE { /// <summary> /// Image layout /// </summary> public enum ImageLayout { /// <summary> /// Use this if the PE file has...
27.568831
120
0.668457
[ "MIT" ]
CodeShark-Dev/dnlib
src/PE/PEImage.cs
10,614
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...
33.6
159
0.596892
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/DataFactory/Latest/Inputs/AmazonMWSObjectDatasetArgs.cs
3,024
C#
using YuzuDelivery.Umbraco.Core; using YuzuDelivery.Umbraco.Forms; using YuzuDelivery.Umbraco.Grid; //---------------------- // <auto-generated> // Generated using the NJsonSchema v10.0.23.0 (Newtonsoft.Json v12.0.0.0) (http://NJsonSchema.org) // </auto-generated> //---------------------- namespace YuzuDelivery.Vi...
44.137931
164
0.703906
[ "MIT" ]
balanced-dev/yuzu-example-lambda
delivery.src/Lambda/App_Data/ViewModels/vmBlock_SiteNav.generated.cs
1,280
C#
namespace Bulwark.Integration.GitLab.Events { public class UpdateMergeRequestEvent { public int ProjectId { get; set; } public int MergeRequestIid { get; set; } } }
22.444444
48
0.628713
[ "MIT" ]
pauldotknopf/bulwark
src/integration/Bulwark.Integration.GitLab/Events/UpdateMergeRequestEvent.cs
204
C#
using System; using AspNetCoreSample.Domain; using BE.CQRS.Data.MongoDb; using BE.CQRS.Di.AspCore; using BE.CQRS.Domain.Configuration; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using MongoDB.Driver; namespace AspNetCoreSample { pub...
34.45
105
0.653846
[ "MIT" ]
AlexZeitler/BE.CQRS
Samples/2_ASPNET_Core/AspNetCoreSample/CQRSBooter.cs
1,378
C#
using QuizyfyAPI.Contracts.Responses.Pagination; namespace QuizyfyAPI.Data; public interface IQuizRepository : IRepository { PagedList<Quiz> GetQuizzes(PagingParams pagingParams, bool includeQuestions = false); Task<Quiz> GetQuiz(int id, bool includeQuestions = false); }
28.3
89
0.791519
[ "MIT" ]
Layfully/QuizyfyAPI
QuizyfyAPI/Data/Repositories/IQuizRepository.cs
285
C#
namespace TraktNet.Objects.Get.Tests.Collections.Implementations { using FluentAssertions; using System; using System.Threading.Tasks; using Trakt.NET.Tests.Utility.Traits; using TraktNet.Enums; using TraktNet.Objects.Get.Collections; using TraktNet.Objects.Get.Collections.Json.Reader; ...
41.142857
120
0.634549
[ "MIT" ]
henrikfroehling/Trakt.NET
Source/Tests/Trakt.NET.Objects.Get.Tests/Collections/Implementations/TraktCollectionShowEpisode_Tests.cs
2,306
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.CloudMine.Core.Collectors.Context; using Microsoft.CloudMine.Core.Collectors.Telemetry; using Microsoft.WindowsAzure.Storage.Blob; using Microsoft.WindowsAzure.Storage.Queue; using System.IO; using System.Text; using System.Thr...
52.219512
250
0.659505
[ "MIT" ]
dorfire/CEDAR.Core.Collector
Core.Collectors/IO/AzureBlobRecordWriter.cs
4,284
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace ComplaintBox.Web.Models { public class Subject { public int Id { get; set; } public string Title { get; set; } public Organization Organization { get; set; } public int OrganizationI...
23.4
55
0.632479
[ "MIT" ]
ahmedshuhel/Feedback
Source/Models/Subject.cs
353
C#
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("KindOfMagic Build Task")] [assembly: AssemblyProduct("KindOfMagic")] [assembly: AssemblyCopyright("Copyright © 2010-2016 Lex Lavnikov")] [assembly: AssemblyVersion("1.3.1.0")] [assembly: AssemblyFileVersion("1.3.1.0")] [assembly:...
34
67
0.773529
[ "MIT" ]
demigor/kindofmagic
KindOfMagic/Properties/AssemblyInfo.cs
343
C#
namespace Library.Web.ViewModels.Admin.Books { using Library.Data.Models; using Library.Services.Mapping; public class DeleteModel : IMapFrom<Book> { public int Id { get; set; } public string Title { get; set; } } }
19.615385
45
0.635294
[ "MIT" ]
maria-tananska/Library
Web/Library.Web.ViewModels/Admin/Books/DeleteModel.cs
257
C#
using System; using System.Collections.Generic; using System.Text; namespace GoodCodeBadCode.CH03.SingleResponsibility { public struct Recipient { public string Name { get; } public string Email { get; } public RecipientType RecipientType { get; } public Recipient(string name,...
23.190476
80
0.62423
[ "MIT" ]
afshaank/Clean-Code-in-C-
GoodCodeBadCode/CH03/SingleResponsibility/Recipient.cs
489
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data.SqlClient; using System.Configuration; using System.Data; namespace RoomValue.Models { public class DetailsModel { public String EMail { get; set; } public String Phone { get; se...
48.233236
140
0.593448
[ "MIT" ]
harimaruthachalam/RoomValue
RoomValue/Models/UserModel.cs
16,546
C#
using System.Security.Claims; namespace Dddify.Security.Identity; /// <summary> /// Used to get dddify specified claim type names. /// </summary> public static class DefaultClaimTypes { /// <summary> /// Default: <see cref="ClaimTypes.Name"/> /// </summary> public static string UserName { get; set; }...
28.181818
85
0.607742
[ "MIT" ]
esofar/dddify
src/Dddify/Security/Identity/DefaultClaimTypes.cs
1,552
C#
#if !NOT_UNITY3D using System; using System.Collections.Generic; using System.Threading; using ModestTree; using UnityEngine; using Zenject.Internal; #if UNITY_EDITOR #endif namespace Zenject { public class ProjectContext : Context { public event Action PreInstall; public event Action PostIns...
30.75817
146
0.556524
[ "MIT" ]
AlexandrBashkirev/innovate_afr_gauge
innovate_afr_gauge/Assets/Scripts/Tools/Zenject/Source/Install/Contexts/ProjectContext.cs
9,412
C#
using System; using FitChallenge.Server.Data.Models.Base; using Microsoft.AspNetCore.Identity; namespace FitChallenge.Server.Data.Models { public class User : IdentityUser, IEntity { public Profile Profile { get; set; } public string CreatedBy { get; set; } public DateTime CreatedOn ...
22.05
49
0.659864
[ "MIT" ]
LuGeorgiev/SoftUni.React
99.FitChallenge/FitChallenge.Server/Data/Models/User.cs
443
C#
using System.Collections.Generic; using CodeHub.Core.Services; using GitHubSharp; using GitHubSharp.Models; namespace CodeHub.Core.ViewModels.Events { public class RepositoryEventsViewModel : BaseEventsViewModel { public string RepositoryName { get; set; } public string RepositoryOwner {...
29.958333
113
0.705146
[ "Apache-2.0" ]
gitter-badger/CodeHub
CodeHub.Core/ViewModels/Events/RepositoryEventsViewModel.cs
719
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjecti...
31.769231
119
0.656174
[ "MIT" ]
tuomast/azure-ad-sample
azure-ad-samples/Startup.cs
1,652
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.Management.Network.Models { public partial class BastionSessionDeleteResult { ...
33.210526
109
0.479134
[ "MIT" ]
AzureDataBox/azure-sdk-for-net
sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/Models/BastionSessionDeleteResult.Serialization.cs
1,893
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 ...
41.073171
115
0.710808
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/ads/googleads/v7/googleads-csharp/Google.Ads.GoogleAds.V7.Services.StandaloneSnippets/CampaignAssetServiceClient.GetCampaignAssetAsyncSnippet.g.cs
1,684
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class TutorialPopupDisplayController : inkWidgetLogicController { [Ordinal(0)] [RED("image")] public inkImageWidgetReference Image { get; set; } [Ordinal(1)...
47.391304
117
0.722936
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/TutorialPopupDisplayController.cs
1,068
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; // --------------------------------------------------------------- // <copyright file="CameraFollow.cs"> // MIT Licence Copyright (c) 2019. // </copyright> // <author>James Mead Heath</author> // <summary> // Allows the camera to follow th...
28.642857
95
0.598504
[ "MIT" ]
GamesDevDave/Comp120-TinkeringAudio
Contract #1 - Sound Effect Generation/Assets/Scripts/CameraFollow.cs
1,205
C#
using System; using Microsoft.Xrm.Sdk; namespace CCLLC.CDS.Sdk { using CCLLC.Core; public class XmlConfigurationResourceFactory : IXmlConfigurationResourceFactory { private ICache Cache { get; } public XmlConfigurationResourceFactory(ICache cache) { Cache = cache ?? t...
25.391304
102
0.683219
[ "MIT" ]
ScottColson/CCLLCBusinessTransactionFramework
CDS/CCLLC.BTF.Process.CDSSolution/Plugins/App_Packages/CCLLC.CDS.Sdk.1.4.2/XmlConfigurationResourceFactory.cs
586
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("Lab...
38.054054
84
0.747869
[ "MIT" ]
SebastianTrifa/c-
Labs_86_async/Properties/AssemblyInfo.cs
1,411
C#
#pragma warning disable 414 using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using UnityEngine.UI; using g3; using f3; using gs; namespace cotangent { public class SupportSettingsPanelSetup : MonoBehaviour { Toggle generateSupport; InputF...
45.521127
116
0.686881
[ "MIT" ]
EnvyKong/Cotangent
Assets/cotangentApp/unity_ui/SupportSettingsPanelSetup.cs
6,466
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.AdvocacyPlatform.Functions.FunctionalTests { using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Net; using System.N...
42.309783
198
0.631535
[ "MIT" ]
Bhaskers-Blu-Org2/AdvocacyPlatform
API/Microsoft.AdvocacyPlatform.Functions.FunctionalTests/PullRecordingFunctionalTest.cs
15,572
C#
using System; using System.Collections.Concurrent; using System.Text; using System.Threading; using System.Threading.Tasks; using EasyNetQ.Events; using EasyNetQ.FluentConfiguration; using EasyNetQ.Topology; using Newtonsoft.Json; namespace EasyNetQ.Producer { /// <summary> /// Default implementation of EasyN...
45.042169
196
0.615019
[ "MIT" ]
mariuszwojcik/EasyNetQ
Source/EasyNetQ/Producer/Rpc.cs
14,956
C#
using System.ComponentModel; using System.Drawing.Design; using System.Drawing; using System.Windows.Forms; namespace osfDesigner { public class DataGridTableStyle : System.Windows.Forms.DataGridTableStyle { public System.Windows.Forms.DataGridTableStyle M_DataGridTableStyle; [Browsable(false...
36.17623
127
0.626713
[ "MPL-2.0" ]
ahyahy/OneScriptFormsDesigner
OneScriptFormsDesigner/DataGridTableStyle.cs
10,220
C#
using System; using System.Collections.Generic; using System.Text; namespace DDPA.DTO { public class SMTPOptions { public string UserName { get; set; } public string Password { get; set; } public string FromName { get; set; } public string FromAddress { get; set; } ...
19.115385
50
0.599598
[ "MIT" ]
docukit-dpa/ddpa
src/ddpa-core/DDPA.DTO/Main/Support/SMTPOptions.cs
499
C#
using Nano.Net.Extensions; using Xunit; namespace Nano.Net.Tests; public class AccountTest { [Fact] public void NewAccount_FromPrivateKey_ValidAddress() { var account = new Account(privateKey: "066A6E2AC1E75E18A6D0A9586348245FB302D9ECE17D4557EAF2AEF8C6E0DA90"); Assert.Equal("nano_3fkaipau6...
37.88
122
0.780359
[ "MIT" ]
RestoreMonarchy/Nano.Net
Nano.Net.Tests/AccountTest.cs
947
C#
//------------------------------------------------------------------------------ // <auto-generated> // Ce code a été généré par un outil. // Version du runtime :4.0.30319.34014 // // Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si // le code es...
45.890625
172
0.625468
[ "MIT" ]
skaaj/genlog
Solution/Application/Properties/Resources.Designer.cs
2,971
C#
namespace Karoterra.AupDotNet.ExEdit { /// <summary> /// フィルタ効果のファクトリを表すインタフェース。 /// </summary> public interface IEffectFactory { /// <summary> /// フィルタ効果を生成します。 /// </summary> /// <param name="type">フィルタ効果定義</param> /// <param name="trackbars">トラックバー情報</param...
29.578947
92
0.572954
[ "MIT" ]
karoterra/AupDotNet
src/AupDotNet/ExEdit/IEffectFactory.cs
708
C#
using System.Collections.Generic; using FluentAssertions; using Monifier.BusinessLogic.Distribution; using Monifier.BusinessLogic.Model.Base; using Monifier.BusinessLogic.Model.Expenses; using Monifier.DataAccess.Model.Base; using Xunit; namespace Monifier.BusinessLogic.Model.Tests { public class Distri...
32.574074
74
0.539132
[ "MIT" ]
Ivan-Proskurin/Monifier
Monifier.BusinessLogic.Model.Tests/DistributionModelTests.cs
5,279
C#
using System.Xml; namespace Doc.Odf { public class BaseStyle : DocumentElementCollection { public BaseStyle(ODFDocument document, XmlElement Element) : base(document, Element) { } public string Name { get { return Element.GetAttribute("style:na...
25.882353
89
0.577273
[ "MIT" ]
alexandrvslv/datawf
DataWF.Odf/Style/BaseStyle.cs
442
C#
using Ryujinx.HLE.HOS.Ipc; using System.Collections.Generic; namespace Ryujinx.HLE.HOS.Services.Aud { class IHardwareOpusDecoderManager : IpcService { private Dictionary<int, ServiceProcessRequest> _commands; public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands...
30.753425
94
0.579955
[ "Unlicense" ]
AlexLavoie42/Ryujinx
Ryujinx.HLE/HOS/Services/Aud/IHardwareOpusDecoderManager.cs
2,245
C#
// This file was automatically generated and may be regenerated at any // time. To ensure any changes are retained, modify the tool with any segment/component/group/field name // or type changes. namespace Machete.HL7Schema.V26.Maps { using V26; /// <summary> /// TCU_U10_TEST_CONFIGURATION (GroupMap) - ...
30.8
105
0.644481
[ "Apache-2.0" ]
AreebaAroosh/Machete
src/Machete.HL7Schema/Generated/V26/Groups/Maps/TCU_U10_TEST_CONFIGURATIONMap.cs
616
C#
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: general.proto #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using scg = global::System.Collections.Generic; namespace General { #regi...
29.417323
137
0.613223
[ "Apache-2.0" ]
fqkw6/ILRuntimeMyFrame
protobuf3.4.1Tool/Protoc_3.4.0_bin/OutputC#/General.cs
11,358
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("16...
38.351351
84
0.74771
[ "MIT" ]
TsvetanRazsolkov/Telerik-Academy
Homeworks/Programming/C# Basics - Part I/05-OperatorsAndExpressions/16.BitsExchangeAdvanced/Properties/AssemblyInfo.cs
1,422
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerControls : MonoBehaviour { //inputs public Controls controls; Vector2 inputs; [HideInInspector] public Vector2 inputNormalized; [HideInInspector] public float rotation; bool run = true, ju...
32.072464
175
0.616923
[ "CC0-1.0" ]
Soupertrooper/WoW-Clone
WoWClone_08-5-ProjectFiles/Scripts/Player/PlayerControls.cs
8,854
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using CSG.cache; namespace CSG.views { public partial class CdoPassValidate : Form { pub...
25.96
95
0.598613
[ "MIT" ]
cjuanstevan/CSG
CSG/CSG/views/CdoPassValidate.cs
1,301
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.Threading.Tasks; using Microsoft.VisualStudio.ProjectSystem.Properties; namespace Microsoft.VisualStudio.Pro...
39.388889
161
0.695346
[ "Apache-2.0" ]
M-Lipin/project-system
src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/Properties/InterceptedProjectProperties/AbstractBuildEventValueProvider.cs
2,129
C#
using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Threading; using Unity.Burst; using Unity.Jobs; using Unity.Mathematics; namespace Unity.Collections.LowLevel.Unsafe { /// <summary> /// An unmanaged, untyped, resizable list, without any thread safety check features. ...
39.020776
191
0.57225
[ "Apache-2.0" ]
bsides44/MARSGeofencing
MARS geofencing/Library/PackageCache/com.unity.collections@0.8.0-preview.5/Unity.Collections/UnsafeList.cs
56,346
C#
 namespace Serenity { /// <summary> /// Custom validator abstraction /// </summary> public interface ICustomValidator { /// <summary> /// Validates value using specified context. /// </summary> /// <param name="context">The context.</param> /// <r...
25.0625
55
0.551122
[ "MIT" ]
ArsenioInojosa/Serenity
src/Serenity.Net.Data/Validation/ICustomValidator.cs
403
C#
#region license // Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com) // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retai...
37.335443
205
0.666808
[ "BSD-3-Clause" ]
brumschlag/rhino-tools
rhino-mocks/Rhino.Mocks/Interfaces/IMethodOptions.cs
11,800
C#
namespace RabbitRelink.Consumer { /// <summary> /// State of <see cref="IRelinkConsumer"/> /// </summary> public enum RelinkConsumerState { /// <summary> /// Initializing /// </summary> Init, /// <summary> /// Configuring channel and top...
19.717949
47
0.427828
[ "MIT" ]
ijsgaus/rabbit-relink
src/RabbitRelink/Consumer/RelinkConsumerState.cs
733
C#
using System; using System.Linq.Expressions; namespace EZNEW.Data.Modification { /// <summary> /// Defines modification factory /// </summary> public class ModificationFactory { /// <summary> /// Create an IModification object /// </summary> /// <returns>Return a IM...
27.8125
96
0.583146
[ "MIT" ]
eznew-net/EZNEW.Develop
EZNEW/Data/Modification/ModificationFactory.cs
892
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2 { internal enum Http2SettingsParameter : ushort { SETTINGS_HEADER_TABL...
34.5625
111
0.725136
[ "Apache-2.0" ]
06b/AspNetCore
src/Servers/Kestrel/Core/src/Internal/Http2/Http2SettingsParameter.cs
553
C#
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // 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 us...
31.079208
99
0.68748
[ "MIT" ]
376730969/ILSpy
NRefactory/ICSharpCode.NRefactory/TypeSystem/ISymbol.cs
3,141
C#
using GardenMarket.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using System.ComponentModel.DataAnnotations; using System.Security.Claims; using System.Threading.Task...
38.615942
153
0.571965
[ "Apache-2.0" ]
rozabto/GardenMarket
src/Presentation/GardenMarket.Web/Areas/Identity/Pages/Account/ExternalLogin.cshtml.cs
5,331
C#
using Microsoft.VisualStudio.Shell; using System; using System.Runtime.InteropServices; using System.Threading; using Task = System.Threading.Tasks.Task; namespace VSIXProject1 { /// <summary> /// This is the class that implements the package exposed by this assembly. /// </summary> /// <remarks> /// <para> ///...
49.627451
170
0.757013
[ "MIT" ]
kris701/JanC
JanCVSIX/JanCPackage.cs
2,533
C#
using System; namespace _03._Rounding_Numbers { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int[] numbers = new int[n]; for (int i = 0; i < n; i++) { int input = int.Parse(Console.Read...
21.214286
59
0.429293
[ "MIT" ]
Anzzhhela98/CSharp-Fundamentals
Arrays/Arrays - Lab/02. Print Numbers in Reverse Order/Program.cs
596
C#
/* * Copyright 2014 Splunk, 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 applicable law or agreed t...
27.790698
76
0.644351
[ "Apache-2.0" ]
Balfa/splunk-sdk-csharp-pcl
src/Splunk.Client/Splunk/Client/PaperOrientation.cs
1,197
C#
using System.Reflection; namespace DIMOWAModLoader.Mod_Loading { public struct MOWAP { //Mod de Outer Wilds Alpha Padrão public MethodInfo ModInnitMethod { get; set; } public int ModLoadingPlace { get; set; } public int ModPriority { get; set; } } }
18.6875
54
0.638796
[ "MIT" ]
ShoosGun/DIMOWA
DIMOWAModLoader/Mod Loading/MOWAP.cs
302
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System.Collections.Generic; using System.Text; using Elasticsearch.Net.Utf8Json; using Elasticsearch.Net.Utf...
29.446043
123
0.738578
[ "Apache-2.0" ]
Atharvpatel21/elasticsearch-net
src/Nest/QueryDsl/Abstractions/Container/QueryContainerFormatter.cs
4,093
C#
using QRCoder; using System; using System.Windows; using System.Windows.Media; using System.Windows.Media.Imaging; using System.IO; using System.Drawing; namespace ClipboardToQR { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { ...
31.585366
144
0.551609
[ "MIT" ]
AnttiJanhonen/Clipboard-to-qr-code
ClipboardToQR/MainWindow.xaml.cs
3,887
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
29.743902
181
0.601066
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/StorageSync/V20190601/GetSyncGroup.cs
2,439
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...
58.174184
304
0.646661
[ "Apache-2.0" ]
alexandair/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/CloudFormation/Basic/New-CFNStack-Cmdlet.cs
37,406
C#
// <auto-generated /> using System; using AdminArea_IdentityBase.Models.Services.Infrastructure; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace AdminArea_IdentityBase.Migrations { [DbContext(typeof(Adm...
35.860294
95
0.45284
[ "MIT" ]
AngeloDotNet/AdminArea-IdentityBase
Migrations/AdminAreaDbContextModelSnapshot.cs
9,756
C#
using System; using UnityEngine.Networking; namespace ET { public class UnityWebRequestUpdateSystem : UpdateSystem<UnityWebRequestAsync> { public override void Update(UnityWebRequestAsync self) { self.Update(); } } public class UnityWebRequestAsync : Entity { public class AcceptAllCertificate: Cer...
17.361905
85
0.656061
[ "MIT" ]
AnotherEnd15/ET_NetcodeDemo
Unity/Assets/Model/Module/UnityWebRequest/UnityWebRequestAsync.cs
1,825
C#
using Stride.Core; using Stride.Editor.Design.Core; using Virtual = Stride.Editor.Presentation.VirtualDom.Controls; namespace Stride.Editor.Presentation.Core { public class LoadingStatusView : ViewBase<LoadingStatus> { public LoadingStatusView(IServiceRegistry services) : base(services) { ...
33.044444
131
0.548083
[ "MIT" ]
manio143/StrideComponentsEditorAvalonia
Stride.Editor.Presentation/Core/LoadingStatusView.cs
1,489
C#
using System.Collections.Generic; using System.Linq; using System.Security; using Merchello.Core; using Merchello.Core.Models; using Merchello.Core.Services; using Merchello.Examine.Providers; namespace Merchello.Examine.DataServices { public class OrderDataService : IOrderDataService { private readon...
23.552632
71
0.66257
[ "MIT" ]
bowserm/Merchello
src/Merchello.Examine/DataServices/OrderDataService.cs
897
C#
using System.IO; using System.IO.Compression; namespace Ccf.Ck.Libs.AutoUpdater.Models { internal static class ZipHelper { internal static void Unzip(Stream zippedStream, string targetDir) { DirectoryInfo targetDirInfo = new DirectoryInfo(targetDir); if (targe...
29.945946
74
0.513538
[ "MIT" ]
Cleancodefactory/NetCoreAutoUpdater
src/Ccf.Ck.Libs.AutoUpdater/Models/ZipHelper.cs
1,110
C#