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 System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Threading; using System.Threading.Tasks; using Elektronik.Data; using Elektronik.Data.Converters; using Elektronik.Offline; using Elektronik.Settings; using Elektronik.Threading; using UnityEngine; na...
26.836207
111
0.549952
[ "MIT" ]
dioram/Elektronik
Assets/Scripts/PluginsSystem/UnitySide/PluginsPlayer.cs
3,115
C#
namespace GridDesktop.Examples.WorkingWithRowsandColumns { partial class RemovingRow { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
41.939024
161
0.599302
[ "MIT" ]
Aspose/Aspose.Cells-for-.NET
Examples.GridDesktop/CSharp/GridDesktop.Examples/WorkingWithRowsandColumns/RemovingRow.Designer.cs
3,441
C#
using System.Collections; using System.Collections.Generic; using UnityEngine.SceneManagement; using UnityEngine; public class SpawnableBlock { public bool spawn; public int pos; public int rot; public SpawnableBlock(bool sp, int p, int r) { spawn = sp; pos = p; rot = r; ...
65.123431
144
0.63542
[ "MIT" ]
fitancinpet/BeatSlasher
Assets/Scripts/SpawnLinkinParkBlocks.cs
31,131
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Kopigi.Utils.Extensions; using NFluent; using Xunit; namespace Kopigi.Utils.Tests.Extensions { public class ObservableCollectionExtensionsShould { ...
26.73913
108
0.582927
[ "MIT" ]
mplessis/kUtils
Kopigi.Utils.Tests/Extensions/ObservableCollectionExtensionsShould.cs
1,232
C#
namespace SPNATI_Character_Editor { partial class PersistentMarkerControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true ...
37.705882
154
0.72164
[ "MIT" ]
laytonc32/spnati
editor source/SPNATI Character Editor/Controls/EditControls/VariableControls/PersistentMarkerControl.Designer.cs
4,489
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; namespace Microsoft.Owin { /// <summary> /// A wrapper for the request Cookie header /// <...
27.477612
113
0.521456
[ "Apache-2.0" ]
Bouke/AspNetKatana
src/Microsoft.Owin/RequestCookieCollection.cs
1,843
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ClientManager : MonoBehaviour { public RealtimeManager realtime; public GameObject msgPrefab; public Button b_CreateSession; public Button b_SendMessage; public InputField inputField; ...
25.019048
87
0.604872
[ "MIT" ]
SkyTech6/AWSRealTimeTLSTester
Assets/Scripts/ClientManager.cs
2,629
C#
//DPBMARK_FILE Open using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; using Microsoft.AspNetCore.Mvc; using System.Xml; using System.Xml.Linq; using Senparc.Weixin.MP.MessageHandlers; using Senparc.Weixin.MP.MvcExtension; using Senparc.Weixin.Sample.CommonService.Cu...
39.668293
177
0.603296
[ "Apache-2.0" ]
554393109/WeiXinMPSDK
Samples/netcore3.1-mvc/Senparc.Weixin.Sample.NetCore3/Controllers/Weixin/Open/OpenController.cs
8,776
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Diagnostics.Contracts; using System.Linq; namespace Graphs.Elements { [DebuggerDisplay("{SourceId} : {TargetId}")] [...
29.36612
142
0.520841
[ "MIT" ]
marklauter/giraffe
src/Graph.Elements/Elements/Edges/Edge{TId}.cs
5,376
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. //Internal.Runtime.Augments //------------------------------------------------- // Why does this exist?: // Internal.Reflection.Execution cannot physically live in...
61.148649
306
0.787403
[ "MIT" ]
ZZHGit/corert
src/System.Private.CoreLib/src/Internal/Runtime/Augments/ReflectionExecutionDomainCallbacks.cs
4,527
C#
namespace Microsoft.Band.Portable.Sensors { public class BandPedometerReading : IBandSensorReading { internal BandPedometerReading(long total, long stepsToday) { TotalSteps = total; StepsToday = stepsToday; } public long TotalSteps { get; private set; } ...
27.105263
71
0.605825
[ "Apache-2.0" ]
cahernanz/MS-Band-SDK
Microsoft.Band.Portable/Microsoft.Band.Portable/Sensors/BandPedometerReading.cs
517
C#
using System; using System.Threading; using Microsoft.Extensions.Logging; namespace Inasync.Logging { /// <summary> /// ログをメッセージに変換し、<see cref="MessageProcessor{TMessage}"/> のキューに追加するロガー。 /// </summary> public sealed class LogMessageLogger : ILogger { private readonly string _categoryName; ...
39.791667
155
0.651832
[ "MIT" ]
in-async/Logging.BackgroundLogger
Inasync.Logging.Chatwork/Inasync.Logging/LogMessageLogger.cs
2,084
C#
/* 2011 - This file is part of AcaLabelPrint AcaLabelPrint 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 your option) any later version. AcaLabelprint is di...
35.707317
147
0.647883
[ "Apache-2.0" ]
mvendert/LabelPrint
ACALabelXClient/LabelXRemoteControlManager.cs
2,928
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; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using System.Threading.Tasks.Dataflow; ...
46.624161
191
0.61998
[ "Apache-2.0" ]
MSLukeWest/project-system
tests/Microsoft.VisualStudio.ProjectSystem.Managed.VS.UnitTests/ProjectSystem/VS/PropertyPages/DebugPageViewModelTests.cs
6,801
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; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading; using Microsoft.CodeA...
39.808362
189
0.568972
[ "Apache-2.0" ]
coreyramsey/roslyn
src/VisualStudio/Core/Def/Implementation/Library/ObjectBrowser/AbstractObjectBrowserLibraryManager.cs
22,852
C#
using System.Runtime.Serialization; using MFiles.VAF.Configuration; namespace ComplexConfiguration.ShowingAndHidingConfigurationOptions { [DataContract] public class HidingConfigurationOptions { /// <summary> /// Used as a trigger to show <see cref="AdvancedConfiguration"/>. /// </summary> /// <remarks>If ...
31.795455
139
0.708363
[ "MIT" ]
GeraldYoung/MFilesSamplesAndLibraries
Samples/VAF/ComplexConfiguration/ComplexConfiguration/ShowingAndHidingConfigurationOptions/HidingConfigurationOptions.cs
1,401
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Raven.Client.Documents.Session; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace RavenDbDotNetCore31APITemplate.Controllers { [ApiController] [Route("[controller]")] public c...
22.688889
95
0.614104
[ "MIT" ]
ChristopherLlewellyn/RavenDbDotNetCore3.1APITemplate
RavenDbDotNetCore3.1APITemplate/Controllers/TestController.cs
1,023
C#
using System; namespace StoredProcedureEFCore { struct Prop { public int ColumnOrdinal { get; set; } public Action<object, object> Setter { get; set; } } }
15.636364
54
0.668605
[ "MIT" ]
h0wXD/StoredProcedureEFCore
StoredProcedureEFCore/Prop.cs
174
C#
// // NtlmAuthLevel.cs // // Author: // Martin Baulig <martin.baulig@xamarin.com> // // Copyright (c) 2012 Xamarin Inc. (http://www.xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // i...
35.642857
80
0.736473
[ "MIT" ]
stefb965/web-tests
Xamarin.WebTests.TestProvider/Xamarin.WebTests.TestProvider.Ntlm/NtlmAuthLevel.cs
1,998
C#
#pragma warning disable 1591 namespace Sanakan.Services.SlotMachine { public class SlotWickedRandom : ISlotRandom { public int Next(int min, int max) { double sum = 0; double rMax = 100; double[] chance = new double[max]; for (int i = 0; i < (max ...
28.793103
74
0.427545
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Ainheg/sanakan
src/Services/SlotMachine/SlotWickedRandom.cs
835
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/msxml.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System;...
37
145
0.651051
[ "MIT" ]
phizch/terrafx.interop.windows
tests/Interop/Windows/um/msxml/DOMDocumentTests.cs
1,667
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using AYN.Data.Common.Models; using AYN.Data.Models.Enumerations; using Microsoft.AspNetCore.Identity; using static AYN.Common.AttributeConstraints; namespace AYN.Data.Models; public class ApplicationUser : IdentityUser, I...
28.296
78
0.681934
[ "MIT" ]
georgidelchev/AYN-
Data/AYN.Data.Models/ApplicationUser.cs
3,539
C#
/* * OpenAPI Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ using Sy...
33.830986
159
0.577435
[ "Apache-2.0" ]
AlexMog/openapi-generator
samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/src/Org.OpenAPITools/Model/ChildCat.cs
7,206
C#
using System.ComponentModel.DataAnnotations; namespace Core.Data.Models { public class RegisterModel { [Required] public string UserName { get; set; } [Required] [EmailAddress] public string Email { get; set; } [Required] [DataType(DataType.Password)] ...
28.595745
125
0.600446
[ "MIT" ]
BattlerockStudios/Blogifier
src/Core/Data/Models/AccountModel.cs
1,346
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // ass...
43.303571
99
0.689897
[ "MIT" ]
Epxoxy/Epx017
Example/Properties/AssemblyInfo.cs
2,428
C#
using System.Collections; using System.Collections.Generic; using ActionsList; using Actions; using Arcs; namespace Ship { namespace SecondEdition.YV666LightFreighter { public class YV666LightFreighter : FirstEdition.YV666.YV666 { public YV666LightFreighter() : base() {...
29.966667
138
0.612903
[ "MIT" ]
GeneralVryth/FlyCasual
Assets/Scripts/Model/Content/SecondEdition/Ships/YV666LightFreighter.cs
901
C#
//------------------------------------------------------------------------------ // <auto-generated> // Este código fue generado por una herramienta. // Versión de runtime: 4.0.30319.42000 // // Los cambios de este archivo pueden provocar un comportamiento inesperado y se perderán si // el código se vu...
40.583333
184
0.618412
[ "MIT" ]
kurotori/CSharpBachillerato
01 - EstructurasBasicas/EstructurasBasicas/Properties/Resources.Designer.cs
2,935
C#
using UnityEngine; namespace UnityEngine.Rendering.Universal { /// <summary> /// Interface for determining what kind of debug settings are currently active. /// </summary> public interface IDebugDisplaySettingsQuery { /// <summary> /// Checks whether ANY of the debug settings are cu...
33.757576
100
0.617594
[ "MIT" ]
Liaoer/ToonShader
Packages/com.unity.render-pipelines.universal@12.1.3/Runtime/Debug/IDebugDisplaySettingsQuery.cs
1,114
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
44.719325
563
0.557499
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Events.cs
29,157
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Windows.Data; namespace Devkoes.Core.WPF.ValueConverters { [ValueConversion(typeof(object), typeof(bool))] public class NullToTrueConverter : IValueConverter { public obje...
30.596154
103
0.674419
[ "Apache-2.0" ]
tomkuijsten/devkoes-core
Devkoes.Core/WPF/ValueConverters/NothingConverters.cs
1,593
C#
using UnityEngine; public class Player : MonoBehaviour { [Header("Movement")] public float moveForce; public float maxVelocity; public float turnSpeed; public bool grounded; private float _verticalInput, _horizontalInput; [Header("Shooting")] public GameObject bullet; public GameOb...
23.56701
156
0.611111
[ "MIT" ]
salehb02/Platform-Fall
Assets/Scripts/Player.cs
2,286
C#
using System; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; namespace alexnown { public class RadialSlider : Selectable, IDragHandler, IInitializePotentialDragHandler, IRadialElement, ISlider { public event Action<float> ChangedNormValue; /// <summary> /// S...
34.951613
131
0.582833
[ "MIT" ]
alexnown/UI-Forge
Assets/Scripts/RadialElement/Implementation/RadialSlider.cs
8,670
C#
namespace Dalmatian.Web.ViewModels.Home { using System.Collections.Generic; public class IndexViewModel { public IEnumerable<IndexDogsViewModel> Dogs { get; set; } } }
19.4
65
0.690722
[ "MIT" ]
angelneychev/Dalmatian
src/Web/Dalmatian.Web.ViewModels/Home/IndexViewModel.cs
196
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; public class Born : MonoBehaviour { // 属性 public bool isPlayer; private int[] enemyList = new int[] {0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,2}; // 引用 public GameObject PlayerPrefab; public GameObject[] enemyPrefabList; ...
24.411765
87
0.709639
[ "MIT" ]
WarrenMondeville/LockStepTank
Client/Assets/tank/Scripts/Born.cs
840
C#
using Augustus.Web.Portal.ViewModels; using Microsoft.Owin.Security; using Microsoft.Owin.Security.Cookies; using Microsoft.Owin.Security.OpenIdConnect; using System.Web; using System.Web.Mvc; namespace Augustus.Web.Portal.Controllers { public class AuthenticationController : Controller { public void ...
32.791667
130
0.591487
[ "MIT" ]
gothandy/Augustus
Augustus.Web.Portal/Controllers/AuthenticationController.cs
1,576
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
40.958333
80
0.648016
[ "MIT" ]
WuWeiSage/Softuni-Contest-Problems
C#/ForLoop/Sum_PrevNum/Sum_PrevNum/obj/Debug/netcoreapp3.1/Sum_PrevNum.AssemblyInfo.cs
983
C#
using System.Collections.Generic; using System.Linq; using System.Xml.Linq; using Channel9.Extensions; namespace Channel9.Models { public class MediaGroup { public Lesson Lesson { get; } private MediaGroup(Lesson lesson) { Lesson = lesson; } public XElemen...
28.27451
109
0.608183
[ "MIT" ]
linianhui/Channel9.RSSDownloader
src/channel9/Models/MediaGroup.cs
1,444
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...
43.335821
180
0.625108
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Web/Latest/WebAppSwiftVirtualNetworkConnection.cs
5,807
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 Cake.Core; namespace Cake.Frosting.Internal { internal s...
31.489362
97
0.602027
[ "MIT" ]
Acidburn0zzz/cake
src/Cake.Frosting/Internal/RawArguments.cs
1,482
C#
//********************************************************* // LLaser.Component project - WindowModel.cs // Created at 2013-6-23 // Author: Bob Bao jar.bob@gmail.com // // All rights reserved. Please follow license agreement to // rewrite and copy this code. // //****************************************************...
35.232727
157
0.494375
[ "MIT" ]
Jarrey/LLaser
src/dev/LLaser.Component/BmpMaker/WindowModel.cs
9,691
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> //---...
32.944444
100
0.53457
[ "MIT" ]
fesnarriaga/courses
desenvolvedor-io/02_dominando-o-aspnet-mvc-core/04 - Model App/ModelApp/src/ModelApp.MVC/obj/Debug/net5.0/ModelApp.MVC.RazorAssemblyInfo.cs
593
C#
using System; using System.Net; namespace SimpsLib.HTTP { public class AdvancedWebClient : WebClient { /// <summary> /// Request timeout in milliseconds. By default: 10 seconds (10 000 ms). /// </summary> public int Timeout { get; set; } = 10 * 1000; /// <summary> ...
36.020833
148
0.621168
[ "MIT" ]
YungSamzy/SimpsLib
HTTP/~Http/AdvancedWebClient.cs
1,731
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
37.311688
170
0.634528
[ "MIT" ]
ChristianEder/autorest.csharp
test/azurefluent/Expected/Lro/Generated/Models/LROsPostAsyncNoRetrySucceededHeadersInner.cs
2,873
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator 2.2.27.0 // Changes may cause incorrect behavior and will be lost if the code ...
33.493671
135
0.610733
[ "MIT" ]
AntoineGa/azure-libraries-for-net
src/ResourceManagement/ContainerRegistry/Generated/Models/CallbackConfigInner.cs
2,646
C#
using System; using System.Collections.Generic; using System.Linq; using SchemaForge.Crucible; using SchemaForge.Crucible.Extensions; using Xunit; namespace Extensions { public class ArrayExtensionTests { [Fact] public void CloneNullArrayTest() { int[] emptyArray = null; Assert.Throws<Argu...
25.753623
132
0.584693
[ "MIT" ]
schema-forge/crucible-dotnet
OSHA/CrucibleTests/ExtensionTests/ArrayExtensionTests.cs
1,779
C#
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel // // 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, modi...
34.213793
102
0.586777
[ "MIT" ]
Altair7610/SharpDX
Source/SharpDX/Win32/ComStreamProxy.cs
4,963
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class House : MonoBehaviour { // Protected vars readonly float parked_velocity_threshold = 0.5f; readonly float parking_distance = 4f; readonly float time_til_park = 1f; bool was_recently_parked = false; ...
35.356164
136
0.648198
[ "MIT" ]
nkrim/mailman-simulator
Assets/House.cs
2,583
C#
namespace EnvironmentAssessment.Common.VimApi { public class VmFailedUpdatingSecondaryConfig : VmEvent { } }
16
55
0.8125
[ "MIT" ]
octansIt/environmentassessment
EnvironmentAssessment.Wizard/Common/VimApi/V/VmFailedUpdatingSecondaryConfig.cs
112
C#
using System.ComponentModel; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Mn.Framework.Common.Forms.Validation { public enum ElementValidationType { None, Required, Range, Numeric, MaxLength, ...
24.359375
69
0.497755
[ "MIT" ]
navaei/MnFramework
Framework.Common/Forms/Validation/BaseElementValidator.cs
1,561
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using System.Collections.Generic; using System.IO; using System.Linq; using System...
50.322581
243
0.688462
[ "MIT" ]
AlexanderSemenyak/roslyn
src/EditorFeatures/CSharpTest/Completion/CompletionProviders/ReferenceDirectiveCompletionProviderTests.cs
6,242
C#
using System; namespace NetMicro.Core.Randoms { /// <summary> /// 随机数生成器 /// </summary> public interface IRandomBuilder { /// <summary> /// 生成随机字符串 /// </summary> /// <param name="maxLength">最大长度</param> /// <param name="text">如果传入该参数,则从该文本中随机抽取</param> ...
29.588235
74
0.502982
[ "MIT" ]
LittleMaoTou/NetMicro
src/core/NetMicro.Core/Randoms/IRandomBuilder.cs
1,721
C#
using GraphQL.Types; using LightOps.Commerce.Proto.Types; namespace LightOps.Commerce.Gateways.Storefront.Domain.GraphModels.Enum { public class ContentPageSortKeyGraphType : EnumerationGraphType<ContentPageSortKey> { } }
26.111111
87
0.8
[ "MIT" ]
SorenA/lightops-commerce-gateways-storefront
src/LightOps.Commerce.Gateways.Storefront/Domain/GraphModels/Enum/ContentPageSortKeyGraphType.cs
237
C#
namespace Accounting.Application.Common.Interfaces; public interface IBlobService { Task UploadBloadAsync(string name, Stream stream); }
24.5
55
0.782313
[ "MIT" ]
marinasundstrom/accounting-app
Accounting/Accounting/Application/Common/Interfaces/IBlobService.cs
149
C#
namespace Zaaby.DDD; public static partial class ZaabyIServiceCollectionExtensions { public static IServiceCollection AddRepository(this IServiceCollection services) => services.Register<IRepository>(ServiceLifetime.Scoped) .Register<RepositoryAttribute>(ServiceLifetime.Scoped); }
38.25
87
0.794118
[ "MIT" ]
Mutuduxf/Zaaby
src/DDD/Zaaby.DDD/Zaaby.IServiceCollection.Extensions.Repository.cs
306
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> //---...
41.041667
80
0.645685
[ "MIT" ]
koryakinp/Stats
Stats.Tests/obj/Release/netcoreapp2.0/Stats.Tests.AssemblyInfo.cs
985
C#
using PoLaKoSz.WeAreOne.EndPoints; namespace PoLaKoSz.WeAreOne { /// <summary> /// Provides access to the whole library. /// </summary> public interface IWeAreOne { /// <summary> /// Access the TechoBase.FM page. /// </summary> IRadioStation TechoBase { get; } ...
23.673913
45
0.511478
[ "MIT" ]
PoLaKoSz/WeAreOne.Scraper
src/IWeAreOne.cs
1,091
C#
using System.Collections.Generic; using Discord; namespace DiscordHackWeek.Interactive.Paginator { public class PaginatedMessage { public IEnumerable<object> Pages { get; set; } public string Content { get; set; } = ""; public EmbedAuthorBuilder Author { get; set; } = null; p...
29.277778
101
0.656546
[ "MIT" ]
sphexator/DiscordHackWeek
DiscordHackWeek.Interactive/Paginator/PaginatedMessage.cs
529
C#
using System.Collections.Generic; using Microsoft.AspNetCore.SignalR; namespace Monito.Web.Services.Interface { public interface IUpdatingClientsAccessor { ICollection<JobClient> Clients { get; set; } void RegisterClient(HubCallerContext context, IClientProxy client, int requestID, int lastLinkID); } }
34.444444
100
0.809677
[ "Apache-2.0" ]
Wufe/monito
Presentation/Monito.Web/Services/Interface/IUpdatingClientsAccessor.cs
310
C#
namespace P03_FootballBetting.Data { using Microsoft.EntityFrameworkCore; using Config; using Models; public class FootballBettingContext : DbContext { public FootballBettingContext() { } public FootballBettingContext(DbContextOptions options) : base(o...
30.421875
85
0.628659
[ "MIT" ]
RAstardzhiev/SoftUni-C-
Databases Advanced - Entity Framework Core/Entity Relations/P03_FootballBetting.Data/FootballBettingContext.cs
1,949
C#
using System; using System.Collections.Generic; namespace WeddingInfo.Domain.DTOs { public class UserDto { public int Id { get; set; } public bool IsAdmin { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string MiddleName { get; ...
32.033333
47
0.609781
[ "MIT" ]
jsonpj3wt/WeddingInfo
WeddingInfo.Domain/DTOs/UserDto.cs
963
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Formatters.Xml; public class PersonWrapperProvider : IWrapperProvider { public object Wrap(object obj) { var person = obj as Perso...
20.107143
71
0.605684
[ "MIT" ]
3ejki/aspnetcore
src/Mvc/Mvc.Formatters.Xml/test/PersonWrapperProvider.cs
563
C#
namespace HREngine.Bots { class Pen_EX1_244 : PenTemplate //totemicmight { // verleiht euren totems +2 leben. public override int getPlayPenalty(Playfield p, Minion m, Minion target, int choice, bool isLethal) { return 0; } } }
25.272727
107
0.622302
[ "MIT" ]
chi-rei-den/Silverfish
penalties/Pen_EX1_244.cs
278
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //********************************** // Item class // Abstract // Change NOTHING in this file //********************************** namespace _105_FinalPracticalStarter { abstract class Item { ...
22.619048
91
0.544211
[ "MIT" ]
bmckenna75/GDAPS1
105_FinalPracticalStarter/105_FinalPracticalStarter/Item.cs
952
C#
using System; using System.Text.RegularExpressions; namespace GitHub.Unity { class LfsVersionOutputProcessor : BaseOutputProcessor<Version> { public static Regex GitLfsVersionRegex = new Regex(@"git-lfs/([\d]+)\.([\d]+)\.([\d]+)"); public override void LineReceived(string line) { ...
30.407407
97
0.55542
[ "MIT" ]
Frozenfire92/Unity
src/GitHub.Api/OutputProcessors/LfsVersionOutputProcessor.cs
821
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("a")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyComp...
29
57
0.739981
[ "MIT" ]
yu3mars/procon
atcoder/others/code_festival/2014/morning/middle/a/a/Properties/AssemblyInfo.cs
1,598
C#
using System; using System.Threading.Tasks; using Nimbus.Infrastructure; using Nimbus.Interceptors.Inbound; using Nimbus.PropertyInjection; using Nimbus.Tests.Common; using Nimbus.Tests.Common.TestUtilities; namespace Nimbus.IntegrationTests.Tests.InterceptorTests.Interceptors { public sealed class SomeMethodLeve...
45.333333
162
0.771324
[ "MIT" ]
dicko2/Nimbus
src/Tests/Nimbus.IntegrationTests/Tests/InterceptorTests/Interceptors/SomeMethodLevelInterceptorForFoo.cs
1,362
C#
// *********************************************************************** // Assembly : IronyModManager.Parser // Author : Mario // Created : 03-28-2020 // // Last Modified By : Mario // Last Modified On : 12-07-2020 // ***********************************************************************...
38.79
206
0.568703
[ "MIT" ]
LunarTraveller/IronyModManager
src/IronyModManager.Parser/Generic/WholeTextParser.cs
7,760
C#
using System; using System.Xml; using System.Xml.Linq; using System.Xml.Schema; using System.Collections.Generic; namespace LWTSD { public class SubscriptionCancelled { public readonly string SubscriptionID; public SubscriptionCancelled(string SubscriptionID) { this.SubscriptionID = SubscriptionID; } ...
19.26087
62
0.772009
[ "Unlicense" ]
Clayster/samples
NET/LWTSD/SubscriptionCancelled.cs
445
C#
using Contoso.Events.ViewModels; using Contoso.Events.ViewModels.Dynamic; using Microsoft.Azure; using Microsoft.WindowsAzure.ServiceRuntime; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Table; using Newtonsoft.Json.Linq; using System; using System.Net; using System.Net.Http; using System...
36.5375
179
0.635306
[ "MIT" ]
JaimePolo/20532-DevelopingMicrosoftAzureSolutions
Allfiles/dotnet/Mod07/Labfiles/Starter/Contoso.Events/Contoso.Events.Web/Controllers/RegisterController.cs
2,925
C#
using Microsoft.AspNetCore.Mvc; namespace Referrals.API.Controllers { [ApiController] [Route("api/[controller]")] public class BaseController : ControllerBase { } }
18.5
48
0.697297
[ "MIT" ]
StefanStrauberg/TelMed
src/Services/Referrals/API/Referrals.API/Controllers/BaseController.cs
185
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LR.Models { public class AttendeeModel { public Guid Id { get; set; } public string Name { get; set; } public string Email { get; set; } public DateT...
18.636364
53
0.639024
[ "MIT" ]
harmoniemand/lunch-roulette
LR/LR/Models/AttendeeModel.cs
412
C#
using System; namespace MlkFileHasher.Hash { public interface IHashAlgorithm : IDisposable { void Process(byte[] buf, int count); void Done(); byte[] Hash { get; } } }
17.166667
49
0.592233
[ "MIT" ]
mkropat/MlkFileHasher
MlkFileHasher/Hash/IHashAlgorithm.cs
208
C#
using Newtonsoft.Json; namespace VaultSharp.V1.SystemBackend { /// <summary> /// Represents the Seal status of the Vault. /// </summary> public class SealStatus { /// <summary> /// Gets or sets a value indicating the type. /// </summary> [JsonProperty("type")] ...
29.371681
146
0.500151
[ "Apache-2.0" ]
devgig/VaultSharp
src/VaultSharp/V1/SystemBackend/SealStatus.cs
3,321
C#
// Copyright (c) Jeremy W. Kuhne. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Runtime.InteropServices; namespace WInterop.GdiPlus.EmfPlus { [StructLayout(LayoutKind.Sequential)] public readonly ref struct MetafilePlus...
32.073171
115
0.596958
[ "MIT" ]
JeremyKuhne/WInterop
src/WInterop.GdiPlus/EmfPlus/MetafilePlusObject.cs
1,317
C#
using MLlearning.BL.ExtractData; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using Accord.Controls; using Deedle; namespace MLlearning.BL....
38.063158
167
0.585177
[ "MIT" ]
pu1se/MLlearning
src/MLlearning.BL/Emails/SpamAnalyzer.cs
3,618
C#
using Denounces.Domain.Entities.Pos; namespace Mersy.Infraestructure.Extensions { internal static class OrderExtensions { public static Order AddOrderDetails(this Order order, params OrderDetail[] orderDetails) { foreach (var orderDetail in orderDetails) { ...
23.277778
96
0.610979
[ "MIT" ]
132329/Denunciado
Core/Denounces.Infraestructure/Extensions/OrderExtensions.cs
421
C#
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using System.Xml; using LibGit2Sharp; using Microsoft.Build.Constructio...
48.134537
339
0.695497
[ "MIT" ]
r-bennett/Nerdbank.GitVersioning
src/NerdBank.GitVersioning.Tests/BuildIntegrationTests.cs
58,678
C#
namespace PS2Disassembler.Core.Instructions.Register.C790 { public class PSUBUB : RegisterBase { public PSUBUB(uint rs, uint rt, uint rd, uint sa) : base("PSUBUB", rs, rt, rd, sa) { } } }
21.636364
58
0.567227
[ "MIT" ]
HankiDesign/EmotionEngineDisassembler
PS2Disassembler.Core/Instructions/Register/C790/PSUBUB.cs
240
C#
// <copyright file="IVideoRecorder.cs" company="Automate The Planet Ltd."> // Copyright 2021 Automate The Planet Ltd. // 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/l...
39.958333
85
0.737226
[ "Apache-2.0" ]
48x16/BELLATRIX
src/Bellatrix.Plugins.Video/contracts/IVideoRecorder.cs
961
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...
31.65
103
0.629147
[ "Apache-2.0" ]
damianh/aws-sdk-net
sdk/src/Services/Chime/Generated/Model/InviteUsersRequest.cs
2,532
C#
using Prism.Common; using Prism.Maui.Tests.Mocks; using Prism.Maui.Tests.Navigation.Mocks.ViewModels; using Microsoft.Maui.Controls; namespace Prism.Maui.Tests.Navigation.Mocks.Views { public class NavigationPathPageMock : ContentPage { public NavigationPathPageMockViewModel ViewModel { get; } ...
27.081967
94
0.662833
[ "MIT" ]
GTX-ABEL/Prism.Maui
tests/Prism.Maui.Tests/Mocks/Views/NavigationPagePathPageMock.cs
1,654
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections; using System.Collections.Generic; namespace System.Management.Automation { /// <summary> /// Class HelpProviderWithCache provides a pseudo implementation of HelpProvider /// at which results are cached in ...
36.681034
112
0.549824
[ "MIT" ]
10088/PowerShell
src/System.Management.Automation/help/HelpProviderWithCache.cs
8,510
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("JPush")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct(...
25.162162
56
0.709989
[ "MIT" ]
qq283335746/Qdhtyy
src/TygaSoft/JPush/Properties/AssemblyInfo.cs
1,282
C#
using System; using System.Collections.Generic; using System.Diagnostics; namespace Lucene.Net.Util { /* * 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 copyr...
36.635659
136
0.485876
[ "Apache-2.0" ]
Ref12/lucenenet
src/Lucene.Net/Util/PagedBytes.cs
18,904
C#
#if !NETSTANDARD13 /* * 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 ...
33.257143
104
0.714777
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Cloud9/Generated/Model/_bcl45+netstandard/IDescribeEnvironmentMembershipsPaginator.cs
1,164
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Security; using System.Text; using System.Threading.Tasks; namespace RazorEngine.Templating { /// <summary> /// An memory leaking invalidating caching provider (See <se...
38.140625
121
0.579407
[ "Apache-2.0" ]
HongJunRen/RazorEngine
src/source/RazorEngine.Core/Templating/InvalidatingCachingProvider.cs
7,325
C#
using System.Collections.Generic; using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Domain { /// <summary> /// AlipayPcreditHuabeiBenefitOrderCreateModel Data Structure. /// </summary> public class AlipayPcreditHuabeiBenefitOrderCreateModel : AlipayObject { /// <summ...
30.180556
122
0.558675
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Domain/AlipayPcreditHuabeiBenefitOrderCreateModel.cs
2,611
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...
41.537879
162
0.614262
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Web/V20181101/WebAppAzureStorageAccounts.cs
5,483
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VertexCodeMakerDomain.Interfaces { public interface IReadException { List<string> ExceptionsCollection { get; set; } } }
19.214286
55
0.743494
[ "MIT" ]
AliMusaev/VertexCode
VertexCodeMakerDomain/Interfaces/IReadException.cs
271
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows; using System.Windows.Controls; using System.ComponentModel; using System.Threading; using Form.TakiService; using Form.Dialogs; namespace Form { /// <summary> /// Inter_action logic for GamePage.xaml /// </summary> ...
35.606407
157
0.433933
[ "MIT" ]
samuelarbibe/Taki
Client/Client/Form/GamePage.xaml.cs
31,122
C#
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; namespace Orleans.Runtime.Messaging { internal class SiloConnectionMaintainer : ILifecycleParticipant<ISiloLifecycle>, ISiloStatusListener, ILifecycleObserver { private readonly ConnectionManager con...
35.938462
139
0.643836
[ "MIT" ]
ElderJames/orleans
src/Orleans.Runtime/Networking/SiloConnectionMaintainer.cs
2,336
C#
using System.Net; namespace Modbus.Device { using System; using System.Collections.Concurrent; using System.Collections.ObjectModel; using System.Globalization; using System.Linq; using System.Net.Sockets; using System.Diagnostics; using System.IO; using System.Timers; ...
35.732824
151
0.47351
[ "MIT" ]
spitfire05/NModbusS
NModbusS/Device/ModbusTcpSlave.cs
9,362
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace CoreCSharpPrograming.chap8.ienumerableandienumerator { class IEnumerableAndIEnumeratorInterfaceUsageExec : AChap8ExecObject { public override void Exec() { try ...
29.478873
109
0.550167
[ "MIT" ]
arishu/cn.org.aris
csharp/study/ProCSharp/CSharpConstructsPartOne/chap8/ienumerableandienumerator/IEnumerableAndIEnumeratorInterfaceUsageExec.cs
4,188
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Core...
54.84
249
0.640838
[ "MIT" ]
DiskRP-Swagger/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/ExpressRouteConnectionsRestOperations.cs
23,307
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
42.911765
153
0.634681
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/EducationClassAssignmentCategoriesCollectionResponse.cs
1,459
C#
using System; using System.Linq.Expressions; using Laraue.EfCoreTriggers.Tests.Infrastructure; using Xunit; namespace Laraue.EfCoreTriggers.Tests.Tests.Base { /// <summary> /// Tests of translating <see cref="string"/> functions to SQL code. /// </summary> public abstract class BaseStringFunctionsTest...
34.022222
142
0.633899
[ "MIT" ]
Ali-YousefiTelori/Laraue.EfCoreTriggers
tests/Laraue.EfCoreTriggers.Tests/Tests/Base/BaseStringFunctionsTests.cs
3,064
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
[ "MIT" ]
jaklithn/RedisViewer
RedisViewer/Properties/Settings.Designer.cs
1,068
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Draws.RandomStocks.Models; using Fizzler.Systems.HtmlAgilityPack; using HtmlAgilityPack; namespace Draws.RandomStocks.Services { public class HtmlParserService { private HtmlDocument _document; pr...
28.948718
112
0.597874
[ "MIT" ]
Drawserqzez/random-ticker-finder
src/Services/HtmlParserService.cs
1,129
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 WeaverSmokeTestCS { public partial class Form1 : Form { public F...
18.857143
38
0.65404
[ "MIT" ]
mkaring/Substitute.Fody
WeaverSmokeTestCS/Form1.cs
398
C#
namespace S2Library.Connection { public delegate void ConnectionEventHandler(ConnectionEventArgs args); public delegate void ConnectionResultHandler(ConnectionResultArgs args); public delegate void ConnectionReceiveHandler(ConnectionReceiveArgs args); public class ConnectionEventArgs { ...
23.6875
80
0.569041
[ "Unlicense" ]
zocker-160/sacred2-lobby-emulator
S2Library/Connection/ConnectionEvents.cs
1,137
C#