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> // 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> //----------------------------------------...
35.069767
90
0.535809
[ "MPL-2.0" ]
asine/mixerp
src/FrontEnd/Modules/WidgetManager.aspx.designer.cs
1,510
C#
using System; using System.Linq; using System.Collections.Generic; using SFML.System; using SFML.Graphics; using BlackCoat.Collision; namespace BlackCoat.Entities.Shapes { /// <summary> /// Represents a convex Polygon with a fixed amount of points /// </summary> public class Polygon : ShapeEntity<Conv...
36.333333
126
0.497324
[ "Apache-2.0" ]
Neovex/BlackCoat
src/Entities/Shapes/Polygon.cs
2,618
C#
namespace GlobalHost.Visao.Servicos { partial class Screen_TipoCarga { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </sum...
62.616341
179
0.617848
[ "MIT" ]
Krauzy/GlobalHost
GlobalHost/GlobalHost/Visao/Servicos/Gerencia/Screen_TipoCarga.Designer.cs
35,264
C#
/* * TeamCity REST API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 2018.1 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using NUnit.Framework; using System; using System.Linq; using System.IO; ...
24.176991
104
0.543558
[ "MIT" ]
NikolayPianikov/teamcity.client
generated/src/TeamCity.Test/Model/VcsRootsDtoTests.cs
2,732
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using PizzaBox.Storing; namespace Pizz...
35.34748
125
0.400645
[ "MIT" ]
ARaufY/project-pizzabox
PizzaBox.Storing/Migrations/20210427021619_seed-customer.Designer.cs
13,328
C#
// Copyright 2013-2015 Serilog Contributors // // 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 o...
38.728261
156
0.618019
[ "Apache-2.0" ]
MZPE/serilog
src/Serilog/Parsing/TextToken.cs
3,565
C#
using System; using StardewValley; namespace Pathoschild.Stardew.Common.Items.ItemData { /// <summary>A game item with metadata.</summary> /// <remarks>This is copied from the SMAPI source code and should be kept in sync with it.</remarks> internal class SearchableItem { /********* ** A...
37
104
0.592957
[ "MIT" ]
Caco-o-sapo/StardewMods
Common/Items/ItemData/SearchableItem.cs
2,442
C#
using System; namespace TreeGecko.Library.Common.Objects { /// <summary> /// /// </summary> public class LongClassPropertyType : ClassPropertyType { /// <summary> /// /// </summary> public Int64? MinimumValue { get; set; } /// <summary> /// ...
25.735849
79
0.527859
[ "MIT" ]
TreeGecko/Libraries
src/tgCommonLibrary/Objects/LongClassPropertyType.cs
1,364
C#
using System; using System.Collections.Generic; using System.Text; using Tests.Core; using NetOffice; using Office = NetOffice.OfficeApi; using NetOffice.OfficeApi.Enums; using PowerPoint = NetOffice.PowerPointApi; using NetOffice.PowerPointApi.Enums; namespace PowerPointTestsCSharp { public class Test04 : ITestP...
28.676056
139
0.558448
[ "MIT" ]
igoreksiz/NetOffice
Tests/Main Tests/PowerPointTestsCSharp/Test04.cs
2,038
C#
namespace ArtGallery.Areas.HelpPage.ModelDescriptions { public class DictionaryModelDescription : KeyValuePairModelDescription { } }
24
74
0.791667
[ "Unlicense", "MIT" ]
ntrpi/ArtGallery
ArtGallery/Areas/HelpPage/ModelDescriptions/DictionaryModelDescription.cs
144
C#
using System; using System.Collections.Generic; using System.IO; using System.Web; using Orchard.ContentManagement; using Orchard.ContentManagement.MetaData.Models; using Orchard.MediaLibrary.Factories; using Orchard.MediaLibrary.Models; namespace Orchard.MediaLibrary.Services { public interface IMediaL...
50.994152
172
0.63922
[ "MIT" ]
AccentureRapid/OrchardCollaboration
src/Orchard.Web/Modules/Orchard.MediaLibrary/Services/IMediaLibraryService.cs
8,722
C#
using LeetCodeProblems.Medium; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LeetCodeProblems.Easy { //https://leetcode.com/problems/trim-a-binary-search-tree/ //Given a binary search tree and the lowest and highest boundaries as ...
32.083333
269
0.607792
[ "MIT" ]
thecaptain10/LeetCode
LeetCode/LeetCodeProblems/Easy/TrimBinarySearchTree.cs
1,157
C#
namespace Webodp.Models { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("CITY.CARINFOR")] public partial class CARINFOR { public decimal ID...
24.338028
55
0.58912
[ "Apache-2.0" ]
FinchYang/cdm2
CDMservers/Webodp/Models/CARINFOR.cs
1,728
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
32.413793
109
0.690957
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/CloudSearch/Generated/Model/UpdateDomainEndpointOptionsResponse.cs
1,880
C#
using System; namespace PELoader { class DeclSecurityLayout { public ushort action; public uint parent; public uint permissionSet; public DeclSecurityLayout(CLIMetadata metadata, ref int offset) { action = BitConverter.ToUInt16(metadata.Table.Heap, offset);...
29.113208
83
0.50162
[ "MIT" ]
giawa/GiawaOS
PELoader/CLI/MetadataTable/DeclSecurityLayout.cs
1,545
C#
using Plugin.Connectivity.Abstractions; namespace BookStore.Contracts.Services.General { public interface IConnectionService { bool IsConnected { get; } event ConnectivityChangedEventHandler ConnectivityChanged; } }
24.5
66
0.746939
[ "MIT" ]
arditmezini/api-core
BookStore/Contracts/Services/General/IConnectionService.cs
247
C#
//============================================================================= // System : Sandcastle Help File Builder Utilities // File : GacApi.cs // Author : Eric Woodruff (Eric@EWoodruff.us) // Updated : 09/02/2006 // Note : Copyright 2006, Eric Woodruff, All rights reserved // Compiler: Microsoft ...
33.712821
81
0.577122
[ "BSD-3-Clause" ]
jozefizso/sandcastle-presentation
SHFB/SandcastleBuilder/SandcastleBuilderUtils/Gac/GacApi.cs
6,574
C#
using System; using System.Net.Http; using System.Net.Http.Headers; using System.Threading; using System.Threading.Tasks; using Das.Marketo.RestApiClient.Configuration; using IdentityModel.Client; using Microsoft.Extensions.Options; namespace Das.Marketo.RestApiClient.Handlers { public class OAuthHttpClientHandle...
36.235294
145
0.653139
[ "MIT" ]
SkillsFundingAgency/das-campaign-functions
src/Das.Marketo.RestApiClient/Handlers/OAuthHttpClientHandler.cs
1,850
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerStartPoint : MonoBehaviour { private Movement thePlayer; private CameraController theCamera; public string pointName; // Start is called before the first frame update void Start() { thePl...
24.83871
131
0.666234
[ "MIT" ]
charte88/Pokemon-Unity-Clone
Pokemon/Assets/Scripts/Player/PlayerStartPoint.cs
772
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Core.Definitions.InputSystem; using Microsoft.MixedReality.Toolkit.Core.EventDatum.Input; using Microsoft.MixedReality.Toolkit.C...
34.22508
111
0.54021
[ "MIT" ]
StephenHodgson/MixedRealityToolkit-Unity
Assets/MixedRealityToolkit-SDK/Features/UX/Scripts/Tooltips/ToolTipSpawner.cs
10,646
C#
using Books.Core; using Newtonsoft.Json; using System.Collections.Generic; using System.IO; using System.Linq; namespace Books.Infrastructure { public class BooksJsonSource : IBooksSource { private string booksJsonFile; public BooksJsonSource(string booksFile = "books.json") { ...
25.510638
93
0.588824
[ "MIT" ]
PacktPublishing/Hands-on-Functional-C-sharp
Books.Infrastructure/BooksJsonSource.cs
1,201
C#
namespace Microsoft.eShopOnContainers.Services.Catalog.API.IntegrationEvents.EventHandling { using BuildingBlocks.EventBus.Abstractions; using System.Threading.Tasks; using BuildingBlocks.EventBus.Events; using Infrastructure; using System.Collections.Generic; using System.Linq; using globa...
50.431034
170
0.719658
[ "MIT" ]
1448376744/eShopOnContainers
src/Services/Catalog/Catalog.API/IntegrationEvents/EventHandling/OrderStatusChangedToAwaitingValidationIntegrationEventHandler.cs
2,927
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; namespace EfsTools.Items.Nv { [Serializable] [NvItemId(7009)] [Attributes(9)] public class Wcdma1500Qaccum { [ElementsCount(6)] [ElementType("uint16")] ...
19.571429
44
0.59854
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Nv/Wcdma1500QaccumI.cs
411
C#
//////////////////////////////////////////////////////////////////////////////// //EF Core Provider for LCPI OLE DB. // IBProvider and Contributors. 13.05.2021. using System; using System.Reflection; namespace Lcpi.EntityFrameworkCore.DataProvider.LcpiOleDb.Basement.EF.Dbms.Firebi...
34.954545
130
0.575423
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Code/Provider/Source/Basement/EF/Dbms/Firebird/V03_0_0/Query/Local/D0/Expressions/Op2/Code/LessThan/TimeSpan/Op2_Code__LessThan___TimeSpan__NullableTimeSpan.cs
1,540
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. // // ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ // ██╔██╗...
34.709677
90
0.48513
[ "Apache-2.0" ]
SimonCropp/elasticsearch-net
src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SecurityDeleteRoleMappingResponse.g.cs
1,522
C#
using System; using System.Collections.Generic; namespace HuntLog.Models { public class Jakt :BaseDto { public string Sted { get; set; } public DateTime DatoFra = DateTime.Now; public DateTime DatoTil = DateTime.Now; public List<string> JegerIds = new List<string>(); ...
29.631579
58
0.619893
[ "MIT" ]
darkwood/HuntLog
HuntLog/Models/Jakt.cs
565
C#
using Newtonsoft.Json; namespace AuthorizeNetCore.Models.Authentication { public class AuthenticateTestResponse { [JsonProperty(PropertyName = "refId")] public string RefId { get; set; } [JsonProperty(PropertyName = "messages")] public Messages Messages { get; set; } } }
22.714286
49
0.663522
[ "MIT" ]
adramalech/AuthorizeNetCore
AuthorizeNetCore/Models/Authentication/AuthenticateTestResponse.cs
318
C#
using System.Diagnostics.CodeAnalysis; using SCUMSLang.SyntaxTree.References; using SCUMSLang.SyntaxTree.Visitors; namespace SCUMSLang.SyntaxTree.Definitions { public class ParameterDefinition : ParameterReference, IConstantProvider { public bool HasConstant { get => !ReferenceEquals(Const...
30.816327
103
0.605298
[ "MIT" ]
SCUMSLang/SCUMSLang
src/SCUMSLang/src/SyntaxTree/Definitions/ParameterDefinition.cs
1,512
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Net { // Fake CookieException without serialization to enable unit tests compiling for netstandard 1.3 public class CookieException : FormatException { ...
38.214286
100
0.715888
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Net.Primitives/tests/UnitTests/Fakes/CookieException.cs
535
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. #nullable enable using System; using System.Collections.Immutable; using System.Diagnostics.CodeAnalysis; using System.Linq; using NuGet.ProjectModel; ...
36.262136
157
0.580723
[ "Apache-2.0" ]
MarkKharitonov/NuGet.Client
src/NuGet.Clients/NuGet.VisualStudio.Implementation/SolutionExplorer/Models/AssetsFileTargetLibrary.cs
3,735
C#
namespace ObsInterop; public partial struct obs_weak_object { }
10.833333
37
0.815385
[ "MIT" ]
kostya9/NetObsBindings
NetObsBindings/ObsInterop/obs_weak_object.cs
65
C#
namespace OtherTeam.StandardizedMarketGatewayAPI { using System; /// <summary> /// Event data for DealExecuted event. /// </summary> public class ApiDealExecutedEventArgs : EventArgs { public ApiDealExecutedEventArgs(decimal price, int quantity) { this.Price = price;...
23.95
68
0.609603
[ "Apache-2.0" ]
Lunch-box/SimpleOrderRouting
CSharp/OtherTeam.StandardizedMarketGatewayAPI/ApiDealExecutedEventArgs.cs
479
C#
namespace ET { public class AppStart_Init: AEvent<EventType.AppStart> { protected override async ETTask Run(EventType.AppStart args) { Game.Scene.AddComponent<TimerComponent>(); Game.Scene.AddComponent<CoroutineLockComponent>(); // 加载配置 Game.Scene...
40.171429
166
0.625178
[ "MIT" ]
1090504117/ET
Robot/Hotfix/AppStart_Init.cs
1,414
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Buffers; using System.Diagnostics; using System.IO.Pipelines; using System.Net.Sockets; using Microsoft.AspNetCore.Connections; using Microsoft.Extensions.Logging; name...
36.587766
141
0.531511
[ "MIT" ]
48355746/AspNetCore
src/Servers/Kestrel/Transport.Sockets/src/Internal/SocketConnection.cs
13,757
C#
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. // // Copyright (c) 2010-2012 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of ...
56.867521
159
0.623957
[ "MIT" ]
Beefr/xenko
sources/engine/Xenko.Graphics/Buffer.Structured.cs
13,307
C#
using System; namespace enum_example { class Program { enum WeekDays { Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday }; static void Main(string[] args) { // Массив с название дней недели на русском string[] WeekdayRu...
25.641026
75
0.52
[ "MIT" ]
GreedNeSS/enum
code/j-C#-example.cs
1,188
C#
using System; using System.Threading.Tasks; namespace vtortola.WebSockets.Rfc6455 { internal sealed class BandwidthSavingPing : PingStrategy { readonly TimeSpan _pingTimeout; readonly WebSocketConnectionRfc6455 _connection; readonly ArraySegment<Byte> _pingBuffer; DateTime _la...
32.147541
136
0.566548
[ "Unlicense", "MIT" ]
INCASGmbH/WebSocketListener
vtortola.WebSockets.Rfc6455/Ping/BandwidthSavingPing.cs
1,963
C#
record CustomerMessage(string CustomerName, Transaction[] Transactions, bool Greeting);
44.5
88
0.831461
[ "CC0-1.0" ]
jtenos/60-second-dev
2021-02-27 mustache in .net/CustomerMessage.cs
89
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Security; using System.Text; using System.Threading; using System.Threading.Ta...
46.417476
223
0.593286
[ "MIT" ]
breidikl/BuildXL
Public/Src/Cache/DistributedCache.Host/Service/Internal/DistributedCacheSecretRetriever.cs
9,564
C#
using LabEF.ConsoleApp.Models; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LabEF.ConsoleApp.Data { class FatturarioContext : DbContext { public DbSet<Fattura> MyProperty { get; set; } ...
18.76
65
0.688699
[ "MIT" ]
burgioandrea/CorsoEF
LabEF/LabEF.ConsoleApp/Data/FatturarioContext.cs
471
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
33.82
153
0.586635
[ "MIT" ]
DamienTehDemon/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/model/PolicyBase.cs
1,691
C#
// Copyright (c) Aghyad khlefawi. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Coddee.Collections; namespace Coddee { /// <summa...
35.942529
135
0.607931
[ "MIT" ]
Aghyad-Khlefawi/Coddee
src/Coddee.Core/AsyncLinq.cs
3,129
C#
using System.Threading.Tasks; namespace Winkler.MyAir3Api { public interface IAirconWebClient { Task<AirconWebResponse> GetAsync(string requestUri); } }
20.222222
61
0.692308
[ "Apache-2.0" ]
eric-winkler/MyAir3Api
MyAir3Api/IAirconWebClient.cs
176
C#
using System; using System.Collections.Generic; using HuaweiCloud.SDK.Core; namespace HuaweiCloud.SDK.Ocr.V1 { public class OcrRegion { public static readonly Region CN_NORTH_4 = new Region("cn-north-4", "https://ocr.cn-north-4.myhuaweicloud.com"); public static readonly Region CN_SOUTH_1 = new...
39.846154
132
0.602317
[ "Apache-2.0" ]
huaweicloud/huaweicloud-sdk-net
Services/Ocr/V1/Region/OcrRegion.cs
1,554
C#
using System; using System.Collections.Generic; namespace AET.Unity.GoogleSheetsReader { public class Cells { private readonly List<string> cells; private readonly Section parentSection; public Cells(Section parentSection) { cells = new List<string>(); this.parentSection = paren...
23.666667
62
0.626761
[ "Apache-2.0" ]
tony722/Unity.GoogleSheetsReader
AET.Unity.GoogleSheetsReader/Cells.cs
854
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace codeEditor.CodeEditor { public class CodeDocument : ajkControls.Document { public CodeDocument(Data.TextFile textFile) { textFileRef = new WeakReference<Da...
24.411765
76
0.59759
[ "MIT" ]
ajkfds/codeEditor
codeEditor/CodeEditor/CodeDocument.cs
832
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Drawing; using System.Threading; namespace ShootR { /// <summary> /// A ship on the game field. Only the owner of the ship can control the ship. Ownership is decided via the connection id. /// </summary> ...
30.838843
198
0.568136
[ "MIT" ]
DHclly/ShootR
ShootR/ShootR/Server/Ship/Ship.cs
7,465
C#
using System; using EventStore.Common.Log; using EventStore.Common.Utils; using EventStore.Core.Bus; using EventStore.Core.Messaging; using EventStore.Transport.Http; using EventStore.Transport.Http.Codecs; using EventStore.Transport.Http.EntityManagement; namespace EventStore.Core.Services.Transport.Http.Controllers ...
38.341463
109
0.770674
[ "Apache-2.0", "CC0-1.0" ]
MadKat13/EventStore
src/EventStore.Core/Services/Transport/Http/Controllers/CommunicationController.cs
3,144
C#
using UnityEngine; using System; namespace UnityEngine.UI { [Serializable] public enum UISpellSlot_Group : int { None = 0, ActionBar_Main = 1, ActionBar_Extra = 2 } }
12.785714
36
0.709497
[ "Apache-2.0" ]
365082218/meteor_original_ios
Assets/ThirdParty/RnM UI 2 for UGUI/Scripts/Enums, Structs and Serializables/UISpellSlot_Group.cs
181
C#
using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; namespace DEDrake.Barcodes { public class Bookland : Barcode { public override byte[] BinaryImage { get { if (ms.Length == 0) RenderBarcode(); return ms.ToArray(); } } public Bookland(string ISBN) :...
33.417722
136
0.587879
[ "MIT" ]
damon-e-drake/barcodes
src/Bookland.cs
2,642
C#
// CS1524: Expected catch or finally // Line: 12 namespace Test { public class Test { public static int Main () { int a; try { a = 1; } return 0; } ...
20.625
43
0.293939
[ "Apache-2.0" ]
OpenPSS/psm-mono
mcs/errors/cs1524.cs
330
C#
namespace Global { public class GlobalVars { public const string ApplicationTitle = "Notes Oblitus"; public const string ApplicationExeName = "NotesOblitus.exe"; public const string ManifestFileName = "manifest.dat"; public const string ApplicationVersion = "1.2.2"; public const string PatcherVersion = "1....
27.642857
62
0.74677
[ "MIT" ]
cellproductions/NotesOblitus
GlobalVars.cs
387
C#
using FluentValidation; using XFramework.Identity.Shared.Entity.ViewModels.Profile; namespace XFramework.Identity.Shared.Entity.Validations.Profile { public class VerificationsVmValidator: AbstractValidator<VerificationsVm> { public VerificationsVmValidator() { RuleFor(x => x.First...
43
77
0.581395
[ "MIT" ]
kaizendevsio/XFramework
XFramework/XFramework.Subsystems/XFramework.IdentityServer/Client/XFramework.Identity.Shared/Entity/Validations/Profile/VerificationsVmValidator.cs
1,593
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.IO; using System.Linq; using Microsoft.ML.Runtime.Comma...
50.618056
237
0.545754
[ "MIT" ]
Zruty0/machinelearning
src/Microsoft.ML.Data/Commands/DataCommand.cs
21,867
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...
33.785714
152
0.734672
[ "ECL-2.0", "Apache-2.0" ]
chivandikwa/pulumi-aws
sdk/dotnet/WafV2/Outputs/WebAclRuleStatementAndStatementStatementOrStatementStatementAndStatementStatementByteMatchStatementFieldToMatchSingleHeader.cs
946
C#
using System; namespace Barista.Api.Models.Users { public class FullUser : User { public string EmailAddress { get; set; } public bool IsAdministrator { get; set; } public bool IsActive { get; set; } } }
20.166667
49
0.615702
[ "MIT" ]
nesfit/Coffee
Barista.Api/Models/Users/FullUser.cs
244
C#
namespace Dfe.Spi.Common.Models { /// <summary> /// Abstract base class for all requests and responses. /// </summary> public abstract class RequestResponseBase : ModelsBase { // Nothing for now... } }
23.4
59
0.619658
[ "MIT" ]
DFE-Digital/spi-common
src/Dfe.Spi.Common/Dfe.Spi.Common.Models/RequestResponseBase.cs
236
C#
using System; using System.Collections.Generic; using System.Text; namespace Projections.Prototype { public interface IEventMapBuilder<TProjectionContext> where TProjectionContext : ProjectionContext, new() { IEventMap<TProjectionContext> Build(ProjectorMap<TProjectionContext> projector); ...
33.952381
116
0.753156
[ "MIT" ]
Lutando/Entropy
Akkatecture.ResumableProjections/src/Projections.Prototype/IEventMapBuilder.cs
715
C#
using System.Reflection; // Version 2.4.1; year 2018+1, month 5, day 3 [assembly: AssemblyVersion("2.4.1.10503")] [assembly: AssemblyFileVersion("2.4.1.10503")]
33
47
0.70303
[ "MIT" ]
Anjiang-Wei/boogie
Source/version.cs
161
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using DxLibDLL; using Charlotte.Commons; using Charlotte.GameCommons.Options; namespace Charlotte.GameCommons { public static class DDDraw { // Extra > private class ExtraInfo { public DDTaskList TL = nu...
19.109149
144
0.570517
[ "MIT" ]
soleil-taruto/Elsa
e20201199_NovelAdv_Base2e/Elsa20200001/Elsa20200001/GameCommons/DDDraw.cs
11,983
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("Cre...
38.27027
84
0.752119
[ "MIT" ]
Antrodfr/PowerApps-Samples
cds/orgsvc/C#/CreateEmailUsingTemplate/CreateEmailUsingTemplate/Properties/AssemblyInfo.cs
1,419
C#
using System; namespace CarsSystem.WebForms.Client { public partial class PageNotFound : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } } }
17.416667
60
0.636364
[ "MIT" ]
todor-enikov/Cars-System---ASP.NET-WebForms-Project
Source/CarsSystem.WebForms.Client/ErrorPages/PageNotFound.aspx.cs
211
C#
using Unity.FPS.Game; using UnityEngine; namespace Unity.FPS.Gameplay { // Debug script, teleports the player across the map for faster testing public class TeleportPlayer : MonoBehaviour { public KeyCode ActivateKey = KeyCode.F12; PlayerCharacterController m_PlayerCharacterController; ...
30.764706
117
0.622371
[ "CC0-1.0" ]
CommanderKeef/Space-Voyager-Odyssey-Stories-Ep.-I
Assets/Scripts/Gameplay/TeleportPlayer.cs
1,048
C#
/**** * TakymLib * Copyright (C) 2020-2021 Yigty.ORG; all rights reserved. * Copyright (C) 2020-2021 Takym. * * distributed under the MIT License. ****/ using System; namespace TakymLib.CommandLine { /// <summary> /// コマンド行引数からの情報を保持するクラスまたは構造体である事を示します。 /// このクラスは継承できません。 /// </summary> /...
23.871795
109
0.646617
[ "MIT" ]
Takym/TakymLib
src/TakymLib.CommandLine/SwitchAttribute.cs
1,193
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Scv.Api.Services.EF; namespace Scv.Api { public class Program { public static void Main(string[] args) { var host = CreateHostBuilder(args).Build(); ...
34.346154
121
0.638298
[ "Apache-2.0" ]
bcgov/supreme-court-viewer
api/Program.cs
893
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.O...
40.666667
200
0.747951
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/kubestone/dotnet/Kubernetes/Crds/Operators/Kubestone/Perf/V1Alpha1/Outputs/IopingSpecPodConfigPodSchedulingAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution.cs
1,464
C#
namespace Overlights { partial class MainPage { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
48.19375
127
0.602905
[ "MIT" ]
bengreenier-archive/overlights
Overlights/MainPage.Designer.cs
7,713
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameStatus : MonoBehaviour { public enum GameState { InMenu, Fight, Walk, Chill, Dead, Pause, StartNewLevel } public GameState gameState; public voi...
15.44
41
0.593264
[ "MIT" ]
mat-os/Ludum-Dare-46-Git
Assets/Scripts/GameManagers/GameStatus.cs
388
C#
using SPICA.Math3D; using System.Collections.Generic; using System.IO; using System.Linq; namespace SPICA.Formats.GFL2.Motion { public class GFMotBoneTransform { public string Name; public bool IsAxisAngle; public readonly List<GFMotKeyFrame> ScaleX; public readonly List<GFM...
35.785714
101
0.559167
[ "Unlicense" ]
AkelaSnow/SPICA
SPICA/Formats/GFL2/Motion/GFMotBoneTransform.cs
3,509
C#
// <auto-generated> // Auto-generated by StoneAPI, do not modify. // </auto-generated> namespace Dropbox.Api.Async { using sys = System; using col = System.Collections.Generic; using re = System.Text.RegularExpressions; using enc = Dropbox.Api.Stone; /// <summary> /// <para>Result returned by...
33.735202
108
0.48564
[ "MIT" ]
AlirezaMaddah/dropbox-sdk-dotnet
dropbox-sdk-dotnet/Dropbox.Api/Generated/Async/LaunchEmptyResult.cs
10,829
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LeetCodeProblems.Medium { //https://leetcode.com/problems/sum-root-to-leaf-numbers/ /* Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represe...
28.657895
109
0.583104
[ "MIT" ]
thecaptain10/LeetCode
LeetCode/LeetCodeProblems/Medium/SumRootToLeafNumbers.cs
1,091
C#
namespace MVCHoldem.UnitTests.Web.Controllers.PostControllerTests { using System.Collections.Generic; using System.Linq; using Moq; using MVCHoldem.Data.Models; using MVCHoldem.Services.Contracts; using MVCHoldem.Web.Controllers; using MVCHoldem.Web.ViewModels.Post; using NUnit.Framewor...
35.72549
88
0.630077
[ "MIT" ]
gchankov/MVCHoldem
MVCHoldem/MVCHoldem.UnitTests/Web/Controllers/PostControllerTests/AllPostsWithoutDeleted_Should.cs
1,824
C#
using System; using System.Linq; using System.Threading.Tasks; using Bit.Owin.Implementations; using Microsoft.Owin; namespace Bit.Owin.Middlewares { public class OwinNoCacheResponseMiddleware : DefaultOwinActionFilterMiddleware { public OwinNoCacheResponseMiddleware() { } pu...
36.525
138
0.667351
[ "MIT" ]
lightdawncoders/bit-framework
src/Server/Bit.Owin/Middlewares/OwinNoCacheResponseMiddleware.cs
1,463
C#
using System.Collections.Generic; namespace InstaSharper.Classes.Models { public class InstaDirectInboxThreadList : List<InstaDirectInboxThread> { } }
22.857143
74
0.7875
[ "MIT" ]
a-legotin/InstaSharper
InstaSharper/Classes/Models/InstaDirectInboxThreadList.cs
162
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using StorageZipSample.Models; using StorageZipSample.Service; namespace StorageZipSample.Pages { public class IndexModel : PageModel { private readonly ILogger<IndexModel> _logger; private readonly IStorageService _sto...
27.037037
85
0.667123
[ "MIT" ]
AnYun/StorageZipSample
StorageZipSample/Pages/Index.cshtml.cs
732
C#
// Copyright (c) 2011 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 use, co...
33.115632
168
0.71678
[ "MIT" ]
0x53A/ILSpy
ILSpy/MainWindow.xaml.cs
30,932
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Numerics; using Silk.NET.Core.Loader; using Silk.NET.Core.Native; namespace Silk.NET.OpenGL { public partial class GL { public static GL GetApi() { return LibraryLoader<GL>.Load(ne...
31.14652
131
0.553922
[ "MIT" ]
frederikja163/Silk.NET
src/OpenGL/Silk.NET.OpenGL/GL.cs
8,503
C#
using Microsoft.AspNetCore.Components.WebAssembly.Authentication; namespace BlazingPizza.Client { public class PizzaAuthenticationState : RemoteAuthenticationState { public Order Order { get; set; } } }
21.9
67
0.767123
[ "MIT" ]
kieronlanning/blazor-workshop
save-points/00-get-started/BlazingPizza.Client/PizzaAuthenticationState.cs
221
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using FluentAssertions; using Xunit; namespace Yarp.ServiceFabric.CoreServicesBorrowed.Tests { public class RandomWrapperTests { [Fact] public void RandomWrapper_Work() { // Set up the...
26.03125
58
0.578631
[ "MIT" ]
WhitWaldo/service-fabric-yarp
test/SFYarp.CoreServicesBorrowed.Tests/Utils/RandomWrapperTests.cs
835
C#
using System.Collections.Generic; using Content.Server.Chat; using Content.Server.Chat.Managers; using Content.Server.Radio.EntitySystems; using Content.Shared.Examine; using Content.Shared.Interaction; using Content.Shared.Interaction.Helpers; using Content.Shared.Popups; using Robust.Shared.GameObjects; using Robust....
30.850877
157
0.626955
[ "MIT" ]
MLGTASTICa/space-station-14
Content.Server/Radio/Components/HandheldRadioComponent.cs
3,517
C#
using System; using System.Threading.Tasks; using System.Windows; namespace Plainion.Windows { public static class TaskExtensions { /// <summary> /// Rethrows exceptions in the Application UI thread. /// </summary> public static Task<T> RethrowExceptionsInUIThread<T>...
36.975
126
0.59094
[ "BSD-3-Clause" ]
plainionist/Plainion.Windows
src/Plainion.Windows/TaskExtensions.cs
1,481
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...
25.225806
81
0.649616
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Devices/V20200801/Outputs/PrivateEndpointResponse.cs
782
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Modify an application from the OCI call control application list. /// The res...
31.141844
131
0.603735
[ "MIT" ]
Rogn/broadworks-connector-net
BroadworksConnector/Ocip/Models/SystemOCICallControlApplicationModifyRequest.cs
4,391
C#
using System; using System.Collections.Generic; using TinyCsvParser.Model; using TinyCsvParser.Ranges; using TinyCsvParser.TypeConverter; //namespace TinyCsvParser.Mapping //{ // public class NestedMapping<TEntity>: INestedCsvMapping<TEntity> // { // //mapping // private readonly ITypeC...
39.155556
186
0.525965
[ "MIT" ]
731315163/TinyCsvParser
TinyCsvParser/TinyCsvParser/Mapping/NestedMapping.cs
7,054
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MisileMotion : MonoBehaviour { public float motionspeed; public float rotationspeed; // Use this for initialization void Start () { } // Update is called once per frame void Update () { ...
19.272727
63
0.674528
[ "Apache-2.0" ]
bryanpial/BrayanPineda-Activity4-AirCombat
Brayan Pineda - AirCombat/Assets/Scripts/MisileMotion.cs
638
C#
#region BSD License /* Copyright (c) 2013-2018, Doxense SAS 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 retain the above copyright notice, this list of cond...
38.751938
202
0.723345
[ "BSD-3-Clause" ]
wolfspider/fdb-dotnet-bindings
FoundationDB.Client/VersionStamp.cs
19,998
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // O código foi gerado por uma ferramenta. // Versão de Tempo de Execução:4.0.30319.42000 // // As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas s...
61.153022
1,359
0.810923
[ "MIT" ]
renebentes/XamarinPlayground
mslearn-xamarin-forms-mvvm-viewmodel/src/exercise1/final/GreatQuotes.Android/Resources/Resource.designer.cs
758,918
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using Azure.Core; namespace Azure.AI.FormRecognizer.Models { internal partial class TrainRequest : IUtf8JsonSerializable { void IUtf8JsonSeri...
27.764706
63
0.612288
[ "MIT" ]
AbelHu/azure-sdk-for-net
sdk/formrecognizer/Azure.AI.FormRecognizer/src/Generated/Models/TrainRequest.Serialization.cs
944
C#
using System; using System.Globalization; public static partial class Extensions { /// <summary> /// A DateTime extension method that converts this object to a month day string. /// </summary> /// <param name="this">The @this to act on.</param> /// <returns>The given data converted to...
37.945946
89
0.630342
[ "MIT" ]
edwardmeng/FluentMethods
src/Core/System.DateTime/ToString/ToMonthDayString.cs
1,406
C#
using KahanuMailer; using Models; namespace ConsoleApp1.Mailers { public interface IRegistrationMailer { EmailMessage Customer(RegistrationMailerContext context); } }
17.181818
65
0.746032
[ "MIT" ]
kahanu/KahanuMailer
ConsoleApp1/Mailers/IRegistrationMailer.cs
191
C#
using Sample.SqlServerShardingDataSource.Entities; using ShardingCore.Core.EntityMetadatas; using ShardingCore.VirtualRoutes.Mods; namespace Sample.SqlServerShardingDataSource.VirtualRoutes { public class OrderRoute:AbstractSimpleShardingModKeyStringVirtualTableRoute<Order> { public OrderRoute() : bas...
26.736842
86
0.712598
[ "Apache-2.0" ]
ChangYinHan/sharding-core
samples/Sample.SqlServerShardingDataSource/VirtualRoutes/OrderRoute.cs
510
C#
using System; using System.Data.SqlClient; using System.Data.SqlTypes; using System.Collections.Generic; using System.Text; namespace netdb { public abstract class Sql : IDisposable { private SqlConnection _connection = null; private SqlCommand _command = null; private SqlDataReader _r...
30.746392
102
0.487326
[ "MIT" ]
thelowman/netdb
netdb/Sql.cs
14,914
C#
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requ...
37.414141
136
0.610061
[ "Apache-2.0" ]
danhaywood/NakedObjectsFramework
Spa2/NakedObjects.Spa.Selenium.Test/tests/HomeTests.cs
11,114
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc.RazorPages; namespace Codeit.Infrastructure.Identity.Areas.Identity.Pages.Account { [AllowAnonymous] public class ResetPasswordConfirmationM...
21.052632
69
0.7375
[ "MIT" ]
Leitee/Codeit.Infrastructure.Identity
Codeit.Infrastructure.Identity/Areas/Identity/Pages/Account/ResetPasswordConfirmation.cshtml.cs
402
C#
using Immeuble.Data.Configurations; using Immeuble.Data.CustomConventions; using Immeuble.Entities; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Immeuble.Data { public class Context : DbContext { ...
28.852941
76
0.669725
[ "Unlicense" ]
MWFK/Bungalow_Reservation_Management
Immeuble.Data/Context.cs
983
C#
using System; namespace RabbitSharp.Diagnostics.AspNetCore { /// <summary> /// Indicates the class or method where this attribute is applied should be ignored /// by exception mapper. /// </summary> [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited ...
31.357143
111
0.733485
[ "MIT" ]
weichch/ExceptionMapper
src/libraries/RabbitSharp.ExceptionMapper.AspNetCore/ExcludeFromExceptionMappingAttribute.cs
441
C#
namespace AventStack.ExtentReports.Model { public class Category : TestAttribute { public Category(string name) : base(name) { } } }
18
49
0.623457
[ "BSD-3-Clause" ]
Brian-Watson/extentreports-csharp
ExtentReports/ExtentReports/Model/Category.cs
164
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text.Encodings.Web; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI.Services; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore...
34.22973
136
0.575997
[ "MIT" ]
shahedc/_workshops
AspNetCoreRazor/AspNetCoreRazor/Areas/Identity/Pages/Account/Manage/Index.cshtml.cs
5,068
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using BDTest.Maps; using BDTest.NetCore.Razor.ReportMiddleware.Extensions; using BDTest.NetCore.Razor.ReportMiddleware.Interfaces; using BDTest.NetCore.Razor.ReportMiddleware.Models; namespace BDTes...
35.735537
120
0.592969
[ "Apache-2.0" ]
thomhurst/BDTest
BDTest.NetCore.Razor.ReportMiddleware/Implementations/DataRepository.cs
4,324
C#
using MixERP.Net.ApplicationState.Cache; using MixERP.Net.Common.Extensions; using MixERP.Net.FrontEnd.Base; using MixERP.Net.FrontEnd.Controls; using MixERP.Net.i18n.Resources; using System; namespace MixERP.Net.Core.Modules.Inventory.Confirmation { public partial class Transfer : TransactionCheckListControl ...
42.969697
97
0.657969
[ "MPL-2.0" ]
asine/mixerp
src/FrontEnd/Modules/Inventory/Confirmation/Transfer.ascx.cs
1,420
C#