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.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNet...
34.561404
111
0.504399
[ "Apache-2.0" ]
belav/aspnetcore
src/Mvc/Mvc.Core/test/Routing/DynamicControllerEndpointMatcherPolicyTest.cs
17,730
C#
using System.Linq; using BoutiqueCommonXUnit.Data.Clothes; using BoutiqueDTO.Infrastructure.Implementations.Converters.Clothes.SizeGroupTransfers; using BoutiqueDTOXUnit.Infrastructure.Mocks.Converters; using BoutiqueDTOXUnit.Infrastructure.Mocks.Converters.Clothes; using Xunit; namespace BoutiqueDTOXUnit.Infrastruct...
39.448276
103
0.751748
[ "MIT" ]
rubilnik4/VeraBoutique
BoutiqueDTOXUnit/Infrastructure/Converters/Clothes/SizeGroupsTransfers/SizeGroupTransferConverterTest.cs
1,211
C#
using System; using OMeta; using OMeta.Interfaces; namespace OMeta.DB2 { public class ClassFactory : IClassFactory { public static void Register() { InternalDriver.Register("DB2", new InternalDriver (typeof(ClassFactory) , "Provider=IBMDA...
17.351724
126
0.647456
[ "MIT" ]
kiler398/OMeta
src/OpenMetaData/DB2/ClassFactory.cs
2,516
C#
using System; using System.ServiceModel; using System.Threading.Tasks; namespace LinqToDB.Remote.Wcf { [ServiceBehavior(InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)] public class WcfLinqService : IWcfLinqService { private readonly ILinqService _linqServic...
28.993243
113
0.726637
[ "MIT" ]
BearerPipelineTest/linq2db
Source/LinqToDB.Remote.Wcf/WcfLinqService.cs
4,146
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Model.Interfaces; namespace Model.Repositories { public class ResourceRepository:IResourceRepository { private GeoGrafijaEntities context; public ResourceRepository(IDbContext context) { ...
23.059701
77
0.541748
[ "MIT" ]
emir01/GeoGrafija
GeoGrafija/Model/Repositories/ResourceRepository.cs
1,547
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 Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.PooledObjects; using Microsoft.CodeAnal...
49.46743
262
0.589301
[ "Apache-2.0" ]
avodovnik/roslyn
src/Compilers/CSharp/Portable/Binder/Binder_Expressions.cs
401,727
C#
using UnityEngine; #if UNITY_EDITOR // this preprocessor directive is required to avoid some errors and warnings in the console using UnityEditor; /// <summary> /// Popup Window for Isaac Tools Editor Extension /// Notice that it inherits from EditorWindow. We do this so we can access a bunch of Unity Editor functio...
38.016949
129
0.738743
[ "MIT" ]
Photoperiod/TurnBasedStrategy
Assets/Scripts/EditorScripts/UnitPopupWindow.cs
2,245
C#
namespace CefGlue { using System; using CefGlue.Interop; unsafe partial class CefV8Value { /// <summary> /// Create a new CefV8Value object of type undefined. /// </summary> public static CefV8Value CreateUndefined() { return CefV8Value.From( ...
34.57199
161
0.543104
[ "BSD-3-Clause" ]
yasoonOfficial/cefglue
CefGlue/Proxy/CefV8Value.Impl.cs
26,413
C#
namespace _02.KingsGambit.Models { using System; public class RoyalGuard : Soldier { public RoyalGuard(string name) : base(name) { } public override void KingUnderAttack(object sender, EventArgs e) { Console.WriteLine($"Royal Guard {this.Nam...
19.888889
72
0.564246
[ "MIT" ]
melikpehlivanov/CSharp-OOP-Advanced
Object Communication and Events - Exercise/02.KingsGambit/Models/RoyalGuard.cs
360
C#
using System; namespace PhotoMSK.Data.Models { public class DeleteRouteRequest { public Guid ID { get; set; } public DateTime Date { get; set; } public virtual RouteEntity Route { get; set; } public Guid RouteID { get; set; } public string Reason { get; set; } } }
22.785714
54
0.598746
[ "MIT" ]
MarkusMokler/photomsmsk-by
PhotoMSK/Core/PhotoMSK.Data/Models/DeleteRouteRequest.cs
321
C#
using System.Linq; using Abp; using Abp.Authorization; using Abp.Authorization.Roles; using Abp.Authorization.Users; using Abp.MultiTenancy; using Abp.Notifications; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; using Roc.CMS.Authorization; using Roc.CMS....
38.139785
197
0.610375
[ "MIT" ]
RocChing/Roc.CMS
src/Roc.CMS.EntityFrameworkCore/Migrations/Seed/Tenants/TenantRoleAndUserBuilder.cs
3,549
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SFA.DAS.Commitments.Domain.Entities { public class OverlappingEmail { public long RowId { get; set; } public long? Id { get; set; } public long? CohortId { get;...
27.30303
56
0.608213
[ "MIT" ]
SkillsFundingAgency/das-commitments
src/SFA.DAS.Commitments.Domain/Entities/OverlappingEmail.cs
903
C#
namespace FlockingBirds.Game.DrawableParts.Defaults { using Textures; using SharpDX; using SharpDX.Toolkit; using SharpDX.Toolkit.Content; using SharpDX.Toolkit.Graphics; using Extensions; using FlockingSimulation.Setup; using SharpDX.Toolkit.Input; public class MousePart : IMouseP...
26.893939
104
0.629296
[ "MIT" ]
pwasiewicz/flockingbirds
FlockingBirds.Game/DrawableParts/Defaults/MousePart.cs
1,777
C#
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Threading.Tasks; using Npgsql; using C = Quartz.Plugins.RecentHistory.Impl.Postgres.PostgresConstants; namespace Quartz.Plugins.RecentHistory.Impl.Postgres { public class PostgresExecutionHistoryStore : IE...
47.374194
185
0.587839
[ "MIT" ]
zdomokos/Quartzmin
Source/Quartz.Plugins.RecentHistory/Impl/Postgres/PostgresExecutionHistoryStore.cs
14,688
C#
// // Copyright 2021 Dynatrace 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
47.142857
115
0.65978
[ "Apache-2.0" ]
Dynatrace/OneAgent-SDK-for-dotnet
src/Api/IIncomingWebRequestTracer.cs
3,630
C#
namespace MPT.CSI.API.Core.Program.ModelBehavior.Definition.LoadPattern { #if !BUILD_ETABS2015 && !BUILD_ETABS2016 && !BUILD_ETABS2017 /// <summary> /// Seismic intensity for Chinese 2010 response spectrum function. /// </summary> public enum eSeismicIntensity_Chinese_2010 { /// <summary> ...
24.1
72
0.511411
[ "MIT" ]
MarkPThomas/MPT.Net
MPT/CSI/API/MPT.CSI.API/Core/Program/ModelBehavior/Definition/LoadPattern/eSeismicIntensity_Chinese_2010.cs
966
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.Bot.Schema { using System; using System.Collections.Generic; using Newtonsoft.Json; /// <summary> /// Provides information about the requested transaction. /// </summary> [O...
44.03125
334
0.644192
[ "MIT" ]
Alpharceus/botbuilder-dotnet
libraries/Microsoft.Bot.Schema/PaymentDetails.cs
4,229
C#
//-------------------------------------- // Brotli Decompressor // // For documentation or // if you have any issues, visit // powerUI.kulestar.com // // Copyright © 2016 Kulestar Ltd // www.kulestar.com //-------------------------------------- using System; using System.IO; usin...
23.884058
77
0.597694
[ "MIT" ]
HeasHeartfire/Mega-Test
Assets/PowerUI/Source/Decompressors/Brotli/Source/dictionary.cs
1,649
C#
using NHapi.Base.Parser; using NHapi.Base; using NHapi.Base.Log; using System; using System.Collections.Generic; using NHapi.Model.V231.Segment; using NHapi.Model.V231.Datatype; using NHapi.Base.Model; namespace NHapi.Model.V231.Group { ///<summary> ///Represents the ORM_O01_INSURANCE Group. A Group is an ordered col...
28.205298
155
0.666588
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Model.V231/Group/ORM_O01_INSURANCE.cs
4,259
C#
using FluentAssertions; using NSubstitute; using Xunit; namespace Sfa.Tl.ResultsAndCertification.Web.UnitTests.Loader.ResultLoaderTests.FindUlnResults { public class When_Called_With_Invalid_Data : TestSetup { public override void Given() { expectedApiResult = null; Int...
25.571429
94
0.659218
[ "MIT" ]
SkillsFundingAgency/tl-result-and-certification
src/Tests/Sfa.Tl.ResultsAndCertification.Web.UnitTests/Loader/ResultLoaderTests/FindUlnResults/When_Called_With_Invalid_Data.cs
539
C#
namespace Multiple_Video_Streams_Demo { using System; using System.Windows.Forms; using VisioForge.Controls.UI.WinForms; using VisioForge.Tools.MediaInfo; using VisioForge.Types; public partial class Form1 : Form { public Form1() { InitializeComponent(); ...
30.111111
158
0.510332
[ "MIT" ]
visioforge/.Net-SDK-s-samples-before-v12
Media Player SDK/WinForms/CSharp/Multiple Video Streams/Form1.cs
5,422
C#
using System; using WebKit; using AppKit; using Foundation; using System.Threading.Tasks; using System.Net; using System.Linq; namespace SimpleAuth.Mac { public class WebAuthenticatorWebView : WebKit.WebView, IWebFrameLoadDelegate { public readonly WebAuthenticator Authenticator; public WebAuthenticatorWebView(...
26.171271
162
0.68841
[ "Apache-2.0" ]
rhedgpeth/SimpleAuth
src/SimpleAuth.Mac/WebAuthenticator.cs
4,739
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using UltimateRedditBot.Core.Extensions; using UltimateRedditBot.Domain.Queue; using UltimateRedditBot.Infra.Services; namespace UltimateRedditBot.Core.Services { [Serializable] public class QueueClient : IQueueCl...
25.597561
115
0.557408
[ "MIT" ]
bartb56/UltimateRedditBot
UltimateRedditBot.Core/Services/QueueClient.cs
2,101
C#
namespace ClinicArrivals.Models { public interface ILoggingService { void Log(int level, string msg); } }
18.857143
41
0.628788
[ "BSD-2-Clause" ]
eugenekogan-spb/ClinicArrivals
ClinicArrivals.Models/ILoggingService.cs
134
C#
using System.Collections.Generic; using System.Threading.Tasks; namespace TraceYourLife.Domain.Services { public interface IDataStore<T> { Task<bool> AddItemAsync(T item); Task<bool> UpdateItemAsync(T item); Task<bool> DeleteItemAsync(string id); Task<T> GetItemAsync(string id)...
26.733333
70
0.685786
[ "Apache-2.0" ]
herbstsonne/TraceYourLife
TraceYourLife/TraceYourLife/Domain/Services/IDataStore.cs
403
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; namespace Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal; /// <summary> /// This is an internal API that supports the Entity Framewo...
49.07563
109
0.674144
[ "MIT" ]
Applesauce314/efcore
src/EFCore/Storage/ValueConversion/Internal/StringNumberConverter.cs
5,840
C#
namespace AquaShop.Core.Contracts { using System; public interface IEngine { void Run(); } }
11.9
34
0.588235
[ "MIT" ]
AntoniyaIvanova/SoftUni
C#/C# Advanced/C# OOP/10. EXAMS/15 Dec 2019/01. Structure/Core/Contracts/IEngine.cs
121
C#
using Avalonia; using Avalonia.Controls; using Avalonia.Markup.Xaml; namespace FluentAvaloniaSamples.Pages { public partial class PathIconPage : UserControl { public PathIconPage() { InitializeComponent(); } private void InitializeComponent() { AvaloniaXamlLoader.Load(this); } } }
15.25
48
0.740984
[ "MIT" ]
DrewNaylor/FluentAvalonia
FluentAvaloniaSamples/Pages/IconPages/PathIconPage.axaml.cs
305
C#
namespace Utility { public interface ICloneable<TYPE_T> { TYPE_T Clone(); } }
12.375
39
0.585859
[ "MIT" ]
rougemeilland/ZipArchiveNormalizer
Utility/ICloneable.cs
101
C#
using System; using System.Threading; using System.Threading.Tasks; using System.Windows.Input; using GalaSoft.MvvmLight; using SIL.Machine.Utils; namespace SIL.Machine.Translation.TestApp { public class TaskViewModel : ViewModelBase { private readonly Func<IProgress<ProgressStatus>, CancellationToken, Task> _exe...
23.524272
111
0.710277
[ "MIT" ]
russellmorley/machine
samples/SIL.Machine.Translation.TestApp/TaskViewModel.cs
2,425
C#
//Author Maxim Kuzmin//makc// using Makc2020.Core.Base.Auth.Enums; using Makc2020.Mods.Auth.Base.Config.Settings; namespace Makc2020.Mods.Auth.Base.Config { /// <summary> /// Мод "Auth". Основа. Конфигурация. Настройки. Интерфейс. /// </summary> public interface IModAuthBaseConfigSettings { ...
22.407407
63
0.593388
[ "MIT" ]
balkar20/SibTrain
net-core/Makc2020.Mods.Auth.Base/Config/IModAuthBaseConfigSettings.cs
653
C#
// UI controller. // Created on Thu Jul 5 22:00:00 2018 // Author: Prasun Roy (https://github.com/prasunroy) // GitHub: https://github.com/prasunroy/galaxy-shooter using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class UIController : MonoBehaviour { [Se...
23.887097
63
0.656989
[ "MIT" ]
prasunroy/galaxy-shooter
Galaxy_Shooter/Assets/Scripts/UIController.cs
1,483
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("_0...
38.135135
84
0.746279
[ "MIT" ]
ivailo-kolarov/TelerikAcademy
04.NumeralSystems/01.DecimalToBinary/Properties/AssemblyInfo.cs
1,414
C#
/* * Copyright(c) 2021 Samsung Electronics Co., 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/licenses/LICENSE-2.0 * * Unless required by applicable...
63.309859
174
0.758621
[ "Apache-2.0", "MIT" ]
AchoWang/TizenFX
src/Tizen.NUI/src/internal/Interop/Interop.PageTurnView.cs
4,497
C#
using System.Collections.Generic; using System.Threading.Tasks; using Unearth.Core; using Unearth.Dns; namespace Unearth.Smtp { public class SmtpLocator : ServiceLocator<SmtpService> { public Task<SmtpService> Locate() { return Locate( null ); } public override Tas...
30.18
101
0.558648
[ "MIT" ]
kellybirr/unearth
src/Unearth.Common/Smtp/SmtpLocator.cs
1,511
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; namespace Microsoft.AspNetCore.Mvc.Filters { /// <summary> /// A delegate that asynchronously returns an <see cref="ResultExecutedContext"/> in...
40.4
117
0.732673
[ "MIT" ]
48355746/AspNetCore
src/Mvc/Mvc.Abstractions/src/Filters/ResultExecutionDelegate.cs
606
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
28.411765
115
0.449275
[ "MIT" ]
Appleseed/squidex
backend/src/Squidex.Infrastructure.MongoDb/MongoDb/BsonHelper.cs
1,940
C#
// <auto-generated /> using Gooios.GoodsService.Domains.Aggregates; using Gooios.GoodsService.Repositories; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFramew...
35.418699
108
0.417824
[ "Apache-2.0" ]
hccoo/gooios
netcoremicroservices/Gooios.GoodsService/Migrations/20180523135326_AddDistributionScopeForGoods.Designer.cs
17,428
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("05...
37.864865
84
0.744468
[ "MIT" ]
niki-funky/Telerik_Academy
Programming/02.Csharp/05. Numeral systems/05.HexToBinary/Properties/AssemblyInfo.cs
1,404
C#
// <copyright> // Copyright 2013 by the Spark Development Network // // 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 b...
33.850267
110
0.569036
[ "Apache-2.0", "Unlicense" ]
ThursdayChurch/rockweb.thursdaychurch.org
Blocks/Finance/GatewayList.ascx.cs
6,332
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("Cl...
38.621622
84
0.748076
[ "MIT" ]
AdamHupa/Unified-Work-Solution-.net
Client Application.UnitTests/Properties/AssemblyInfo.cs
1,432
C#
using Abp.Authorization; using Abp.Authorization.Users; using Abp.MultiTenancy; using Abp.Runtime.Security; using Abp.UI; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Security....
40.92735
188
0.602903
[ "MIT" ]
dangminhbk/auction
aspnet-core/src/WebShop.Web.Core/Controllers/TokenAuthController.cs
9,579
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 Microsoft.Win32.SafeHandles; using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; ...
40.147059
146
0.713553
[ "MIT" ]
85331479/coreclr
src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CreateFile2.cs
1,365
C#
using FluentMigrator.Builders.Create.Table; using Nop.Core; namespace Nop.Data.Mapping.Builders { /// <summary> /// Represents base entity builder /// </summary> /// <typeparam name="TEntity">Entity type</typeparam> /// <remarks> /// "Entity type <see cref="TEntity"/>" is needed to determine t...
34.809524
118
0.662107
[ "MIT" ]
ASP-WAF/FireWall
Samples/NopeCommerce/Libraries/Nop.Data/Mapping/Builders/NopEntityBuilder.cs
733
C#
using Abp.Authorization.Roles; using Abp.Domain.Repositories; using Abp.Domain.Uow; using NPS.Authorization.Users; namespace NPS.Authorization.Roles { public class RoleStore : AbpRoleStore<Role, User> { public RoleStore( IUnitOfWorkManager unitOfWorkManager, IRepository<Role> ro...
26.545455
85
0.645548
[ "MIT" ]
leonardo-buta/automated-nps
aspnet-core/src/NPS.Core/Authorization/Roles/RoleStore.cs
584
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.ApplicationModel.Activation { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial interface IPickerReturnedActivatedEventArgs : global::...
32.789474
126
0.780096
[ "Apache-2.0" ]
06needhamt/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.ApplicationModel.Activation/IPickerReturnedActivatedEventArgs.cs
623
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics.Contracts; us...
38.170732
102
0.725879
[ "MIT" ]
Nilox/ReactiveUI
src/ReactiveUI/ReactiveObject/IReactiveObject.cs
1,567
C#
#if UNITY_EDITOR using Unity.Mathematics; using UnityEditor; using UnityEngine; namespace AeternumGames.ShapeEditor { public class ScaleTool : BoxSelectTool { private bool isSingleUseDone = false; private float2 initialGridPosition; private float initialDistance; private Scal...
28.651316
122
0.4907
[ "MIT" ]
Henry00IS/ShapeEditor
Scripts/ShapeEditor/Tools/ScaleTool.cs
4,357
C#
// ***************************************************************************** // // © Component Factory Pty Ltd, 2006 - 2016. All rights reserved. // The software and associated documentation supplied hereunder are the // proprietary information of Component Factory Pty Ltd, PO Box 1504, // Glen Waverley, Vic...
31.567568
81
0.599315
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.460
Source/Demos/Non-NuGet/Krypton Navigator Examples/Orientation + Alignment/Program.cs
1,171
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. namespace System.Data.Entity.Core { using System.Data.Entity.Resources; using System.Runtime.Serialization; /// <summary> /// metadata exception class //...
35.147541
158
0.617537
[ "MIT" ]
dotnet/ef6tools
src/EntityFramework/Core/MetadataException.cs
2,144
C#
/* * Copyright 2018 JDCLOUD.COM * * 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.785714
119
0.729816
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Starshield/Apis/ChangeEnableQueryStringSortSettingResponse.cs
1,353
C#
using System.ComponentModel; using Template10.ViewModels; using Windows.UI.Xaml.Controls; namespace Template10.Views { public sealed partial class RandomAccessPage : Page { public RandomAccessPage() { this.InitializeComponent(); } } }
19
55
0.663158
[ "MIT" ]
HydAu/WebDevCamp
Presentation/07. XAML Performance/Demos/Performance/Performance/Views/RandomAccessPage.xaml.cs
287
C#
using UnityEngine; using Zenject; using ZEscape.VFX; public class EffectInstaller : ScriptableObjectInstaller<EffectInstaller> { [SerializeField] private BulletImpactEffect _bulletImpactEffect; [SerializeField] private BonusEffect _bonusEffect; public override void InstallBindings() { Container...
42.944444
127
0.783959
[ "Apache-2.0" ]
AndrewKharkow/ZEscape
Assets/ZEscape/SceneContext/EffectInstaller.cs
773
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...
27.685714
81
0.619195
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/BatchAI/Latest/Inputs/EnvironmentVariableArgs.cs
969
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace NeoWeb.Models { public class ICO2 { [Key] public string NeoAddress { get; set; } ...
22.02439
54
0.603544
[ "MPL-2.0" ]
Woodehh/neo.org
NeoWeb/Models/ICO2Models.cs
905
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> //--...
37.889655
202
0.568074
[ "MIT" ]
Aggror/Stride
sources/editor/Stride.Core.Assets.Editor/Resources/Strings/KeyGestures.Designer.cs
5,496
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 System.Collections.Generic; using System.Threading.Tasks; using Dbosoft.IdentityServer.Extensions; using Dbosoft.IdentityServer.Models.M...
34.588235
107
0.693027
[ "Apache-2.0" ]
dbosoft/IdentityServer
src/IdentityServer/Stores/Default/QueryStringAuthorizationParametersMessageStore.cs
1,176
C#
using FluentAssertions; using JWT.Tests.Common; using JWT.Tests.NETFramework.Serializers; using System.Collections.Generic; using Xunit; namespace JWT.Tests.NETFramework { public class EncodeTests { [Fact] public void Should_Encode_Type_With_WebScript_Serializer() { JsonWeb...
32.236364
109
0.659898
[ "CC0-1.0" ]
nbarbettini/jwt
tests/JWT.Tests.NETFramework/EncodeTests.cs
1,775
C#
// // The MIT License(MIT) // // Copyright(c) 2014 Demonsaw LLC // // 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, ...
21.076433
81
0.661831
[ "MIT" ]
demonsaw/Code
ds1/Library/Controller/TreeController.cs
3,311
C#
using System; using HyprWinUI3.Services; using Windows.ApplicationModel.Activation; using Windows.UI.Xaml; namespace HyprWinUI3 { public sealed partial class App : Application { private Lazy<ActivationService> _activationService; private ActivationService ActivationService => _activationService.Value; ...
27.303571
129
0.761282
[ "MIT" ]
HLCaptain/Hypr
App.xaml.cs
1,531
C#
using System; using System.Collections.Generic; using System.Linq; using DefaultDocumentation.Markdown.Extensions; using DefaultDocumentation.Model.Type; using DefaultDocumentation.Writers; namespace DefaultDocumentation.Markdown.Sections { public sealed class DerivedSection : ISectionWriter { public ...
32.184211
216
0.50695
[ "MIT-0" ]
Doraku/DefaultDocumentation
source/DefaultDocumentation.Markdown/Sections/DerivedSection.cs
1,225
C#
// <auto-generated /> using System; using blazor_auth_individual_experiment.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace blazor_auth_individual_experiment.Data.Migrations { [DbContext(t...
36.587361
96
0.436801
[ "Apache-2.0" ]
jraygauthier/jrg-blazor-auth-experiment
Data/Migrations/ApplicationDbContextModelSnapshot.cs
9,842
C#
/***************************************************************************** * Copyright 2016 Aurora Solutions * * http://www.aurorasolutions.io * * Aurora Solutions is an innovative services and product company at * the forefront of the software industry, with processes and practices * involving Dom...
53.844471
182
0.598863
[ "Apache-2.0" ]
3plcoins/coin-exchange-backend
src/Trades/CoinExchange.Trades.Port.Adapter.Rest.IntegrationTests/EndToEndTests.cs
44,316
C#
namespace Enclave.Sdk.Api.Data.Authority; /// <summary> /// Defines bit-flags indicating what a certificate can be used for. /// </summary> [Flags] public enum CertificatePermittedUse : byte { /// <summary> /// No Permitted Uses. /// </summary> None = 0x0, /// <summary> /// For individual end...
32.255814
125
0.621485
[ "MIT" ]
enclave-networks/Enclave.Sdk.Api
src/Enclave.Sdk/Data/Authority/CertificatePermittedUse.cs
1,389
C#
using SharpReact.Core; namespace SharpReact.Wpf.Components { public class ScrollViewer<TProps, TElement>: ContentControl<TProps, TElement> where TProps : Props.ScrollViewer where TElement : global::System.Windows.Controls.ScrollViewer, new() { public override void AssignProperties(ISharpRenderer<global::Syste...
35.333333
163
0.765261
[ "MIT" ]
MihaMarkic/SharpReact
src/Implementations/Wpf/SharpReact.Wpf/Components/ScrollViewer.cs
1,802
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using LocalizedText.Internal; using UnityEngine; namespace LocalizedText { public class TextSet : ScriptableObject { [SerializeField] private List<Language> languageList = new List<Language>(); [Seria...
28.06135
114
0.537167
[ "MIT" ]
fullcorder/UnityLocalizedText
Assets/LocalizedText/Scripts/TextSet.cs
4,576
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/MSChapp.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System.Runtime.InteropServic...
76.833333
643
0.787961
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/MSChapp/Windows.cs
1,846
C#
using System; using System.Threading.Tasks; namespace Underscore.Action { public interface IDelayComponent { /// <summary> /// Creates a delayed version of passed function, delaying passed milliseconds value /// before executing /// </summary> Func<Task> Delay(System.Action action, int milliseconds); /...
46.747748
265
0.644247
[ "MIT" ]
konkked/Underscore.cs
Underscore.cs/Action/Contract/Synch/IDelay.cs
5,191
C#
using System.Collections.Generic; using JetBrains.Annotations; namespace MetaBrainz.ListenBrainz.Interfaces; /// <summary>Information about how many listens a user has submitted over a period of time.</summary> [PublicAPI] public interface IUserListeningActivity : IUserStatistics { /// <summary>The user's listeni...
26.6
101
0.784461
[ "MIT" ]
Zastai/ListenBrainz
MetaBrainz.ListenBrainz/Interfaces/IUserListeningActivity.cs
399
C#
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Discord.Addons.MpGame.Collections; namespace MpGame.Tests { internal sealed class TestPile : Pile<ITestCard>, ITestPileEvents { private readonly PilePerms _perms; public TestPile(PileP...
35.775281
110
0.605842
[ "MIT" ]
Joe4evr/Discord.Addons
test/MpGame.Tests/Common/TestPile-1.cs
3,186
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ExcelWebProject { public interface IExportavelCsvExcel { } }
17.545455
44
0.792746
[ "Apache-2.0" ]
Paulofsr/excel-example
ExcelWebProject/ExcelWebProject/IExportavelCsvExcel.cs
195
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Experimental.Rendering.Universal; public class Flashlight : Enemy { public Transform[] hitPts; public LayerMask layerMask; public float hitDistance = 3f; float tempHitDistance; // burnout Light2D light2D; public fl...
25.58209
136
0.717036
[ "CC0-1.0" ]
dfields16/GGJ_2021
Assets/Scripts/Flashlight.cs
1,714
C#
using System; using DryIoc; using JetBrains.Annotations; using LVK.DryIoc; namespace LVK.Net.Http.Server { [PublicAPI] public class ServicesBootstrapper : IServicesBootstrapper { public void Bootstrap(IContainer container) { if (container == null) throw new A...
25.5
74
0.668175
[ "MIT" ]
FeatureToggleStudy/LVK
src/LVK.Net.Http.Server/ServicesBootstrapper.cs
665
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("So...
38.081081
84
0.745919
[ "MIT" ]
David-Mavrodiev/Socium
SociumApp/SociumApp.Services/Properties/AssemblyInfo.cs
1,412
C#
using System; namespace Swiftly.Parsers.ProductInfo.Executable { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
17.083333
48
0.570732
[ "MIT" ]
erickhouse/code-exercise
src/Swiftly.Parsers.ProductInfo.Executable/Program.cs
207
C#
/* * Copyright(c) 2020 Samsung Electronics Co., 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/licenses/LICENSE-2.0 * * Unless required by applicable...
37.283784
223
0.610547
[ "Apache-2.0", "MIT" ]
AchoWang/TizenFX
src/Tizen.NUI.Components/Style/LoadingStyle.cs
5,520
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; namespace TileMapService.MBTiles { /// <summary> /// Represents metadata set from MBTiles database. /// </summary> class Metadata { private readonly List<MetadataItem> metadataItems; pub...
36.484848
192
0.571221
[ "MIT" ]
apdevelop/tile-map-service-net5
Src/TileMapService/MBTiles/Metadata.cs
4,818
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
61.356037
248
0.687708
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/model/ManagedAppProtection.cs
19,818
C#
namespace MvcBootstrap.Web.Mvc.Controllers { public static class BootstrapActionName { public const string List = "List"; public const string Create = "Create"; public const string Read = "Read"; public const string Update = "Update"; public const string Delete = "De...
20.9375
46
0.629851
[ "MIT" ]
carlgieringer/MvcBootstrap
MvcBootstrap/Web/Mvc/Controllers/BootstrapActionName.cs
337
C#
using System; using System.ComponentModel; namespace PhotoStoryToBloomConverter.Utilities { public static class EnumExtensions { public static string ToDescriptionString(this Enum val) { DescriptionAttribute[] attributes = (DescriptionAttribute[]) val .GetType() .GetField(val.ToString()) .GetCust...
24.052632
75
0.752735
[ "MIT" ]
BloomBooks/PhotoStoryToBloomConverter
PhotoStoryToBloomConverter/Utilities/EnumExtensions.cs
459
C#
/* * Intersight REST API * * This is Intersight REST API * * OpenAPI spec version: 0.1.0-559 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using RestSharp; using intersight.Clie...
70.607843
859
0.678246
[ "Apache-2.0" ]
CiscoUcs/intersight-powershell
csharp/swaggerClient/src/intersight/Api/IamDomainGroupApi.cs
39,627
C#
using Application.Common.Interfaces; using Application.Common.Queries; using Application.Dtos; using AutoMapper; using AutoMapper.QueryableExtensions; using MediatR; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Ap...
30.268293
125
0.707494
[ "MIT" ]
micbelgique/SpatialAnchorForCommunities
WebSolution/Application/Features/Communities/Queries/GetAllCommunitiesQuery.cs
1,243
C#
namespace QuickView.Services { using QuickView.Services.Feeds; using System.Collections.Generic; public class AddFeedRequest : IFeedRequest { public string Name { get; set; } public string Source { get; set; } public Dictionary<string, string> Subjects { get; set; } } }
24.384615
64
0.652997
[ "MIT" ]
smithderekm/quickview
src/QuickView.Services/Feeds/AddFeedRequest.cs
319
C#
/* Copyright (c) 2013, 2014 Paolo Patierno All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 and Eclipse Distribution License v1.0 which accompany this distribution. The Eclipse Public License is available at http://www.eclipse...
30.444444
80
0.621807
[ "EPL-1.0" ]
toomasz/paho.mqtt.m2mqtt
M2Mqtt/IMqttNetworkChannel.cs
2,194
C#
namespace Machete.X12Schema.V5010 { using X12; public interface Loop2010BA_837I : X12Layout { Segment<NM1> Subscriber { get; } Segment<N3> Address { get; } Segment<N4> GeographicInformation { get; } Segment<DMG> DemographicInformation { g...
22.190476
60
0.570815
[ "Apache-2.0" ]
ahives/Machete
src/Machete.X12Schema/V5010/Layouts/Loop2010BA_837I.cs
468
C#
using UnityEngine; using System.Collections; public class UM_PushRegistrationResult : UM_BaseResult { private string _deviceId; public UM_PushRegistrationResult(string id, bool res) { _deviceId = id; _IsSucceeded = res; } public string deviceId { get { return _deviceId; } } }
15.789474
56
0.73
[ "MIT" ]
Bregermann/TargetCrack
Target Crack/Assets/Extensions/UltimateMobile/Scripts/NativeAPI/Notifications/UM_PushRegistrationResult.cs
302
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. //----------------------------------------------------------------------------- // // Description: // This is a cla...
46.475556
160
0.590195
[ "MIT" ]
ARhj/corefx
src/System.IO.Packaging/src/System/IO/Packaging/InternalRelationshipCollection.cs
31,371
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; /* IDEAS * - Throw this in with the physics system to unify it all * - Adjust gravity based on tilt/rotation of car (but shifted 90deg still) */ public class ParentGravityHandler : MonoBehaviour { public bool dampenVerticalVelocity...
32.5
75
0.660633
[ "MIT" ]
nkrim/mailman-simulator
Assets/ParentGravityHandler.cs
1,107
C#
using UnityEngine; using System.Collections; using Ceto.Common.Containers.Interpolation; namespace Ceto { public static class ShoreMaskGenerator { public static float[] CreateHeightMap(Terrain terrain) { TerrainData data = terrain.terrainData; int resolution = data.heightmapResolution; Vector...
25.663212
150
0.452655
[ "MIT" ]
CyberSys/Ceto
Assets/Ceto/Scripts/Utility/ShoreMaskGenerator.cs
4,955
C#
namespace TheCollection.Application.Services.Queries.Tea { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using TheCollection.Domain; using TheCollection.Domain.Core.Contracts; using TheCollection.Domain.Core.Contracts.Repository; using T...
40.285714
116
0.70656
[ "Apache-2.0" ]
projecteon/thecollection
TheCollection.Application.Services/Queries/Tea/BagsCountByBrandsQueryHandler.cs
1,128
C#
// <copyright file="AutoCloseDefinedParameters.cs" company="Johann Blais"> // Copyright (c) 2008 All Right Reserved // </copyright> // <author>Johann Blais</author> // <summary>Defines constant representing the parameters specified for the auto-close feature</summary> namespace InfoBox { /// <summary> ...
28.482759
104
0.588378
[ "ECL-2.0", "Apache-2.0" ]
Hybrid-SaaS/InformationBox
InfoBox/Enums/AutoCloseDefinedParameters.cs
826
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 System.Collections.Generic; using System.Collections.ObjectModel; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.Extensions.Http; usin...
43.801418
200
0.636658
[ "Apache-2.0", "MIT" ]
Angr1st/azure-functions-host
test/WebJobs.Script.Tests.Integration/Host/WebScriptHostManagerTimeoutTests.cs
6,178
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { public partial class AzureMySqlTableDataset : IU...
38.641921
176
0.453837
[ "MIT" ]
AzureDataBox/azure-sdk-for-net
sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureMySqlTableDataset.Serialization.cs
8,849
C#
using System.IO; using UnityEngine; using UnityEditor; public class CopyLuaScripts { private static string m_sourcePath = Application.dataPath + "/LuaScripts/src"; private static string m_targetPath = PathTools.GetABOutPath() + "/LUA"; [MenuItem("HotFix/CopyLuaScripts")] public static void ...
25.363636
83
0.615293
[ "MIT" ]
xzjGitHub/HitFix
HotFix/Assets/Scripts/HotFix/Editor/CopyLuaScripts.cs
851
C#
using System; using Aop.Api.Domain; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: alipay.open.mini.setintentiondata.set /// </summary> public class AlipayOpenMiniSetintentiondataSetRequest : IAopRequest<AlipayOpenMiniSetintent...
25.943548
115
0.566677
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Request/AlipayOpenMiniSetintentiondataSetRequest.cs
3,235
C#
using HumansTxtLanguageService.Syntax; using Microsoft.VisualStudio.Text.Tagging; using System.Collections.Generic; namespace HumansTxtLanguageService.Diagnostics { public interface ISyntaxNodeAnalyzer<TSyntaxNode> : IDiagnosticAnalyzer where TSyntaxNode : SyntaxNode { IEnumerable<ITagSpan<IErrorTag>>...
29.666667
106
0.800562
[ "MIT" ]
Peter-Juhasz/HumansTxtLanguageService
HumansTxtLanguageService/Diagnostics/ISyntaxNodeAnalyzer.cs
358
C#
using System; using System.Collections.Generic; using Grynwald.ChangeLog.Configuration; using Grynwald.Utilities.IO; using Xunit; namespace Grynwald.ChangeLog.Test.Configuration { /// <summary> /// Tests for <see cref="ConfigurationValidator"/> /// </summary> public class ConfigurationValidatorTest ...
32.599764
131
0.567181
[ "MIT" ]
ap0llo/changelo
src/ChangeLog.Test/Configuration/ConfigurationValidatorTest.cs
27,614
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("Mee...
38.432432
84
0.751758
[ "MIT" ]
AntaryamiBasuri/MeetingCalender
MeetingCalendar.TestConsole/Properties/AssemblyInfo.cs
1,425
C#
/* Copyright 2015-present MongoDB Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
36.571429
132
0.615767
[ "MIT" ]
13294029724/ET
Server/ThirdParty/MongoDBDriver/MongoDB.Driver/Linq/ExecutionPlanBuilder.cs
2,818
C#
using System.IO; using ISAAR.MSolve.LinearAlgebra.Input; using ISAAR.MSolve.LinearAlgebra.Matrices.Builders; using ISAAR.MSolve.LinearAlgebra.Output; using ISAAR.MSolve.LinearAlgebra.Output.Formatting; using ISAAR.MSolve.LinearAlgebra.Tests.Utilities; using Xunit; namespace ISAAR.MSolve.LinearAlgebra.Tests.Input { ...
37.775
93
0.685639
[ "Apache-2.0" ]
TheoChristo/MSolve.Bio
ISAAR.MSolve.LinearAlgebra.Tests/Input/CoordinateTextFileReaderTests.cs
1,513
C#