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
Profitbricks/Request.cs
profitbricks/profitbricks-powershell
1
7053414
<reponame>profitbricks/profitbricks-powershell using Api; using Model; using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation; using System.Text; using System.Threading.Tasks; namespace ProfitBricks { /// <summary> /// <para type="synopsis">This comma...
dotnetcore/Intellegens.Commons.DemoApi/Models/StudentCourse.cs
intellegens-hr/commons
0
7053415
<gh_stars>0 using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Intellegens.Commons.DemoApi.Models { public class StudentCourse { public virtual Course Course { get; set; } [ForeignKey(nameof(Course))] public int CourseI...
HZH_Controls/HZH_Controls/Controls/FactoryControls/Thermometer/UCThermometer.cs
xu767142206/fynedddemo
0
7053416
// *********************************************************************** // Assembly : HZH_Controls // Created : 2019-09-10 // // *********************************************************************** // <copyright file="UCThermometer.cs"> // Copyright by <NAME>(黄正辉) All, QQ group:568015492 QQ:...
Database/Models/ImageStorage.cs
TheGaBa/Greetings
0
7053417
namespace Database.Models { public class ImageStorage { public int ID { get; set; } public byte[] Image { get; set; } public int PlaceID { get; set; } public Place Place { get; set; } } }
src/libpixy.net/Vecmath/Color4.cs
mebiusbox/libpixy.net
0
7053418
<gh_stars>0 /* * Copyright (c) 2018 mebiusbox software. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, thi...
Hippo/ViewModels/ApiLoginForm.cs
nitishm/hippo
1
7053419
using System.ComponentModel.DataAnnotations; using Hippo.Logging; namespace Hippo.ViewModels { public class ApiLoginForm : ITraceable { [Required] [Display(Name = "username")] public string UserName { get; set; } [Required] [Display(Name = "password")] [DataType...
state/PlayingBeginnerState.cs
cellularegg/swp-uebungen
0
7053420
using System; namespace state { public class PlayingBeginnerState : IPinballState { public void InsertCoin() { Console.WriteLine("Wow you are skilled inserting a coin while playing"); } public void StartPlaying() { Console.WriteLine("You are alr...
RoboReflector/Assets/Scripts/TouchHandler.cs
Archerofyail/RoboReflector
0
7053421
using System; using System.Collections; using UnityEngine; public class TouchHandler : MonoBehaviour { private Touch currentTouch; public GameObject touchEventIcon; public delegate void OnTouchStartedEvent(Vector2 startPos); public static event OnTouchStartedEvent OnTouchStartedEventHandler; public delegate voi...
Scenario1Web/Pages/WebForm1.aspx.cs
pschaeflein/CloudIdentitySamples
0
7053422
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace TokenHelperResearchWeb { public partial class WebForm1 : PageBase { protected override void OnLoad(EventArgs e) { base.OnLoad(e); var hostWeb = Page.Request[...
MyoPilot/UserSettings/MyoSettings.Designer.cs
it12052/MyoPilot
6
7053423
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34209 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
source/Server/Ldap/LdapContext.cs
tunger/OctopusDeploy-LdapAuthenticationProvider
1
7053424
using Novell.Directory.Ldap; using Octopus.Diagnostics; using Octopus.Server.Extensibility.Authentication.Ldap.Model; using System; using System.Collections.Generic; using System.Linq; namespace Octopus.Server.Extensibility.Authentication.Ldap { public class LdapContext : IDisposable { readonly LdapCo...
src/VisualStudio.PowerShell/PowerShellContentDefinition.cs
adamdriscoll/vs-powershell
2
7053425
<gh_stars>1-10 using Microsoft.VisualStudio.LanguageServer.Client; using Microsoft.VisualStudio.Utilities; using System.ComponentModel.Composition; namespace VisualStudio.PowerShell { public class PowerShellContentDefinition { [Export] [Name("PowerShell")] [BaseDefinition(CodeRemoteCon...
PressGang.Bot/Commands/GoalHandlers.cs
michaeldonnelly/msf-press-gang
0
7053426
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using DSharpPlus.CommandsNext; using DSharpPlus.CommandsNext.Attributes; using DSharpPlus.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore...
src/Cosmos.I18N/Cosmos/I18N/Translation/ITranslatePackage.cs
cosmos-loops/cosmos-i18n
1
7053427
<reponame>cosmos-loops/cosmos-i18n using System.Collections.Generic; using Cosmos.I18N.Languages; namespace Cosmos.I18N.Translation { /// <summary> /// Interface for Translate Package /// </summary> public interface ITranslatePackage { /// <summary> /// Gets package key /// </su...
Statistics/Distributions/TruncatedLogNormal.cs
HydrologicEngineeringCenter/fda-statistics
3
7053428
using HEC.MVVMFramework.Base.Implementations; using HEC.MVVMFramework.Base.Enumerations; using System; using System.Linq; using Utilities; namespace Statistics.Distributions { internal class TruncatedLogNormal : ContinuousDistribution { #region Fields and Properties private double _mean; ...
Day 3-2/Program.cs
MJoakim12/AdventOfCode
0
7053429
<reponame>MJoakim12/AdventOfCode<gh_stars>0 using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace Day_3_2 { class Program { static void Main(string[] args) { StreamReader sr = new StreamReader("input.txt"); List<string> input = ne...
atriumBE/SSTManagement/ADMSEIssues_BE.cs
chris-weekes/atrium
0
7053430
<gh_stars>0 using System; using System.Data; using atLogic; using lmDatasets; namespace atriumBE { /// <summary> /// /// </summary> public class ADMSEIssuesBE : atLogic.ObjectBE { SSTManager myA; SST.ADMSEIssuesDataTable myADMSEIssuesDT; internal ADMSEIssuesBE(SSTManager ...
BlazorShop.WorkerService/Worker.cs
JBeni/BlazorShop
0
7053431
namespace BlazorShop.WorkerService { public class Worker : BackgroundService { private readonly ILogger<Worker> _logger; private readonly IServiceScopeFactory _serviceScopeFactory; private readonly HttpClient _httpClient; public Worker(ILogger<Worker> logger, IServiceScopeFactor...
Expenses/settings/exp_setting_main.aspx.cs
rlphila/expenses
0
7053432
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.Security; namespace Expenses.settings { public partial class setting_main : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs...
Frends.Community.DownloadFile/Definition.cs
CommunityHiQ/Frends.Community.DownloadFile
0
7053433
#pragma warning disable 1591 using System.ComponentModel; namespace Frends.Community.DownloadFile { public class HTTPHeader { public string Name { get; set; } public string Value { get; set; } } public class Parameters { /// <summary> /// Exact address of the file...
src/Woohoo.Agi.Interpreter.UnitTest/Interpreter/ParserUnitTest.cs
huguesv/AgiPlayer
8
7053434
// Copyright (c) <NAME>. All rights reserved. // Licensed under the X11 license. See LICENSE in the project root for license information. namespace Woohoo.Agi.Interpreter.UnitTest { using System; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Woohoo.Agi.Interpreter; ...
CW.Core/WeakDelegate.cs
catwalkagogo/CW.Core
2
7053435
/* $Id: WeakDelegate.cs 313 2013-12-04 02:33:30Z <EMAIL> $ */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; namespace CW { public class WeakDelegate{ private WeakReference _TargetReference; // null when static method private MethodInfo _Method; ...
WebAPIs/WebAPIs/Providers/ConstHelper.cs
Everstar/HospitalManageSystem
2
7053436
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace WebAPIs.Providers { public class ConstHelper { public static string checkpoint = "检查结论,腰椎未见异常。"; public static string from_picture_Gas = "食管:管腔形态无异常,粘膜光滑。\n夲门:开闭良好,粘膜充血。\n胃底:粘液湖浑浊,粘膜充血...
Assets/Scripts/Gameplay/PlayerClonePool.cs
juaamatu/Paradox
0
7053437
<filename>Assets/Scripts/Gameplay/PlayerClonePool.cs using System.Collections.Generic; using UnityEngine; public class PlayerClonePool : MonoBehaviour { [Header("References")] [SerializeField] private PlayerCloneMovement playerCloneMovementPrefab; private Stack<PlayerCloneMovement> pool; pri...
source/Core/CreativeCoders.Core/Comparing/FuncEqualityComparer.cs
CreativeCodersTeam/Core
0
7053438
using System; using System.Collections.Generic; namespace CreativeCoders.Core.Comparing { public class FuncEqualityComparer<T, TKey> : IEqualityComparer<T> { private readonly Func<T, TKey> _keySelector; public FuncEqualityComparer(Func<T, TKey> keySelector) { Ensure.IsNotN...
mesoBoard.Web/Views/User/Profile.cshtml
craigmoliver/mesoBoard
1
7053439
<reponame>craigmoliver/mesoBoard @model ProfileViewModel @{ Layout = "~/Views/Shared/_User.cshtml"; } <div class="user_cp_profile section"> <h2>Profile</h2> @using (Html.BeginForm()) { <dl> <dt>Location</dt> <dd> @Html.TextBoxFo...
FunctionApp/Models/MultiPartFormDataModel.cs
devkimchi/azure-functions-binary-data-via-swagger-ui
1
7053440
namespace FunctionApp.Models { public class MultiPartFormDataModel { public int Id { get; set; } public string Description { get; set; } public byte[] Image { get; set; } } }
AttachmentEncryption/MyMailItem.cs
mm0205/password-betto
2
7053441
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using Outlook = Microsoft.Office.Interop.Outlook; namespace AttachmentEncryption { /// <summary> /// VSTOをラップするメールアイテム /// </summary> class MyMailItem : IMyMailItem ...
Src/GBX.NET/Engines/Plug/CPlugTreeVisualMip.cs
ArkadySK/gbx-net
0
7053442
<gh_stars>0 namespace GBX.NET.Engines.Plug; [Node(0x09015000)] public sealed class CPlugTreeVisualMip : CPlugTree { private IDictionary<float, CPlugTree> levels; public IDictionary<float, CPlugTree> Levels { get => levels; set => levels = value; } private CPlugTreeVisualMip() ...
Scripts/Customs/KniveChat/General/IrcConnection.cs
greeduomacro/vivre-uo
0
7053443
using System; using System.Net.Sockets; using System.Threading; using System.IO; using System.Collections; using Server; using Server.Guilds; using Server.Network; namespace Knives.Chat3 { public enum IrcColor { White = 0, Black = 1, Blue = 2, Green = 3, LightRed = 4, Brown = 5, Purple = 6, Orange = ...
Platforms/NGraphics.iOS.Test/UnitTestAppDelegate.cs
weinre/NGraphics
715
7053444
using System; using System.Linq; using System.Collections.Generic; using Foundation; using UIKit; using NGraphics.Test; using System.Threading.Tasks; namespace NGraphics.iOS.Test { [Register ("UnitTestAppDelegate")] public partial class UnitTestAppDelegate : UIApplicationDelegate { public override UIWindow Wind...
Order.Domain/Enums/OrderStatusEnum.cs
MrBugra/EventSourcing.Order
2
7053445
using System; using Order.Infrastructure.Enumaration; namespace Order.Domain.Enums { public class OrderStatusEnum : Enumaration { public static readonly OrderStatusEnum Initialized = new OrderStatusEnum(1, "Order Initialized"); public static readonly OrderStatusEnum Suspended = new OrderStatus...
AR Demo/Assets/Scripts/VideoController.cs
AndrewXeroudakis/AR-Demo
0
7053447
<gh_stars>0 using easyar; using System.Collections; using System.Collections.Generic; using UnityEngine; public class VideoController : MonoBehaviour { public GameObject videoQuad; UnityEngine.Video.VideoPlayer videoPlayer; private void Start() { videoPlayer = videoQuad.GetComponent<UnityEngi...
UltimaOnline.Data/Mobiles/Townfolk/Samurai.cs
netcode-gamer/game.ultimaonline.io
0
7053448
<gh_stars>0 using System; using UltimaOnline; using UltimaOnline.Items; namespace UltimaOnline.Mobiles { public class Samurai : BaseCreature { public override bool CanTeach { get { return true; } } public override bool ClickTitle { get { return false; } } [Constructable] ...
PunchingBand/FistSides.cs
scottlerch/PunchingBand
0
7053449
using System; namespace PunchingBand { [Flags] public enum FistSides { Unknown = 0, Left = 1, Right = 2, LeftAndRight = Left | Right, } }
YourSpaceMDB_4.2_Optimization/YourSpace/Modules/Gallery/CGallery.cs
Invectys/Sites
0
7053450
<filename>YourSpaceMDB_4.2_Optimization/YourSpace/Modules/Gallery/CGallery.cs<gh_stars>0 using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Authorization; using Microsoft.Extensions.Localization; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System....
LoongEgg.LoongLog/Logger.cs
loongEgg/LoongEgg.LoongLog
7
7053451
using System.Linq; using System.Runtime.CompilerServices; namespace LoongEgg.LoongLog { /// <summary> /// logger调度器 /// </summary> /// <example> /// Logger.EnableAll(); /// Logger.Debug("A Debug message"); /// Logger.Info("A Information message"); /// Logger.Warn("A Wa...
src/Curiosity.Tools/HttpRequestTimeoutCalculator/IoCExtensions.cs
siisltd/Curiosity.Utils
7
7053452
<reponame>siisltd/Curiosity.Utils using Curiosity.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; namespace Curiosity.Tools.HttpRequestTimeoutCalculator { /// <summary> /// Extension methods for <see cref="IServiceCollection"/> to regist...
lib/Microsoft.Data.Services.Client/ODataLib/OData/Desktop/.Net4.0/Microsoft/Data/OData/ODataPayloadKindDetectionResult.cs
tapika/choco
3
7053453
// OData .NET Libraries ver. 5.6.3 // Copyright (c) Microsoft Corporation // All rights reserved. // MIT License // 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 withou...
Registration/Factory/Setup.cs
unitycontainer/regression-tests
0
7053454
<filename>Registration/Factory/Setup.cs<gh_stars>0 using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Threading; #if V4 using Microsoft.Practices.Unity; #else using Unity; using Unity.Resolution; #endif namespace Registrations { [TestClass] public partial class RegisterFactory ...
Monitor/ViewModel/Charts/SeriesChartComponent.cs
laur89/lean-monitor
95
7053455
<filename>Monitor/ViewModel/Charts/SeriesChartComponent.cs using System; using System.Collections.Generic; using System.Linq; using System.Windows.Media; using LiveCharts; using LiveCharts.Configurations; using LiveCharts.Definitions.Series; using LiveCharts.Geared; using LiveCharts.Geared.Geometries; using LiveCharts....
src/management/Akka.Management/Akka/Predef.cs
Arkatufus/Akka.Management
15
7053456
//----------------------------------------------------------------------- // <copyright file="Predef.cs" company="Akka.NET Project"> // Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyright> //-------...
Assets/Scripts/IntroLoop.cs
black112301/Tonchi
0
7053457
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class IntroLoop { private AudioSource source; private float startBoundary; private float introBoundary; private float loopBoundary; //set to play a clip once public bool playOnce = false; //p...
Erlang.NET/OtpNode.cs
reganheath/Erlang.NET
0
7053458
/* * Copyright 2020 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
src/Parlot/Fluent/Parser.TryParse.cs
Sciumo/parlot
196
7053459
namespace Parlot.Fluent { public abstract partial class Parser<T> { public T Parse(string text, ParseContext context = null) { context ??= new ParseContext(new Scanner(text)); var localResult = new ParseResult<T>(); var success = Parse(context, ref localRes...
src/Monbsoft.EvolDB/Services/CommitService.cs
Monbsoft/EvolDB
2
7053460
<reponame>Monbsoft/EvolDB using Microsoft.Extensions.Logging; using Monbsoft.EvolDB.Commits; using Monbsoft.EvolDB.Data; using Monbsoft.EvolDB.Exceptions; using Monbsoft.EvolDB.Models; using Monbsoft.EvolDB.Repositories; using Monbsoft.Extensions.FileProviders; using System; using System.Collections.Generic; using Sys...
DungeonCrawler/MapMakerWinform/MainForm.Designer.cs
undeadparrot/dungeontools
0
7053461
/* * Created by SharpDevelop. * User: smatu * Date: 11/01/2015 * Time: 12:46 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ namespace MapMakerWinform { partial class MainForm { /// <summary> /// Designer variable used to keep track of non-visual components. /// </s...
PermitsTiered-2018/ConsolePresentationTier/Program.cs
kimSim/prog120
0
7053462
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BusinessTier; namespace ConsolePresentationTier { class Program { static void Main(string[] args) { // using arrays to pass mutiple ite...
DbKeeperNet.Extensions.SqlServer.Tests/SqlServerSetupFixture.cs
DbKeeperNet/DbKeeperNet
3
7053463
<filename>DbKeeperNet.Extensions.SqlServer.Tests/SqlServerSetupFixture.cs using System.Data.SqlClient; using NUnit.Framework; namespace DbKeeperNet.Extensions.SqlServer.Tests { [SetUpFixture] public class SqlServerSetupFixture { [OneTimeSetUp] public void CreateDatabase() { ...
TSRP/StackConsole.cs
TheCreatorJames/TSRP
0
7053464
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TSRP { class StackConsole : StackCustom { public override object Clone() { return new StackConsole(); } public override bool Execute(string...
Pitches/A Guide to Software Design Patterns/Iterator/Basic/Aggregate.cs
GabeStah/Airbrake.io
1
7053465
// <Basic>/Aggregate.cs using System.Collections; namespace Iterator.Basic { /// <summary> /// Defines members of Aggregate. /// </summary> public interface IAggregate { IIterator CreateIterator(); } /// <summary> /// Holds the iterable collection and allows retrieval of colle...
Timetable.Web/Model/OrdnanceSurveyCoordinates.cs
Phils0/UkTimetableService
0
7053466
<filename>Timetable.Web/Model/OrdnanceSurveyCoordinates.cs namespace Timetable.Web.Model { /// <summary> /// Ordnance Survey coordinates /// </summary> public class OrdnanceSurveyCoordinates { /// <summary> /// OS Easting value /// </summary> public int Eastings { get...
raidTimelineLogic/Mechanics/Strategies/KeepConstructMechanics.cs
danifischer/raidTimeline
4
7053467
using raidTimelineLogic.Helper; using raidTimelineLogic.Models; using System.Linq; using System.Web; namespace raidTimelineLogic.Mechanics.Strategies { internal class KeepConstructMechanics : BaseMechanics { public KeepConstructMechanics() { EncounterIcon = "https://wiki.guildwars2.com/images/e/ea/Mini_Keep_...
src/Mail.cs
dsuny/Atomus.Net.Mail
1
7053468
<filename>src/Mail.cs using System; using System.Collections.Generic; using System.Configuration; using System.IO; using System.Linq; using System.Net; using System.Net.Mail; using System.Net.Security; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Web; namespace Atomus.Net { ...
Source/Events.Relativity/TunnelGrpc.cs
dolittle-einar/Runtime
0
7053469
<gh_stars>0 // Generated by the protocol buffer compiler. DO NOT EDIT! // source: tunnel.proto #pragma warning disable 1591 #region Designer generated code using System; using System.Threading; using System.Threading.Tasks; using grpc = global::Grpc.Core; namespace Dolittle.Runtime.Events.Relativity { public stati...
Pilot/Pilot/DatabaseClass.cs
lnarolski/Pilot
0
7053470
using SQLite; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Text; using Xamarin.Essentials; namespace Pilot { enum DatabaseState { DATABASE_OPENED, DATABASE_CLOSED, DATABASE_ERROR, DATABASE_NULL, DATA...
Snippets/Core/Core_3/Recoverability/Delayed/CustomPolicies/ExceptionPolicy.cs
A-Franklin/docs.particular.net
0
7053471
<filename>Snippets/Core/Core_3/Recoverability/Delayed/CustomPolicies/ExceptionPolicy.cs namespace Core3.Recoverability.Delayed.CustomPolicies { using System; using NServiceBus.Management.Retries; using NServiceBus.Unicast.Transport; class ExceptionPolicy { ExceptionPolicy() ...
src/FeatureAdmin.Test/TestContent/MockModels/MockActivatedFeature.cs
MSGRRojas/featureadmin
30
7053472
using FeatureAdmin.Models.Interfaces; using System; using System.Collections.Generic; using FeatureAdmin.Models; using Microsoft.SharePoint; using Microsoft.SharePoint.Administration; namespace FeatureAdmin.Test.TestContent.MockModels { public class MockActivatedFeature : IActivatedFeature { public SP...
source/DotNetBay.BusinessLogic/Execution/Auctioneer.cs
aersamkull/dotnetbay-hs18
2
7053473
<gh_stars>1-10 using System; using System.Linq; using DotNetBay.Interfaces; namespace DotNetBay.Core.Execution { public class Auctioneer : IAuctioneer { private readonly IMainRepository repository; public Auctioneer(IMainRepository repository) { this.repository = reposito...
XyzWeb/Controllers/CoursesController.cs
fimmartins/XYZUniversityBackend
0
7053474
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Security.Claims; using System.Text; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using XyzWeb.Models; namespace XyzWeb.Controllers { public class CoursesController...
WBS99/Assets/Scripts/GameManagement/NormInv.cs
buddingmonkey/WBS99
0
7053475
<reponame>buddingmonkey/WBS99 using UnityEngine; using System.Collections; using System; public class NormInv : MonoBehaviour { /// Original C++ implementation found at http://www.wilmott.com/messageview.cfm?catid=10&threadid=38771 /// C# implementation found at http://weblogs.asp.net/esanchez/archive/2010/07/29/a...
Alpaca.Markets/Helpers/PaginationExtensions.cs
amwsis/alpaca-trade-api-csharp
179
7053476
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Alpaca.Markets { internal static class PaginationExtensions { public static async Task<IPage<TItem>> AsPageAsync<TItem, TPage>( this Task<IMultiPage<TItem>> response) where TPage : IP...
Sharpex2D/Input/Implementation/XInput/Gamepad.cs
ThuCommix/Sharpex2D
37
7053477
// Copyright (c) 2012-2015 Sharpex2D - <NAME> (ThuCommix) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the 'Software'), to deal // in the Software without restriction, including without limitation the rights // to use, copy, ...
progressbar/showProgress/Form1.cs
zerenlu/csharp
0
7053478
<gh_stars>0 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.IO; using System.Windows.Forms; namespace showProgress { public partial class Form1 : Form { ...
src/Comformation/Generated/GameLift/Fleet/CertificateConfiguration.cs
stanb/Comformation
17
7053479
using System; using System.Collections.Generic; using Newtonsoft.Json; using Comformation.IntrinsicFunctions; namespace Comformation.GameLift.Fleet { /// <summary> /// AWS::GameLift::Fleet CertificateConfiguration /// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fl...
Source/NLib.Web/Hosting/UnitTestWorkerDriver.cs
renemongeau/NLib
2
7053480
namespace NLib.Web.Hosting { using System; using System.IO; using System.Linq; using System.Web; using System.Web.Hosting; /// <summary> /// Provides a simple way to get a response of an ASP.NET request outside an Internet Information Services (IIS) application. /// </summary...
DaveSurfShop/Model/LocalEvent.cs
CasparStanley/WaveDave
0
7053481
<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace DaveSurfShop { public class LocalEvent { [Key] [DatabaseGenerated(DatabaseGene...
Assets/[CGT] Fungus Slot-based Save System/Scripts/Utils/FlowchartExtensions.cs
CG-Tespy/TerraNetShopkeepSim
10
7053482
using System.Collections; using System.Collections.Generic; using UnityEngine; using Fungus; using BaseFungus = Fungus; namespace CGTUnity.Fungus.SaveSystem { public static class FlowchartExtensions { /// <summary> /// Sets the value of a variable in the flowchart to the value that was passed...
WOD.Game.Server/Feature/ShipModuleDefinition/TargetingSystemModuleDefinition.cs
Cavcode/WOD_NWN
0
7053483
<filename>WOD.Game.Server/Feature/ShipModuleDefinition/TargetingSystemModuleDefinition.cs using System.Collections.Generic; using WOD.Game.Server.Enumeration; using WOD.Game.Server.Service.PerkService; using WOD.Game.Server.Service.SpaceService; namespace WOD.Game.Server.Feature.ShipModuleDefinition { public clas...
src/LumiSoft.Net/IMAP/IMAP_t_Fetch_i_BodyStructure.cs
robsiera/bugnet
200
7053484
<filename>src/LumiSoft.Net/IMAP/IMAP_t_Fetch_i_BodyStructure.cs<gh_stars>100-1000 using System; using System.Collections.Generic; using System.Text; namespace LumiSoft.Net.IMAP { /// <summary> /// This class represents FETCH request BODYSTRUCTURE argument(data-item). Defined in RFC 3501. /// </summary> ...
Reabilitacao-Motora/Assets/Scripts/Instantiations/Exercise/createExercise.cs
guilhermesiqueira/2018.1-Reabilitacao-Motora
8
7053485
<gh_stars>1-10 using System; using System.Linq; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using exercicio; /** * Cria um novo paciente no banco de dados. */ public class createExercise : MonoBehaviour { [SerializeField] protected Button ne...
TheRing.Common/Helpers/ServiceHelper.cs
ldematte/TheRing
0
7053486
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Channels; namespace TheRing.Common.Helpers { public static class ServiceHelper { public static async IAsyncEnumerable<T> SubscribeTAsync<T, TChannel>(TChannel...
api/Onsharp/Modules/I18n.cs
KungRaseri/Onsharp
0
7053487
using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Resources; using System.Text; using Onsharp.IO; using Onsharp.Plugins; namespace Onsharp.Modules { /// <summary> /// I18n is a utility class which allows multiple language support for your Onsharp plugins. ...
yafsrc/YAF.Core/Model/MessageRepositoryExtensions.cs
hnjm/YAFNET
1
7053488
/* Yet Another Forum.NET * Copyright (C) 2003-2005 <NAME> * Copyright (C) 2006-2013 <NAME> * Copyright (C) 2014-2020 <NAME> * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with...
backend/src/Application/Models/Base/PageableDTO.cs
AlexScigalszky/weather
1
7053489
namespace Application.Models.Base { public class PageableDTO : BaseDto { public int PageNumber { get; set; } public int PageSize { get; set; } public string OrderBy { get; set; } public PageableDTO() { PageNumber = 1; PageSize = 10; O...
Web/Certifying/Tests/SSLClient/SSLClient/Program.cs
Bigsby/PoC
0
7053490
using System; using System.Net.Http; using static System.Console; namespace SSLClient { class Program { static void Main(string[] args) { var client = new HttpClient { BaseAddress = new Uri("https://localhost:9000") }; var respon...
src/WCF/ServiceBridge.ServiceModel/Server/ServiceContainerBehaviorElement.cs
edwardmeng/Wheatech.ServiceModel
1
7053491
using System; using System.ServiceModel.Configuration; namespace ServiceBridge.ServiceModel { /// <summary> /// Represents a configuration element that is used to enable dependency injection for the WCF services. /// This class cannot be inherited. /// </summary> public sealed class ServiceContai...
commercetools.Sdk/commercetools.Sdk.Domain/Reviews/ReviewDraft.cs
onepiecefreak3/commercetools-dotnet-core-sdk
12
7053492
<gh_stars>10-100 using commercetools.Sdk.Domain.Common; using commercetools.Sdk.Domain.Customers; using commercetools.Sdk.Domain.States; namespace commercetools.Sdk.Domain.Reviews { using commercetools.Sdk.Domain.Validation.Attributes; public class ReviewDraft : IDraft<Review> { public string Key...
Domain/Entity/Vote.cs
epikmods/eco-game-survey-mod
1
7053493
<reponame>epikmods/eco-game-survey-mod<gh_stars>1-10 namespace SurveyMod.Domain.Entity { public class Vote { public string PlayerId { get; } public Text Choice { get; set; } public Vote(string playerId, Text choice) { PlayerId = playerId; Choice = choice...
MotorolaSnapi/Commands/Keyboard.cs
MagnusMikkelsen/MotorolaCoreScannerNet
18
7053494
<filename>MotorolaSnapi/Commands/Keyboard.cs /*Copyright (c) 2015 Fortelinea / /See the file license.txt for copying permission */ using System; using System.Linq; using System.Xml.Linq; using CoreScanner; using Motorola.Snapi.Constants.Enums; namespace Motorola.Snapi.Commands { /// <summary> /// Keyboard...
UtilityWpf.Demo.Controls/SlidersUserControl.xaml.cs
dtwk2/UtilityWpfCore
2
7053495
using AutoBogus; using MoreLinq; using System.Collections.Generic; using System.ComponentModel; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using UtilityWpf.Demo.Data.Model; namespace UtilityWpf.Demo.Controls { /// <summary> /// Interaction logic for SlidersUserControl.x...
ModTMNF/Game/MwFoundations/SMwParamInfos/SMwParamInfo_Enum.cs
pixeltris/ModTMNF
4
7053496
<reponame>pixeltris/ModTMNF<filename>ModTMNF/Game/MwFoundations/SMwParamInfos/SMwParamInfo_Enum.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; namespace ModTMNF.Game { public unsafe struct SMwParamInfo_Enum { ...
Samples/WebViewSample.cs
readyplayerme/unity-webview
2
7053497
using UnityEngine; using ReadyPlayerMe; public class WebViewSample : MonoBehaviour { [SerializeField] private WebView webView; void Start() { webView.CreateWebView(); } }
NetworkedService/NetworkedService.Transport.Tcp/ServiceExtensions.cs
MathiasPius/NetworkedService
0
7053498
using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Text; namespace NetworkedService.Transport.Tcp { public static class ServiceExtensions { public static void AddTcpClient<TInterface>(this IServiceCollection serviceCollection, string hostname, ...
src/Tests/Sfa.Tl.ResultsAndCertification.IntegrationTests/Services/ResultServiceTests/When_CompareAndProcessRegistrationsAsync_ResultDate_For_Specialism_IsEnded.cs
SkillsFundingAgency/tl-result-and-certification
0
7053499
<filename>src/Tests/Sfa.Tl.ResultsAndCertification.IntegrationTests/Services/ResultServiceTests/When_CompareAndProcessRegistrationsAsync_ResultDate_For_Specialism_IsEnded.cs using FluentAssertions; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Sfa.Tl.ResultsAndCertification...
SqlServerValidator/Butcher/SqlServerButcherFactory.cs
Dimsday/ReSequel
1
7053500
using Main.Sql; namespace SqlServerValidator.Butcher { public class SqlServerButcherFactory : ISqlButcherFactory { public SqlServerButcherFactory( ) { } public ISqlButcher Create( ) { return new SqlServerButcher( ...
01. CSharp Fundamentals/Workshop/NumberOfPages/Startup.cs
1337sh33p/TelerikAcademy
0
7053501
using System; namespace NumberOfPages { class Startup { static void Main() { int numberOfDigits = int.Parse(Console.ReadLine()); int numberOfPages = 0; for (int page = 1; numberOfDigits != 0; page++) { numberOfPages++; ...
src/DicomNetwork/Server/MppsHandler.cs
kira-96/dicom-toolkit
16
7053502
// https://github.com/fo-dicom/fo-dicom-samples/blob/master/Desktop/Worklist%20SCP/Model/MppsHandler.cs // Copyright (c) 2012-2020 fo-dicom contributors. // Licensed under the Microsoft Public License (MS-PL). using System.Collections.Generic; using System.Linq; using SimpleDICOMToolkit.Infrastructure; namespace Si...
src/MasterData/MasterData.WebApi.Client/SourceFormat/SourceFormatHttpClientHttpClient.cs
SayusiAndo/DigitalLibrary
1
7053503
namespace DigitalLibrary.MasterData.WebApi.Client.SourceFormat { using DigitalLibrary.MasterData.Web.Api; using DigitalLibrary.MasterData.Web.Api.Client.Interfaces; using DigitalLibrary.Utils.DiLibHttpClient; using DigitalLibrary.Utils.Guards; /// <inheritdoc/> public partial class SourceFormat...
Assets/Scripts/Environment/Simulation.cs
storm20200/UniversityPhysicsSimulation
1
7053505
<gh_stars>1-10 using UnityEngine.Assertions; using UnityEngine; using UnityEngine.Events; /// <summary> /// Effectively both a game controller and the manager of the Physics system used in the scene. Simulation /// maintains the flow of the white box testing ground for the Physics system and controls when physics up...
src/Serilog.Sinks.Graylog.Core.Tests/Transport/Udp/UdpTransportClientFixture.cs
thiagoloureiro/serilog-sinks-graylog
0
7053506
using AutoFixture; using Serilog.Sinks.Graylog.Core.Transport.Udp; using System.Linq; using System.Net; using Xunit; namespace Serilog.Sinks.Graylog.Core.Tests.Transport.Udp { public class UdpTransportClientFixture { [Fact] public void TrySendSomeData() { IPAddress ipAddres...
MIIC_FRIENDS/DTO/Moments/Behavior/CommentInfo.cs
wswmjc/webfriends
0
7053508
using Miic.Attribute; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Miic.Friends.Moments.Behavior { [MiicTable(MiicStorageName = "MOMENTS_COMMENT_INFO", Description = "朋友圈评论表")] public partial class CommentInfo:...
src/WmsCore/Views/StockOut/NofityListPage.cshtml
lindenrty2/KopSoftWms
1
7053509
@{ Layout = "_LayoutH"; } <div id="app" v-cloak> <div class="row"> <div class="col-xs-12"> <div class="box"> <div class="box-body"> <div id="toolbar" class="btn-group"> <button id="btn_stockout" v-on:click="doStockOut" type="butto...
TuSuper/TuSuper/TuSuper.BL/Producto.cs
MarcoMatute/tusuper
0
7053510
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TuSuper.BL { public class Producto { public Producto() { Activo = true; } public int Id { get;...
Core/Logic/GetFuncInfo.cs
amir734jj/InfoViaLinq
0
7053511
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using InfoViaLinq.Interfaces; namespace InfoViaLinq.Logic { public class GetFuncInfo<T> : IGetFuncInfo<T> { public LambdaExpression LambdaExpression { get; } ...
Reaqtor/Samples/Shebang/Reaqtor.Shebang.Service/IO/IIngressEgressManager.cs
ScriptBox99/reaqtor
485
7053512
// 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 Reaqtor.Reliable; namespace Reaqtor.Shebang.Service { public interface IIngressEgressManager { ...
Source/_Explorite/ExploriteMod.cs
Exploriters/Explorite-core-lab
1
7053514
<reponame>Exploriters/Explorite-core-lab /******************** * Explorite模组信息类。 * --siiftun1857 */ using HarmonyLib; using System; using System.Linq; using System.Reflection; using UnityEngine; using Verse; namespace Explorite { ///<summary>Explorite模组信息类。</summary> public class ExploriteMod : Mod { public st...
src/Microsoft.AspNetCore.Authentication.VK/VKHandler.cs
NorDroN/Security.ExtraPackage
2
7053515
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Globalization; using System.Net.Http; using System.Security.Claims; using System.Security.Cryptography; using System.Text; using System.Thr...
MappingSPO/Entities/CalcErrorEntity.cs
hmohcine/MappingSPO
0
7053516
namespace MappingSPO.Entities { public partial class CalcErrorEntity { public CalcErrorEntity() { InitializePartial(); } public int Id { get; set; } public string Code { get; set; } public string Description { get; set; } public int Severity { get; set; ...
src/Juniper.Root/XR/Platform.cs
capnmidnight/Juniper
9
7053517
<reponame>capnmidnight/Juniper namespace Juniper.XR { /// <summary> /// Utility functions for manipulating platform enumerations. /// </summary> public static class Platform { /// <summary> /// The range of bit flags to set for AugmentedRealityTypes. /// </summary> p...