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
namespace Microsoft.Maui.Platform { public static class StrokeExtensions { public static void UpdateStrokeShape(this object platformView, IBorderStroke border) { } public static void UpdateStroke(this object platformView, IBorderStroke border) { } public static void UpdateStrokeThickness(this object platform...
38.090909
96
0.805489
[ "MIT" ]
10088/maui
src/Core/src/Platform/Standard/StrokeExtensions.cs
840
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using ILRuntime.CLR.TypeSystem; using ILRuntime.CLR.Method; using ILRuntime.Runtime.Enviorment; using ILRuntime.Runtime.Intepreter; using ILRuntime.Runtime.Stack; using ILRuntime.Reflection...
38.220339
228
0.716186
[ "MIT" ]
13294029724/ET
Unity/Assets/Model/ILBinding/ETModel_MessageDispatcherComponent_Binding.cs
2,255
C#
// Author: // Brian Faust <brian@ark.io> // // Copyright (c) 2018 Ark Ecosystem <info@ark.io> // // 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 withou...
40.514286
87
0.736248
[ "MIT" ]
supaiku0/dotnet-crypto
ArkEcosystem.Crypto/ArkEcosystem.Crypto/ArkEcosystem.Crypto/Serializers/DelegateResignation.cs
1,418
C#
using Replikit.Abstractions.Attachments.Models; using Replikit.Abstractions.Common.Models; using Replikit.Abstractions.Messages.Models; using Replikit.Abstractions.Messages.Models.Options; using Replikit.Abstractions.Messages.Services; using Replikit.Adapters.Common.Models; using Replikit.Adapters.Telegram.Exceptions;...
39.147287
118
0.662871
[ "MIT" ]
Replikit/Replikit
src/adapters/Replikit.Adapters.Telegram/src/Replikit.Adapters.Telegram/Services/TelegramMessageService.cs
10,102
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.md file in the project root for more information. namespace System.Collections.Concurrent { internal interface IConcurrentHashSet<T> : IEnumerable<T> { ...
49.461538
201
0.629471
[ "MIT" ]
brunom/project-system
src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/Collections/IConcurrentHashSet.cs
2,523
C#
using System.Collections.Generic; using UnityEngine; namespace VH { /// <summary> /// Utility Functions for Grid Opertaions /// </summary> public static class GridUtility { #region Tile Utils /// <summary> /// Find the Tile Instance from a Position in the World ///...
36.643791
150
0.448408
[ "MIT" ]
fishingGrapes/Grid-Utiilities
Assets/Sources/World Grid/GridUtility.cs
11,215
C#
namespace Plivo.Objects { public class SubAccountMeta { public object Previous { get; set; } public int TotalCount { get; set; } public int Offset { get; set; } public int Limit { get; set; } public string Next { get; set; } } }
25.545455
44
0.569395
[ "MIT" ]
EIrwin/plivo-dotnet
Plivo/Objects/SubAccountMeta.cs
283
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http.Dependencies; namespace Web.IoC { public class WebDependencies { public IDependencyResolver HttpDependencyResolver { get; private set; } public WebDependencies(IDependencyResolver httpDe...
23.666667
79
0.71831
[ "MIT" ]
dicehead3/Kaartenbak
Web2/IoC/WebDependencies.cs
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("Mo...
38.459459
84
0.748419
[ "MIT" ]
coolcode/MonkeyOthello
MonkeyOthello.OpeningBook/Properties/AssemblyInfo.cs
1,426
C#
using System; using System.Linq; using System.Threading.Tasks; using System.Collections.Generic; using System.Globalization; using System.Resources; using System.Net; using System.Collections; using Flurl; using Flurl.Http; using Newtonsoft.Json.Linq; using System.Net.Http; namespace JohnsonControls.Metasys.BasicServ...
41.184188
151
0.543742
[ "BSD-3-Clause" ]
SavannahEvans/basic-services-dotnet
MetasysServices/MetasysClient.cs
47,405
C#
using System; using System.Text; using System.Linq; using Umbraco.Core.Logging; using Umbraco.Core; using Umbraco.Core.Models.PublishedContent; using Umbraco.Core.Xml; using Umbraco.Web.PublishedCache; namespace Umbraco.Web.Routing { /// <summary> /// Provides an implementation of <see cref="IContentFinder"/>...
40.186441
183
0.553353
[ "MIT" ]
bharanijayasuri/umbraco8
src/Umbraco.Web/Routing/ContentFinderByUrlAlias.cs
4,744
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace BenchmarkingDemos.Facades.Second { public class CheckoutPageAssertions { private readonly CheckoutPageElements _elements; public CheckoutPageAssertions(CheckoutPageElements elements) { _elements = elements; ...
23.8
78
0.670168
[ "Apache-2.0" ]
nadvolod/Design-Patterns-for-High-Quality-Automated-Tests-CSharp-Edition
Chapter 9- Benchmarking/BenchmarkingDemos/Facades/CheckoutPage/CheckoutPageAssertions.cs
478
C#
namespace LoggingKata { /// <summary> /// Parses a POI file to locate all the Taco Bells /// </summary> public class TacoParser { readonly ILog logger = new TacoLogger(); public ITrackable Parse(string line) { logger.LogInfo("Begin parsing"); ...
31.03125
120
0.528701
[ "MIT" ]
Kaford777/TacoParser
LoggingKata/TacoParser.cs
1,988
C#
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Runtime.Remoting.Messaging; using AutoVisor.Classes; using AutoVisor.Managers; using Dalamud.Plugin; using ImGuiNET; namespace AutoVisor.GUI { public class AutoVisorUi { private const string PluginNam...
36.685106
176
0.498956
[ "Apache-2.0" ]
notsonks/AutoVisor
GUI/AutoVisorUi.cs
17,244
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MoveonPathScript : MonoBehaviour { public EditofPathScript PathToFollow; // Establishment of variables public GameObject NPC; public UnityEngine.AI.NavMeshAgent agent; public int CurrentWayPointID = 0; ...
30.26087
145
0.685345
[ "MIT" ]
MyopicMuppet/Cert4-Artifical-Intelligence
Assets/Arcade Project/Scripts/MoveonPathScript.cs
2,090
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.ApplicationModel.AppExtensions { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class AppExtens...
49.288889
171
0.770063
[ "Apache-2.0" ]
AbdalaMask/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.ApplicationModel.AppExtensions/AppExtensionPackageInstalledEventArgs.cs
2,218
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...
26.384615
81
0.620991
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/CostManagement/V20180801Preview/Outputs/ReportAggregationResponse.cs
1,029
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. namespace Elastic.Clients.Elasticsearch.AsyncSearch { public partial class GetAsyncSearchRequest { // Any req...
38.72
107
0.788223
[ "Apache-2.0" ]
SimonCropp/elasticsearch-net
src/Elastic.Clients.Elasticsearch/Api/AsyncSearch/GetAsyncSearchRequest.cs
968
C#
using System; using System.Collections; namespace System.Text.RegularExpressions { internal class GroupEnumerator : IEnumerator { #region Fields internal int _curindex = -1; internal GroupCollection _rgc; #endregion #region Constructor interna...
20.279412
81
0.437999
[ "Apache-2.0" ]
AustinWise/Netduino-Micro-Framework
Framework/Core/System/RegularExpressions/Collections/GroupEnumerator.cs
1,379
C#
using EPlast.DataAccess.Entities.Event; namespace EPlast.DataAccess.Repositories.Interfaces.Events { public interface IEventSectionRepository: IRepositoryBase<EventSection> { } }
21.444444
75
0.787565
[ "MIT" ]
Toxa2202/plast
EPlast/EPlast.DataAccess/Repositories/Interfaces/Events/IEventSectionRepository.cs
195
C#
// The MIT License (MIT) // // Copyright (c) Andrew Armstrong/FacticiusVir 2018 // // 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 r...
34.865385
81
0.688362
[ "MIT" ]
sebastianulm/SharpVk
src/SharpVk/Interop/PhysicalDeviceProperties2.gen.cs
1,813
C#
using System.Collections.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Tsarev.Analyzer.Helpers; using System.Linq; namespace Tsarev.Analyzer.Web { [DiagnosticAnalyzer(LanguageNames.CSharp)] p...
34.91791
179
0.715751
[ "MIT" ]
leotsarev/hardcode-analyzer
Tsarev.Analyzer.Web/AsyncControllerAnalyzer.cs
4,679
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
25.636364
115
0.735225
[ "Apache-2.0" ]
DebasmitaGhosh/Ginger
Ginger/Ginger/Variables/VariableTimerPage.xaml.cs
848
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.Diagnostics; namespace System.Text { /// <summary> /// Discriminated union of a string and a c...
30.266667
111
0.497797
[ "MIT" ]
2E0PGS/corefx
src/Common/src/System/Text/StringOrCharArray.cs
5,448
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace System.Drawing { public partial class Image { } }
12.5
33
0.766667
[ "MIT" ]
HolisticWare/HolisticWare.Core.MarkDown.MarkDownDeep
source/MonoVersal.MarkDown.MarkDownDeep.WP71/patches/System.Drawing/Image.cs
150
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. namespace Microsoft.Diagnostics.Monitoring.WebApi { public enum DiagnosticPortConnectionMode { Conn...
26.769231
71
0.724138
[ "MIT" ]
ScriptBox21/dotnet-monitor
src/Microsoft.Diagnostics.Monitoring.Options/DiagnosticPortConnectionMode.cs
350
C#
using System; namespace Microsoft.DwayneNeed.Win32.User32 { // It would be great to use the HWND type for hwnd, but this is not // possible because you will get a MarshalDirectiveException complaining // that the unmanaged code cannot pass in a SafeHandle. Instead, most // classes that use a WNDPROC ...
45.727273
87
0.747515
[ "MIT" ]
PresetMagician/PresetMagician
Microsoft.DwayneNeed.Win32/User32/WNDPROC.cs
505
C#
using System.Reflection; using Android.App; using Android.OS; using Xamarin.Android.NUnitLite; namespace Xamarin.Android.LocaleTests { [Activity (Label = "Xamarin.Android.Locale-Tests", MainLauncher = true)] public class MainActivity : TestSuiteActivity { protected override void OnCreate (Bundle bundle) { //...
25.416667
73
0.736066
[ "MIT" ]
06051979/xamarin-android
tests/locales/Xamarin.Android.Locale-Tests/MainActivity.cs
610
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut generi...
34.975719
177
0.481166
[ "MIT" ]
georghinkel/ttc2017smartGrids
generator/61850/Dataclasses/DPS.cs
38,895
C#
// Copyright Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; public class LODSunReceiver : MonoBehaviour { public Transform Sun; public Material planetLod; private Vector4 originalSunPosition; ...
22.3
91
0.663677
[ "MIT" ]
BrunoCooper17/DannyHoloLens
Assets/SolarSystem/Planets/LODs/LODSunReceiver.cs
671
C#
namespace QOAM.Website.Models { using System; using System.ComponentModel.DataAnnotations; using Core.Helpers; [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)] public class IssnsAttribute : ValidationAttribute { protected override ValidationRe...
28.966667
102
0.55351
[ "MIT" ]
QOAM/qoam
src/Website/Models/IssnsAttribute.cs
871
C#
using Cysharp.Threading.Tasks.Internal; using System; using System.Collections.Generic; using System.Linq; using System.Threading; namespace Cysharp.Threading.Tasks.Linq { public static partial class UniTaskAsyncEnumerable { public static IUniTaskAsyncEnumerable<TResult> GroupJoin<TOuter, TI...
45.99183
451
0.564749
[ "MIT" ]
coding2233/UnityGameFramework
Libraries/UniTask/Runtime/Linq/GroupJoin.cs
28,149
C#
using System; using System.IO; using System.Linq; using NUnit.Framework; using Xamarin.UITest; using Xamarin.UITest.Android; using Xamarin.UITest.Queries; namespace AnalyticsSample.UITests { [TestFixture] public class Tests { AndroidApp app; [SetUp] public void Bef...
18.725
39
0.473965
[ "MIT" ]
4brunu/GooglePlayServicesComponents
samples/com.google.android.gms/play-services-analytics/AnalyticsSample.UITests/Tests.cs
751
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
35.193548
152
0.563703
[ "Apache-2.0" ]
sdlylshl/Gateway
Gateway_CS/server/Properties/Settings.Designer.cs
1,093
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.Collections.ObjectModel; using System.Linq; using Microsoft....
48.25
341
0.642734
[ "Apache-2.0" ]
JieCarolHu/roslyn
src/ExpressionEvaluator/CSharp/Test/ExpressionCompiler/DynamicTests.cs
72,763
C#
// ----------------------------------------------------------------------- // <copyright file="UnitOfWorkManager.cs" company="柳柳软件"> // Copyright (c) 2016-2018 66SOFT. All rights reserved. // </copyright> // <site>http://www.66soft.net</site> // <last-editor>郭明锋</last-editor> // <last-date>2018-08-31 21:33</...
35.33758
135
0.592646
[ "Apache-2.0" ]
liaokui900/osharp-ns20
src/OSharp.EntityFrameworkCore/UnitOfWorkManager.cs
5,992
C#
//---------------------------------------------------------------------------- // Copyright (C) 2004-2016 by EMGU Corporation. All rights reserved. //---------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Runtime.InteropServices; using...
41.790123
182
0.635746
[ "MIT" ]
rlabrecque/RLSolitaireBot
Emgu.CV/Emgu.CV/Features2D/DescriptorMatcher.cs
3,387
C#
namespace MO.Design3d.Camera.Forms { partial class QDsCameraDesignForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> //...
30.697674
105
0.60303
[ "Apache-2.0" ]
favedit/MoCross
Tools/2 - Core/MoDesign3d/Camera/Forms/QDsCameraDesignForm.Designer.cs
1,322
C#
namespace SystemWrapper.Security.Certificate { using System.IO; using System.Security.Cryptography.X509Certificates; using SystemInterface.Security.Certificate; /// <summary> /// Factory Creating a X509Certificate to avoid bugg in X509Certificate that does not delete tmp files /// </summary> ...
31.26
142
0.557901
[ "MIT" ]
TechSmith/SystemWrapper.Core
SystemWrapper/SystemWrapper/Security/Certificate/X509CertificateFactory.cs
1,565
C#
// using System; // using System.Linq; // using MediatR; // using Microsoft.Extensions.DependencyInjection; // using Moq; // using WeeControl.Backend.Application.BoundContexts.Garbag.GetClaimsV1; // using WeeControl.Backend.Application.Exceptions; // using WeeControl.Backend.Application.Interfaces; // using WeeControl...
46.974026
173
0.583817
[ "MIT" ]
sayedmhussein/ControlSystem
src/Backend/Application.Test/Garbag/HumanResources/V1/Queries/GetEmployeeClaimsV1HandlerTesters.cs
10,853
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using JetBrains.Annotations; using osu.Framework.Allocation; using osu.Framework.Audio; using osu.Framework.Bindab...
37.194969
175
0.593338
[ "MIT" ]
20PercentRendered/osu
osu.Game/Screens/OnlinePlay/Multiplayer/Spectate/PlayerArea.cs
5,756
C#
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using OpenData.Domain.Models; namespace OpenData.Resources { public class NewDataSourceResource { [Required] public Guid MetadataUuid { get; set; } [Required] [MaxLen...
22.925926
54
0.638126
[ "Apache-2.0" ]
OpenDataNTNU/OpenData
backend/Resources/NewDataSourceResource.cs
621
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace addressbook_wt.tests { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() { double total = 1500; bool vipclient = false; if (total > 1000 && vip...
21.892857
77
0.49429
[ "Apache-2.0" ]
dmkad/cs_train
addressbook_wt/addressbook_wt/tests/UnitTest1.cs
650
C#
using harbor.Shell; namespace harbor.Commands { public class BaseCommand { protected Docker _docker { get; set; } public BaseCommand() { this._docker = new Docker(); } } }
16.928571
54
0.531646
[ "MIT" ]
andersmandersen/harbor
Commands/BaseCommand.cs
237
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace bucketizer_proto { interface IRules { string[] Cards { get; } int[] CardCounts { get; } double Equity(int[] range1, int[] range2); ...
14.217391
50
0.519878
[ "MIT" ]
ivan-alles/poker-acpc
proto/bucketizer/IRules.cs
329
C#
using System.Collections; using Handelabra.Sentinels.Engine.Controller; using Handelabra.Sentinels.Engine.Model; namespace Cauldron.TangoOne { public class GhostReactorCardController : TangoOneBaseCardController { //============================================================== // {TangoOne} i...
36.916667
151
0.589616
[ "MIT" ]
SotMSteamMods/CauldronMods
CauldronMods/Controller/Heroes/TangoOne/Cards/GhostReactorCardController.cs
2,217
C#
using System.IO; using System.IO.Compression; using MCLib.NBT.Tags; using IOFile = System.IO.File; namespace MCLib.NBT { public class File { #region Fields /// <summary> /// Path of the file /// </summary> public string Path { get; set; } /// <summary> ...
23.362832
87
0.472727
[ "Unlicense" ]
pollyzoid/mclib
NBT/File.cs
2,642
C#
using Baraka.Models; using Baraka.Models.Quran; using Baraka.Utils.MVVM.ViewModel; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Baraka.ViewModels.UserControls.Player.Pages.Design { public class S...
54.583333
114
0.488931
[ "BSD-3-Clause" ]
Jomtek/Baraka
Baraka/ViewModels/UserControls/Player/Pages/Design/SuraTabDesignViewModel.cs
2,623
C#
using System; using System.IO; using System.Runtime.InteropServices; namespace SkiaSharp { // TODO: `MakeCrossContextFromEncoded` // TODO: `MakeFromYUVTexturesCopy` and `MakeFromNV12TexturesCopy` // TODO: `FromPicture` with bit depth and color space // TODO: `IsValid` // TODO: `GetTextureHandle` // TODO: `ToTex...
36.362013
238
0.733961
[ "MIT" ]
CollegiumXR/SkiaSharp-Unity-Integration
Assets/SkiaSharpUnity/Scripts/SkiaSharp-Bindings/SKImage.cs
22,401
C#
/* Copyright (c) 2019 Denis Zykov, GameDevWare.com This a part of "Json & MessagePack Serialization" Unity Asset - https://www.assetstore.unity3d.com/#!/content/59918 THIS SOFTWARE IS DISTRIBUTED "AS-IS" WITHOUT ANY WARRANTIES, CONDITIONS AND REPRESENTATIONS WHETHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITAT...
33.633333
116
0.745788
[ "Apache-2.0" ]
FromSeabedOfReverie/SubmarineMirageFrameworkForUnity
Assets/Plugins/ExternalAssets/Systems/GameDevWare.Serialization/Serializers/GuidSerializer.cs
2,018
C#
/** Copyright (c) blueback Released under the MIT License @brief デバッグツール。自動生成。 */ /** BlueBack.Audio */ namespace BlueBack.Audio { /** DebugTool */ public static class DebugTool { /** assertproc */ #if(DEF_BLUEBACK_AUDIO_ASSERT) public static void DefaultAssertProc(System.Exceptio...
19.680412
86
0.665794
[ "MIT" ]
bluebackblue/Audio
BlueBackAudio/Assets/UPM/Runtime/BlueBack/Audio/DebugTool.cs
1,935
C#
#region License /* CryptSharp Copyright (c) 2013 James F. Bellinger <http://www.zer7.com/software/cryptsharp> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies...
35.121212
79
0.670837
[ "MIT" ]
JomaCorpFX/Insane
CryptSharp.SCrypt/Internal/Exceptions.cs
2,320
C#
using System.Threading; using System.Threading.Tasks; namespace Furion.DatabaseAccessor { /// <summary> /// 可写仓储接口 /// </summary> /// <typeparam name="TEntity">实体类型</typeparam> public partial interface IWritableRepository<TEntity> : IWritableRepository<TEntity, MasterDbContextLocator> ...
32.852632
114
0.602051
[ "Apache-2.0" ]
15000775075/Furion
framework/Furion/DatabaseAccessor/Repositories/Dependencies/IWritableRepository.cs
3,433
C#
using Amazon; using Amazon.SimpleNotificationService; using Amazon.SimpleNotificationService.Model; using Amazon.Runtime; namespace CloudOps.SimpleNotificationService { public class ListSubscriptionsOperation : Operation { public override string Name => "ListSubscriptions"; public override str...
40.32
372
0.62004
[ "MIT" ]
austindimmer/AWSRetriever
CloudOps/Generated/SimpleNotificationService/ListSubscriptionsOperation.cs
2,016
C#
using System; using System.Threading; using commands.tools; using commands.tools.builders; namespace commands.extensions { public static class BuildExtensions { public static IBuilder StartBuilder(this Action action) => new RootBuilder(action.ToCommand()); public static IBuilder StartBuilder(th...
83.264706
204
0.719181
[ "MIT" ]
atmoos/commands
commands/extensions/BuildExtensions.cs
2,831
C#
namespace SGM.SAC.Api.Constants { public static class Routes { public const string PropertyTaxRoute = "getPropertyTax"; } }
18.125
64
0.668966
[ "MIT" ]
wgamagomes/sgm-sac-backend
containers/api-sac/src/Constants/Routes.cs
147
C#
#region Using directives using System; using System.Data; using System.Data.Common; using System.Collections; using System.Collections.Generic; using Nettiers.AdventureWorks.Entities; using Nettiers.AdventureWorks.Data; #endregion namespace Nettiers.AdventureWorks.Data.Bases { ///<summary> /// T...
51.217066
250
0.723146
[ "MIT" ]
aqua88hn/netTiers
Samples/AdventureWorks/Generated/Nettiers.AdventureWorks.Data/Bases/TransactionHistoryProviderBase.generatedCore.cs
34,215
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.EntityFrameworkCore; namespace Allocations.Data { public class AllocationDataGateway : IAllocationDataGateway { private readonly AllocationContext _context; public AllocationDataGateway(AllocationContext context...
28.9375
104
0.663067
[ "BSD-2-Clause" ]
vmware-tanzu-learning/pal-tracker-distributed-dotnet
Components/Allocations/Data/AllocationDataGateway.cs
926
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("12...
38.027027
84
0.745558
[ "MIT" ]
owolp/Telerik-Academy
Module-1/CSharp-Part-2/Homework/01-Arrays/12.IndexOfLetters/Properties/AssemblyInfo.cs
1,410
C#
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace PortoTurismo.Droid { [Activity(Label = "PortoTurismo", Icon = "@drawable/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigCh...
28.571429
189
0.69
[ "MIT" ]
felipehfreire/PortoTurismo
PortoTurismo/PortoTurismo.Android/MainActivity.cs
802
C#
namespace SIL.Pa.UI.Dialogs { partial class OptionsDlgPageBase { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true...
25.184211
102
0.656217
[ "MIT" ]
sillsdev/phonology-assistant
src/Pa/UI/Dialogs/Options/OptionsDlgPageBase.Designer.cs
959
C#
using TinaX.XComponent.Internal.Adaptor; namespace TinaX.XILRuntime.Registers { public static class XComponentILRTRegisterExtend { public static IXILRuntime RegisterXComponent(this IXILRuntime xil) { xil.RegisterCrossBindingAdaptor(new XBehaviourAdaptor()); return xil; ...
24.142857
74
0.683432
[ "MIT" ]
yomunsam/TinaX.XComponent.ILRuntime
Runtime/Scripts/XComponentILRTRegisterExtend.cs
340
C#
namespace PlayGen.ITAlert.Simulation.Components.EntityTypes { public class NPC : IEntityType { } }
15.571429
61
0.724771
[ "Apache-2.0" ]
playgen/it-alert
Simulation/PlayGen.ITAlert.Simulation/Components/EntityTypes/Npc.cs
111
C#
using System; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Firestorm.Endpoints.Formatting.Json { /// <remarks> /// Taken from http://stackoverflow.com/a/12641541/369247 and abstracted to <see cref="JsonGenericReadOnlyConverterBase{T}"/>. /// </remarks> public abstract class JsonCreation...
38.3125
130
0.643556
[ "MIT" ]
connellw/Firestorm
src/Firestorm.Endpoints.Formatting/Json/JsonCreationConverter.cs
1,226
C#
using System; using System.Collections.Concurrent; using System.Text; using System.Threading; using System.Threading.Tasks; using EasyNetQ.Events; using EasyNetQ.FluentConfiguration; using EasyNetQ.Topology; using Newtonsoft.Json; namespace EasyNetQ.Producer { /// <summary> /// Default implementation of EasyN...
44.936747
196
0.613982
[ "MIT" ]
nazmul1985/EasyNetQ
Source/EasyNetQ/Producer/Rpc.cs
14,921
C#
using System; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DefensiveProgrammingFramework.Test.Files { [TestClass] public class IsExtensionsTest { #region Public Methods [TestMethod] public void DoesDirectoryExist() { if (!Direc...
31.423913
90
0.534936
[ "MIT" ]
aljazsim/defensive-programming-framework-for-.net
Test/DefensiveProgrammingFramework.Test/File/IsExtensionsTest.cs
5,784
C#
namespace Mapbox.Unity.Map { using UnityEngine; public interface ITileProviderOptions { } public interface ICameraBoundsExtentOptions : ITileProviderOptions { void SetOptions(); } public class ExtentOptions : ITileProviderOptions { public virtual void SetOptions(ExtentOptions extentOptions) { } } ...
15.333333
67
0.763975
[ "Apache-2.0" ]
483759/Next-Place
unity/NextPlace/Assets/Mapbox/Unity/DataContainers/ExtentOptions.cs
324
C#
#region License // Distributed under the BSD License // ================================= // // Copyright (c) 2010, Hadi Hariri // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // ...
31.486486
155
0.607296
[ "BSD-3-Clause" ]
holytshirt/EasyHttp
src/EasyHttp.Specs/Specs/HttpRequestSpecs.cs
9,322
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.ServiceFabric.Actors; using Microsoft.ServiceFabric.Actors.Runtime; using Microsoft.ServiceFabric.Actors.Client; using Actor2.Interfaces; namespace Actor2 { /// <remarks> //...
42.097222
144
0.657869
[ "MIT" ]
aL3891/ServiceFabricSdk-Contrib
TestSolution2/Actor/Actor.cs
3,033
C#
namespace Microsoft.ApplicationInsights.DataContracts { using System; /// <summary> /// Possible item types for sampling evaluation. /// </summary> [Flags] public enum SamplingTelemetryItemTypes { /// <summary> /// Unknown Telemetry Item Type /// </summary> ...
24.833333
125
0.524609
[ "MIT" ]
304NotModified/ApplicationInsights-dotnet
BASE/src/Microsoft.ApplicationInsights/DataContracts/ISupportAdvancedSampling.cs
2,684
C#
namespace Lykke.OneSky.Json { public interface IAccount { string Name { get; } string ApiKey { get; } string ApiSecret { get; } } }
15.545455
34
0.54386
[ "MIT" ]
LykkeCity/Lykke.OneSky
OneSky.CSharp/OneSky.CSharp/Json/Objects/IAccount.cs
173
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.CommandLine; using System.CommandLine.Invocation; using...
46.031461
186
0.570152
[ "MIT" ]
AndyAyersMS/coreclr
src/tools/crossgen2/crossgen2/Program.cs
20,484
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.709677
151
0.585502
[ "MIT" ]
21pages/WPF-Samples
Documents/Fixed Documents/DocumentSerialization/Properties/Settings.Designer.cs
1,078
C#
using DotNetBungieAPI.Attributes; using DotNetBungieAPI.Models.Destiny.Definitions.Common; namespace DotNetBungieAPI.Models.Destiny.Definitions.Bonds; [DestinyDefinition(DefinitionsEnum.DestinyBondDefinition)] public sealed record DestinyBondDefinition : IDestinyDefinition, IDeepEquatable<DestinyBondDefinition> { ...
34.891304
102
0.703427
[ "MIT" ]
EndGameGl/.NetBungieAPI
DotNetBungieAPI/Models/Destiny/Definitions/Bonds/DestinyBondDefinition.cs
1,607
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201 { using Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.PowerShell; /// <summary>The properties used to create a new server.</summary> [System.ComponentModel.TypeConverter(typeof(ServerPropertiesForCreateTypeConverter))] publi...
116.07947
502
0.775844
[ "MIT" ]
3quanfeng/azure-powershell
src/MySql/generated/api/Models/Api20171201/ServerPropertiesForCreate.PowerShell.cs
17,378
C#
// Copyright 2018 Google Inc. 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. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applic...
39.397727
99
0.629651
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.BigQuery.V2/Google.Cloud.BigQuery.V2.Snippets/JobCreationOptionsSnippets.cs
3,469
C#
using DCSoft.Common; using DCSoft.Drawing; using DCSoft.Printing; using DCSoftDotfuscate; using Microsoft.VisualBasic; using System; using System.ComponentModel; using System.Diagnostics; using System.Drawing; using System.Drawing.Design; using System.Runtime.InteropServices; using System.Xml.Serialization; namespace ...
26.328402
270
0.663895
[ "MIT" ]
h1213159982/HDF
Example/WinForm/Editor/DCWriter/DCSoft.Writer.Cleaned/DCSoft.Writer.Dom/XTextDocumentBodyElement.cs
9,185
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://w...
56.812081
280
0.639102
[ "MIT" ]
3quanfeng/azure-powershell
src/Dns/Dns/Zones/SetAzureDnsZone.cs
8,319
C#
//---------------------------------------------------------------------------------------------- // <copyright file="HttpMultipartFileContent.cs" company="Microsoft Corporation"> // Licensed under the MIT License. See LICENSE.TXT in the project root license information. // </copyright> //--------------------------...
37.427907
177
0.564185
[ "MIT" ]
ConnectionMaster/WindowsDevicePortalWrapper
WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.UniversalWindows/HttpRest/HttpMultipartFileContent.cs
8,049
C#
/* * Copyright 2019 Samsung Electronics Co., Ltd. All rights reserved. * * Licensed under the Flora License, Version 1.1 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://floralicense.org/license * * Unless required by appli...
35.013699
111
0.644366
[ "Apache-2.0" ]
AchoWang/Tizen-CSharp-Samples
Wearable/GestureSensor/src/GestureSensor/GestureSensor/GestureSensor.Tizen.Wearable/Controls/MaskedImageButton.cs
2,558
C#
using System.Collections.Generic; using System.Linq; using System.Xml.Linq; namespace ByteDev.DotNet.Project.Parsers { internal static class ProjectXmlParser { public static IEnumerable<XElement> GetPropertyGroups(XDocument xDocument) { return xDocument.Root?.Descendants().Where(d ...
30.105263
97
0.66958
[ "MIT" ]
DinkDev/ByteDev.DotNet
src/ByteDev.DotNet/Project/Parsers/ProjectXmlParser.cs
574
C#
using Abp.Reflection.Extensions; using System; using System.Collections.Generic; using System.IO; using System.Text; namespace WiLSoft.Infrastructure.Core { /// <summary> /// Central point for application version. /// </summary> public class AppVersionHelper { /// <summary> /// Get...
26.633333
103
0.604506
[ "Apache-2.0" ]
VentsislavDinev/VProfesional
src/Infrasctructure/WiLSoft.Infrastructure.Core/AppVersionHelper.cs
801
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AlibabaCloud.SDK.Dingtalkedu_1_0.Models { public class UpdateRemoteClassCourseResponse : TeaModel { [NameInMap("headers")] [Validation(Required=true)] ...
22.782609
69
0.687023
[ "Apache-2.0" ]
aliyun/dingtalk-sdk
dingtalk/csharp/core/edu_1_0/Models/UpdateRemoteClassCourseResponse.cs
524
C#
// Copyright 2020 New Relic, Inc. All rights reserved. // SPDX-License-Identifier: Apache-2.0 using System; using System.Collections.Generic; using System.Linq; using NewRelic.Agent.IntegrationTestHelpers; using NewRelic.Agent.IntegrationTestHelpers.Models; using NewRelic.Testing.Assertions; using Xunit; using Xunit...
45.983333
154
0.651685
[ "Apache-2.0" ]
gregorylyons/newrelic-dotnet-agent
tests/Agent/IntegrationTests/IntegrationTests/RequestHeadersCapture/Owin/AllowAllHeadersEnabledTestsBase.cs
5,520
C#
// <auto-generated /> using System; using DatabaseInterface; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace DatabaseInterface.Migrations { [DbContext(typ...
37.074212
95
0.45894
[ "MIT" ]
yokovaski/EnergyPortal
DatabaseInterface/Migrations/20200923192522_AddedShowDayNameToSettings.Designer.cs
19,985
C#
// UrlRewriter - A .NET URL Rewriter module // Version 2.0 // // Copyright 2011 Intelligencia // Copyright 2011 Seth Yates // using System; using System.Xml; using Intelligencia.UrlRewriter.Actions; using Intelligencia.UrlRewriter.Configuration; using Intelligencia.UrlRewriter.Utilities; namespace Intelligencia.UrlR...
26.964912
88
0.597267
[ "MIT" ]
OptimityAdvisors/Intelligencia.UrlRewriter
Parsers/NotImplementedActionParser.cs
1,537
C#
namespace PrintDesignFinalizer.Engine { public interface INodeOperation { void Apply(INode node); } }
13.5
38
0.759259
[ "MIT" ]
stu-smith/PrintDesignFinalizer
PrintDesignFinalizer/PrintDesignFinalizer.Engine/INodeOperation.cs
110
C#
using GENUtility; using VOCASY; using VOCASY.Common; using System.Collections.Generic; public class SupportTransport : VoiceDataTransport { public List<ulong> DataSentTo = new List<ulong>(); public int DataSent; public int DataReceived; public int MaxDataL = 1024; public VoicePacketInfo Info; p...
33.684211
136
0.690625
[ "MIT" ]
MatteoNasci/VOCASY
VOCASY/VOCASY.Tests/Assets/Scripts/SupportClasses/SupportTransport.cs
1,282
C#
using System.Collections.Generic; using System.Net; using System.Threading.Tasks; using Castle.MicroKernel.Registration; using Castle.Windsor; using Common.Logging; using Jal.HttpClient.Installer; using Shouldly; using System; using Serilog; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading; u...
37.871981
325
0.598763
[ "Apache-2.0" ]
raulnq/Jal.HttpClient
Jal.HttpClient.Tests/HttpHandlerBuilderTests.cs
15,681
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...
42.546392
178
0.645263
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/Lambda/Generated/Model/ResourceInUseException.cs
4,127
C#
// It's generated file. DO NOT MODIFY IT! using Diablerie.Engine.Datasheets; using Diablerie.Engine.IO.D2Formats; class MagicAffixModLoader : Datasheet.Loader<MagicAffix.Mod> { public void LoadRecord(ref MagicAffix.Mod record, DatasheetStream stream) { stream.Read(ref record.code); ...
25.333333
77
0.649123
[ "MIT" ]
Bia10/Diablerie
Assets/Scripts/Generated/DatasheetLoaders/MagicAffixModLoader.cs
456
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(menuName = "TextAdventure/InputActions/Inventory")] public class Inventory : InputAction { public override void RespondToInput(GameController controller, string[] separatedInputWords) { controller.int...
28
96
0.766484
[ "MIT" ]
youwho42/jbjt
Assets/Scripts/TextAdventure/Inventory.cs
366
C#
using System.ComponentModel; using System.Windows.Forms; using bv.winclient.BasePanel; using bv.winclient.Core; namespace EIDSS.Reports.BaseControls.Form { internal partial class ReportForm : BvForm, IReportForm { private readonly ComponentResourceManager m_Resources = new ComponentResourceMan...
26.348837
115
0.539276
[ "BSD-2-Clause" ]
EIDSS/EIDSS-Legacy
EIDSS v6.1/vb/EIDSS/EIDSS.Reports/BaseControls/Form/ReportForm.cs
1,133
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...
28.815789
117
0.613699
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/RDS/Generated/Model/OptionVersion.cs
2,190
C#
namespace StockSharp.Algo.Candles.Compression { using System; using System.Linq; using Ecng.Collections; using StockSharp.Algo.Storages; using StockSharp.Localization; using StockSharp.Logging; using StockSharp.Messages; /// <summary> /// Candle builder adapter. /// </summary> public class CandleBuilderMe...
25.557851
189
0.684344
[ "Apache-2.0" ]
camiloangel/StockSharp
Algo/Candles/Compression/CandleBuilderMessageAdapter.cs
18,555
C#
using System.IO; using System.Xml; using System.Xml.Linq; namespace Npoi.Core.OpenXmlFormats.Spreadsheet { public class WorkbookDocument { private CT_Workbook workbook = null; public WorkbookDocument() { workbook = new CT_Workbook(); } public static Workbo...
23.186047
100
0.554664
[ "Apache-2.0" ]
Arch/Npoi.Core
src/Npoi.Core.OpenXmlFormats/Spreadsheet/Document/WorkbookDocument.cs
999
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("Dl...
38.027027
84
0.745558
[ "MIT" ]
Code-Inside/Samples
2008/DllMembership/DllMembership.Lib/Properties/AssemblyInfo.cs
1,410
C#
using System; using System.Collections.Generic; namespace async.Model { public class ProductPhoto { public ProductPhoto() { ProductProductPhoto = new HashSet<ProductProductPhoto>(); } public int ProductPhotoID { get; set; } public byte[] ThumbNailPhoto { ge...
29.090909
89
0.639063
[ "MIT" ]
cwoodruff/EFCore3Demos
async/Model/ProductPhoto.cs
642
C#
namespace Magento.RestClient.Tests.Repositories { public class ProductImageTests { } }
12.857143
47
0.788889
[ "BSD-3-Clause" ]
mlof/Magento.RestClient
source/Magento.RestClient.Tests/Repositories/ProductImageTests.cs
90
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Kubernetes.Types.I...
28.552632
104
0.647926
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/crossplane/dotnet/Kubernetes/Crds/Operators/Crossplane/Packages/V1Alpha1/Inputs/PackageSpecControllerDeploymentSpecTemplateSpecVolumesQuobyteArgs.cs
1,085
C#