max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
PoESkillTree.Engine.GameModel/Modifiers/ModifierJsonDeserializer.cs
BlazesRus/PoESkillTree_BlazesRus.Engine
5
7059885
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json.Linq; namespace PoESkillTree.Engine.GameModel.Modifiers { public static class ModifierJsonDeserializer { public static async Task<ModifierDefinitions> DeserializeAsync(bool deserializeOnThreadPool)...
Agence/Agence.Domain/Entities/CaoAtividadeConsultor.cs
MoyaSoftInk/Sputnik
0
7059886
<gh_stars>0 using System; using System.Collections.Generic; namespace Agence.Domain.Entities { public partial class CaoAtividadeConsultor { public int CoAtividade { get; set; } public string DsAtividade { get; set; } public string Ativo { get; set; } } }
Goodreads/Http/IConnection.cs
brazenRazin/goodreads-dotnet
52
7059887
using Goodreads.Models; using RestSharp; using System.Collections.Generic; using System.Threading.Tasks; namespace Goodreads.Http { internal interface IConnection { /// <summary> /// The Goodreads API credentials. /// </summary> ApiCredentials Credentials { get; } /// ...
DeepRockGalactic-GuidsGenerator/Program.cs
localcc/DeepRockGalactic-GuidsGenerator
2
7059888
using System; using System.IO; using System.Text.Json; namespace DeepRockGalactic_GuidsGenerator { internal class Program { static void Main(string[] args) { /* if(args.Length != 1) { Console.WriteLine("Invalid argument amount!"); ...
Comments/Comments/Actions/GetCommentsActionHandlerFactory.cs
pavelsverdlov/Comments
5
7059890
<gh_stars>1-10 using Comments.Contracts; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Primitives; using Newtonsoft.Json; using System; using System.Linq; using System.Threading.Tasks; namespace Comments.Actions { class GetCommentsActionHandlerFactory { private readonly Func<IDataAccess>...
Arrow Fest Bark/Assets/Scripts/GateCreator.cs
Barky/Arrow-Fest-Bark-Clone
0
7059891
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class GateCreator : MonoBehaviour { public GameObject gatePrefab; private Vector3 position_ = Vector3.zero; public float distance; private void Awake() { //transform.position = GameObject.Fi...
Api1/Senai.Optus.WebApi/Senai.Optus.WebApi/Repositories/EstiloRepository.cs
GikaRodrigues/Api
0
7059893
using Senai.Optus.WebApi.Domains; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Senai.Optus.WebApi.Repositories { public class EstiloRepository { public List<Estilos> Listar() { using (OptusContext ctx = new OptusContext(...
src/EA.Weee.Web/Areas/Admin/Controllers/SchemeController.cs
uk-gov-mirror/defra.prsd-weee
2
7059895
<gh_stars>1-10 namespace EA.Weee.Web.Areas.Admin.Controllers { using Api.Client; using Base; using Core.Organisations; using Core.Scheme; using Core.Shared; using EA.Weee.Security; using EA.Weee.Web.Areas.Admin.Controllers.Attributes; using EA.Weee.Web.Areas.Admin.ViewModels.Home; u...
src/NexusMods.Monitor.Shared.Application/HttpLogging/LoggingHttpMessageHandler.cs
Aragas/NexusMods.Monitor
0
7059896
<reponame>Aragas/NexusMods.Monitor using CorrelationId.Abstractions; using Microsoft.Extensions.Http; using Microsoft.Extensions.Logging; using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace NexusMods.Monitor.Shared.Application.HttpLogging { /// <summary> /// ...
src/It.FattureInCloud.Sdk.Test/Model/EmailDataTests.cs
fattureincloud/fattureincloud-csharp-sdk
7
7059897
/* * Fatture in Cloud API v2 - API Reference * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * * T...
src/NETCore.Ldap/Extensions/CollectionExtensions.cs
simpleidserver/NETCore.Ldap
10
7059898
// Copyright (c) SimpleIdServer. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NETCore.Ldap.Extensions { public static class Collection...
src/engine/Vortice.Graphics/SamplerAddressMode.cs
cagr301/engine
0
7059899
<gh_stars>0 // Copyright (c) <NAME> and contributors. // Distributed under the MIT license. See the LICENSE file in the project root for more information. namespace Vortice.Graphics { public enum SamplerAddressMode { /// <summary> /// Texture coordinates are clamped between 0.0 and 1.0, inclusive...
test/MetalWeightCalculator.UnitTests/PipeTests/RectangularPipeTest.cs
salzschneider/Metal.Weight.Calculator
0
7059900
<reponame>salzschneider/Metal.Weight.Calculator // Copyright (c) 2021 Salzschneider and others // // 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 ...
subject.aspx.cs
mittal2697/Personality-Prediction-System
0
7059901
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class subject : System.Web.UI.Page { ClsConnection c1 = new ClsConnection(); protected void Page_Load(object sender, EventArgs e) { ...
src/StudentFollowingSystem/Data/Dommel/EntityMaps.cs
ljouwertbv/StudentFollowingSystem
4
7059902
using Dapper.FluentMap.Dommel.Mapping; using StudentFollowingSystem.Models; namespace StudentFollowingSystem.Data.Dommel { public class ClassesMap : DommelEntityMap<Class> { public ClassesMap() { // Map entity 'Class' to table 'Classes'. ToTable("Classes"); } ...
ThinkSharp.FormulaParser.Test.Core/FormularParser.CustomVisitor.Test.cs
JanDotNet/ThinkSharp.FormulaParser
0
7059903
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Antlr4.Runtime.Sharpen; using ThinkSharp.FormulaParsing.Ast.Nodes; using ThinkSharp.FormulaParsing.Ast.Visitors; namespace ThinkSharp.FormulaPar...
Sekai/Sekai/Sekai.Shared/Command/NavigateToFeedPageCommand.cs
drasticactions/sekai
0
7059904
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; using Windows.UI.Xaml.Controls; using Sekai.Common; using Sekai.Database.Models; using Sekai.Tools; using Sekai.Views; namespace Sekai.Command { public class NavigateToFeedPageCommand : AlwaysExecutableCommand { public asyn...
src/TextBuffer/OnDidChangeEventArgs.cs
x3haloed/text-buffer-net-standard
0
7059905
<filename>src/TextBuffer/OnDidChangeEventArgs.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Collections.ObjectModel; namespace TextBuffer { public class OnDidChangeEventArgs : EventArgs { public OnDidChangeEventArgs( bool wasValid, bool isValid, ...
OiuTools/OiuTools.Api/OiuTools.Api.Core/Tools/ResultModel.cs
jasonoiu/OiuTools
0
7059906
namespace OiuTools.Api.Core.Tools { /// <summary> /// 返回的结果 /// </summary> public class ResultModel { public ResultModel() { } public ResultModel(ResultStatus status, string message = "", object data = null) { this.Message = message; this.Status = sta...
src/CLI.Table/PlainTableStyle.cs
ITGlobal/CLI
11
7059907
using ITGlobal.CommandLine.Table.Impl; namespace ITGlobal.CommandLine.Table { /// <summary> /// A table style for "Plain" renderer /// </summary> public static class PlainTableStyle { /// <summary> /// Creates new style with specified parameters /// </summary> ...
Nysa.Data.TSqlClient/Text/TSqlStates.cs
slowsigma/Nysa
0
7059908
<reponame>slowsigma/Nysa<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using Nysa.Logics; namespace Nysa.Text.TSql { internal static class SqlTextStates { public const Int32 WS = 0; // White Space public const Int32 YC = 1; // Yield Current (next state ...
src/TF3.YarhlPlugin.YakuzaCommon/Converters/Sllz/CompressZlib.cs
Kaplas80/TF3.YakuzaPlugins
1
7059909
<reponame>Kaplas80/TF3.YakuzaPlugins // Copyright (c) 2021 Kaplas // // 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,...
EtherchainApi/ApiResponses/Accounts/GetAccountTransactionsResponse.cs
fabianosarracco/etherchain-client
0
7059911
using System.Collections.Generic; using EtherchainApi.ApiResponses.Transactions; using Newtonsoft.Json; namespace EtherchainApi.ApiResponses.Accounts { /// <summary> /// Response to GetAccountTransactions request (See https://etherchain.org/documentation/api/#api-Accounts-GetAccountIdTxOffset) /// </summa...
TensorFlowLiteNet/FlatBuffersSchema/CallOptions.cs
harujoh/NTensorFlow
9
7059912
<gh_stars>1-10 // <auto-generated> // automatically generated by the FlatBuffers compiler, do not modify // </auto-generated> namespace tflite { using global::System; using global::System.Collections.Generic; using global::FlatBuffers; public struct CallOptions : IFlatbufferObject { private Table __p; public By...
AntiFraud/Orders/Services/AntiFraudService.cs
Skulek/AntiFraudSystem
0
7059913
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AntiFraud.Orders.Factories; using AntiFraud.Orders.Models; using AntiFraud.Orders.Repository; namespace AntiFraud.Orders.Services { public class AntiFraudService : IAntiFraudService { private readonl...
src/DotvvmAcademy.CourseFormat/Archive.cs
ammogcoder/dotvvm-samples-academy
2
7059914
namespace DotvvmAcademy.CourseFormat { public class Archive { public Archive(string path, string name) { Path = path; Name = name; } public string Path { get; } public string Name { get; } } }
src/Docker.DotNet/Models/JSONMessage.Generated.cs
DiogenesPolanco/Docker.DotNet
674
7059915
<reponame>DiogenesPolanco/Docker.DotNet using System; using System.Runtime.Serialization; namespace Docker.DotNet.Models { [DataContract] public class JSONMessage // (jsonmessage.JSONMessage) { [DataMember(Name = "stream", EmitDefaultValue = false)] public string Stream { get; set; } ...
Assets/Scripts/UIEffects/TimeBasedSceneSwitch.cs
RealTonyShaw/DinosaurGame
0
7059916
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; /// <summary> /// Switch to another scene at certain time /// </summary> public class TimeBasedSceneSwitch : MonoBehaviour { /// <summary> /// To which scene /// </summary> public string s...
sdk/digitaltwins/Azure.DigitalTwins.Core/samples/DigitalTwinsClientSample/Options.cs
kangtao/azure-sdk-for-net
0
7059917
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using CommandLine; namespace Azure.DigitalTwins.Core.Samples { public class Options { public Options(string adtEndpoint, string clientId, string tenantId, st...
Blazor.API/VersionModule.cs
mirano-galijasevic/Blazor
1
7059918
using System; using Nancy; namespace Blazor.API { public class VersionModule : NancyModule { public VersionModule() { Get("/", _ => "Blazor.API v. 1.0"); } } }
Lecture_09_StringAndTextProcessing/Ex07 Multiply Big Number/Ex07_Multiply_Big_Number.cs
AndreyKodzhabashev/CSharpProgrFundAllExercisesSolutions
0
7059919
<reponame>AndreyKodzhabashev/CSharpProgrFundAllExercisesSolutions using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; namespace Ex07_Multiply_Big_Number { class Ex07_Multiply_Big_Number { static void Main() { // 60/100 points...
SingleAppExample/Views/Shared/_Layout.cshtml
ceanota/jsnetbridge
0
7059920
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>@ViewBag.Title - My ASP.NET MVC Application With Diphap.JsNetBridge.Mvc</title> <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" /> <meta name="viewport" content="width=device-width" /> @Styles.Render("~/Conte...
Back/src/EF-CoreDapperTuto.Persistence/DTOs/EmployeeDTO.cs
Victoralm/EF-Core_Dapper_Tutorial
0
7059921
using System.ComponentModel.DataAnnotations; namespace EF_CoreDapperTuto.Persistence.DTOs { /// <summary> /// Data Transfer Object for the POCO class Employee /// </summary> public class EmployeeDTO { [Required] public string Name { get; set; } [Required] public stri...
src/Frontend/Equinox.UI.SSO/Configuration/IdentityServerConfig.cs
jluiz027/JP-Project
0
7059922
<filename>src/Frontend/Equinox.UI.SSO/Configuration/IdentityServerConfig.cs<gh_stars>0 using System; using System.Reflection; using Equinox.Infra.CrossCutting.Identity.Entities.Identity; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.E...
Source/Tests/Trakt.NET.Objects.Post.Tests/Users/Responses/Json/Reader/UserCustomListsReorderPostResponseObjectJsonReader/UserCustomListsReorderPostResponseObjectJsonReader_Json_String_Tests.cs
henrikfroehling/Trakt.NET
39
7059923
<reponame>henrikfroehling/Trakt.NET namespace TraktNet.Objects.Post.Tests.Users.Responses.Json.Reader { using FluentAssertions; using System; using System.Collections.Generic; using System.Threading.Tasks; using Trakt.NET.Tests.Utility.Traits; using TraktNet.Objects.Post.Users.Responses; us...
examples/miauth-core/Application/Swagger/Handlers/GetTokenCommandHandler.cs
hfrances/qckdev.AspNetCore.Identity
0
7059924
using MediatR; using miauthcore.Application.Swagger.Commands; using Microsoft.Extensions.Configuration; using qckdev.AspNetCore.Identity; using qckdev.AspNetCore.Identity.AuthorizationFlow; using System; using System.Threading; using System.Threading.Tasks; namespace miauthcore.Application.Swagger.Handlers { clas...
Src/EFDbFactory.Sql/Samples/Sample.AspCoreApi/BooksDb/Author.cs
umairsyed613/EFDbFactory.Sql
0
7059925
using System; using System.Collections.Generic; namespace AspCoreApi { public partial class Author { public Author() { Book = new HashSet<Book>(); } public int Id { get; set; } public string Name { get; set; } public string Email { get...
Assets/Scripts/UI/Touchpad.cs
hornmich/ZombieToys
0
7059926
<filename>Assets/Scripts/UI/Touchpad.cs<gh_stars>0 //This script uses an image UI element as a full screen touchpad. The image that this is attached to is treated as being a hardware touchpad (like //one you might have on a laptop computer). Furthermore, this touchpad is self adapting for when players switch hands for...
Assets/Design Patterns/Mediator/Case Study 1 - Shape Collisions/Implementation Base/Scripts/Collision Resolvers/CollisionResolverManager.cs
enginoobz-academics/design-patterns-in-unity
1
7059927
<reponame>enginoobz-academics/design-patterns-in-unity using UnityEngine; namespace MediatorPattern.Case1.Base { /// <summary> /// Manage and switch between mediators. /// </summary> public class CollisionResolverManager : MonoBehaviourSingleton<CollisionResolverManager> { [field: SerializeReference] pub...
Gu.Reactive/Trackers/Mapper{TSource,TResult}.cs
JohanLarsson/Gu.Reactive
18
7059928
<gh_stars>10-100 namespace Gu.Reactive { using System; using System.ComponentModel; using System.Runtime.CompilerServices; /// <summary> /// A reactive mapper from <typeparamref name="TSource"/> to <typeparamref name="TResult"/>. /// </summary> /// <typeparam name="TSource">The source type...
UCD.AidEstimatior/Views/Shared/_AidEstimatorLayout.cshtml
loganfranken/Financial-Aid-Estimator-.NET
0
7059929
<reponame>loganfranken/Financial-Aid-Estimator-.NET<gh_stars>0 @{ Layout = "_BasicLayout"; } @section Header { @RenderSection("Header", required: false) } @RenderBody() @section Scripts { @RenderSection("Scripts", required: false) }
src/Be.Vlaanderen.Basisregisters.Api/Search/AddPagedQueryResultHeadersExtension.cs
YusufMavzer/api
5
7059930
<filename>src/Be.Vlaanderen.Basisregisters.Api/Search/AddPagedQueryResultHeadersExtension.cs namespace Be.Vlaanderen.Basisregisters.Api.Search { using Microsoft.AspNetCore.Http; using Pagination; using Sorting; public static class AddPagedQueryResultHeadersExtension { /// <summary>Adds the ...
RimmuTraining.WebApp/Data/Attendance.cs
gudnig/RimmuTraining
0
7059931
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace RimmuTraining.WebApp.Data { public class Attendance { public Guid Id { get; set; } public Guid PracticeId { get; set; } public Guid MemberId { get; set; } public Pract...
Patches/Workshops/WorkshopDailyExpensePatch.cs
adam-march/BannerlordCheats
0
7059932
using BannerlordCheats.Settings; using HarmonyLib; using TaleWorlds.CampaignSystem.SandBox.GameComponents; namespace BannerlordCheats.Patches.Workshops { [HarmonyPatch(typeof(DefaultWorkshopModel), nameof(DefaultWorkshopModel.GetDailyExpense))] public static class WorkshopDailyExpensePatch { [Harm...
GUI/Types/Renderer/RenderMaterial.cs
karl-police/ValveResourceFormat
0
7059933
using System; using System.Collections.Generic; using OpenTK; using OpenTK.Graphics.OpenGL; using ValveResourceFormat.ResourceTypes; namespace GUI.Types.Renderer { public class RenderMaterial { public Material Material { get; } public Dictionary<string, int> Textures { get; } = new Dictionary<s...
test/CosmosStandardUT/ConvUT/ScaleConvTests.cs
cosmos-loops/cosmos-standard
0
7059934
using CosmosStack.Conversions; using Shouldly; using Xunit; namespace CosmosStandardUT.ConvUT { [Trait("ConvUT", "Scale")] public class ScaleConvTests { [Fact(DisplayName = "X-2-X test")] public void SystemToSystemTest() { ScaleConv.X2X("101110", 2, 10).ShouldBe("46"); ...
src/AlphaVSS.Common/Enumerations/VssUsageType.cs
alphaleonis/AlphaVSS
162
7059935
namespace Alphaleonis.Win32.Vss { /// <summary>The <see cref="VssUsageType"/> enumeration specifies how the host system uses the data managed by a writer involved in a VSS operation.</summary> /// <remarks>Requester applications that are interested in backing up system state should look for writers with the ...
Modules/GenericEndpoint.DataAccess/Deduplication/MarkInboxMessageAsRefused.cs
warning-explosive/Core
3
7059936
namespace SpaceEngineers.Core.GenericEndpoint.DataAccess.Deduplication { using System; using System.Threading; using System.Threading.Tasks; using AutoRegistration.Api.Attributes; using AutoRegistration.Api.Enumerations; using Core.DataAccess.Api.Persisting; using Core.DataAccess.Api.Transa...
PowerArgs/CLI/Physics/Time/Time.cs
fredatgithub/PowerArgs
0
7059937
<filename>PowerArgs/CLI/Physics/Time/Time.cs using PowerArgs; using PowerArgs.Cli; using System; using System.Collections.Generic; using System.Threading; namespace PowerArgs.Cli.Physics { public class Time { private class StopTimeException : Exception { } [ThreadStatic] private sta...
Tests/Bloggy.Services.Data.Tests/SettingsServiceTests.cs
georgidelchev/Bloggy
1
7059938
<reponame>georgidelchev/Bloggy using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Bloggy.Data; using Bloggy.Data.Common.Repositories; using Bloggy.Data.Models; using Bloggy.Data.Repositories; using Microsoft.EntityFrameworkCore; using Moq; using Xunit; namespace Bloggy.Servic...
JwlMediaWin/PubSubMessages/ShowBalloonTipMessage.cs
TizianoNoto/JwlMediaWin
35
7059939
namespace JwlMediaWin.PubSubMessages { using Hardcodet.Wpf.TaskbarNotification; internal class ShowBalloonTipMessage { public string Title { get; set; } public string Message { get; set; } public BalloonIcon IconType { get; set; } } }
Assets/LowpolyOcean/Assets/Scripts/JiongXiaGu/Tools/ShaderFieldAccessor/Attributes/ShaderCustomFieldMethodAttribute.cs
Ginevraturco/Mirror
40
7059940
using System; namespace JiongXiaGu.ShaderTools { /// <summary> /// Format : static IShaderField MethodName(); /// </summary> [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] public class ShaderCustomFieldMethodAttribute : Attribute { } }
RegexFileSorter/Converters/IntToGridLengthConverter.cs
Virenbar/RegexFileSorter
0
7059941
<reponame>Virenbar/RegexFileSorter<filename>RegexFileSorter/Converters/IntToGridLengthConverter.cs using System; using System.Globalization; using System.Windows; using System.Windows.Data; namespace RegexFileSorter.Converters { internal class IntToGridLengthConverter : IValueConverter { public object...
AvalonStudio/AvalonStudio.Extensibility.Editor/CodeEditorViewModel.cs
FlaviusHouk/AvalonStudio
1
7059942
using Avalonia.Threading; using AvalonStudio.Debugging; using AvalonStudio.Documents; using AvalonStudio.Extensibility.Languages; using AvalonStudio.Extensibility.Studio; using AvalonStudio.Extensibility.Threading; using AvalonStudio.Languages; using AvalonStudio.Platforms; using AvalonStudio.Projects; using AvalonStud...
src/JetBrains.Space.Client/Generated/Dtos/CallSession.generated.cs
automation555/space-dotnet-sdk
17
7059943
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> // ---------------------------------------...
source/Landorphan.Ioc.ServiceLocation/ServiceLocation/Exceptions/LandorphanIocServiceArgumentExceptions/CannotPrecludeRegisteredTypeArgumentException.cs
landorphan/service-location
0
7059944
<reponame>landorphan/service-location<filename>source/Landorphan.Ioc.ServiceLocation/ServiceLocation/Exceptions/LandorphanIocServiceArgumentExceptions/CannotPrecludeRegisteredTypeArgumentException.cs namespace Landorphan.Ioc.ServiceLocation.Exceptions { using System; using System.Diagnostics.CodeAnalysis; ...
BatteryPower/Views/DebugView.xaml.cs
xujd/BatteryPower
0
7059945
<reponame>xujd/BatteryPower using BatteryPower.Helpers; using BatteryPower.Models; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO.Ports; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows; using System....
Purifier/KeyWordWindow.xaml.cs
214175590/WeChatContractPurifier
11
7059946
<reponame>214175590/WeChatContractPurifier using System; using System.Collections.Generic; using System.IO; 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; usi...
BTCPayServer.Plugins.Test/TestExtensionController.cs
bkiac/btcpayserver
3
7059947
using Microsoft.AspNetCore.Mvc; namespace BTCPayServer.Plugins.Test { [Route("extensions/test")] public class TestExtensionController : Controller { // GET public IActionResult Index() { return View(); } } }
OpenP2P/Program.cs
InstytutXR/OpenP2P
36
7059948
<gh_stars>10-100  using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.Sockets; using System.Reflection; using System.Text; using System.Threading; using System.Threading.Tasks; namespace OpenP2P { class Program { publ...
Assets/UniWeb-Free/Examples/ConditionalGet.cs
briveramelo/SeriousHealth
0
7059950
<reponame>briveramelo/SeriousHealth using UnityEngine; using System.Collections; public class ConditionalGet : MonoBehaviour { // Use this for initialization IEnumerator Start () { var uri = "http://www.differentmethods.com/packages/SpatialAudioSourceDemo.html"; var req = new HTTP.Request("GET"...
Spells/Elements/Light.cs
MercuriusXeno/Terraria.Arcana
0
7059951
<reponame>MercuriusXeno/Terraria.Arcana<gh_stars>0 using System; using Terraria.ModLoader.IO; using Arcana.Reference; namespace Arcana.Spells.Elements { public class Light : Element { public Light() : base(Constants.Elements.LIGHT) { } public static readonly Func<TagCompound, ...
src/Piet.Command.UnitTets/CommandControlUnitTests.cs
lethiess/piet
0
7059952
<filename>src/Piet.Command.UnitTets/CommandControlUnitTests.cs using System.Collections.Generic; using Piet.Color; using Xunit; namespace Piet.Command.UnitTests; public partial class CommandControlUnitTests { public static IEnumerable<object[]> GetColorCommandTestData() { yield return new object[] ...
src/Vk.Api.Schema/Parameters/Market/IMarketGetCommentsParameters.cs
extremecodetv/Vk.Api.Schema
4
7059953
using System.Collections.Generic; using Vk.Api.Schema.Enums.Filters; namespace Vk.Api.Schema.Parameters.Market { /// <summary> /// Интерфейс для представления параметров запроса для market.getComments <para/> /// Документация: <see href="https://vk.com/dev/market.getComments"/> /// </summary> publ...
AcManager.Tools/Filters/KeywordType.cs
Ultrawipf/actools
209
7059955
using System; namespace AcManager.Tools.Filters { [Flags] public enum KeywordType { Child = 1 << 0, String = 1 << 1, Flag = 1 << 2, Number = 1 << 3, Distance = 1 << 4, DateTime = 1 << 5, TimeSpan = 1 << 6, FileSize = 1 << 7, } }
sdk/dotnet/System/GetHosts.cs
meyskens/pulumi-proxmox
16
7059956
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
CodeDomExt/Utils/ConsistencyChecks.cs
tremaluca/CodeDomExt
0
7059958
using System.CodeDom; using System.Linq; using CodeDomExt.Generators; namespace CodeDomExt.Utils { /// <summary> /// Utility class for consistency checks /// </summary> public static class ConsistencyChecks { private static int CountTrue(params bool[] values) { return v...
PolygonMap.API/Polygon.Domain/Entities/Shape.cs
mqalalwa/PolygonMap
0
7059960
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace PolygonMap.Domain.Entities { public sealed class Shape { [Key] public int ShapeID {get; set;} [Required] public string Name { get; set; } //fi...
sdk/dotnet/Pulumi/Resources/DependencyProviderResource.cs
scott-the-programmer/pulumi
12,004
7059961
// Copyright 2016-2020, Pulumi Corporation using System; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi { /// <summary> /// <see cref="DependencyProviderResource"/> is a <see cref="Resource"/> that is used by the provider SDK as a /// stand-i...
Server/Controls/Admin/TestDataGenerator.ascx.designer.cs
asebak/rapbattleonline
1
7059962
<gh_stars>1-10 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-------------------------...
Assets/ScriptExample/ComponentsWithInterface/Lake.cs
f-antoine/Nixi
1
7059963
<filename>Assets/ScriptExample/ComponentsWithInterface/Lake.cs using UnityEngine; namespace ScriptExample.ComponentsWithInterface { public interface ILakeProperty { int Depth { get; } void DefineDepth(int depth); } public sealed class Lake : MonoBehaviour, ILakeProperty { ...
test/cs/Problems.Tests/BTreeTests.cs
inwlbty/leetcode
0
7059964
<gh_stars>0 using System.Collections.Generic; using System.Linq; using NUnit.Framework; using Problems.Tree; namespace Problems.Tests { public class BTreeTests { [Test] public void InorderTraversalTest1() { var result = BTree.InorderTraversal(new TreeNode(1) { ...
src/SaleStatistics.Web/Views/SaleStatistics/Index.cshtml
iivchenko/funda-assessment
0
7059965
@model SaleStatisticsViewModel @{ ViewData["Title"] = "Sales Statistics"; var statistic1 = Model.Statistics.First(); var statistic2 = Model.Statistics.Last(); } <div class="text-center"> <div class="container"> <div class="row"> <div class="col"> <p>@statistic1.Des...
test/Lurker.Test/Events/TradeEventTest.cs
Murdoc84/Poe-Lurker
347
7059966
//----------------------------------------------------------------------- // <copyright file="TradeEventTest.cs" company="Wohs"> // Missing Copyright information from a valid stylecop.json file. // </copyright> //----------------------------------------------------------------------- namespace Lurker.Test.Events ...
src/CsvHelper.Tests/AttributeMapping/TypeConverterTests.cs
kendallb/CsvHelper
0
7059967
<gh_stars>0 using CsvHelper.Configuration; using CsvHelper.Configuration.Attributes; using CsvHelper.TypeConversion; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; names...
Tyr/StrategyAnalysis/Cyclone.cs
SimonPrins/TyrSc2
19
7059968
using SC2Sharp.Agents; namespace SC2Sharp.StrategyAnalysis { public class Cyclone : Strategy { private static Cyclone Singleton = new Cyclone(); public static Strategy Get() { return Singleton; } public override bool Detect() { return B...
src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/AsrTestsBase.cs
mbentancour/azure-powershell
3,336
7059970
<reponame>mbentancour/azure-powershell<gh_stars>1000+ // ---------------------------------------------------------------------------------- // // 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. /...
Vulkan/Framework/ShaderResourceQualifiers.cs
trmcnealy/Vulkan
0
7059971
<gh_stars>0 namespace Vulkan.Framework; public class ShaderResourceQualifiers { public const uint None = 0; public const uint NonReadable = 1; public const uint NonWritable = 2; }
DesktopLauncher/Options.cs
atsusy/MM1-desktop-launcher
10
7059972
using Microsoft.Win32; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DesktopLauncher { class Options { public const string DefaultExtentions = "*.exe|*.lnk"; ...
HoneyLibrary/PackageSources/HttpPackageSource.cs
KinNeko-De/Honey
1
7059974
<gh_stars>1-10 using HoneyLibrary.PackageRepositories; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace HoneyLibrary.PackageSources { public class HttpPackageSource : IPackageSource { private reado...
src/ConflictSolver/UI/MouseButtonState.cs
dymanoid/ConflictSolver
2
7059975
// <copyright file="MouseButtonState.cs" company="dymanoid"> // Copyright (c) dymanoid. All rights reserved. // </copyright> namespace ConflictSolver.UI { /// <summary> /// Possible mouse button states. /// </summary> internal enum MouseButtonState { /// <summary> /// No particular ...
C# Web Project-Logistics System/LogisticsSystem/Models/Reports/ReportFormModel.cs
pepsitopepsito9681/My-courses-at-Software-University
0
7059976
using LogisticsSystem.Data.Models.Enums; using System.ComponentModel.DataAnnotations; using static LogisticsSystem.Data.DataConstants.Report; namespace LogisticsSystem.Models.Reports { public class ReportFormModel { [Required(ErrorMessage = "Please select a rating from the list.")] [EnumDataTy...
source/Server.OctopusID/Web/OctopusIDStaticContentFolders.cs
OctopusDeploy/OpenIDConnectAuthenticationProviders
7
7059977
using System.Collections.Generic; using System.Reflection; using Octopus.Server.Extensibility.Extensions.Infrastructure.Web.Content; namespace Octopus.Server.Extensibility.Authentication.OctopusID.Web { class OctopusIDStaticContentFolders : IContributesStaticContentFolders { public IEnumerable<StaticC...
RefactorSchool/Temporal_Coupling/BakedGoodBase.cs
StolarQQ/RefactorSchool
0
7059978
namespace RefactorSchool { public abstract class BakedGoodBase { public void MakeBakeTemplate() { PrepareCrust(); AddToppings(); Bake(); CutIntoSlices(); } protected abstract void PrepareCrust(); protected abstract void Ad...
src/ApiGateway.WebApi/Controllers/ApiControllerBase.cs
shahedk/ApiKeyService
1
7059979
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ApiGateway.Client; using ApiGateway.Common.Constants; using Microsoft.AspNetCore.Mvc; namespace ApiGateway.WebApi.Controllers { [ApiController] public class ApiControllerBase : Controller ...
CSYE 7270 Midterm Game/Assets/Scripts/BossWarTrigger.cs
WinterPu/CSYE-7270-Game-Repo
0
7059980
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class BossWarTrigger : MonoBehaviour { // Start is called before the first frame update public GameObject BossUI; public GameObject Boss; private bool isInited; void Start() { isInited =...
src/NewsReader/NewsReader.Applications/ViewModels/ShellViewModel.cs
pskpatil/waf
0
7059981
using Jbe.NewsReader.Applications.Services; using Jbe.NewsReader.Applications.Views; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Composition; using System.Linq; using System.Waf.Applications; using System.Waf.Foundati...
Asaph.Infrastructure/SongDirectorRepository/AzureAdb2cSongDirectorRepository.cs
mjhoffmeister/asaph
0
7059982
using Asaph.Core.Domain.SongDirectorAggregate; using Asaph.Core.UseCases; using Azure.Identity; using FluentResults; using Microsoft.Graph; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text.Json; using System.Text.RegularExpressions; using Syste...
src/Unleash/Internal/DefaultUnleashServices.cs
scottt732/unleash-client-core
0
7059983
<filename>src/Unleash/Internal/DefaultUnleashServices.cs<gh_stars>0 using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Unleash.Caching; using Unleash.Communication; using Unleash.Scheduling; using Unleash.Serialization; using Unleash.Strategies; namespace Unleash.Internal { ...
MyMailBox/Settings.xaml.cs
RobinMaronier/MyMailBox
2
7059984
<reponame>RobinMaronier/MyMailBox using System; using System.Collections.Generic; using System.Collections.Specialized; 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 Sys...
CP77.CR2W/Types/cp77/GameplayEquipRequest.cs
MasterScott/CP77Tools
1
7059985
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class GameplayEquipRequest : gamePlayerScriptableSystemRequest { [Ordinal(0)] [RED("addToInventory")] public CBool AddToInventory { get; set; } [Ordinal(1)]...
VkApi.Wrapper/Objects/Search/SearchHint.cs
worldbeater/VkLibrary.Core
11
7059986
<reponame>worldbeater/VkLibrary.Core using Newtonsoft.Json; using System; using System.Collections.Generic; namespace VkApi.Wrapper.Objects { public class SearchHint { [JsonProperty("app")] public AppsApp App { get; set; } ///<summary> /// Object description ///</summar...
Wrappers/DoxygenWrapper/DoxygenWrapper/Wrappers/Compounds/Compound.cs
lmj0591/mygui
590
7059987
using System; using System.Collections.Generic; using System.Xml; using System.IO; using System.Collections; namespace DoxygenWrapper.Wrappers.Compounds { public class Compound : IEnumerable<Compound> { public string RefID { get { return mRefID; } } public string Kind { get { return mKind; } } ...
MobileNotificationSample/Assets/Scripts/NotificationSample.cs
sunagimoApp/UnityMoblieNotificationSample
0
7059988
<reponame>sunagimoApp/UnityMoblieNotificationSample<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using UnityEngine.UI; public class NotificationSample : MonoBehaviour { /// <summary> /// TimeSpanで10秒後に通知を送るボタン。 /// </summary> [Heade...
Shos.ExcelColumnComparer/Program.cs
Fujiwo/Shos.ExcelColumnComparer
0
7059989
#nullable enable using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Excel = Microsoft.Office.Interop.Excel; namespace Shos.ExcelTextReplacer { static class Helper { public static bool IsBetween(this int @this, int minimum, int maximum) => @thi...
StaticAndExtensionsCSharpStandard/Currrency/CurrencyExtensions.cs
PTangeL/StaticAndExtensionsCSharp
1
7059990
using System; using System.Collections.Generic; using System.Globalization; using System.Text; namespace StaticAndExtensionsCSharpStandard.Currrency { public static class CurrencyExtensions { /// <summary> /// /// </summary> /// <example> /// double test = 154.20; ...
AmazingTwitchBot.Agent/Services/MainService.cs
SiliconOrchid/AmazingTwitchBot
3
7059991
<filename>AmazingTwitchBot.Agent/Services/MainService.cs using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using AmazingTwitchBot.Agent.Services; namespace AmazingTwitchBot.Agent.Services { public class MainService : IHostedService { private readonly TwitchChat...
SrcCore/Dev/Khooversoft.Toolbox/Khooversoft.Toolbox.Services/Parser/ProcessingRules/Bracket.cs
khoover768/Toolbox
1
7059992
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Khooversoft.Toolbox.Parser { public class Bracket<T> : IRule where T : System.Enum { public Bracket(Symbol<T> startSymbol, Symbol<T> endSymbol) { ...
DataServer/DataServer/Models/Comment.cs
RobbiNespu/restaurant-android
2
7059993
<filename>DataServer/DataServer/Models/Comment.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Runtime.Serialization; namespace Johnny.Portfolio.Restaurant.DataServer.Models { //[DataContractAttribute] public class Comment { public Comment() ...
src/Lamar/IoC/Frames/GetInstanceFrame.cs
luchytskyi/lamar
0
7059994
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; using Lamar.IoC.Instances; using LamarCodeGeneration; using LamarCodeGeneration.Expressions; using LamarCodeGeneration.Frames; using LamarCodeGeneration.Model; using LamarCodeGeneration.Util; namespace Lamar.IoC.Fr...