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
QuickBen.Engine/Interfaces/IWorkflowContextPersistor.cs
fakhruddin5352/quickben
1
7048010
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace QuickBen.Engine.Interfaces { public interface IWorkflowContextPersistor { WorkflowContext Load(string instanceId); WorkflowPersistenceState Save(WorkflowContext context...
src/Essensoft.Paylink.Alipay/Domain/AlipayFinancialnetPromotionApplyCreateModel.cs
essensoft/paymen
522
7048011
using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Domain { /// <summary> /// AlipayFinancialnetPromotionApplyCreateModel Data Structure. /// </summary> public class AlipayFinancialnetPromotionApplyCreateModel : AlipayObject { /// <summary> /// 额度申请需要传入: 1. 进件...
CodeGeneration/Tokens/Token.cs
JediMasterSam/CodeGeneration
0
7048012
using System; using System.Collections.Generic; using System.Text; namespace CodeGeneration { public abstract partial class Token { private bool _isLogical; protected abstract bool IsEmpty { get; } protected abstract int Size { get; } private bool IsLogical { ...
csharp/Fury of Alucard Game/Domain/Paths/WesternRail.cs
dpsenner/Fury-of-Alucard
0
7048013
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Fury_of_Alucard.Domain.Paths { public class WesternRail : ARail { public WesternRail(ALocation from, ALocation to) : base(from, to) { } } }
Client/Client/IClientContextForState.cs
p2pquake/epsp-peer-cs
11
7048014
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Client.App; using Client.Client.State; using Client.Peer; namespace Client.Client { interface IClientContextForState : IClientContext { new AbstractState State { set; } new...
tests/Pype.Validation.Abstractions.Tests/ValidationErrorTests.cs
darjanbogdan/pype
10
7048016
using FluentAssertions; using System; using System.Collections.Generic; using System.Linq; using Xunit; namespace Pype.Validation.Abstractions.Tests { public class ValidationErrorTests { [Fact] public void Constructor_throws_when_message_is_null() { Action createError = () =...
src/Essensoft.Paylink.Alipay/Response/AlipayCommerceMedicalCardAuthQueryResponse.cs
essensoft/paymen
522
7048017
<reponame>essensoft/paymen<filename>src/Essensoft.Paylink.Alipay/Response/AlipayCommerceMedicalCardAuthQueryResponse.cs using System.Text.Json.Serialization; using Essensoft.Paylink.Alipay.Domain; namespace Essensoft.Paylink.Alipay.Response { /// <summary> /// AlipayCommerceMedicalCardAuthQueryResponse. /...
src/Microsoft.DotNet.Interactive.CSharp/CSharpKernelExtensions.cs
gitter-badger/interactive
2
7048018
<filename>src/Microsoft.DotNet.Interactive.CSharp/CSharpKernelExtensions.cs // Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.CommandLine; using System.CommandLine.Invocation; using ...
AnthStat/NutriDataCalc.cs
keymind/Epi-Info-Community-Edition
14
7048019
using System; using System.Collections.Generic; using System.Text; using System.IO; namespace AnthStat { /// <summary> /// Class containing common methods for statistics generation. Includes z-scores, percentiles, /// percent of median, and flags for the CDC 2000, WHO 2006-7, and NCHS 1978 refer...
WorkflowRuleNotification.cs
manywho/ManyWho_Service_Salesforce
2
7048020
<filename>WorkflowRuleNotification.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Collections; using System.Net.Http; using System.Text; using System.Net; using System.IO; using System.Net.Http.Headers; using System.Xml; using Newtonsoft.Json...
src/Tests/DOM/AttributesTesting.cs
okhosting/lara
124
7048021
/* Copyright (c) 2019-2021 Integrative Software LLC Created: 5/2019 Author: <NAME> */ using Integrative.Lara.Tests.Main; using Integrative.Lara.Tests.Middleware; using Microsoft.AspNetCore.Http; using Moq; using System; using System.Text; using Xunit; namespace Integrative.Lara.Tests.DOM { public class Attribute...
cqrs/CqrsWithEs.Tests/TestData/OffersTestData.cs
sharmasourabh/ddd
0
7048022
<filename>cqrs/CqrsWithEs.Tests/TestData/OffersTestData.cs using System; using System.Collections.Generic; using CqrsWithEs.Domain; using CqrsWithEs.Domain.Offer; using CqrsWithEs.Domain.Product; using NodaMoney; using NodaTime; namespace CqrsWithEs.Tests { public class OffersTestData { public static O...
tests/Magick.NET.Tests/Shared/Formats/Pdf/PsdAdditionalInfoTests/TheLayerNameProperty.cs
1kevgriff/Magick.NET
0
7048023
// Copyright 2013-2020 <NAME> <https://github.com/dlemstra/Magick.NET/> // // Licensed under the ImageMagick License (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the License at // // https://www.imagemagick.org/script/license.php // // Unless required ...
src/Microsoft.DotNet.Wpf/src/PresentationUI/MS/Internal/documents/RMEnrollmentPage2.cs
jonfortescue/wpf
5,937
7048024
// 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: // RMEnrollmentPage2 is page 2 of the RM enrollment wizard. using System; using System.Collecti...
PIXIE/Runners/Finder.cs
PNNL-Comp-Mass-Spec/IMS-Metabolites-Finder
1
7048025
<reponame>PNNL-Comp-Mass-Spec/IMS-Metabolites-Finder using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PIXIE.Runners { using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Bi...
src/Models/CommentAuthor.cs
sagebind/blog
4
7048026
using System; namespace Blog { public class CommentAuthor { /// <summary> /// The name the comment author supplied. /// </summary> public string Name { get; set; } /// <summary> /// The email address the comment author supplied. /// </summary> pu...
src/Orangebeard.Client/Execution/Logging/ILogScope.cs
orangebeard-io/dotnet-client
0
7048027
<filename>src/Orangebeard.Client/Execution/Logging/ILogScope.cs using System; namespace Orangebeard.Shared.Execution.Logging { /// <summary> /// Sends log messages to active logging scope. /// </summary> public interface ILogScope : IDisposable { /// <summary> /// Unique ID of curr...
AlipaySDKNet/Domain/BizFundReportResult.cs
alipay/alipay-sdk-net
117
7048028
<gh_stars>100-1000 using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// BizFundReportResult Data Structure. /// </summary> [Serializable] public class BizFundReportResult : AopObject { /// <summary> /// 实付金额(元) /// </sum...
src/Splunk.Client/Splunk/Client/Observer.cs
codereflection/splunk-sdk-csharp-pcl
0
7048029
<filename>src/Splunk.Client/Splunk/Client/Observer.cs /* * Copyright 2014 Splunk, 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...
TPFaderCreator/Assets/TP_Creator/TP_FaderCreator/Editor/TPFaderToolsWindow.cs
Prastiwar/TPFaderCreator
1
7048030
using System.Collections.Generic; using UnityEngine; using UnityEditor; using TP.Fader; using UnityEditor.SceneManagement; namespace TP.FaderEditor { [InitializeOnLoad] internal class TPFaderToolsWindow : EditorWindow { public static TPFaderToolsWindow window; public enum ToolEnum ...
NewLife.Core/Net/UdpServer.cs
NewLifeX/X_NET20
5
7048031
<gh_stars>1-10 using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using NewLife.Model; using NewLife.Threading; namespace NewLife.Net { /// <summary>增强的UDP</summary> /// <remarks> /// 如果已经打开异...
src/MicroServices/Units/src/NurseCron.Units.OData/Controllers/V1/BuildingsController.cs
ikemtz/Nurser
1
7048032
using System; using System.Collections.Generic; using IkeMtz.NRSRx.Core.Models; using Microsoft.AspNet.OData; using Microsoft.AspNet.OData.Routing; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using NurseCron.Units.OData.Data; using static Microsoft.Asp...
ScreenDarkify/Gamma.cs
MisterX2000/ScreenDarkify
0
7048033
using System; using System.Runtime.InteropServices; class Gamma { [DllImport("user32.dll")] public static extern IntPtr GetDC(IntPtr hWnd); [DllImport("gdi32.dll")] public static extern bool SetDeviceGammaRamp(IntPtr hDC, ref RAMP lpRamp); [StructLayout(LayoutKind.Sequential, CharSet = CharSet....
SaveYourTown/Assets/Scripts/GameLib/Entity/Behaviour/State/Move.cs
Thorig/LDJam44
0
7048034
<reponame>Thorig/LDJam44 //#undef USE_3D_RAYS //#define USE_3D_RAYS using GameLib.Entity.Animation; using GameLib.Level; using GameLib.System.Audio; using GameLib.System.Controller; using GameLib.System.Gravity2D; using System; using UnityEngine; namespace GameLib.Entity.Behaviour.State { public class Move : Abst...
sdk/src/Services/SageMaker/Generated/Model/MonitoringJobDefinition.cs
a-leontiev/aws-sdk-net
1
7048035
<reponame>a-leontiev/aws-sdk-net /* * 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....
FloatTool/Models/Settings/Worker/ProxySettings.cs
ntaklive/csgo_market_bot
0
7048036
<reponame>ntaklive/csgo_market_bot<filename>FloatTool/Models/Settings/Worker/ProxySettings.cs namespace FloatTool.Models.Settings.Worker { public struct ProxySettings { public bool IsEnabled { get; set; } public ProxyList ProxyList { get; set; } } }
Roki.Core/Services/ConfigurationService.cs
louzhang/roki-cs
0
7048037
using System; using System.Linq; using System.Text.Json; using System.Threading.Tasks; using Discord; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Roki.Services.Database; using Roki.Services.Database.Models; using StackExchange.Redis; namespace Roki.Services { public i...
Source/Libraries/FaultData/DataOperations/EventOperation.cs
GridProtectionAlliance/openXDA
13
7048038
//****************************************************************************************************** // EventOperation.cs - Gbtc // // Copyright © 2014, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // ...
Archive/OpenItems/Controls/MultiGrid.ascx.cs
gaybro8777/FM-ULO
1
7048039
using System; using System.Data; using System.Collections; using GSA.OpenItems; using System.Configuration; using OpenItems.Properties; using DataAccess = GSA.OpenItems.DataAccess; namespace Controls { public partial class MultiGrid : Grid { private string FooterClass = ""; // fill mg with 1 parame...
regularExpressions/netherRealms/netherRealms.cs
m-Mitkov/Cshar-Fundamentals-Jauary-2019-Softuni
4
7048040
<reponame>m-Mitkov/Cshar-Fundamentals-Jauary-2019-Softuni using System; using System.Linq; using System.Text.RegularExpressions; using System.Collections.Generic; namespace netherRealms { class Program { static void Main(string[] args) { Regex patternForName = new Regex(@"[^\d*\/+-...
Assets/BirdController.cs
LootLocker/flappy-loot
0
7048041
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class BirdController : MonoBehaviour { private Rigidbody2D rb; private float jumpAmount = 4; private float rotationMultiplier = 10f; private float rotationLerpSpeed = 20f; public Transform wing; pu...
Assets/Scripts/GameManager.cs
rhysstever/Stonks
1
7048042
using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; using System.Linq; public class GameManager : MonoBehaviour { public float money; public int[] multipliers; public Market market; public NewsTicker nt; float timer; bool isMaxMultiplier; int prestig...
WindowUI.HHZX/UserCard/Refund/frmReFundOfflineFirst.Designer.cs
sndnvaps/OneCard_
0
7048043
namespace WindowUI.HHZX.UserCard.Refund { partial class frmReFundOfflineFirst { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
InstUI/Welcome.cs
githubcatw/InstUI
1
7048044
<gh_stars>1-10 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace InstUI { public partial class Welcome : Form { public Config cfg = ...
EventSystems/Editor/MVVMEventDrawer.cs
aliagamon/MVVM.Binding
0
7048045
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using MVVM.Binding.Binding; using MVVM.Binding.Reactive; using MVVM.Extension.Services; using MVVM.Extension.Views.Common; using MVVM.Binding.Utils; using UniRx; using UnityEditor; usin...
Quokka.TCL/Tools/TCLCommandNamedFlagParameter.cs
EvgenyMuryshkin/Quokka.TCL
0
7048046
namespace Quokka.TCL.Tools { public class TCLCommandNamedFlagParameter : TCLCommandParameter { protected string _name; protected bool _value; public TCLCommandNamedFlagParameter(string name, bool value) { _name = name; _value = value; } p...
src/DND.Common/Extensions/ObjectExtensions.cs
davidikin45/DigitalNomadDaveAspNetCore
0
7048047
<filename>src/DND.Common/Extensions/ObjectExtensions.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Dynamic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace DND.Common.Extensions { p...
BlazorServerEFCoreSample/T0002/Models/BaseResources.cs
twoutlook/BlazorServerDbContextExample
0
7048048
<reponame>twoutlook/BlazorServerDbContextExample<gh_stars>0 // <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated> using System; using System.Collections.Generic; #nullable disable namespace T0002.Models { public partial class BaseResources { public ...
MiniTwitApi/Server/ProfanityFilter.cs
jokk-itu/PythonKindergarten
2
7048049
using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; namespace MiniTwitApi.Server { public class ProfanityFilter { private IList<string> warningWords; public ProfanityFilter() { //Profanity list retrieved from here: ...
Alba/Controllers/AlbaServer/TerritoryResultParser.cs
territorytools/territory-tools
1
7048050
<filename>Alba/Controllers/AlbaServer/TerritoryResultParser.cs using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using TerritoryTools.Alba.Controllers.Models; namespace TerritoryTools.Alba.Controllers.AlbaServer { public class TerritoryResultParser { public static List<Territ...
src/Commons/Lanymy.Common.Abstractions/Models/AttachmentInfoModels/BaseAttachmentDataInfoModel.cs
lanymy/Lanymy.NET
13
7048052
<filename>src/Commons/Lanymy.Common.Abstractions/Models/AttachmentInfoModels/BaseAttachmentDataInfoModel.cs namespace Lanymy.Common.Abstractions.Models.AttachmentInfoModels { public abstract class BaseAttachmentDataInfoModel<TData> : BaseAttachmentInfoModel { /// <summary> /// 附件内容数据 /...
src/MedsProcessor.Scraper/HzzoHtmlScraper.cs
vmandic/meds-processor
15
7048053
<gh_stars>10-100 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using AngleSharp; using AngleSharp.Dom; using MedsProcessor.Common.Models; using static MedsProcessor.Common.Constants; namespace MedsProcessor.Scraper { public class HzzoHtmlScraper { ...
source/ManicMiner/Level02.cs
ncabanes/manicMiner-taoSdl
1
7048054
<reponame>ncabanes/manicMiner-taoSdl<gh_stars>1-10 /* Level02: Map of tiles for the second Level Part of Manic Miner Remake @see Game Level Map Nacho, 2011 & 2017 Versions: Num. Date Changes ---- ----------- -------------------------------- 0.20 20-Ago-2017 Almost identical to 0.15, but translated ...
tests/UnitTests/Arrays.cs
jerometerry/potassium
2
7048055
<gh_stars>1-10 namespace Potassium.Tests { using System.Collections.Generic; using NUnit.Framework; internal static class Arrays<TA> { public static List<TA> AsList(params TA[] items) { return new List<TA>(items); } public static bool AreArraysEqual(List<TA...
DaydreamRenderer/Assets/DaydreamRenderer/Editor/DaydreamLightInspector.cs
nicedone/daydream-renderer-for-unity
191
7048056
<reponame>nicedone/daydream-renderer-for-unity /////////////////////////////////////////////////////////////////////////////// //Copyright 2017 Google 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...
BassClefStudio.NeuralNet.Core/Learning/INodeLearningAlgorithm.cs
bassclefstudio/NeuralNet
0
7048057
using BassClefStudio.NeuralNet.Core.Networks; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BassClefStudio.NeuralNet.Core.Learning { /// <summary> /// Represents a learning model that changes the structure of a <see cref="NeuralNetwork"/> continuously based on...
src/PerformanceTests/Common/Saga/SagaInitiator.cs
Particular/EndToEnd
3
7048058
namespace Common.Saga { using System; using NServiceBus; using Utils; public static class SagaInitiator { #if Version6 public static void SeedSagaMessages(this IEndpointInstance bus, BusCreationOptions options) #else public static void SeedSagaMessages(this IBus bus, Bus...
VisualStudioProject/MyLib_Csharp_Beta/CommonMethod/MyObject/MyObject.Test.cs
CWKSC/MyLib_Csharp
4
7048059
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; namespace MyLib_Csharp_Beta.CommonMethod { public static partial class MyObject { public static void Test() { object intBox = 42; intBox.GetType().Println(); // t...
FriendlyRegex/Anchor.cs
mariusschulz/FriendlyRegex
1
7048060
<reponame>mariusschulz/FriendlyRegex namespace FriendlyRegularExpressions { internal class Anchor : RegularExpression { public static readonly Anchor StartOfStringOrLine; public static readonly Anchor StartOfString; public static readonly Anchor EndOfStringOrLine; public static...
Assets/Infinite Runner/Scripts/InfiniteGenerator/SectionSelection.cs
sundayliu/Unity-Runner
0
7048061
using UnityEngine; using System.Collections; using System.Collections.Generic; /** * ProbabilityRandom - If the value is less than the probability, a new section will randomly be chosen between startSection and endSection * ProbabilityLoop - If the value is less than the probability, a new section will be chos...
8.Exam Prerapartion/048.ControlTheNumbers/Probem6.cs
AJMitev/Programming-Basics-CSharp
0
7048062
<reponame>AJMitev/Programming-Basics-CSharp using System; class Probem6 { static void Main() { //Input int n = int.Parse(Console.ReadLine()); int m = int.Parse(Console.ReadLine()); int controlingNumber = int.Parse(Console.ReadLine()); ...
Semester2/HW_2_Task_2/HW_2_Task_2/Test.cs
Semen-Tagiltsev/HomeWork_Semester_2
3
7048063
<filename>Semester2/HW_2_Task_2/HW_2_Task_2/Test.cs<gh_stars>1-10 using System; using System.Collections.Generic; namespace HW_2_Task_2 { class Test { public static bool Tests() { var calculators = new List<Calculator>(); calculators.Add(new Calculator(new ListStack()))...
HallRental.Web/Views/Profile/EventDetails.cshtml
nstalev/HallRental
0
7048064
<filename>HallRental.Web/Views/Profile/EventDetails.cshtml @model EventDetailsServiceModel @{ ViewData["Title"] = "EventDetails"; } @{ var routeValue = new Dictionary<string, string> { ["id"] = Model.Id.ToString() }; } <div class="panel event-panel-card eventDetails"> @if (Model.IsReservationConfirmed)...
src/WebClient/EveEchoesPlanetaryProductionApi.Web.Services/IHttpService.cs
pirocorp/Eve-Echoes-Industries
6
7048065
<filename>src/WebClient/EveEchoesPlanetaryProductionApi.Web.Services/IHttpService.cs namespace EveEchoesPlanetaryProductionApi.Web.Services { using System.Threading.Tasks; public interface IHttpService { Task<T> Get<T>(string uri); Task Post(string uri, object value); Task<T> Pos...
StockTradingAnalysisWebsite/StockTradingAnalysis.Domain.Events/Aggregates/StockAggregate.cs
EajksEajks/StockTradingAnalysisWebsite
25
7048067
<filename>StockTradingAnalysisWebsite/StockTradingAnalysis.Domain.Events/Aggregates/StockAggregate.cs using System; using System.Collections.Generic; using System.Linq; using StockTradingAnalysis.Core.Extensions; using StockTradingAnalysis.Domain.Events.Events; using StockTradingAnalysis.Domain.Events.Snapshots; using...
CSharpFunctionalExtensions.API/Result/Extensions/Check.cs
zbarrier/CSharpFunctionalExtensions.API
0
7048068
using System; namespace CSharpFunctionalExtensions.API { public static partial class ResultExtensions { /// <summary> /// If the calling result is a success, the given function is executed and its Result is checked. If this Result is a failure, it is returned. Otherwise, the calling result is r...
BusinessAccounting/BusinessAccounting/Integrations/GoogleDriveBackupStorage.cs
kungfux/business-accounting
7
7048069
using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Threading; using Google.Apis.Auth.OAuth2; using Google.Apis.Drive.v3; using Google.Apis.Services; using Google.Apis.Upload; using Google.Apis.Util.Store; namespace BusinessAccounting.Integrations { internal clas...
Tests/Syrx.Connectors.Databases.Npgsql.Unit.Tests/NpgsqlDatabaseConnectorTests/CreateConnection.cs
SyrxCommander/Syrx.Npgsql
0
7048070
// ============================================================================================================================= // author : <NAME> (@sextondjc | <EMAIL>) // date : 2017.09.29 (21:39) // modified : 2017.10.01 (20:41) // licence : This file is subject to the terms and condit...
MonsterSlayer/Assets/Scripts/Util.cs
WoongjuChoi/MonsterSlayer
0
7048071
using UnityEditor; using UnityEngine; class AnimParameter { public const string ATTACK = "Attack"; public const string HORIZONTAL = "Horizontal"; public const string DIE = "Die"; public const string WIN = "Win"; public const string SKILL = "Skill"; public const string STUN = "Stun"; } class T...
samples/mtmanapi.rest/Controllers/Symbols.cs
SolomatovS/Rox.MT
5
7048072
<filename>samples/mtmanapi.rest/Controllers/Symbols.cs using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace rox.mt4.rest { using rox.mt4.api; public partial class MT4Controller { [HttpPost] public async Task SymbolsRefresh() { ...
CSharpExample/CSharpBasic/HuUtils/Graphicses/Demo10.cs
huruiyi/CSharpExample
3
7048074
using System.Drawing; using System.Windows.Forms; namespace HuUtils.Graphicses { public partial class Demo10 : Form { public Demo10() { InitializeComponent(); } private void Form1_Paint(object sender, PaintEventArgs e) { System.Drawing.Graphics ...
PasPasPas.Parsing/src/Tokenizer/TokenGroups/SoftEofTokenValue.cs
prjm/paspaspas
0
7048075
<gh_stars>0 #nullable disable using PasPasPas.Globals.Parsing; namespace PasPasPas.Parsing.Tokenizer.TokenGroups { /// <summary> /// token group which moves the input to eof /// </summary> public class SoftEofTokenValue : PatternContinuation { /// <summary> /// cre...
VkNet/Model/GroupUpdate/VideoComment.cs
SugarPike/vk
1
7048076
<reponame>SugarPike/vk<filename>VkNet/Model/GroupUpdate/VideoComment.cs using System; using VkNet.Model.Attachments; using VkNet.Utils; namespace VkNet.Model.GroupUpdate { /// <summary> /// Добавление/редактирование/восстановление комментария к видео(VideoCommentNew, VideoCommentEdit, VideoCommentRestore)(Comment с ...
Assets/Scripts/TD/Systems/Player/PlayerShootingSystem.cs
Rud156/TDDots
0
7048077
using TD.Data.Player; using Unity.Entities; using Unity.Jobs; using Unity.Mathematics; using Unity.Physics; using Unity.Transforms; namespace TD.Systems.Player { public class PlayerShootingSystem : JobComponentSystem { protected override JobHandle OnUpdate(JobHandle inputDeps) { fl...
PackageManager/ViewModels/OptionsViewModel.cs
HenrikJuvonen/coapp.mg
1
7048078
using Caliburn.Micro; namespace CoApp.Mg.PackageManager.ViewModels { using Toolkit.Models; public class OptionsViewModel : Screen { public OptionsViewModel(Options options, IEventAggregator events) { DisplayName = "Options"; Options = options; this.ev...
state-api-user-management/Management/ListSubscribers.cs
avalanchis/state-api-user-management
0
7048079
using Microsoft.AspNetCore.Http; using Microsoft.Azure.WebJobs; using Microsoft.Extensions.Logging; using System; using System.Runtime.Serialization; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.Extensions.SignalRService; using Fathym; using Microsoft.Azure.Storage.Blob; using System.IO; using LCU.StateA...
src/Core/ScriptLang/Ast/Statements/GotoStatement.cs
alexguirre/gtav-sc-tools
11
7048080
<gh_stars>10-100 namespace ScTools.ScriptLang.Ast.Statements { using ScTools.ScriptLang.Ast.Declarations; public sealed class GotoStatement : BaseStatement { public string LabelName { get; set; } public ILabelDeclaration? Label { get; set; } public GotoStatement(SourceRange source...
18_Exams/04. Programming Fundamentals Final Exam/02_Fancy_Barcodes/Program.cs
NeSh74/Fundamentals-CSharp-January-2021
0
7048082
<gh_stars>0 using System; using System.Text.RegularExpressions; namespace _02_Fancy_Barcodes { class Program { static void Main(string[] args) { string pattern = @"@\#+[A-Z][A-Za-z0-9]{4,}[A-Z]@\#+"; int n = int.Parse(Console.ReadLine()); for (int i = 0; i ...
src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/ManageAzureHDInsightRdpAccessCommand.cs
muwaqar/azure-powershell
10
7048083
<reponame>muwaqar/azure-powershell // ---------------------------------------------------------------------------------- // // 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 ...
test/YaNco.Core.Tests/RfcMock/ConnectionMockExtensions.cs
dbosoft/SAP.NWRfc
75
7048084
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Dbosoft.YaNco; using LanguageExt; using Moq; namespace YaNco.Core.Tests.RfcMock { public static class ConnectionMockExtensions { public static async Task<IConnection> CreateConnection(this Mock<I...
Activities/Notification/NotificationFragment.cs
CroccityJamz/Croccityjamz-android
0
7048085
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Threading.Tasks; using Android.Graphics; using Android.OS; using Android.Support.V4.App; using Android.Support.V4.Widget; using Android.Support.V7.Widget; using Android.Views; using Android....
samples/ServiceBridge.Samples.WebApi/CacheController.cs
edwardmeng/Wheatech.ServiceModel
1
7048086
using System.Web.Http; using ServiceBridge.Sample.Components; namespace ServiceBridge.Samples.WebApi { public class CacheController : ApiController { [Injection] public ICacheRepository Repository { get; set; } public string Get() { return (string)Repos...
Assets/Runtime/UnityPool.cs
FrameProjectTeam/Fp.Unity.Pooling
0
7048087
using UnityEngine; namespace Fp.Pooling { public class UnityPool : UnityComponentPool<Component> { public UnityPool(GameObject original, Transform rentRoot = null, Transform poolRoot = null) : base(original.transform, rentRoot, poolRoot) { } public GameObject Rent(string goNam...
LogicMonitor.Api/LogicModules/DeviceDataSourceInstanceCreationDto.cs
panoramicdata/LogicMonitor.Api
2
7048088
<filename>LogicMonitor.Api/LogicModules/DeviceDataSourceInstanceCreationDto.cs namespace LogicMonitor.Api.LogicModules; /// <summary> /// A device datasource instance creation DTO /// </summary> [DataContract] public class DeviceDataSourceInstanceCreationDto { /// <summary> /// The datasource name /// </summary> [...
HedgeModManager/UI/Models/ModelExtensions.cs
SWS90/HedgeModManager
79
7048089
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace HedgeModManager.UI.Models { public static class ModelExtensions { public static void SetTitle(this IViewModel model, string title) ...
NET6/Tests/NoobCore.Tests/Algorithms/FinancialCalculatorTests.cs
noobwu/DotNetSamples
0
7048090
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using System.Collections; namespace NoobCore.Tests.Algorithms { /// <summary> /// /// </summary> [TestFixture] public class FinancialCalculatorTests { ...
Assets/WorldMap/Scripts/PingZone.cs
bitbybyte-creations/FGJ-18
0
7048091
<filename>Assets/WorldMap/Scripts/PingZone.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class PingZone : MonoBehaviour { public WorldMapEncounter[] types_; public Ping Initialize() { // Spawn a random type in a random position inside this rect Rec...
IndustryTower/Views/Error/NotFound.cshtml
MehdiValinejad/industrytower
1
7048092
<filename>IndustryTower/Views/Error/NotFound.cshtml<gh_stars>1-10 @{ ViewBag.Title = ControllerError.notFound; } <div class="row dir"> <div class="col-md-10 col-md-offset-1"> <div class="alert alert-danger text-center"> <strong> @ControllerError.errorNotFound </...
src/SamplesApp/UITests.Shared/Windows_UI_Xaml/MarkupExtensionTests/Entity.cs
olirobert/uno
5,973
7048093
<reponame>olirobert/uno using System; using Windows.UI.Xaml; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Markup; namespace UITests.Shared.Windows_UI_Xaml.MarkupExtension { [MarkupExtensionReturnType(ReturnType = typeof(EntityObject))] public class Entity : Windows.UI.Xaml.Markup.MarkupExtension { public st...
Source/BPSolver/Command/DrawNextPieceCommand.cs
aamartin2k/BlockPuzzle-Solver
0
7048094
using BPSolver.Enums; using BPSolver.Objects; namespace BPSolver.Command { /// <summary> /// Update a playable piece based on its index and name /// </summary> internal class DrawNextPieceCommand : BaseCommand { private int Index; private PieceName OldName, NewName; ...
src/TroyLab.JRPC.Client/JClient.cs
chou804/troyjprc
0
7048095
<filename>src/TroyLab.JRPC.Client/JClient.cs using DnsClient; using Newtonsoft.Json.Linq; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace TroyLab.JRPC.Client { ...
src/Machete.HL7Schema/Generated/V26/Groups/EHC_E10_INVOICE_PROCESSING_RESULTS_INFO.cs
amccool/Machete
47
7048096
<filename>src/Machete.HL7Schema/Generated/V26/Groups/EHC_E10_INVOICE_PROCESSING_RESULTS_INFO.cs // This file was automatically generated and may be regenerated at any // time. To ensure any changes are retained, modify the tool with any segment/component/group/field name // or type changes. namespace Machete.HL7Schem...
TLSharp.Tests/TLSharpTests.cs
jostarlink/TLSharp
0
7048097
using System; using System.Configuration; using System.IO; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using TLSharp.Core; using TLSharp.Core.Auth; using TLSharp.Core.MTProto; using TLSharp.Core.Network; namespace TLSharp.Tests { [TestClass] public class TLSharpTests { priva...
Demo/ZerraDemo.Domain.Weather/WeatherCommandHandler.cs
szawaski/Zerra
5
7048098
<reponame>szawaski/Zerra using System.Threading.Tasks; using ZerraDemo.Domain.Weather.Commands; using ZerraDemo.Common; namespace ZerraDemo.Domain.Weather { public class WeatherCommandHandler : IWeatherCommandHandler { public async Task Handle(SetWeatherCommand command) { Access.Ch...
src/Dsa.Domain.Core/Interfaces/IQueryRepository.cs
SammoWong/DDD-Solution-Architecture
0
7048099
<filename>src/Dsa.Domain.Core/Interfaces/IQueryRepository.cs using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace Dsa.Domain.Core.Interfaces { public interface IQueryRepository<TEntity> where TEntity : class, IEntity { ...
src/Services/Auth/Surging.Hero.Auth.IApplication/UserGroup/Dtos/AllocationUserIdsInput.cs
microserviceframe/hero
34
7048100
namespace Surging.Hero.Auth.IApplication.UserGroup.Dtos { public class AllocationUserIdsInput { public long UserGroupId { get; set; } public long[] UserIds { get; set; } } }
PomodoroTimerLib/Library/Primitives/Numbers/NumberOf.cs
Fyzxs/PomodoroTimer
0
7048101
namespace PomodoroTimerLib.Library.Primitives.Numbers { public sealed class NumberOf : Number { private readonly double _origin; public NumberOf(double origin) => _origin = origin; protected override double Value() => _origin; } }
Hassie.ConcussionEngine.MegaPong/RenderLogger.cs
hassieswift621/concussion-engine
0
7048102
<reponame>hassieswift621/concussion-engine<filename>Hassie.ConcussionEngine.MegaPong/RenderLogger.cs<gh_stars>0 using Hassie.ConcussionEngine.Engine.Core; using Microsoft.Xna.Framework; using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; namespace Hassie.ConcussionEngine.MegaP...
Jockusch.Common.Debugging/TypeTree.cs
verybadcat/Debugging
0
7048103
<gh_stars>0 using System; using Jockusch.Common.Debugging; using System.Collections.Generic; using System.Reflection; namespace Jockusch.Common { public class TypeTree: ITreeDescription { public TypeTree(Type local) { this.LocalType = local; this.LocalTypeInfo = local.GetTypeInfo(); } ...
src/Moonstone.Common/Configuration/DatabaseConfiguration.cs
Eastrall/Moonstone
2
7048104
namespace Moonstone.Common.Configuration { /// <summary> /// Provides a data structure for configuring the Moonstone database access. /// </summary> public class DatabaseConfiguration { /// <summary> /// Gets or sets the database remote host. /// </summary> public st...
03 Entity Framework/Dump.Internship.NoteShare/Dump.Internship.NoteShare.Data/Repositories/CommentRepository.cs
MiroslavJelaska/DUMP-Internship-2014-Dev
0
7048105
using System; using System.Linq; namespace Dump.Internship.NoteShare.Data.Repositories { public class CommentRepository { public void Create(Comment comment) { using (var context = new NoteShareEntities()) { comment.CreatedOn = DateTime.Now; ...
workspace/Single Round Match 701 Sponsored By BAH/KthStringAgainUnitTest.cs
Camypaper/TopCoder
0
7048106
<filename>workspace/Single Round Match 701 Sponsored By BAH/KthStringAgainUnitTest.cs using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; public partial class Tester { public Tester() { OnInit(); Tests.Add(Example0);Tests.Add(Example1);Tests.Add(Ex...
CSharp-Part1/Operators-And-Expressions-Homework/09-Trapezoids/Trapezoids.cs
mpenchev86/Telerik-Academy
0
7048107
/* Problem 9. Trapezoids • Write an expression that calculates trapezoid's area by given sides a and b and height h . */ using System; class Trapezoids { static void Main() { double sideA; double sideB; double heightH; bool parseCheck = false; do { ...
FireTime/Response/Stream-Response.cs
Techzy-Programmer/FireTime
0
7048108
<reponame>Techzy-Programmer/FireTime using System; using System.IO; using System.Linq; using Newtonsoft.Json; using System.Net.Http; using FireTime.Private; using System.Threading; using Newtonsoft.Json.Linq; using System.Net.Http.Headers; using System.Collections.Generic; namespace FireTime.Response { /// <summa...
Assets/Scripts/Slowed.cs
MatasV/StormTheHousePrototype
0
7048110
<gh_stars>0 public class Slowed : StatusEffect { public override void EnableEffect(Enemy _enemy) { base.EnableEffect(_enemy); } public override void DisableEffect() { } }
TailRecursion.cs
SabitKondakci/DynamicProgrammingAlgorithsm
2
7048111
// tail recursion, function calls itself as the last action // so that it reuses the same stack frame, no-overflow [MethodImpl(MethodImplOptions.AggressiveOptimization)] long Fact(long n, long a) { if(n==0) return a; // first Fact() call doesn't wait for the second Fact() call. // once upon termination, the pre...
src/Squidex.Domain.Apps.Core.Model/Schemas/FieldProperties.cs
maooson/squidex
0
7048112
// ========================================================================== // FieldProperties.cs // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex Group // All rights reserved. // =======================================================...
src/StarOJ.Server.API.Clients/ProblemDetails.cs
StardustDL/LocalJudge
0
7048113
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; namespace StarOJ.Server.API.Clients { [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "9.13.27.0 (Newtonsoft.Json v11.0.0.0)")] public partial class ProblemDetails { [Newtonsoft.Json.JsonProperty("type", Required ...
Assets/Scripts/Pure/Systems/CellRenderSystemP.cs
WiseShards/ecs_life
8
7048114
using Unity.Collections; using Unity.Jobs; using Unity.Entities; using UnityEngine; using UnityEngine.Rendering; using UnityEngine.Experimental.PlayerLoop; using Unity.Rendering; using System.Collections.Generic; namespace pure { public struct Group { [ReadOnly] public EntityArray EntityArray; [Rea...
Explicit_Messaging_Example/Program.cs
ngbrown/EEIP.NET
1
7048115
<reponame>ngbrown/EEIP.NET using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Sres.Net.EEIP; namespace Explicit_Messaging_Example { class Program { static void Main(string[] args) => MainAsync(args).GetAwaiter().GetResult(); ...