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
solution/NearForums.Web/Handlers/StaticFileHandler.cs
axence/nearforums
0
7050870
<reponame>axence/nearforums using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.IO; using System.IO.Compression; using System.Collections; using System.Threading; using System.Web.Caching; using System.Diagnostics; using System.Net; namespa...
Src/SAEA.MQTT/Exceptions/MqttProtocolViolationException.cs
dsfop/SAEA
0
7050871
using System; namespace SAEA.MQTT.Exceptions { public class MqttProtocolViolationException : Exception { public MqttProtocolViolationException(string message) : base(message) { } } }
src/Dockhand/Utils/CancellableShell.cs
matt-jenner/dockhand
0
7050872
<filename>src/Dockhand/Utils/CancellableShell.cs<gh_stars>0 using System.Threading; using CShellNet; using Dockhand.Interfaces; using Medallion.Shell; namespace Dockhand.Utils { class CancellableShell : CShell, ICancellableShell { private CancellationToken? _ct; public CancellableShell(Cancel...
StringEdit/FrmMain.cs
WopsVSV/StringEdit
7
7050873
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace StringEdit { /// <summary> /// Ma...
slideshow3/Group.cs
youstinus/hashcode-2019
0
7050874
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace slideshow2 { public class Group { public Group Left { get; set; } public Group Right { get; set; } public Slide Data { get; set; } public S...
src/Pretzel.Tests/Minification/TestPathResolver.cs
vaginessa/pretzel
378
7050875
<reponame>vaginessa/pretzel<filename>src/Pretzel.Tests/Minification/TestPathResolver.cs using System.IO; using IPathResolver = dotless.Core.Input.IPathResolver; namespace Pretzel.Tests.Minification { public class TestPathResolver : IPathResolver { private readonly string directory; public Test...
App/UI/OrderMenu.cs
210503-Reston-NET/Ruffner-Garrett-P0
0
7050876
<gh_stars>0 using Service; using Serilog; using System; namespace UI { public class OrderMenu : IMenu { private IService _services; private IValidationUI _validate; public OrderMenu(IService services, IValidationUI validate) { _services = services; _vali...
Tetris/BlockShapes/TetrisBlock.cs
GressLayer/csharpgames
0
7050877
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Input; using Tetris; namespace Tetris { abstract class TetrisBlock : GameObject { public bool[,] blockShape { get; protected set; } protected const int ...
Assets/HandUI/Scripts/HandUI/PinchCursor.cs
data-experts/handUI-HL2
340
7050878
<filename>Assets/HandUI/Scripts/HandUI/PinchCursor.cs<gh_stars>100-1000 using System.Collections; using System.Collections.Generic; using DG.Tweening; using Leap; using Leap.Unity; using Leap.Unity.Interaction; using UnityEngine; public class PinchCursor : MonoBehaviour { public Chirality whichHand; p...
src/Lemonad.ErrorHandling/Extensions/AsyncResult/ToAsyncMaybe.cs
inputfalken/Lemonad
3
7050879
<reponame>inputfalken/Lemonad using System; using Lemonad.ErrorHandling.Internal; namespace Lemonad.ErrorHandling.Extensions.AsyncResult { public static partial class Index { public static IAsyncMaybe<T> ToAsyncMaybe<T, TError>(this IAsyncResult<T, TError> source) { if (source is null) throw ne...
GradeBook.Models/Account.cs
DenHaydash/gradebook-svc
0
7050880
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using GradeBook.Models.Abstractions; namespace GradeBook.Models { [Table("Accounts")] public class Account : IEntity { [Key] public int Id { get; set; } [Required...
SQLiteWPF-master/SQLiteWPF/obj/Debug/MainWindow.g.i.cs
popchenk/db-ddd-wpf-school
0
7050881
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "453D741A97CB07739705A4AB442F4F5B5980FACBEEF27ABC687ACD9200B5DAF3" //------------------------------------------------------------------------------ // <auto-generated> // Tento kód byl generován nástrojem. // Verze modulu runtime...
src/System.IO.Pipelines/ResultFlags.cs
wjk/dotnet-corefxlab
0
7050882
namespace System.IO.Pipelines { [Flags] internal enum ResultFlags : byte { None = 0, Cancelled = 1, Completed = 2 } }
TableClassGenerator/UIUtils.cs
s-ueno/TableClassGenerator
0
7050883
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace TableClassGenerator { public static class UIUtils { public static object BoolToVisibility(object arg1, Type arg2, object arg3, System.Globalization.Cultur...
ComLight/Utils/EmitUtils.cs
Const-me/ComLightInterop
22
7050884
<filename>ComLight/Utils/EmitUtils.cs<gh_stars>10-100 using System; using System.Reflection; using System.Reflection.Emit; namespace ComLight { static class EmitUtils { static readonly OpCode[] intConstants = new OpCode[ 9 ] { OpCodes.Ldc_I4_0, OpCodes.Ldc_I4_1, OpCodes.Ldc_I4_2, OpCodes.Ldc_I4_3, OpCodes.Ld...
BigCookieKit.Reflect/PropertyStroke.cs
BigBigZBBing/GeneralK
15
7050885
using System.Reflection; using System.Reflection.Emit; namespace BigCookieKit.Reflect { public sealed class PropertyStroke { private PropertyBuilder propertyBuilder; private FieldStroke fieldStroke; internal PropertyStroke(PropertyBuilder propertyBuilder, FieldStroke field...
src/Ports/Requests/WeatherRequest.cs
DevJonny/MinimalBFF
0
7050886
using MinimalBFF.Domain.Responses; using Paramore.Darker; namespace MinimalBFF.Ports.Requests; public class WeatherRequest : IQuery<IWeatherResponse> { public float? Lat { get; } public float? Lon { get; } public WeatherRequest(float? lat, float? lon) { Lat = lat; Lon = lon; } }
src/root/src/contracts/IBinaryRefOp.cs
0xCM/z0
0
7050887
<filename>src/root/src/contracts/IBinaryRefOp.cs //----------------------------------------------------------------------------- // Copyright : (c) <NAME>, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using Free = System.Security.Suppre...
SuperDelete/Internal/ProgressTracker.cs
marceln/SuperDelete
109
7050888
//Copyright 2015 <NAME> (<EMAIL>) // //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 agree...
6/Program.cs
ryzngard/advent-of-code-2018
0
7050889
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; namespace _6 { class Program { static void Main(string[] args) { var file = args.Length > 0 ? args[0] : "input.txt"; var claims = File.ReadAllLines(...
source/CsQuery/CQ_CsQuery/IncludeWhen.cs
periface/CsQuery
791
7050890
<gh_stars>100-1000 using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using CsQuery.Utility; using CsQuery.ExtensionMethods; using CsQuery.ExtensionMethods.Internal; using CsQuery.Engine; using CsQuery.Implementation; namespace CsQuery { public partial ...
Features/Exercises/ExercisesEventBusMessages.cs
QuinntyneBrown/no-days-off-app
8
7050891
<filename>Features/Exercises/ExercisesEventBusMessages.cs namespace NoDaysOffApp.Features.Exercises { public class ExercisesEventBusMessages { public static string AddedOrUpdatedExerciseMessage = "[Exercises] ExerciseAddedOrUpdated"; public static string RemovedExerciseMessage = "[Exercises] Exe...
src/Core/Application/Multitenancy/InvalidTenantException.cs
negirox/multitenancy
0
7050892
<filename>src/Core/Application/Multitenancy/InvalidTenantException.cs<gh_stars>0 using System.Net; using DN.WebApi.Application.Common.Exceptions; namespace DN.WebApi.Application.Multitenancy; public class InvalidTenantException : CustomException { public InvalidTenantException(string message) : base(message, ...
Factory/Views/Engineers/AddMachine.cshtml
3Emme/Factory
0
7050893
<gh_stars>0 @{ Layout = "_Layout"; } @model Factory.Models.Engineer <h1>Assign a Machine</h1> <hr /> <h3>Assign a Machine to this Engineer: @Html.DisplayFor(model => model.EngineerName)</h3> @using (Html.BeginForm()) { @Html.HiddenFor(model => model.EngineerId) @Html.Label("Select Machine") @Html.DropDownList("...
Source/EventHorizon.Blazor.TypeScript.Interop.Generator/GenerateClassShim.cs
BlazorHub/EventHorizon.Blazor.TypeScript.Interop.Generator
1
7050895
using System.Collections.Generic; using System.Linq; using EventHorizon.Blazor.TypeScript.Interop.Generator.Model.Statements; using Sdcb.TypeScript; using Sdcb.TypeScript.TsTypes; using EventHorizon.Blazor.TypeScript.Interop.Generator.Templates; using EventHorizon.Blazor.TypeScript.Interop.Generator.Normalizers; names...
src/GiGraph.Dot.Entities/Attributes/Properties/DotEntityAttributes.Getters.cs
mariusz-schimke/GiGraph
27
7050896
using System; using System.Reflection; using GiGraph.Dot.Entities.Labels; using GiGraph.Dot.Types.Arrowheads; using GiGraph.Dot.Types.Clusters; using GiGraph.Dot.Types.Colors; using GiGraph.Dot.Types.Edges; using GiGraph.Dot.Types.EscapeString; using GiGraph.Dot.Types.Geometry; using GiGraph.Dot.Types.Graphs; using Gi...
excel/ExcelSettings.cs
KarmaScripter/Ninja
1
7050897
<filename>excel/ExcelSettings.cs // <copyright file = "ExcelSettings.cs" company = "<NAME>"> // Copyright (c) <NAME>. All rights reserved. // </copyright> namespace BudgetExecution { using System.Configuration; using System.Diagnostics.CodeAnalysis; using System.Drawing; using OfficeOpenXml.Style; ...
Application/EdFi.Ods.Tests/EdFi.Ods.Common/Validation/DescriptorNamespaceValidatorTests.cs
jamessmckay/Ed-Fi-ODS
0
7050898
// SPDX-License-Identifier: Apache-2.0 // Licensed to the Ed-Fi Alliance under one or more agreements. // The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. // See the LICENSE and NOTICES files in the project root for more information. using System.Linq; using EdFi.Ods.Api.Validation...
YiSha.Web/YiSha.Admin.Web/Areas/DemoManage/Views/Table/Image.cshtml
lizhaoiot/pomsbs
2
7050899
@{ Layout = "~/Views/Shared/_Index.cshtml"; } <div class="container-div"> <div class="row"> <div class="col-sm-12 select-table table-striped"> <table id="gridTable" data-mobile-responsive="true"></table> </div> </div> </div> <script type="text/javascript"> $(fun...
01. PF - 99. Exams/2017.08.20/04. Trainlands/04. Trainlands.cs
bobo4aces/02.SoftUni-TechModule
1
7050900
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _04.Trainlands { class Program { static void Main(string[] args) { string input = Console.ReadLine(); Dictionary<string, List<KeyValuePair<strin...
ShopApp2.0/ShopApp.Web/Views/Shared/_MenuPartial.cshtml
GMihalkow/Csharp-ASP-Web-Apps
2
7050901
@{ var categories = this.Context.Items["categories"] as IEnumerable<CategoryNavBarViewModel>; } <nav class="main-nav"> <ul> <li class="dropdown-container"> <a href="javascript:void(0)" class="dropdown-btn">Categories <i class="fas fa-bars"></i></a> <div class="dropdown"> ...
src/pubg-dotnet/Models/Telemetry/Events/LogPlayerTakeDamage.cs
SamuelDev/pubg-dotnet
0
7050902
<filename>src/pubg-dotnet/Models/Telemetry/Events/LogPlayerTakeDamage.cs<gh_stars>0 using Newtonsoft.Json; namespace Pubg.Net { public class LogPlayerTakeDamage : PubgTelemetryEvent { [JsonProperty] public int AttackId { get; set; } [JsonProperty] public PubgCharacter Attacker...
Manufaktura.Controls.Legacy/Interactivity/DraggingStrategy.cs
prepare/Ajcek_manufakturalibraries
0
7050903
using Manufaktura.Controls.Model; using Manufaktura.Controls.Primitives; using Manufaktura.Controls.Rendering; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace Manufaktura.Controls.Interactivity { /// <summary> /// Static methods fo...
Source/Singulink.Cryptography.PasswordHasher/Unicode/UnicodeData.cs
Singulink/Singulink.Security.Cryptography
8
7050904
<filename>Source/Singulink.Cryptography.PasswordHasher/Unicode/UnicodeData.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Globalization; using System.IO; namespace Singulink.Cryptography.Unicode { internal static class UnicodeData { private static readonly char[...
Assets/Plugins/TweenRx/TransformExtensions.cs
TomohiroHibino600/MustlePassthrough
55
7050905
<reponame>TomohiroHibino600/MustlePassthrough using System; using UniRx; using UnityEngine; namespace TweenRx { public static class TransformExtensions { public static IDisposable SubscribeToLocalPosition(this IObservable<Vector3> source, Transform transform) { return source.Subscr...
src/BinaryDataDecoders.ExpressionCalculator/Expressions/OperatorExtensions.cs
mwwhited/BinaryDataDecoders
5
7050906
<reponame>mwwhited/BinaryDataDecoders using System; using static BinaryDataDecoders.ExpressionCalculator.Expressions.BinaryOperators; using static BinaryDataDecoders.ExpressionCalculator.Expressions.UnaryOperators; namespace BinaryDataDecoders.ExpressionCalculator.Expressions { public static class OperatorExtensi...
NanoRPC/Models/Account/AccountInfo.cs
michielpost/NanoRPC
5
7050907
<reponame>michielpost/NanoRPC using NanoRPC.Models; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace NanoRPC { public class AccountInfoRequest : IRPCAction { public string Action { get; } = "account_info"; public string Account { get; set; } /...
source/GammaJul.ReSharper.ForTea/Psi/Directives/EncodingDirectiveAttributeInfo.cs
ac931274/ForTea
131
7050908
<reponame>ac931274/ForTea using System; using System.Collections.Generic; using System.Linq; using System.Text; using JetBrains.Annotations; using JetBrains.DataStructures; using JetBrains.Util; namespace GammaJul.ReSharper.ForTea.Psi.Directives { public class EncodingDirectiveAttributeInfo : DirectiveAttributeInfo ...
XNBTest/Program.cs
spacechase0/XnbCSharp
0
7050909
using System; using System.IO; using XNB; namespace XNBTest { class Program { static void Main(string[] args) { XnbFile file = XnbFile.Load(new FileStream("C:\\Program Files (x86)\\Steam\\steamapps\\common\\Stardew Valley\\Content\\Maps\\spring_outdoorsTileSheet.xnb", FileMode.Open...
samples/CAD.Web.Module/Classes/TestModuleInfo.cs
CtrlAltDelete-Solutions/cad.web
1
7050910
using System; using System.Collections.Generic; using System.Linq; using System.Web; using CAD.Web; using System.ComponentModel.Composition; using System.ComponentModel.Composition.Hosting; namespace CAD.Web.Module { [InheritedExport(typeof(IModuleInfo))] public class TestModuleInfo : ModuleInfo { ...
Coroutines/Coroutine.YieldAwaiter.cs
jakobbotsch/Coroutines
1
7050911
<reponame>jakobbotsch/Coroutines using System; using System.Diagnostics; using System.Runtime.CompilerServices; namespace Coroutines { public partial class Coroutine { private class CoroutineYieldAwaitable : INotifyCompletion { public bool Canceled { get; set; } public CoroutineYieldAwaitable GetAwaiter(...
BackendTests/POCO/DatasourceIdTest.cs
IT2901-SINTEF01/backend
15
7050912
using Backend.Models.Base.Metadata.POCO; using Xunit; namespace BackendTests.POCO { public class DatasourceIdTest { private readonly DatasourceId _datasourceId; public DatasourceIdTest() { _datasourceId = new DatasourceId("DUMMY_SOURCE"); } [Fact] p...
src/GRA.Controllers/MissionControl/HomeController.cs
codacy-badger/greatreadingadventure
0
7050913
using System; using System.Collections.Generic; using System.Threading.Tasks; using GRA.Abstract; using GRA.Controllers.ViewModel.MissionControl.Home; using GRA.Controllers.ViewModel.Shared; using GRA.Domain.Model; using GRA.Domain.Model.Filters; using GRA.Domain.Service; using Microsoft.AspNetCore.Authorization; usin...
WebApplication1/LoginForm1.aspx.designer.cs
chandanb91/.Net-Project
0
7050915
<reponame>chandanb91/.Net-Project //------------------------------------------------------------------------------ // <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> /...
src/Client/Program.cs
a34546/RedisDemo
0
7050916
<gh_stars>0 using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using WebApi.Controllers; using WebApi.Data; namespace Client { class Program { /// <summary> ...
Assets/Scripts/InventoryScripts/InventoryScript.cs
Banananaman91/DeathGame
2
7050917
<filename>Assets/Scripts/InventoryScripts/InventoryScript.cs using System; using System.Collections.Generic; using System.Linq; using MovementNEW; using Pages; using ScriptableDialogueSystem.Editor.DialogueTypes; using UnityEngine; using UnityEngine.UI; namespace InventoryScripts { public class InventoryScript : ...
Final-Exam-Preparation-Fundamentals/01. Password Reset/Program.cs
Anzzhhela98/SoftUni-CSharp-Exams
1
7050918
using System; using System.Linq; using System.Text; namespace _03._Heroes_of_Code_and_Logic_VII { class Program { static void Main(string[] args) { StringBuilder newInput = new StringBuilder(Console.ReadLine()); string cmdArg = string.Empty; while ((cmdArg...
ECS Survive the blob/Assets/1-Scripts/UI Animations Scripts/TweenRotationCustomAnimations.cs
The-ULTIMATE-MULTIPLAYER-EXPERIENCE/Ultimate-Archery-Multiplayer-Unity-Game
1
7050919
<reponame>The-ULTIMATE-MULTIPLAYER-EXPERIENCE/Ultimate-Archery-Multiplayer-Unity-Game using UnityEngine; namespace UI_Animations_Scripts { public class TweenRotationCustomAnimations : MonoBehaviour { public void PlayTweenReverse() { TweenRotation tweenRotation = this.GetComponent<...
src/EliteTheme/MainFrm.cs
mugalugs/EliteTheme
0
7050920
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Xml.Serialization; namespace El...
FilesHandler.cs
MKelm/parkitect-statmaster
1
7050921
using UnityEngine; using System.Collections.Generic; using System.Security.Cryptography; using System.Text; using System.IO; using System.IO.IsolatedStorage; namespace StatMaster { class FilesHandler { private string path = Application.persistentDataPath + "/statMaster/"; private string subFol...
InterviewQuestion1.Validators/Strategies/InputValidatorRequiredStrategy.cs
hirebarend/interview-question-1
0
7050922
<filename>InterviewQuestion1.Validators/Strategies/InputValidatorRequiredStrategy.cs<gh_stars>0 using InterviewQuestion1.Validators.Interfaces; using System; namespace InterviewQuestion1.Validators.Strategies { public class InputValidatorRequiredStrategy : IInputValidatorStrategy { public string Valid...
API/Classes/ApiVersions.cs
PaulGilchrist/mongodb-api
0
7050923
<gh_stars>0 using Microsoft.AspNetCore.Mvc; namespace API.Classes { static class ApiVersions { internal static readonly ApiVersion V1 = new ApiVersion(1, 0); } }
src/Services/HttpContextService.cs
kapokmarketing/Detection
1
7050924
// Copyright (c) 2014-2020 <NAME>, All Rights Reserved. // Modifications Copyright (c) 2020 Kapok Marketing, Inc. // The Apache v2. See License.txt in the project root for license information. using System; using Microsoft.AspNetCore.Http; namespace Wangkanai.Detection.Services { public class HttpContextService :...
src/Modules/FileStorage/Leelite.Modules.FileStorage/Dtos/FileItemDtos/FileItemUpdateRequest.cs
liduopie/LeeliteCore
2
7050925
using System; using Leelite.Framework.Service.Dtos; using Leelite.Modules.FileStorage.Models.FileItemAgg; namespace Leelite.Modules.FileStorage.Dtos.FileItemDtos { public class FileItemUpdateRequest : IUpdateRequest<Guid> { public Guid Id { get; set; } public long TenantId { get; set; } ...
Builder/Logic.Service/Decorators/BaseDatasourceResourceDtoServiceDecorator.cs
stichting-cito/QuestifyBuilder
3
7050926
<reponame>stichting-cito/QuestifyBuilder using System.Collections.Generic; using Questify.Builder.Logic.Service.Interfaces; using DataSourceResourceDto = Questify.Builder.Logic.Service.Model.Entities.DataSourceResourceDto; namespace Questify.Builder.Logic.Service.Decorators { public abstract class BaseDatasourceR...
CexCore/Common/ApiCredentials.cs
Ryukote/cex.io-api
1
7050927
<filename>CexCore/Common/ApiCredentials.cs using CexCore.Helpers; using System.Linq; using System.Security.Cryptography; using System.Text; namespace CexCore.Common { public sealed class ApiCredentials { private readonly HMAC _hmac; public string UserId { get; private set; } public st...
src/Faker/Locales/en/Name/Genders.cs
justJay-dev/faker-dot-cs
0
7050928
using System; using System.Collections.Generic; namespace Faker.Locales { public partial class Name { public List<string> Genders = new List<string> { "Asexual", "Female to male trans man", "Female to male transgender man", "Female to male transsexual man", "F2M", "Gender neutral", "Hermaphro...
tests/L5Sharp.Core.Tests/EventTaskTests.cs
tnunnink/L5XParser
3
7050929
<reponame>tnunnink/L5XParser using FluentAssertions; using L5Sharp.Enums; using NUnit.Framework; namespace L5Sharp.Core.Tests { [TestFixture] public class EventTaskTests { [Test] public void New_ValidDefault_ShouldNotBeNull() { var task = new EventTask("Test"); ...
Assets/GameJamStarterPack/Scripts/Singleton.cs
nlaracuente/GameJamScriptsStarterPack
1
7050930
<gh_stars>1-10 using UnityEngine; /// <summary> /// A generic singleton base calss /// </summary> /// <typeparam name="T"></typeparam> public class Singleton<T> : MonoBehaviour where T : MonoBehaviour { /// <summary> /// An instance of self /// </summary> static T m_instance; /// <su...
Package/Assets/GDK-APIs/Runtime/Source/Interop/XBL/Achievements/XblAchievementTimeWindow.cs
MaartenDeMeyer/gdk-unity-package
14
7050931
using System.Runtime.InteropServices; namespace XGamingRuntime.Interop { //typedef struct XblAchievementTimeWindow //{ // time_t startDate; // time_t endDate; //} //XblAchievementTimeWindow; [StructLayout(LayoutKind.Sequential)] internal struct XblAchievementTimeWind...
Source/Tests/Trakt.NET.Objects.Basic.Tests/Json/Reader/StatisticsArrayJsonReader/StatisticsArrayJsonReader_Reader_Tests.cs
henrikfroehling/Trakt.NET
39
7050932
namespace TraktNet.Objects.Basic.Tests.Json.Reader { using FluentAssertions; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Trakt.NET.Tests.Utility.Traits; using TraktNet.Objects.Basic; ...
XTransmit/ViewModel/ServerConfigVModel.cs
lkmvip/xtransmit-windows
0
7050933
using System; using System.Collections.Generic; using System.Globalization; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; using XTransmit.Model.Server; using XTransmit.Utility; using XTransmit.ViewModel.Element; namespace XTransmit.ViewModel { ...
nopCommerce 4.4/src/Libraries/Nop.Services/ExportImport/Extensions.cs
peterthomet/BioPuur
0
7050934
<reponame>peterthomet/BioPuur using System.Threading.Tasks; using System.Xml; namespace Nop.Services.ExportImport { /// <summary> /// Extensions /// </summary> public static partial class Extensions { /// <summary> /// Write string async /// </summary> /// <param na...
src/NDuck/Data/NamespaceData.cs
alberto-chiesa/nduck
0
7050935
<filename>src/NDuck/Data/NamespaceData.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; namespace NDuck.Data { /// <summary> /// Represents every data linked /// to types in a namespace. /// </summary> public class NamespaceData { /// <summary...
src/FubuMVC.Core/ServiceBus/Polling/IPollingJobs.cs
RyanHauert/fubumvc
100
7050936
<reponame>RyanHauert/fubumvc using System; using System.Collections.Generic; using System.Threading.Tasks; namespace FubuMVC.Core.ServiceBus.Polling { public interface IPollingJobs : IEnumerable<IPollingJob> { bool IsActive<T>() where T : IJob; bool IsActive(Type jobType); void Activat...
src/HotChocolate/Core/src/Abstractions/Execution/IQueryResultBuilder.cs
damikun/hotchocolate
0
7050937
<reponame>damikun/hotchocolate<gh_stars>0 using System; using System.Collections.Generic; #nullable enable namespace HotChocolate.Execution { public interface IQueryResultBuilder { IQueryResultBuilder SetData( IReadOnlyDictionary<string, object?>? data, IDisposable? disposabl...
Newtonsoft.Json.Compact/Newtonsoft/Json/Converters/BinaryConverter.cs
zcfsky/Newtonsoft.Json.Compact
0
7050938
<gh_stars>0 using System; using System.Data.SqlTypes; using System.Globalization; using Newtonsoft.Json.Utilities; namespace Newtonsoft.Json.Converters { // Token: 0x02000004 RID: 4 public class BinaryConverter : JsonConverter { // Token: 0x06000005 RID: 5 RVA: 0x000020D8 File Offset: 0x000002D8 public overrid...
ReportObjects/EntityAPM/Maps/APMInformationPointReportMap.cs
afterthislevel/AppDynamics.DEXTER
76
7050939
using AppDynamics.Dexter.ReportObjects; using CsvHelper.Configuration; namespace AppDynamics.Dexter.ReportObjectMaps { public class APMInformationPointReportMap : ClassMap<APMInformationPoint> { public APMInformationPointReportMap() { int i = 0; Map(m => m.Controller).I...
src/Graph/841KeysAndRooms.cs
macdavid313/LeetCode-CSharp
1
7050940
<reponame>macdavid313/LeetCode-CSharp<filename>src/Graph/841KeysAndRooms.cs /* * File: 841KeysAndRooms.cs * Project: Graph * Created Date: Monday, 31st August 2020 7:09:22 am * Author: <NAME> (<EMAIL>) * Runtime: 132 ms, faster than 40.30% of C# online submissions for Keys and Rooms. * Memory Usage: 26.1 MB, less...
src/Gambot.Module.BandName/BandNameModule.cs
mohammedh123/Gambot2
3
7050941
<gh_stars>1-10 using System.Linq; using System.Threading.Tasks; using Gambot.Core; using Gambot.Data; namespace Gambot.Module.BandName { public class BandNameModule : GambotModule { public override string Name => "BandName"; private readonly IDataStoreProvider _dataStoreProvider; ...
src/TabletModeMonitor/Win32/TabletModeWatcher.cs
slorion/TabletModeMonitor
1
7050942
using Microsoft.Win32; using System; using System.Management; namespace TabletModeMonitor.Win32 { internal class TabletModeWatcher : IDisposable { private readonly ManagementEventWatcher _watcher; public TabletModeWatcher(string userSid) { if (string.IsNullOrEmpty(userSid)) throw new ArgumentNullException...
Splitio.Integration-tests/Resources/EventBackend.cs
splitio/dotnet-client
4
7050943
<filename>Splitio.Integration-tests/Resources/EventBackend.cs using System.Collections.Generic; namespace Splitio.Integration_tests.Resources { public class EventBackend { public string Key { get; set; } public string EventTypeId { get; set; } public string TrafficTypeName { get; set; ...
ex1064/Program.cs
silviafrigatto/csharp-exercises
0
7050945
<reponame>silviafrigatto/csharp-exercises<gh_stars>0 // Exercise available on https://www.urionlinejudge.com.br/judge/en/problems/view/1064 using System; using System.Globalization; namespace ex1064 { class Program { static void Main(string[] args) { int total = 0; dou...
Server/Web/DayTripper.Web/Controllers/RegisterController.cs
todor-tsankov/day-tripper
1
7050946
using System; using System.Linq; using System.Text; using System.Threading.Tasks; using DayTripper.Data.Models; using DayTripper.Web.ViewModels.Helpers; using DayTripper.Web.ViewModels.Users; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensio...
Paraiba.Experiment/Utility/ListWrapper.cs
exKAZUu/Paraiba
0
7050947
<reponame>exKAZUu/Paraiba<filename>Paraiba.Experiment/Utility/ListWrapper.cs #region License // Copyright (C) 2011-2016 <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 // // ...
UnitSpriteStudio/PixelOperations/ColorGroupBrightnessWindow.xaml.cs
bohemond-of-antioch/OpenXcom-UnitSpriteStudio
2
7050948
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
src/Extensions.EntityFrameworkCore.SqlServer.Bulk/Internal/IColumnSetup.cs
MarkusGnigler/EFCoreBulk
7
7050949
using System; namespace Microsoft.EntityFrameworkCore.SqlServer.Bulk.Internal { public interface IColumnSetup { string ColumnName { get; } Type ColumnType { get; } int Ordinal { get; } ValueDirection ValueDirection { get; } object GetValue(object parameter); ...
Assets/FullInspector2/Core/Editor/PropertyEditors/fiCycleDetector.cs
bakiya-sefer/bakiya-sefer
1
7050950
<reponame>bakiya-sefer/bakiya-sefer<gh_stars>1-10 using System; using System.Collections.Generic; namespace FullInspector.Internal { /// <summary> /// This class assists with cycle detection in an object graph. /// </summary> public class fiCycleDetector { /// <summary> /// Factory we ...
Image_Encryptor/Form1.cs
MxFox555/Image-Compressor-Encrypt-Decrypt
0
7050951
/* * WRITTEN BY: <NAME> * USING: Pascal Case naming convention. * PURPOSE: To convert an image to text and encrypt / decrypt it and also to rebuild image from text * * Copyright (c) 2019 <NAME> * Released under the MIT licence: http://opensource.org/licenses/mit-license */ using System; using System...
src/HotChocolate/Core/src/Execution/Utilities/PreparedArgument.cs
damikun/hotchocolate
0
7050952
using System; using HotChocolate.Language; using HotChocolate.Types; namespace HotChocolate.Execution.Utilities { public sealed class PreparedArgument { public PreparedArgument( Argument argument, ValueKind kind, bool isFinal, bool isImplicit, ...
src/AllAuth.Mobile.TestDevice/AccountModels/Links.cs
bowmark/allauth.desktop
0
7050953
using AllAuth.Lib.Db.Sqlite; using SQLite.Net.Attributes; namespace AllAuth.Mobile.TestDevice.AccountModels { public class Links : DbTable<Link> { } [Table("Links")] public class Link : DbRow { public string Identifier { get { return Get<string>(); } set { Set(value); } } /...
src/Tailviewer.PluginRepository/Applications/AddUser.cs
hezlog/Tailviewer
0
7050954
<reponame>hezlog/Tailviewer using System; using System.IO; using System.Reflection; using log4net; using Tailviewer.PluginRepository.Exceptions; namespace Tailviewer.PluginRepository.Applications { public sealed class AddUser : IApplication<AddUserOptions> { private static readonly ILog Log = LogManager.GetLogg...
Scartch/Assets/Scripts/View/BlockViewer.cs
mbosc/scartch
1
7050955
using Scripting; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using Model; namespace View { public class BlockViewer : BlockoidViewer { public BlockAttachPoint attachPoint; private BlockViewer next; protected List<Block...
src/mscorlib/src/System/Runtime/InteropServices/ICustomFactory.cs
CyberSys/coreclr-mono
277
7050956
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// namesp...
HumanoidScript.cs
ChollSong/STICK
0
7050958
<gh_stars>0 using UnityEngine; using System.Collections; //still need to implement color changing when rotating; public class HumanoidScript : MonoBehaviour { public Transform groundCheck; public LayerMask whatIsGround; public Transform gun; /* index 0 for gun index 1 for health index 2 fo...
VisualStudio/Sources/AppSettingsService/ApplicationSettingsService.cs
Heinzman/DigiRcMan
0
7050959
<reponame>Heinzman/DigiRcMan<filename>VisualStudio/Sources/AppSettingsService/ApplicationSettingsService.cs using Elreg.BusinessObjects.Options; using Elreg.RaceOptionsService; namespace Elreg.RaceRecovery { public class ApplicationSettingsService : ServiceBase<ApplicationSettings> { public Appl...
Digitalboken/Server/Models/Search/BodyLine.cs
alwek/Digitalboken
1
7050960
<reponame>alwek/Digitalboken<gh_stars>1-10 using Newtonsoft.Json; namespace Digitalboken.Server.Models.Search { public partial class BodyLine { [JsonProperty("title")] public string Title { get; set; } [JsonProperty("htmlTitle")] public string HtmlTitle { get; set; } ...
Runtime/Code/MonoBehaviours/CameraTextureSaver.cs
Bobscorn/unity-common
1
7050961
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.IO; #if UNITY_EDITOR using UnityEditor; #endif namespace Common { namespace Behaviour { public class CameraTextureSaver : MonoBehaviour { public Camera Camera; public string fileName; public int ResolutionScal...
myfigurecollectionDumper/test.cs
feyris-tan/azusa
0
7050963
<reponame>feyris-tan/azusa //------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn /...
borrrbot.Engine/OBS/JsonRc.cs
borrrden/borrrbot
2
7050964
using System; using System.Collections.Generic; using System.Threading; using JetBrains.Annotations; using Newtonsoft.Json; namespace borrrbot.API.OBS { internal class JsonRcRequest : IJsonRcRequest { #region Variables [NotNull]private readonly Dictionary<string, object> _params = new Dicti...
web-api/src/Project.API/Infrastructure/Repositories/LastOrders/InMemoryLastUserOrders.cs
walkmansit/Drinks
1
7050965
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using MediatR; using Project.API.Ordering.Application.LastUserOrder; using Project.API.Ordering.Application.LastUserOrderStatus; using Project.API.Ordering.Domain.Drinks; using Project.API.Ordering.Domain.Orders; ...
HDO2O.Infranstructure/PageInfo.cs
psyun/HDO2O-RestfulAPI
0
7050966
<filename>HDO2O.Infranstructure/PageInfo.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HDO2O.Infranstructure { /// <summary> /// define the page info of server json data /// </summary> public class PageInfoDto { ...
foodtruacker.Framework/API/Startup.cs
hiiammalte/foodtruacker
5
7050967
using foodtruacker.API.Extensions; using foodtruacker.Application.BoundedContexts.UserAccountManagement.Commands; using foodtruacker.Application.BoundedContexts.UserAccountManagement.QueryObjects; using foodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates; using foodtruacker.EventSourcingRepository.Repo...
Assets/PiRhoUtilities/Runtime/Attributes/Drawers/TypePickerAttribute.cs
janmikusch/PiRhoUtilities
70
7050969
using System; namespace PiRhoSoft.Utilities { public class TypePickerAttribute : PropertyTraitAttribute { public Type BaseType { get; private set; } public bool ShowAbstract { get; private set; } public TypePickerAttribute(Type baseType, bool showAbstract = false) : base(ControlPhase, 0) { BaseType = ba...
srcs/BinancePayDotnetSdk.Common/Converters/JsonStringDoubleConverter.cs
Tusquito/binance-pay-dotnet-sdk
3
7050970
using System; using System.Globalization; using System.Text.Json; using System.Text.Json.Serialization; namespace BinancePayDotnetSdk.Common.Converters { internal class JsonStringDoubleConverter: JsonConverter<double> { public override double Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSer...
src/FuelWerx.EntityFramework/Migrations/fuelwerxmigration_2090.Designer.cs
zberg007/project
0
7050972
<gh_stars>0 using System; using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Builders; using System.Data.Entity.Migrations.Infrastructure; using System.Data.Entity.Migrations.Model; using System.Resources; using System.Runtime.CompilerServices; namespace FuelWerx.Mi...
inside-asp-net-core-3/ch_23/S2307/App/BarContext.cs
hyperpc/AspNetCoreFxAdv
0
7050974
<gh_stars>0 using Microsoft.EntityFrameworkCore; namespace App { public class BarContext : DbContext { public BarContext(DbContextOptions<BarContext> options) : base(options) { } } }
ShapeLib/Shapes/Circle.cs
Vital7/ShapeLib
0
7050975
<reponame>Vital7/ShapeLib using System; namespace ShapeLib.Shapes { public class Circle : Shape, IEquatable<Circle>, IComparable<Circle> { /// <summary> /// Create circle with specified radius. /// </summary> /// <param name="radius">Radius value of the circle.</param> public Circle(Distance radius) => ...
JumpPoint/JumpPoint.Uwp/Converters/MessageTypeTemplateSelector.cs
MarkIvanDev/JumpPoint
16
7050976
using JumpPoint.Platform.Services; using JumpPoint.ViewModels.Hosted; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace JumpPoint.Uwp.Converters { public class MessageTypeTemplateSele...
Samples/MasterPortal/Pages/WebTemplateNoValidation.aspx.cs
hhnguyen/xRM-Portals-Community-Edition
117
7050977
<filename>Samples/MasterPortal/Pages/WebTemplateNoValidation.aspx.cs /* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. */ namespace Site.Pages { /// <summary> /// Web template without validation. /// </summar...