content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; using Microsoft.Extensions.Configuration; using Volo.SqliteDemo.Configuration; using Volo.SqliteDemo.Web; namespace Volo.SqliteDemo.EntityFrameworkCore { /* This class is needed to run "dotnet ef ..." commands from command line on de...
40.869565
135
0.765957
[ "MIT" ]
OzBob/aspnetboilerplate-samples
SqliteDemo/aspnet-core/src/Volo.SqliteDemo.EntityFrameworkCore/EntityFrameworkCore/SqliteDemoDbContextFactory.cs
942
C#
using SqlSugar; namespace NQI_LIMS.IRepository.UnitOfWork { public interface IUnitOfWork { SqlSugarClient GetDbClient(); void BeginTran(); void CommitTran(); void RollbackTran(); } }
15.4
41
0.627706
[ "Apache-2.0" ]
gaiwenlin/nqilims
NQI_LIMS.IRepository/UnitOfWork/IUnitOfWork.cs
233
C#
using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.IO; using System.Net; using System.Net.Http; using System.Security.Cryptography.X509Certificates; using System.Windows.Forms; using Microsoft.IdentityModel.Tokens; namespace MaskinportenTokenGenerator { public clas...
42.522613
217
0.609667
[ "MIT" ]
Altinn/MaskinportenTokenGenerator
src/MaskinportenTokenGenerator/TokenHandler.cs
8,464
C#
using System; using System.Collections.Generic; /* || AUTHOR Arsium || || github : https://github.com/arsium || */ namespace PacketLib.Packet { [Serializable] public class KeywordsPacket : IPacket { //server public KeywordsPacket() : base() { packetType = Packet...
25.243902
91
0.574879
[ "MIT" ]
arsium/EagleMonitorRAT
Remote Access Tool/PacketLib/Packet/KeywordsPacket.cs
1,037
C#
 namespace WorldHeightmap.Client.Popups { partial class SaveDataForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </sum...
47.196078
160
0.613627
[ "MIT" ]
Soyvolon/WorldHeightmapForFAF
WorldHeightmap.Client/Popups/SaveDataForm.Designer.cs
7,223
C#
using System.Web.Mvc; namespace YiHan.Cms.Web.Areas.Mpa { public class MpaAreaRegistration : AreaRegistration { public override string AreaName { get { return "Mpa"; } } public override void RegisterArea(AreaRegistrationCo...
24.125
89
0.497409
[ "MIT" ]
Letheloney/YiHanCms
src/YiHan.Cms.Web/Areas/Mpa/MpaAreaRegistration.cs
581
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.Immutable; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Completion; using Microsoft.CodeAnalysi...
44.421875
165
0.651952
[ "Apache-2.0" ]
Trieste-040/https-github.com-dotnet-roslyn
src/Features/CSharp/Portable/Completion/CompletionProviders/ExplicitInterfaceMemberCompletionProvider.cs
5,686
C#
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("FigmaSharp.Graphics.Cocoa")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguratio...
37.37037
82
0.745292
[ "MIT" ]
Youssef1313/FigmaSharp
FigmaSharp.Views.Graphics/FigmaSharp.Graphics.Cocoa/Properties/AssemblyInfo.cs
1,011
C#
using System.Collections.Generic; #if !NETSTANDARD2_1 using System.Runtime.Serialization; #else using System.Text.Json.Serialization; #endif namespace Docker.DotNet.Models { #if !NETSTANDARD2_1 [DataContract] #endif public class PluginConfigLinux // (types.PluginConfigLinux) { #if NETSTANDARD2_1 [J...
24.189189
72
0.698324
[ "Apache-2.0" ]
ewisted/Docker.DotNet
src/Docker.DotNet/Models/PluginConfigLinux.Generated.cs
895
C#
/* ======================================================================== * Copyright (c) 2005-2019 The OPC Foundation, Inc. All rights reserved. * * OPC Foundation MIT License 1.00 * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation ...
36.946237
135
0.603318
[ "MIT" ]
Hpshboss/OpcuaCncControl
UANETStandardCNC/SampleApplications/SDK/Opc.Ua.Configuration/Schema/InstalledApplicationHelper.cs
3,436
C#
using IdentityServer4; using IdentityServer4.Models; using System.Collections.Generic; namespace Microsoft.eShopOnContainers.Services.Identity.API.Configuration { public class Config { // ApiResources define the apis in your system public static IEnumerable<ApiResource> GetApis() { ...
49.596429
269
0.48477
[ "MIT" ]
jeremiahflaga/eShopOnContainers-with-notes
src/Services/Identity/Identity.API/Configuration/Config.cs
13,889
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. /*============================================================ ** ** ** ** Purpose: Methods for Parsing numbers and ...
34.289689
122
0.421555
[ "MIT" ]
OceanYan/corert
src/System.Private.CoreLib/src/System/ParseNumbers.cs
20,951
C#
using BizStream.Kentico.Xperience.Administration.StatusCodePages; using CMS; [assembly: RegisterModule( typeof( StatusCodePagesModule ) )]
28
65
0.828571
[ "MIT" ]
BizStream/xperience-status-code-pages
src/Administration/src/RegisterModules.cs
140
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
51.068
185
0.650114
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/ManagedIOSLobAppRequest.cs
12,767
C#
using System; namespace CryptoBase.Abstractions.SymmetricCryptos; public interface IBlockCryptoMode { IBlockCrypto InternalBlockCrypto { get; init; } ReadOnlyMemory<byte> Iv { get; init; } }
17.818182
51
0.785714
[ "MIT" ]
HMBSbige/CryptoBase
CryptoBase.Abstractions/SymmetricCryptos/IBlockCryptoMode.cs
196
C#
// =========================================================== // Copyright (c) 2014-2015, Enrico Da Ros/kendar.org // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistribut...
40.980392
82
0.713397
[ "BSD-2-Clause" ]
endaroza/SharpTemplateEngine
SharpTemplate/SharpTemplate/Compilers/IAppDomainCompiler.cs
2,090
C#
/* * Clarify.PCL * * This file was automatically generated by APIMATIC BETA v2.0 on 10/06/2014 */ using System; using System.Collections.Generic; using System.Dynamic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using unirest_net.http; using unirest_net.request;...
55.46988
713
0.640313
[ "MIT" ]
Clarify/clarify-csharp
Clarify.PCL/Controllers/SearchController.cs
4,604
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace BoligrafosTorneadosApp.Data....
34.700461
117
0.500797
[ "Apache-2.0" ]
sierz/TurnedPensApp
BoligrafosTorneadosApp/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs
7,532
C#
using System; using System.Collections.Generic; using System.Linq; using ColossalFramework; using ICities; using NetworkSkins.Data; using NetworkSkins.Detour; using NetworkSkins.Net; using UnityEngine; namespace NetworkSkins.Props { public class PropCustomizer : LoadingExtensionBase { public static Pr...
36.928977
159
0.564197
[ "MIT" ]
boformer/LegacyNetworkSkins
NetworkSkins/Props/PropCustomizer.cs
13,001
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> //--...
46.657895
159
0.604625
[ "MIT" ]
maikvandergaag/msft-demo-development
msft-demo-development/msft-demo-development/Properties/Settings.Designer.cs
1,775
C#
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; public class GameManager { #region STATIC_ENUM_CONSTANTS public static readonly int MAX_TIME_IN_GAME = 600000; public static readonly string CHARACTER_GO_TAG = "Player"; public enum GAME_MODE{ NORMAL = 0, MODE...
20.706161
104
0.600137
[ "MIT" ]
chrislugram/TDAR
Assets/Scripts/Managers/GameManager.cs
4,369
C#
namespace Yobao.Models { using System.ComponentModel.DataAnnotations; public class Category { [Key] public int Id { get; set; } public string Description { get; set; } } }
22.625
45
0.707182
[ "MIT" ]
YoloDev/YOBAO
Source/Yobao/Models/Category.cs
183
C#
namespace Stone_Red_Utilities.Logging { /// <summary> /// Specifies the target of the log message. /// </summary> public enum LogTarget { /// <summary> /// Writes log to console /// </summary> Console = 1, /// <summary> /// Writes log to debug consol...
20.521739
48
0.476695
[ "MIT" ]
Stone-Red-Code/Stone_Red-C-Sharp-Utilities
Stone_Red-C-Sharp-Utilities/Logging/LogTarget.cs
474
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
42.709091
157
0.596424
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.400
Source/Krypton Components/ComponentFactory.Krypton.Ribbon/View Layout/ViewLayoutRibbonQATFromRibbon.cs
2,352
C#
namespace Advobot.Attributes.ParameterPreconditions.Numbers; /// <summary> /// Validates the passed in number allowing 0 to <see cref="int.MaxValue"/>. /// </summary> [AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)] public sealed class NotNegativeAttribute : RangeParameterPrecondi...
35.8125
85
0.74171
[ "MIT" ]
advorange/Advobot
src/Advobot.Core/Attributes/ParameterPreconditions/Numbers/NotNegativeAttribute.cs
575
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
35.112903
116
0.658705
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/CloudFormation/Generated/Model/DescribeAccountLimitsRequest.cs
2,177
C#
using System; using System.IO; using System.Net; using System.Web; using System.Text; using System.Linq; using System.Reflection; using System.Collections.Generic; using System.Text.RegularExpressions; // TODO - split this up into files! It's just kept growing and growing ... namespace Requestoring { ...
36.623352
162
0.675117
[ "MIT" ]
beccasaurus/mooget
spec/content/moo_dir_for_moo_show/packages/Requestor-1.0.2.2/src/Requestor.cs
19,449
C#
using BlazQ.Shared; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BlazQ.Shared { public interface ILobbyClient { public Task NewPlayer(ServerSidePlayerOverview newPlayer); public Task PlayerJoinedLobby(ServerSidePlayerOverview newPl...
22.882353
74
0.755784
[ "MIT" ]
just-the-benno/BlazQ
episode7/BlazQ.Episode7Finished/BlazQ.Shared/ILobbyClient.cs
391
C#
// PeerCastStation, a P2P streaming servent. // Copyright (C) 2013 PROGRE (djyayutto@gmail.com) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at...
31.854167
83
0.714192
[ "Apache-2.0" ]
progre/peercaststation
PeerCastStation/PeerCastStation.WPF/CoreSettings/SettingControl.xaml.cs
1,549
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using FluentAssertions; using IdentityServer4.Configuration; using IdentityServer4.Extensions; using IdentityServer4.Models; using IdentitySe...
42.142077
122
0.637578
[ "Apache-2.0" ]
284171004/IdentityServer4
src/IdentityServer4/test/IdentityServer.UnitTests/Validation/EndSessionRequestValidation/EndSessionRequestValidatorTests.cs
7,714
C#
using System.Reflection; namespace Bam.Net.CoreServices { public interface IAssemblyResolver { Assembly ResolveAssembly(string assemblyName, string assemblyDirectory = null); } }
22.222222
87
0.74
[ "MIT" ]
BryanApellanes/bam.net.shared
CoreServices/AssemblyManagement/IAssemblyResolver.cs
202
C#
using SPID.AspNetCore.Authentication.Resources; using System; using System.Collections.Concurrent; using System.Security.Cryptography; using System.Security.Cryptography.X509Certificates; using System.Security.Cryptography.Xml; using System.Xml; using System.Xml.Serialization; namespace SPID.AspNetCore.Authentication...
42.44697
169
0.584151
[ "MIT" ]
danielegiallonardo/spid-aspnetcore
SPID.AspNetCore.Authentication/SPID.AspNetCore.Authentication/Helpers/XmlHelpers.cs
5,605
C#
#region Copyright // Copyright (c) Tobias Wilker and contributors // This file is licensed under MIT #endregion using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading; using Agents.Net; using Agents.Net.Designer.Model.Messages; nam...
41.826087
99
0.549636
[ "MIT" ]
agents-net/agents.net.designer
src/Agents.Net.Designer.Model/Agents/AutomaticMessageModelCreator.cs
3,848
C#
namespace Develappers.BillomatNet.Types { public class InvoiceDocument : Document { public int InvoiceId { get; set; } } }
20.428571
43
0.657343
[ "MIT" ]
KuroSeongbae/BillomatNet
Develappers.BillomatNet/Types/InvoiceDocument.cs
145
C#
//////////////////////////////////////////////////////////////////////////////// // The MIT License (MIT) // // Copyright (c) 2019 Tim Stair // // 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 Soft...
46.777778
114
0.683492
[ "MIT" ]
rogues-gallery/cardmaker
CardMaker/Card/Translation/ITranslatorFactory.cs
1,686
C#
namespace MassTransit.Containers.Tests.Scenarios { using System; using System.Linq.Expressions; using System.Threading.Tasks; using Saga; using Util; public class SimpleSaga : ISaga, InitiatedBy<FirstSagaMessage>, Orchestrates<SecondSagaMessage>, Observes<ThirdS...
32.934426
121
0.661025
[ "ECL-2.0", "Apache-2.0" ]
MathiasZander/ServiceFabricPerfomanceTest
tests/MassTransit.Containers.Tests/Scenarios/SimpleSaga.cs
2,009
C#
using System; namespace Core4R.Data { public class Class1 { } }
8.666667
23
0.602564
[ "Apache-2.0" ]
samuraitruong/core4r
Sources/Backend/Core4R.Data/Class1.cs
80
C#
/* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. */ /****************************************************************************** * * You may not use the identified files except in compliance with The MIT * License (the "License.") * * You may obtain a copy of the License at * ...
33.679012
80
0.605572
[ "MIT" ]
268sid255/dotnet-db-samples
samples/transaction/transaction-scope/psfTxnScope.cs
2,728
C#
using System; namespace Domain.UseCase.AppointmentService.Exceptions { [Serializable] public class ValuesInvalidException : Exception { public ValuesInvalidException(string message) : base(message) { } } }
19.923077
69
0.644788
[ "MIT" ]
Micheler720/Localiza
Domain/UseCase/AppointmentService/Exceptions/ValuesInvalidException.cs
259
C#
using System; using System.Collections.Generic; using System.Text; namespace Codejam { class StandInLine { int[] Reconstruct(int[] left) { int[] final = left; //Your code goes here return final; } #region Testing code Do not change p...
29.096774
155
0.537694
[ "MIT" ]
tavisca-mrathore/TaviscaTraining
CodeJam/StandInLine/StandInLine.cs
902
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step...
44.341223
311
0.621858
[ "MIT" ]
Maradaehne/UnitsNet
Common/GeneratedCode/Quantities/Permittivity.Common.g.cs
22,483
C#
using ChessCake.Commons; using ChessCake.Engines.Contracts; using ChessCake.Models.Boards.Cells.Contracts; using ChessCake.Models.Boards.Contracts; using ChessCake.Models.Pieces.Contracts; using ChessCake.Models.Positions; using ChessCake.Providers.Movements.Pieces.Contracts; using System; using System.Collections.Gen...
34.130081
89
0.599809
[ "MIT" ]
gcleiton/chesscake
ChessCake/Providers/Movements/Pieces/BishopMovement.cs
4,200
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 BenchmarkDotNet.Attributes; using System.Buffers.Reader; using System.Buffers.Text; using System.Text; namesp...
29.378788
123
0.572976
[ "MIT" ]
benaadams/corefxlab
tests/Benchmarks/System.Buffers/Reader.cs
1,939
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Lclb.Cllb.Interfaces { using Microsoft.Rest; using Models; using Newtonsoft.Json; using System.Colle...
45.52459
569
0.574309
[ "Apache-2.0" ]
BrendanBeachBC/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/Lkadoxioapplicationtransferownershipv1modifiedby.cs
19,439
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("Vi...
40.447368
108
0.752115
[ "Apache-2.0" ]
125m125/acat
src/Extensions/Default/Actuators/Vision/VisionUtils/Properties/AssemblyInfo.cs
1,539
C#
namespace JT809.Protocol { /// <summary> /// 报文加密标识位 b: 0 表示报文不加密,1 表示报文加密。 /// </summary> public enum JT809Header_Encrypt:byte { None = 0X00, Common = 0X01, } }
16.916667
40
0.541872
[ "MIT" ]
786744873/JT809
src/JT809.Protocol/JT809Header_Encrypt.cs
249
C#
/* * ORY Hydra * * Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here. * * The version of the OpenAPI document: v1.9.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections.Generic; using System.Collectio...
64.105263
532
0.684113
[ "Apache-2.0" ]
UkonnRa/sdk
clients/hydra/dotnet/src/Ory.Hydra.Client/Api/PublicApi.cs
92,568
C#
// Copyright (c) True Goodwill. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace FFT.SlottedTimers.Tests { using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using Microsoft.VisualSt...
29.808511
136
0.657388
[ "MIT" ]
FastFinTech/FFT.SlottedTimers
src/FFT.SlottedTimers.Tests/TimerTests.cs
1,401
C#
using MBran.Core.Models; using System.Collections.Generic; using System.Linq; using Umbraco.Core.Models; using Umbraco.Core.Models.PublishedContent; using Umbraco.Web; namespace MBran.Core { public class ContentHelper : IContentHelper { private readonly UmbracoHelper _umbracoHelper; public Con...
29.655405
101
0.541353
[ "MIT" ]
markglibres/umbraco-starter-kit
src/Core/MBran.Core/Helpers/ContentHelper.cs
4,391
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
36.206612
159
0.619265
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/MigrationHub/Generated/Model/Internal/MarshallTransformations/NotifyApplicationStateRequestMarshaller.cs
4,381
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("aliyun-ddns")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyPr...
25.486486
56
0.712619
[ "MIT" ]
hxulin/aliyun-ddns
aliyun-ddns/Properties/AssemblyInfo.cs
1,284
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls.Primitives; namespace TickTrader.BotTerminal { public class AutoColumnsGrid : UniformGrid { public static readonly DependencyProperty ...
33.7875
142
0.63929
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
SoftFx/TTAlgo
TickTrader.BotTerminal/Controls/AutoColumnsGrid.cs
2,705
C#
using System.Threading.Tasks; using Xunit; namespace JikanDotNet.Tests { public class PersonExtendedTestClass { private readonly IJikan jikan; public PersonExtendedTestClass() { jikan = new Jikan(); } [Fact] public async Task GetPersonPictures_WakamotoId_ShouldParseNorioWakamotoImages() { Pers...
19.173913
81
0.75737
[ "MIT" ]
EZ1SGT/jikan.net
JikanDotNet.Test/PersonExtendedTestClass.cs
443
C#
using System; using System.Net.Http; namespace Alpaca.Markets { /// <summary> /// Encapsulates request parameters for <see cref="AlpacaTradingClient.ListCalendarAsync(CalendarRequest,System.Threading.CancellationToken)"/> call. /// </summary> public sealed class CalendarRequest : IRequestWithTimeInter...
43.648148
153
0.645736
[ "Apache-2.0" ]
darocha/alpaca-trade-api-csharp
Alpaca.Markets/Parameters/CalendarRequest.cs
2,359
C#
using System.IO; using CppSharp.AST; using CppSharp.Generators; using CppSharp.Passes; using CppSharp.Utils; namespace CppSharp.Tests { public class NamespacesDerivedTests : GeneratorTest { public NamespacesDerivedTests(GeneratorKind kind) : base("NamespacesDerived", kind) { ...
33.982143
100
0.605885
[ "MIT" ]
JackWangCUMT/CppSharp
tests/NamespacesDerived/NamespacesDerived.cs
1,903
C#
using Microsoft.AspNetCore.Components.WebAssembly.Hosting; using Microsoft.Extensions.DependencyInjection; using System; using System.Net.Http; using System.Threading.Tasks; using BlazingPizza.Client.Pages; using Microsoft.AspNetCore.Components.WebAssembly.Authentication; namespace BlazingPizza.Client { public cl...
37.28125
124
0.682313
[ "MIT" ]
mikesigs/blazor-workshop
save-points/00-get-started/BlazingPizza.Client/Program.cs
1,195
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> //--...
34.387097
151
0.581614
[ "Apache-2.0" ]
OmarMAshour/Fantaza
MediaPlayer/Properties/Settings.Designer.cs
1,068
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. // This code was generated by an automated template. using Mosa.Compiler.Framework; namespace Mosa.Platform.x64.Instructions { /// <summary> /// Sub32 /// </summary> /// <seealso cref="Mosa.Platform.x64.X64Instruction" /> public sealed class Sub...
32.413333
83
0.739202
[ "BSD-3-Clause" ]
AnErrupTion/MOSA-Project
Source/Mosa.Platform.x64/Instructions/Sub32.cs
2,431
C#
using System.Collections.Generic; using Negum.Core.Models.Palettes; namespace Negum.Core.Models.Pcx { /// <summary> /// Represents a general model of an image read from the PCX file. /// </summary> /// /// <author> /// https://github.com/TheNegumProject/Negum.Core /// </author> public ...
32.818182
70
0.569252
[ "MIT" ]
TheNegumProject/Negum.Core
Negum.Core/Models/Pcx/IPcxImage.cs
2,166
C#
namespace SharpTemplar; public class Table : HTMLBodyElement { internal override string TagType => "table"; internal Table(HTMLBodyElement parent) : base(parent) { } } public abstract partial class HTMLBodyElement : HTMLElement { public HTMLBodyElement AddTable() { var table = ne...
21.296296
63
0.634783
[ "MIT" ]
emiljapelt/SharpTemplar
src/Body/BodyElements/Table.cs
575
C#
#if !NETSTANDARD13 /* * 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 ...
46.181818
202
0.697507
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/NetworkManager/Generated/Model/_bcl45+netstandard/GetTransitGatewayConnectPeerAssociationsPaginator.cs
4,572
C#
using System; using System.Net; using System.Runtime.Remoting.Contexts; using System.Threading; using System.Threading.Tasks; using LiveCoreLibrary; using LiveCoreLibrary.Client; using LiveCoreLibrary.Commands; using LiveCoreLibrary.Messages; using UnityEngine; namespace LiveClient { public class Liv...
29.963351
107
0.515813
[ "MIT" ]
Taku3939/LiveCSharpForUnity
Assets/LiveCSharpForUnity/Client/LiveNetwork.cs
5,927
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 { using HL7; /// <summary> /// MFN_M12 (Message) - /// </summary> publ...
23.358974
104
0.517014
[ "Apache-2.0" ]
ahives/Machete
src/Machete.HL7Schema/V26/Messages/MFN_M12.cs
911
C#
using System; using BCnEncoder.Shared; namespace BCnEncoder.Encoder.Bc7 { internal static class Bc7Mode3Encoder { public static Bc7Block EncodeBlock(RawBlock4X4Rgba32 block, int startingVariation, int bestPartition) { var output = new Bc7Block(); const Bc7BlockType type = Bc7BlockType.Type3; var endp...
29.829268
114
0.683565
[ "MIT", "Unlicense" ]
onepiecefreak3/BCnEncoder.NET
BCnEnc.Net/Encoder/Bc7/Bc7Mode3Encoder.cs
2,448
C#
using System; using System.Collections.Generic; using System.Text; namespace B2C.Message.Core.Handlers { class MobileCodeEventHandler { } }
14
35
0.733766
[ "MIT" ]
shelldudu/never_application
src/message/B2C.Message.Core/Handlers/MobileCodeEventHandler.cs
156
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright company="Chocolatey" file="IChocolateyConfigurationProvider.cs"> // Copyright 2014 - Present Rob Reynolds, the maintainers of Chocolatey, and RealDimensions Software, LLC // </copy...
43.933333
121
0.455235
[ "Apache-2.0" ]
dhtdht020/ChocolateyGUI
Source/ChocolateyGui/Providers/IChocolateyConfigurationProvider.cs
661
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using DotVVM.Framework.ViewModel; namespace DotVVM.Samples.BasicSamples.ViewModels.FeatureSamples.MarkupControl { public class ComboBoxDataSourceBoundToStaticCollection : DotvvmViewModelBase { public int Value { get; ...
23.928571
80
0.779104
[ "Apache-2.0" ]
AMBULATUR/dotvvm
src/DotVVM.Samples.Common/ViewModels/FeatureSamples/MarkupControl/ComboBoxDataSourceBoundToStaticCollection.cs
335
C#
using System.Collections.Generic; using UsefulProteomicsDatabases; using EngineLayer; using Proteomics; namespace TaskLayer { public class SearchParameters { public SearchParameters() { // default search task parameters DisposeOfFileWhenDone = true; DoParsimo...
40.9
96
0.585982
[ "MIT" ]
cameyer6/MetaMorpheus
TaskLayer/SearchTask/SearchParameters.cs
3,681
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.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text;...
40.787755
157
0.511658
[ "MIT" ]
939481896/dotnet-corefx
src/System.Diagnostics.Process/src/System/Diagnostics/ProcessManager.Linux.cs
9,993
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using CTA.Rules.Models; using CTA.Rules.PortCore; using Codelyzer.Analysis; using Codelyzer.Analysis.Common; using Codelyzer.Analysis.Model; using Microsoft.Extensions.Logging; using PortingAssistant.Clien...
48.860153
220
0.608508
[ "Apache-2.0" ]
birojnayak/porting-assistant-dotnet-client
src/PortingAssistant.Client.Analysis/AnalysisHandler.cs
25,507
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; namespace AutoRest.AzureResourceSchema { [Flags] public enum SchemaConfigur...
37.321839
185
0.529966
[ "MIT" ]
anthony-c-martin/autorest.azureresourceschema
src/JsonSchema.cs
16,237
C#
//------------------------------------------------------------ // Game Framework // Copyright © 2013-2021 Jiang Yin. All rights reserved. // Homepage: https://gameframework.cn/ // Feedback: mailto:ellan@gameframework.cn //------------------------------------------------------------ using ProtoBuf; using System; name...
20.636364
63
0.441997
[ "MIT" ]
suweitao8/BattleOfTheTwoCities
Assets/GameMain/Scripts/Network/Packet/SCHeartBeat.cs
684
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("Jo...
37.702703
84
0.744803
[ "Apache-2.0" ]
mwhooker/jones
contrib/dotnet/JonesClient/Properties/AssemblyInfo.cs
1,398
C#
using System.Globalization; namespace FarsiLibrary.UnitTest.Helpers { public class DateTimeFormatWrapper { public static DateTimeFormatInfo GetFormatInfo() { return new DateTimeFormatInfo { DateSeparator = "-", ...
22.733333
56
0.513196
[ "MIT" ]
HEskandari/FarsiLibrary
FarsiLibrary.UnitTest/Helpers/DateTimeFormatWrapper.cs
341
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
43.865979
178
0.655934
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/CodeCommit/Generated/Model/EncryptionKeyDisabledException.cs
4,255
C#
using System; using System.Collections.Generic; using UnityEngine; namespace Unity.VisualScripting { public static class GraphsExceptionUtility { // Note: Checking hasDebugData here instead of enableDebug, // because we always want exceptions to register, even if // background debug is ...
29.521277
119
0.54991
[ "MIT" ]
2PUEG-VRIK/UnityEscapeGame
2P-UnityEscapeGame/Library/PackageCache/com.unity.visualscripting@1.6.1/Runtime/VisualScripting.Core/Graphs/GraphsExceptionUtility.cs
2,775
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
39.742857
87
0.609633
[ "MIT" ]
3quanfeng/azure-powershell
src/Resources/Resources.Test/ScenarioTests/MoveResourceTest.cs
1,359
C#
using System; using System.Windows.Input; #nullable enable namespace aemarcoCommons.WpfTools.Commands { public abstract class BaseCommand : ICommand { public abstract void Execute(object? parameter); public virtual bool CanExecute(object? parameter) { return true; }...
24
63
0.636364
[ "Unlicense" ]
UltimateSeeSharp/aemarcoCommons
WpfTools/Commands/BaseCommand.cs
530
C#
using System.Collections.Generic; using System.Text.Json.Serialization; using Horizon.Payment.Alipay.Domain; namespace Horizon.Payment.Alipay.Response { /// <summary> /// KoubeiRetailKbcodeQueryResponse. /// </summary> public class KoubeiRetailKbcodeQueryResponse : AlipayResponse { /// <su...
25.76
67
0.624224
[ "Apache-2.0" ]
bluexray/Horizon.Sample
Horizon.Payment.Alipay/Response/KoubeiRetailKbcodeQueryResponse.cs
674
C#
using BizHawk.Common; using System; using BizHawk.Emulation.Cores.Components.LR35902; namespace BizHawk.Emulation.Cores.Nintendo.GBHawk { // Sachen Bootleg Mapper // NOTE: Normally, locked mode is disabled after 31 rises of A15 // this occurs when the Boot Rom is loading the nintendo logo into VRAM // instead of...
21.990991
104
0.600164
[ "MIT" ]
Gorialis/BizHawk
BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/Mappers/Mapper_Sachen_MMC2.cs
4,884
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110 { using Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PowerShell; /// <summary> /// A PowerShell PSTypeConverter to support converting to an instance of <see cref="Network" /> /// </summary> public partial class Net...
50.56338
245
0.575348
[ "MIT" ]
3quanfeng/azure-powershell
src/Migrate/generated/api/Models/Api20180110/Network.TypeConverter.cs
7,039
C#
namespace Caliburn.Micro { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; #if WinRT81 using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Mark...
49.148562
217
0.61631
[ "MIT" ]
LTGKeithYang/CaliburnFrameworkStudy
src/Caliburn.Micro.Platform/ConventionManager.cs
30,769
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraMovement : MonoBehaviour { public GameObject mainCam; [Range(1f, 100f)] public float moveSpeed; void Start() { mainCam = this.gameObject; } // Update is called once per frame ...
23.333333
94
0.653571
[ "MIT" ]
ARF-DEV/Graph-Search-Algo
Assets/CameraMovement.cs
562
C#
using System.Reflection; using Abp.Domain.Uow; using Abp.Web.Models; namespace Abp.AspNetCore.Configuration { public interface IAbpAspNetCoreConfiguration { WrapResultAttribute DefaultWrapResultAttribute { get; } UnitOfWorkAttribute DefaultUnitOfWorkAttribute { get; } /// <summary> ...
28.576923
176
0.682369
[ "MIT" ]
luyuxi14Linbaw/ZERO
src/Abp.AspNetCore/AspNetCore/Configuration/IAbpAspNetCoreConfiguration.cs
745
C#
// Copyright (c) 2008 Vesa Tuomiaro // // 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, copy, modify, // merge, publis...
70.31875
210
0.583681
[ "Apache-2.0" ]
MoysheBenRabi/setp
csharp/Examples/CloudDaemon/CloudMath/CatmullRom.cs
11,253
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
26.6375
112
0.595026
[ "Apache-2.0" ]
InsiteVR/aws-sdk-net
sdk/src/Services/CloudFormation/Generated/AmazonCloudFormationConfig.cs
2,131
C#
using NUnit.Framework; using System.Collections.Generic; using Wr.UmbracoPhoneManager.Models; namespace Wr.UmbracoPhoneManager.Tests.Providers.Storage.XPath { [TestFixture] public class XPathRepository_XPathNavigatorTest { [Test] public void XPathRepository_GetXPathNavigator_CheckDefaultSe...
43.655172
205
0.647907
[ "MIT" ]
bifter/Wr.Umbraco.CampaignPhoneManager
Wr.UmbracoPhoneManager.Tests/Providers/Storage/XPath/XPathRepository_XPathNavigatorTest.cs
5,066
C#
using BusinessLogic; using System; using System.Collections.Generic; using System.Text; namespace MuzeyServer { public class ACADCSingleReqDto { public string id { get; set; } public string workShop { get; set; } [MuzeyReqType] public string productionNumber { get; set; } }...
20.1875
52
0.659443
[ "MIT" ]
muzeyc/MuzeyWebForNetCore
src/MuzeyAngular.Application/AC/ACADCSingle/Dto/ACADCSingleReqDto.cs
325
C#
using Newtonsoft.Json; using System.Runtime.Serialization; namespace com.freeclimb { /// <summary> /// Account Status enumeration with a default value of NONE. /// </summary> [JsonConverter(typeof(EnumConverter))] public enum EAccountStatus { #pragma warning disable 1591 // XML comment compile...
21.178571
64
0.620573
[ "MIT" ]
Anedumgottil/csharp-sdk
freeclimb-cs-sdk/EAccountStatus.cs
595
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 ...
22.736842
63
0.689815
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-yundun-ds/Yundun_ds/Model/V20190103/ValidateConnectorResponse.cs
1,296
C#
namespace YaBlewItCP.Logic; public interface IChooseColorProcesses { Task ColorChosenAsync(EnumColors color); }
23.2
44
0.818966
[ "MIT" ]
musictopia2/GamingPackXV3
CP/Games/YaBlewItCP/Logic/IChooseColorProcesses.cs
118
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Web.Http; using Microsoft.AspNet.SignalR; using Microsoft.AspNet.SignalR.Infrastructure; using Microsoft.TestCommon; using Moq; public class HubControllerOfTTest { [Fa...
36.738095
149
0.725859
[ "Apache-2.0" ]
Darth-Fx/AspNetMvcStack
test/System.Web.Http.SignalR.Test/HubControllerOfTHubTest.cs
1,545
C#
using MediatorPatternExemple.Infraestrutura; using MediatR; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace MediatorPatternExe...
32.219512
109
0.687358
[ "MIT" ]
alexandredorea/MediatorPatternExemplo
MediatorPatternExemplo/Startup.cs
1,323
C#
using Mono.Reflection; using System; using System.Collections.Generic; using System.Text; namespace Cvl.VirtualMachine.Instructions.Conditional { /// <summary> /// Transfers control to a target instruction (short form) when two unsigned integer values or unordered float values are not equal. /// https://d...
28.15625
136
0.580466
[ "MIT" ]
cv-lang/virtual-machine
Cvl.VirtualMachine/Cvl.VirtualMachine.Standard/Instructions/Conditional/Bne.cs
903
C#
namespace WWTWebservices { public partial class WWTToursDataset { } }
15.6
42
0.717949
[ "MIT" ]
Carifio24/wwt-website
src/WWTWebservices/WWTToursDataset.cs
80
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class textAnimationController : MonoBehaviour { private Animator anim; int q = 0; public string[] texts; public Text outText; public float delay; private bool isShow = false; void St...
21.369565
63
0.505595
[ "MIT" ]
Team-on/GGJ20
GGJ/Assets/Scripts/Video/textAnimationController.cs
985
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using EFCoreApp.Data; namespace EFCoreApp.Data.Migrations { [DbContext(typeof(EFCoreDbContext))] [Migration("2020...
26.538462
75
0.565217
[ "MIT" ]
gustavogavancho/EFCoreApp
EFCoreApp.Data/Migrations/20200505225252_Init.Designer.cs
1,037
C#
using Microsoft.Extensions.Configuration; using Tests.Models; using Tortuga.Chain; using Tortuga.Chain.AuditRules; using Tortuga.Chain.DataSources; using Tortuga.Chain.SqlServer; namespace Tests; public abstract partial class TestBase { public const string EmployeeTableName = "HR.Employee"; public const string Empl...
40.428571
148
0.764821
[ "MIT" ]
TortugaResearch/Chain
Tortuga.Chain/Tortuga.Chain.SqlServer.MDS.Tests/TestBase.cs
5,094
C#
using System; using System.IO; using System.Configuration; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace PSHandHistoryManager.Setup { public partial class ArchiveForm ...
30.137255
86
0.595966
[ "MIT" ]
Husky110/PSHandHistoryManager
PSHandHistoryManager/Setup/ArchiveForm.cs
1,539
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class CarUI : MonoBehaviour { NewCarController newCarController; public Text txtMode; public Text txtVelocity; public Text txtRPM; public Text txtGear; public Text txtNowDistance; pu...
28
74
0.665966
[ "MIT" ]
hhj3258/GamePhysics_RealisticCarPhysics
CarSimulatorProject/Assets/Script/CarUI.cs
952
C#