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
// 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.Security.Claims; namespace Microsoft.AspNetCore.Authentication { /// <summary> /// Contains user identity informatio...
42.5
130
0.641176
[ "Apache-2.0" ]
Blubern/AspNetCore
src/Http/Authentication.Abstractions/src/AuthenticationTicket.cs
3,060
C#
using CakeMail.RestClient.Exceptions; using Shouldly; using System; using Xunit; namespace CakeMail.RestClient.UnitTests.Exceptions { public class CakeMailPostExceptionTests { [Fact] public void CakeMailPostException_Constructor_with_message_and_postdata_and_diagnostic() { // Arrange var message = "This ...
29.040816
109
0.761068
[ "MIT" ]
Jericho/CakeMail.RestClient
Source/CakeMail.RestClient.UnitTests/Exceptions/CakeMailPostExceptionTests.cs
1,423
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using MyWallWebAPI; namespace MyWallWebAPI.Migrations { [DbContext(typeof(MySQLC...
35.986711
95
0.457072
[ "MIT" ]
kazuuu/curso-dotnet-core-web-api
MyWallWebAPI/MyWallWebAPI/Migrations/20210727182455_Authentication.Designer.cs
10,834
C#
using System.ComponentModel.DataAnnotations; using Domain.Base; using Newtonsoft.Json; namespace Domain.Entities { public class Booking : BaseEntity { [Required(ErrorMessage = "Inmate is a required field")] public Inmate Inmate { get; set; } [Required(ErrorMessage = "BookingAgency is a required field")] ...
25.545455
64
0.731317
[ "MIT" ]
c1kad14/cosmos-api
CosmosAPI/Domain/Entities/Booking.cs
564
C#
using System.Collections.Generic; using ProSuite.Commons.Essentials.Assertions; namespace ProSuite.QA.Container.TestContainer { public class BaseRowComparer : IEqualityComparer<BaseRow> { public bool Equals(BaseRow x, BaseRow y) { // Assumption : // x.Feature.Table = y.Feature.Table if (x == y) { ...
17.441558
67
0.611318
[ "MIT" ]
ProSuite/ProSuite
src/ProSuite.QA.Container/TestContainer/BaseRowComparer.cs
1,343
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace CountLines { public partial class MainWindow : Fo...
33.350797
147
0.511919
[ "MIT" ]
janisdd/countlines
Form1.cs
14,643
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using TeleSharp.TL; namespace TeleSharp.TL { [TLObject(-373312269)] public class TLInputMediaPhoto : TLAbsInputMedia { public override int Constructor { ...
21.804348
73
0.589232
[ "MIT" ]
slctr/Men.Telegram.ClientApi
Men.Telegram.ClientApi/TL/TL/TLInputMediaPhoto.cs
1,003
C#
using JetBrains.Annotations; using UnityEngine; [RequireComponent(typeof(Rigidbody))] public class AvoidCollisions : MonoBehaviour { public float ResponseRate = 1; public bool SpeedScaling; private Rigidbody _rigidbody; [UsedImplicitly] private void Start () { this.AssignComponent(out _rigidbody); } [Used...
26.916667
77
0.77709
[ "MIT" ]
kroltan/ld39
Assets/Scripts/AvoidCollisions.cs
648
C#
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using Microsoft.Crm.Sdk.Messages; using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Messages; using Microsoft.Xrm.Sdk.Metadat...
41.489848
279
0.555392
[ "MIT" ]
Andrea-Bosca/Xrm-Templating-Language
src/lib/Xrm.Oss.XTL.Interpreter/FunctionHandlers.cs
49,043
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ButtonBack : MonoBehaviour { public Button mButton; // Use this for initialization void Start() { //获取回退按钮 Button btn = mButton.GetComponent<Button>(); //给回退按钮绑定...
17.321429
52
0.645361
[ "Apache-2.0" ]
Edward7Zhang/Unity3D_AR_Pokemon
Assets/Scripts/ButtonBack.cs
547
C#
class RecentItemQueue<T> where T : class { private readonly int _size; private int _head; private int _tail; private readonly T[] _content; public RecentItemQueue(int size) { _head = -1; _tail = -1; _size = size; _c...
22.809917
82
0.337319
[ "BSD-3-Clause" ]
wooly905/RecentItemQueue
RecentItemQueue.cs
2,760
C#
using UnityEngine; using System.Collections; public class InputManagerScript : MonoBehaviour { private GameManagerScript _gameManager; private MoveTokensScript _moveManager; private GameObject _selected = null; public virtual void Start () { _moveManager = GetComponent<MoveTokensScript>(); _gameManager = Get...
25.833333
88
0.715207
[ "Unlicense" ]
connorcarson/CodeLab2_Carson
W2_CARSON/Assets/Scripts/InputManagerScript.cs
1,087
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 IL.Library.Amazon.SPAPI.Finances.Models { using Newtonsoft.Json; using System.Linq; /// <summary> /// A...
30.052632
105
0.587274
[ "Apache-2.0" ]
InventoryLab/selling-partner-api-models
clients/IL/Finances/Models/Currency.cs
1,713
C#
using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using EventStore.Client; using EventStore.Client.Streams; namespace subscribing_to_streams { class Program { static async Task Main(string[] args) { using var client = new EventStoreClient( EventStoreClientSettings.Cr...
33.414966
108
0.742467
[ "Apache-2.0" ]
CodingBrushUp/EventStore-Client-Dotnet
samples/subscribing-to-streams/Program.cs
4,914
C#
using System; using System.Threading.Tasks; using Etg.Yams.Client; using System.IO; namespace GracefullShutdownProcess { internal class Program { public static void Main(string[] args) { Run(args).Wait(); } private static async Task Run(string[] args) { ...
30.87234
110
0.576154
[ "MIT" ]
Bhaskers-Blu-Org2/Yams
test/GracefullShutdownProcess/Program.cs
1,453
C#
using System; using System.Text; using UnityEngine; namespace MelonLoader.MelonStartScreen { internal class GifDecoder : IDisposable { public string Version; public ushort Width; public ushort Height; public Color32 BackgroundColour; //---------------------------------...
29.660287
138
0.395548
[ "Apache-2.0" ]
TrevTV/MelonLoader
MelonStartScreen/mgGif/GifDecoder.cs
18,599
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("07...
38.297297
84
0.744531
[ "MIT" ]
akkirilov/ProgrammingFundamentalsHomeworks
00_ProgrammingBasics/Homeworks/07_AdvancedLoops/07_04_Even Powers of 2/Properties/AssemblyInfo.cs
1,420
C#
// Copyright (c) 2021 EPAM Systems // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
30.934426
83
0.744038
[ "Apache-2.0" ]
epam/fix-antenna-net-core
Tests/Validation.Tests/Engine/Validation/Test/Validate44DataTest.cs
1,889
C#
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================= ** ** Class: ManifestResourceInfo ** ** <OWNER>[....]</OWNER> ** ** ** Purpose: For info regarding a manifest resource's topology. ** ** ==========...
26.228571
79
0.533769
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/clr/src/BCL/system/reflection/manifestresourceinfo.cs
1,836
C#
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace ApplicationGateway.Models { /// <summary> /// Defines values for VirtualNetworkGatewayType. /// </summary> public static class VirtualNet...
26.470588
71
0.691111
[ "MIT" ]
bloudraak/autorest
Samples/test/end-to-end/network/Client/Models/VirtualNetworkGatewayType.cs
450
C#
using System.Collections.Generic; using Umbraco.Core.Models; namespace Umbraco.Core.Persistence.Repositories { internal interface IMacroRepository : IRepositoryQueryable<int, IMacro> { //IEnumerable<IMacro> GetAll(params string[] aliases); } }
23.166667
76
0.71223
[ "MIT" ]
AdrianJMartin/Umbraco-CMS
src/Umbraco.Core/Persistence/Repositories/Interfaces/IMacroRepository.cs
280
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; namespace driver { public partial class Form1 : Form { public Form1() { ...
32.488372
194
0.550107
[ "MIT" ]
NewEconoLab/NeoDun
驱动程序与钱包/neoHardWallet/driver/Form1.cs
2,850
C#
using System; using System.IO; using System.Threading.Tasks; using DryIoc; namespace MediatR.Examples.DryIoc { class Program { static Task Main() { var writer = new WrappingWriter(Console.Out); var mediator = BuildMediator(writer); return Runner.Run(mediator...
25.969697
130
0.619603
[ "Apache-2.0" ]
ArnaudB88/MediatR
samples/MediatR.Examples.DryIoc/Program.cs
857
C#
using System.Collections.Generic; using Horizon.Payment.Alipay.Response; namespace Horizon.Payment.Alipay.Request { /// <summary> /// alipay.open.mini.morpho.appgray.cancel /// </summary> public class AlipayOpenMiniMorphoAppgrayCancelRequest : IAlipayRequest<AlipayOpenMiniMorphoAppgrayCancelResponse> ...
22.629032
117
0.546329
[ "Apache-2.0" ]
bluexray/Horizon.Sample
Horizon.Payment.Alipay/Request/AlipayOpenMiniMorphoAppgrayCancelRequest.cs
2,816
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("eld...
38
84
0.750356
[ "MIT" ]
thomasgraham18/eldenring-savebackupandload
eldenringsavebackup/Properties/AssemblyInfo.cs
1,409
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using FluentValidation; using server.Model.Account; using server.Constants; namespace server.Model.Validators.Account_Validator { /// <summary> /// Validates the security questions and answers based on business rules /// ...
36.023256
180
0.631375
[ "MIT" ]
apham42/WhatFits
server/server/Business Logic/Validators/Account Validator/SecurityQuestionValidator.cs
1,551
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ParticleCollision : MonoBehaviour { public ParticleSystem part; public List<ParticleCollisionEvent> collisionEvents; void Start() { part = GetComponent<ParticleSystem>(); collisionEvents = new ...
25.711111
83
0.605877
[ "MIT" ]
LucasMW/MetroidPrime-Hud
Assets/Scripts/ParticleCollision.cs
1,159
C#
using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Response { /// <summary> /// KoubeiMarketingCampaignRetailDmQueryResponse. /// </summary> public class KoubeiMarketingCampaignRetailDmQueryResponse : AopResponse { /// <summary> ...
30.983607
121
0.532011
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Response/KoubeiMarketingCampaignRetailDmQueryResponse.cs
4,810
C#
using System; using System.Collections.Generic; using System.Text; namespace Microsoft.VisualStudio.Utilities { /// <summary> /// Defines a feature which may be disabled using <see cref="IFeatureService"/> and grouped using <see cref="BaseDefinitionAttribute"/> /// </summary> /// <remarks> /// Be...
31.913043
139
0.668937
[ "MIT" ]
AmadeusW/vs-editor-api
src/Editor/Core/Def/Features/FeatureDefinition.cs
736
C#
 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace EPiServer.Reference.Commerce.Site.Infrastructure { public class SiteViewEngine : RazorViewEngine { private static readonly string[] AdditionalPartialViewFormats = new[] { ...
27.875
114
0.669656
[ "Apache-2.0" ]
huyphan2/episerver-team-01
Sources/EPiServer.Reference.Commerce.Site/Infrastructure/SiteViewEngine.cs
671
C#
using GraphQL; using GraphQL.EntityFramework; [GraphQLMetadata(nameof(MappingChild))] public class MappingChildGraph : EfObjectGraphType<MappingContext, MappingChild> { public MappingChildGraph(IEfGraphQLService<MappingContext> graphQlService) : base(graphQlService) { AutoMap(); } }
24.384615
80
0.744479
[ "MIT" ]
Intecpsp/GraphQL.EntityFramework
src/Tests/Mapping/MappingChildGraph.cs
319
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("Sor...
37.783784
84
0.748927
[ "MIT" ]
varbanov88/C-Advanced
FunctionalProgramming/SortEvenNumbers/Properties/AssemblyInfo.cs
1,401
C#
using UnityEngine; public class LevelManager : MonoBehaviour { public Levels[] levels; public Transform[] lanes; private ObjectPool glassPool; private ObjectPool polePool; private ObjectPool explosionCubePool; public GameObject levelEndPrefab; [HideInInspector] public GameObject leve...
35.066667
132
0.576046
[ "MIT" ]
waqaas993/mindstorm-task
Assets/Scripts/LevelManager.cs
4,736
C#
using Righthand.Immutable; namespace KzsRest.Models { public class Player { public int Id { get; } public int? Number { get; } public string FullName { get; } public string NationalityCode { get; } public string Nationality { get; } public int? BirthYear { get; ...
43.078125
275
0.610809
[ "MIT" ]
MihaMarkic/KzsRestService
source/KzsRest/KzsRest.Models/Player.cs
2,759
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Video; using UnityEngine.UI; using DG.Tweening; public class RoadDisplay : MonoBehaviour { public string content; public string header; public void StartThing(System.Action _d, string _h, string _c) { do...
24.454545
88
0.674102
[ "Unlicense" ]
SandGardeners/Exhaustlands
Assets/Scripts/UIDisplay/RoadDisplay.cs
807
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 Models; using System.Collections; using System.Collections.Generic; usi...
43.468085
534
0.532201
[ "Apache-2.0" ]
rafaelponcedeleon/ag-lclb-cllc-public
cllc-interfaces/Dynamics-Autorest/InvoicesExtensions.cs
14,301
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class MainMenu : MonoBehaviour { public void PlayGame() { LevelManager levelManager = GameObject.FindObjectOfType<LevelManager>(); levelManager.loadGameRoom(); } ...
20.75
80
0.672289
[ "MIT" ]
GambuzX/MyMicroAddiction
project/Assets/Scripts/MainMenu/MainMenu.cs
417
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. using Mosa.Compiler.Framework.Analysis; namespace Mosa.Compiler.Framework.Stages { /// <summary> /// The Block Ordering Stage reorders blocks to optimize loops and reduce the distance of jumps and branches. /// </summary> public class BlockOrderin...
23.852459
121
0.699656
[ "BSD-3-Clause" ]
Arakis/MOSA-Project
Source/Mosa.Compiler.Framework/Stages/BlockOrderingStage.cs
1,455
C#
namespace p04._01.MatrixShuffling { using System; using System.Linq; class MatrixShuffling { static int rows; static string[][] matrix; static void Main(string[] args) { int[] size = Console.ReadLine() .Split(" ", StringS...
27.596491
86
0.413223
[ "MIT" ]
vesy53/SoftUni
C# Advanced/C#Adanced/LabEndExercises/04.MultidimensionalArraysExercise/p04.01.Matrixshuffling/Matrixshuffling.cs
3,148
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.Diagnostics; using System.Windows.Forms; using System.IO; using System.Net; using Codeplex.Data; namespace VisualFormTe...
34.470149
138
0.441438
[ "MIT" ]
yamadansan/HoppoAlpha
VisualFormTest/KancolleInfoFleet_ConvertDeckBuilder.cs
4,783
C#
using Microsoft.Xna.Framework; namespace SixteenBox.Graphics { interface IDrawable { void Draw(GameTime gameTime); } }
14.1
37
0.673759
[ "MIT" ]
RafaelMFonseca/SixteenBox
SixteenBox/Graphics/IDrawable.cs
143
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...
36.525862
153
0.605381
[ "Apache-2.0" ]
Murcho/aws-sdk-net
sdk/src/Services/WAF/Generated/Model/Internal/MarshallTransformations/UpdateRateBasedRuleRequestMarshaller.cs
4,237
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> //--...
39.2
97
0.539116
[ "Unlicense" ]
UagNanit/-Team-Project
Interpol/obj/Debug/Interpol_Content.g.cs
590
C#
using System.Linq; using Microsoft.Extensions.DependencyInjection; namespace Abp.MsDependencyInjection.Extensions { public static class ServiceCollectionExtensions { internal static T GetSingletonServiceOrNull<T>(this IServiceCollection services) { return (T)services ...
26.9375
88
0.665893
[ "MIT" ]
jefftindall/aspnetboilerplate
src/Abp.AspNetCore/MsDependencyInjection/Extensions/ServiceCollectionExtensions.cs
433
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Text.RegularExpressions; using JetBrains.Annotations; using OpenMLTD.MillionDance.Entities.Pmx; using OpenMLTD.MillionDance.Entities.Pmx.Extensions; using OpenMLTD....
34.767196
130
0.526784
[ "BSD-3-Clause-Clear" ]
CptCipher/MLTDTools
src/MillionDance/Core/PmxWriter.cs
26,286
C#
using System; using Legacy.Core.Api; using Legacy.Core.EventManagement; using Legacy.Views; using UnityEngine; using Object = System.Object; namespace Legacy { [AddComponentMenu("MM Legacy/Views/Scene/SceneEventView_TwoObjects")] public class SceneEventView_TwoObjects : BaseView { [SerializeField] private Stri...
25.642857
130
0.727577
[ "MIT" ]
Albeoris/MMXLegacy
Legacy.Framework/Legacy/SceneEventView_TwoObjects.cs
1,797
C#
using System.Collections; using System.Diagnostics.CodeAnalysis; using System.Text; using System.Text.RegularExpressions; namespace Dgt.Nonograms.Engine; public sealed class Line : IEnumerable<CellState>, IEquatable<Line> { private static readonly Regex ParseRegex = new(BuildParsePattern()); private static ...
24.465
174
0.540773
[ "MIT" ]
mmmcaffeine/nonograms
src/Engine/Line.cs
4,895
C#
using System; using System.Collections; using Harmony; using MelonLoader; using UnityEngine; namespace AudicaModding { public class AudicaMod : MelonMod { public static class BuildInfo { public const string Name = "ScorePercentage"; // Name of the Mod. (MUST BE SET) pu...
49.646302
193
0.63737
[ "MIT" ]
Alternity156/AudicaScorePercentage
src/Main.cs
15,440
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Extensions.Logging; using NBitcoin; using Blockcore.Interfaces; using Blockcore.Networks; using Blockcore.Consensus.Chain; using Blockcore.Consensus.BlockInfo; using Blockcore.Consensus.TransactionInfo; namespace Blockcore.Features.Blo...
43.210084
186
0.623493
[ "MIT" ]
Botcoin-Abacus/blockcore
src/Features/Blockcore.Features.BlockStore/UtxoIndexing/UtxoIndexer.cs
5,144
C#
using System.Text.Json; namespace DotNetRuntime; public class RuntimeResponse { public string Data { get; set; } public int StatusCode { get; set; } public RuntimeResponse( string data = "", int statusCode = 200) { Data = data; StatusCode = statusCode; } publi...
18.552632
46
0.575887
[ "MIT" ]
open-runtimes/runtimes
runtimes/dotnet-6.0/src/RuntimeResponse.cs
705
C#
#if THUNDERKIT_CONFIGURED using global::RoR2; namespace PassivePicasso.ThunderKit.Proxy.RoR2 { public partial class TeleportOutController : global::RoR2.TeleportOutController {} } #endif
27.142857
86
0.815789
[ "MIT" ]
Jarlyk/Rain-of-Stages
Assets/RainOfStages/RoR2/GeneratedProxies/RoR2/TeleportOutController.cs
190
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hout.Models.ParamValidation { public class InvalidParameterException : Exception { public InvalidParameterException(string message) : base(message) { } } }
21.714286
76
0.753289
[ "MIT" ]
Inrego/Hout
Hout.Models/ParamValidation/InvalidParameterException.cs
306
C#
using System; using System.Data; using System.Net; using System.Text; using System.Web.UI.WebControls; using CMS.Base; using CMS.Base.Web.UI; using CMS.EventLog; using CMS.Helpers; using CMS.PortalEngine.Web.UI; public partial class CMSWebParts_WebServices_GridForRESTService : CMSAbstractWebPart { ...
26.182927
139
0.5347
[ "MIT" ]
CMeeg/kentico-contrib
src/CMS/CMSWebParts/WebServices/GridForRESTService.ascx.cs
4,296
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...
29.745763
107
0.58433
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/RoboMaker/Generated/Model/CreateRobotRequest.cs
3,510
C#
namespace Contoso.Domain.Tokens { using More.Domain.Commands; using System; public class ReserveToken : Command { public ReserveToken( Guid aggregateId, string billingAccountId, string catalogId ) { AggregateId = aggregateId; BillingAccountId = billingAccountId;...
24.421053
90
0.622845
[ "MIT" ]
commonsensesoftware/More.Cqrs
samples/tokens/src/Contoso.Tokens.Domain/Tokens/ReserveToken.cs
466
C#
// <auto-generated /> using System; using InstaAutoBot.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; ...
36.883588
125
0.446405
[ "MIT" ]
priteshzhao/insta-auto-bot-
aspnet-core/src/InstaAutoBot.EntityFrameworkCore/Migrations/20190208051931_Upgrade_ABP_4_2_0.Designer.cs
57,981
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...
35.117647
143
0.673367
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/CodeCommit/Generated/Model/Internal/MarshallTransformations/FileEntryRequiredExceptionUnmarshaller.cs
2,985
C#
// Copyright (c) Nate McMaster. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // This file has been modified from the original form. See Notice.txt in the project root for more information. using System; using System.IO; namespace McMaster.Extensions....
31.157303
111
0.563289
[ "Apache-2.0" ]
Alxandr/CommandLineUtils
src/CommandLineUtils/IO/PhysicalConsole.cs
2,775
C#
namespace EArchive.EArsivVeri { [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://earsiv.efatura.gov.tr")] public enum vergiBilgiTypeVergiVergiKodu { ///...
26
113
0.575977
[ "MIT" ]
hkutluay/EArchive
EArchive/EArsivVeri/vergiBilgiTypeVergiVergiKodu.cs
3,172
C#
// Copyright (C) 2009-2018 Luca Piccioni // // 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, p...
32.155867
148
0.696095
[ "MIT" ]
hasali19/OpenGL.Net
Khronos.Net/GetProcAddressOS.cs
18,361
C#
using Camunda.Api.Client.UserTask; using Refit; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; namespace Camunda.Api.Client.Filter { internal interface IFilterRestService { [Get("/filter")] Task<List<FilterInfo.Response>> GetList(QueryDictionary query, i...
30.128205
113
0.648511
[ "MIT" ]
Maicelicious/Camunda.Api.Client
Camunda.Api.Client/Filter/IFilterRestService.cs
1,177
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 ...
57.018437
242
0.637549
[ "Apache-2.0" ]
amanda-tarafa/google-cloud-dotnet
apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2.Tests/ParticipantsClientTest.g.cs
64,944
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IndicesNome { class Program { static void Main(string[] args) { /*Leia uma matriz de tamanho 3 x ? contendo as letras do Alfabeto Maiúsculas na linha 0 segu...
42.52381
164
0.433371
[ "MIT" ]
danielspositocoelho/DS-EtecAlbertEinstein-Programacao_e_Algoritmos
Matrizes/IndicesNome/Program.cs
2,697
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; /// <summary>CheckNameAvailability Request</summary> [System.ComponentModel.TypeConverter(typeof(CheckNameAvailabilityRequestTypeConverter))] ...
66.511111
329
0.702083
[ "MIT" ]
AverageDesigner/azure-powershell
src/DataProtection/generated/api/Models/Api202101/CheckNameAvailabilityRequest.PowerShell.cs
8,845
C#
using System; using System.Collections.Generic; using System.Linq; namespace Caomei.Core.Extensions { public static class DistinctExtensions { public static IEnumerable<T> Distinct<T, V>(this IEnumerable<T> source, Func<T, V> keySelector) { return source.Distinct(new CommonEqualityC...
26.142857
103
0.68306
[ "MIT" ]
suncaomei/CaomeiTemplate_WTM_Blazor
Caomie.Core/Extensions/DistinctExtension.cs
366
C#
using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using NUnit.Framework; using Shouldly; namespace Stackage.Core.Tests.DefaultMiddleware.Readiness { public class alternate_endpoint : middleware_scenario { priva...
26.245283
96
0.672178
[ "MIT" ]
concilify/stackage-core-nuget
package/Stackage.Core.Tests/DefaultMiddleware/Readiness/alternate_endpoint.cs
1,391
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...
24.4
81
0.593677
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/DataCatalog/Latest/Inputs/PrincipalsArgs.cs
854
C#
using System.Collections.Generic; using FluentAssertions; using Xunit; namespace Atc.Tests.Extensions { public class ReadOnlyListExtensionsTests { [Theory] [InlineData(15, new[] { "a", "b", "c", "d" })] public void GetUniqueCombinations(int expected, string[] input) { ...
27.595238
87
0.540121
[ "MIT" ]
TomMalow/atc
test/Atc.Tests/Extensions/ReadOnlyListExtensionsTests.cs
1,161
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
41.686275
141
0.761994
[ "Apache-2.0" ]
pcameron-/aws-sdk-net
sdk/src/Services/CodeArtifact/Properties/AssemblyInfo.cs
2,126
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using presentation.Model; using presentation.Services; namespace presentation.Pages.Submissions { public cl...
28.272727
96
0.647106
[ "MIT" ]
cppseminar/APC
cppseminar/presentation/Pages/Submissions/Index.cshtml.cs
1,244
C#
using System.Collections.Generic; using UnicornHack.Generation; using UnicornHack.Generation.Effects; using UnicornHack.Primitives; namespace UnicornHack.Data.Abilities { public static partial class AbilityData { public static readonly LeveledAbility ShortRangeWeapons = new LeveledAbility { ...
29.285714
97
0.655285
[ "Apache-2.0" ]
AndriySvyryd/UnicornHack
src/UnicornHack.Core/Data/Abilities/ShortRangeWeapons.cs
615
C#
// Lucene version compatibility level 4.8.1 using YAF.Lucene.Net.Analysis.Util; using System; using System.Collections.Generic; namespace YAF.Lucene.Net.Analysis.Shingle { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE f...
51.345238
262
0.651287
[ "Apache-2.0" ]
10by10pixel/YAFNET
yafsrc/Lucene.Net/Lucene.Net.Analysis.Common/Analysis/Shingle/ShingleFilterFactory.cs
4,232
C#
using OTAPI.Patcher.Engine.Extensions; using OTAPI.Patcher.Engine.Modification; namespace OTAPI.Patcher.Engine.Modifications.Hooks.Net { public class SendData : ModificationBase { public override System.Collections.Generic.IEnumerable<string> AssemblyTargets => new[] { "Terraria, Version=1.3.0.7,...
35.254237
133
0.582692
[ "MIT" ]
chi-rei-den/Open-Terraria-API
OTAPI.Modifications/OTAPI.Modifications.Net.SendData/Modifications/SendData.cs
2,082
C#
/** * Copyright 2021 d-fens GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
29.393939
75
0.650515
[ "Apache-2.0" ]
dfensgmbh/biz.dfch.CS.Examples.DataTypes
src/biz.dfch.CS.Playground.Fynn/20210319/Entry.cs
972
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace pharmacy_management_system { internal static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThr...
23.217391
65
0.627341
[ "MIT" ]
Dihan141/SWE-4202-Lab
Lab 5/pharmacy management system/Program.cs
536
C#
using CSharpier.DocTypes; using CSharpier.SyntaxPrinter; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace CSharpier.SyntaxPrinter.SyntaxNodePrinters { public static class LiteralExpression { public static Doc Print(LiteralExpressionSyntax node) { return Token.Print(node.Token);...
22.6
61
0.713864
[ "MIT" ]
belav/csharpier
Src/CSharpier/SyntaxPrinter/SyntaxNodePrinters/LiteralExpression.cs
339
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using ContentAggregator.Common; using ContentAggregator.Context.Entities.Likes; namespace ContentAggregator.Context.Entities { public class Comment : PostBaseEntity { [Required] [MaxLength(Consts.CommentContentLengt...
30.571429
86
0.699377
[ "MIT" ]
kotwica407/ContentAggregator
ContentAggregator.Context/Entities/Comment.cs
644
C#
using System; using System.Collections.Generic; using System.Text; namespace OpenShadows.FileFormats { public static class FormatHelper { public static string GetFileType(string extension) { return extension.ToUpper() switch { "ALF" => "Game archive files", "3DM" => "3d map", "DSC" => "3d map ...
28.653061
77
0.531339
[ "MIT" ]
shihan42/OpenShadows
Src/OpenShadows.FileFormats/FormatHelper.cs
1,406
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; //using UnityEngine.Purchasing; public class TWShop : TWBoard//, IStoreListener { // public void OnInitialized(IStoreController controller, IExtensionProvider extensions) // { // Debug.Log("OnInitialize...
34.778523
139
0.533385
[ "Apache-2.0" ]
Cupham/BLEPersonalHealthGateway
Assets/TLib/TW/TWShop/TWShop.cs
5,184
C#
using System; using System.Collections.Generic; using System.Text; using System.IO; namespace CCMEngine { public interface ICCMNotify { void OnMetric(ccMetric metric, object context); } public class FileAnalyzer { ICCMNotify callback = null; LookAheadLangParser parser = null; ...
30.834711
134
0.653444
[ "MIT" ]
ardalis/ccm
source/CCMEngine/FileAnalyzer.cs
3,731
C#
namespace _04.EmployeesWithSalaryOver50000 { using System; using System.IO; using System.Linq; using P02_DatabaseFirst.Data; public class StartUp { public static void Main() { using (SoftUniContext context = new SoftUniContext()) { var em...
25.875
92
0.449275
[ "MIT" ]
ShadyObeyd/DatabaseAdvanced-EntityFramework-June2018
03.IntroductionToEntityFramework-Exercise/04.EmployeesWithSalaryOver50000/StartUp.cs
830
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WebApplication9 { public partial class Site_Mobile : System.Web.UI.MasterPage { protected void Page_Load(object sender, EventArgs e) {...
20.176471
64
0.670554
[ "MIT" ]
mcadidvijay/PCHeart
Site.Mobile.Master.cs
343
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; namespace Kangaroo.Models { public class TimeEntry { [BsonId] public ObjectId Id { get; set; } public decimal? Quantity { get; set; } ...
19.771429
51
0.563584
[ "MIT" ]
SamLeach/KangarooTimeTracker
Kangaroo/Models/TimeEntry.cs
694
C#
using Spfx.Serialization; using System.Runtime.Serialization; namespace Spfx.Runtime.Messages { [DataContract] public sealed class RemoteCallFailureResponse : RemoteInvocationResponse { [DataMember] public IRemoteExceptionInfo Error { get; set; } internal override void ...
26.333333
84
0.636076
[ "MIT" ]
fbrosseau/SimpleProcessFramework
SimpleProcessFramework/Runtime/Messages/RemoteCallFailureResponse.cs
634
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Philadelphia.Common { /// <summary>value that is not a class field</summary> public class RemoteValue<LocalT,RemOperResT> : IReadWriteValue<LocalT> { public LocalT Value { get;...
42.846626
172
0.596363
[ "Apache-2.0" ]
todo-it/philadelphia
Philadelphia.Common/Mvp/PlatformAgnostic/RemoteValue.cs
6,986
C#
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Runtime.CompilerServices; using System.Xml; ...
25.483871
79
0.418987
[ "BSD-3-Clause" ]
0xCM/z0
src/xml/src/models/ElementEnd.cs
790
C#
using System; using System.Collections.Generic; using System.Text; using System.Text.Json.Serialization; namespace Desafio.Tech.Dog.ApplicationService.Contracts.Responses.Turma { public abstract class TurmaBaseResponse { [JsonIgnore] public bool Success { get; protected set; } public I...
26.125
71
0.617225
[ "MIT" ]
diegopsalles/desafio-tech-dog
Desafio.Tech.Dog/Desafio.Tech.Dog.ApplicationService/Contracts/Responses/Turma/TurmaBaseResponse.cs
629
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using TeleSharp.TL; namespace TeleSharp.TL { [TLObject(-317144808)] public class TLEncryptedMessage : TLAbsEncryptedMessage { public override int Constructor {...
23.836364
73
0.559878
[ "MIT" ]
Vladimir-Novick/TLSharp.NetCore2
TeleSharp.NetCore2.TL/TL/TLEncryptedMessage.cs
1,311
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org) // Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net) // Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp) // See the LICENSE.md file in the project root for full license information. u...
27.48
116
0.551674
[ "MIT" ]
Ethereal77/stride
sources/engine/Stride.Particles/Sorters/ArrayPool.cs
2,061
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using Microsoft.ApplicationInsights.SnapshotCollector; using Microsoft.ApplicationInsights.WindowsServer.Channel.Implementation; using Microsoft.Azure.We...
50.972067
161
0.662648
[ "MIT" ]
Chris-Johnston/azure-webjobs-sdk
src/Microsoft.Azure.WebJobs.Logging.ApplicationInsights/ApplicationInsightsLoggerOptions.cs
9,126
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
45.021097
170
0.630459
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/GroupLifecyclePolicyRequest.cs
10,670
C#
 using System; namespace AltoMultiThreadDownloadManager.EventArguments { /// <summary> /// Event arguments for file merging event /// </summary> public class MergingProgressChangedEventArgs: EventArgs { /// <summary> /// Constructor for progress changed arguments /// </summary> //...
25.083333
87
0.671096
[ "MIT" ]
aalitor/AltoMultiThreadDownloadManager-master
AltoMultiThreadDownloadManager/EventArguments/MergingProgressChangedEventArgs.cs
604
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using MvcBlazorDemo.Models; using System.Diagnostics; namespace MvcBlazorDemo.Controllers { public class HomeController : Controller { private readonly ILogger<HomeController> _logger; public HomeController(ILogger<HomeContro...
23.615385
112
0.60152
[ "MIT" ]
araujofrancisco/MvcBlazorDemo
MvcBlazorDemo/Controllers/HomeController.cs
923
C#
using System; using System.Windows; using GongSolutions.Wpf.DragDrop; using GongSolutions.Wpf.DragDrop.Utilities; namespace Showcase.WPF.DragDrop.Models { using System.Collections; using System.Collections.Generic; using System.Linq; public class SerializableDropHandler : IDropTarget { #if !NETCO...
34.988095
143
0.493875
[ "BSD-3-Clause" ]
FroggieFrog/gong-wpf-dragdrop
src/Showcase/Models/SerializableDropHandler.cs
5,880
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace LuceneServerNET.Services { public class LuceneServiceOptions { public string RootPath { get; set; } public string ArchivePath { get; set; } } }
20.071429
47
0.704626
[ "Apache-2.0" ]
jugstalt/LuceneServerNET
src/LuceneServerNET/Services/LuceneServiceOptions.cs
283
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using MyCompany.EntityFrameworkCore; namespace MyCompany.Migrations { [DbContext(typeof(MyCompanyDbContext))] [Mig...
35.42511
117
0.430206
[ "MIT" ]
StefanKoenen/aspnetboilerplate-5844
aspnet-core/src/MyCompany.EntityFrameworkCore/Migrations/20170621153937_Added_Description_And_IsActive_To_Role.Designer.cs
48,249
C#
#pragma checksum "..\..\..\..\pages\report\ReportPage.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5D84D8A3900FA93149CB19FBBCFAFE2E128DAEF0" //------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为...
38.715084
144
0.611544
[ "Apache-2.0" ]
yuanhang110/EPSM_System
EPSM_System/obj/Debug/pages/report/ReportPage.g.cs
7,038
C#
using Ship; using System.Collections; using System.Collections.Generic; using System.Linq; using Tokens; namespace Ship { namespace SecondEdition.VCX100LightFreighter { public class Chopper : VCX100LightFreighter { public Chopper() : base() { PilotInfo =...
29.395833
136
0.564139
[ "MIT" ]
GeneralVryth/FlyCasual
Assets/Scripts/Model/Content/SecondEdition/Pilots/VCX100LightFreighter/Chopper.cs
1,413
C#
using UnityEngine; namespace Kakomi.Utility { public static class ColorExtension { public static Color SetAlpha(this Color color, float alpha) { return new Color(color.r, color.g, color.b, alpha); } } }
20.916667
67
0.61753
[ "MIT" ]
kitatas/Kakomi
Assets/Kakomi/Scripts/Utility/ColorExtension.cs
251
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using Valve.VR; public class TrackPadMovement : MonoBehaviour { public float m_Sensitivity = 0.1f; public float m_MaxSpeed = 1.0f; public SteamVR_Action_Boolean m_MovePress = null; public SteamVR_Action_Vector2 m_MoveValu...
26.410256
111
0.637217
[ "MIT" ]
TusiimeAllan/VR_Vaccination_Sensitization
Assets/Scripts/TrackPadMovement.cs
3,092
C#