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
src/Unosquare.WaveShare.FingerprintModule/ResponseBase.cs
wezzix/wsfingerprint
11
7065268
namespace Unosquare.WaveShare.FingerprintModule { using System; using System.Collections.Generic; using System.Linq; /// <summary> /// A base class representing response messages. /// </summary> /// <seealso cref="Unosquare.WaveShare.FingerprintModule.MessageBase" /> public abstract cl...
src/Robot.Server/ImageGrid.cs
angelobreuer/Robot
0
7065270
<reponame>angelobreuer/Robot<filename>src/Robot.Server/ImageGrid.cs namespace Robot.Server { using System; using System.Buffers; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Drawing; using System.Drawing.Imaging; using S...
Resources-Metter-Source/WindowSettings.xaml.cs
marcos4503/resources-metter
0
7065271
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows....
src/StructRecordGenerator/StructRecordGenerator.Tests/TestToStringGenerator.WithConfiguration.cs
Serg046/StructRecordsGenerator
44
7065272
using System.Linq; using FluentAssertions; using NUnit.Framework; using StructRecordGenerators.Generators; namespace StructRecordGenerators.Tests { [TestFixture] public partial class TestToStringGenerator { [Test] public void PrintTypeNameIsFalse() { string code = @" ...
Lokalise.Api/Collections/Keys/Requests/DeleteKeysRequest.cs
AndyMeps/net-lokalise-api
0
7065273
using System.Collections.Generic; using System.Text.Json.Serialization; namespace Lokalise.Api.Collections.Keys.Requests { internal class DeleteKeysRequest { [JsonPropertyName("keys")] public IEnumerable<long> Keys { get; set; } public DeleteKeysRequest(IEnumerable<long> key...
MapSuiteGisEditor/GisEditorPluginCore/Shares/Wizards/DataJoinWizard/DataJoinWizardShareObject.cs
hoangduit/MapSuiteGisEditor
2
7065274
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may no...
src/Utils/Codeping.Utils/Models/Item.cs
Dudeping/Utils
0
7065275
<reponame>Dudeping/Utils using System; namespace Codeping.Utils { /// <summary> /// 列表项 /// </summary> public class Item : IComparable<Item> { /// <summary> /// 初始化 /// </summary> /// <param name="text">文本</param> /// <param name="value">值</param> //...
Pokemon/Item.cs
odanado/PokemonLibrary
0
7065276
<reponame>odanado/PokemonLibrary using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PokemonLibrary { public class Item { private string key; public Item(string name = "none") { key = Uti...
src/ProductiveFramework/ProductiveDDD.Tests/ValueObjectTests.cs
g-6k/productive-framework
1
7065277
<reponame>g-6k/productive-framework<gh_stars>1-10 using FluentAssertions; using NUnit.Framework; using ProductiveDDD.Tests.Mocks; namespace ProductiveDDD.Tests { [System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "snake case for test methods")] public clas...
Cart.gRPC/Models/eCart.cs
divyeshBhartiya/eCartMicroservices.gRPC
2
7065278
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Cart.gRPC.Models { public class eCart { public int Id { get; set; } public string UserName { get; set; } public List<CartItem> Items { get; set; } = new List<CartItem>(); ...
src/System.Private.DataContractSerialization/src/System/Runtime/Serialization/Json/IXmlJsonWriterInitializer.cs
Realtao/corefx
3
7065279
<filename>src/System.Private.DataContractSerialization/src/System/Runtime/Serialization/Json/IXmlJsonWriterInitializer.cs // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.IO; using System.Text; using Syst...
OptionMaybeTypeNETCoreLVD/Option.Core/Func/Function.cs
LvDeploy/option-type-pattern-csharp
0
7065280
<gh_stars>0 using System; namespace Option.Core.Func { public static class Function { public static Func<TResult> Map<TInput, TResult>( this Func<TInput> that, Func<TInput, TResult> g ) => () => g(that()); public static Func<TResult> Bind<TInput, TResult>( ...
PacMan-noobtuts/Assets/Scripts/Object Management/MusicStatus.cs
MerlinsMaster/PieMan
0
7065281
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MusicStatus : MonoBehaviour { private AudioSource audioSource; private void Awake() { audioSource = GetComponent<AudioSource>(); } private void Update() { audioSource.mute = !SM.musicT...
Rage/Models/ConfigModel.cs
radaiko/Rage
0
7065282
<filename>Rage/Models/ConfigModel.cs using System.Collections.Generic; namespace Rage.Models { public class ConfigModel { public IEnumerable<string> SearchRepoPaths { get; set; } public IEnumerable<string> OpenRepos {get; set;} } }
Manatee.Json/Internal/CustomAttributes.cs
idstam/Manatee.Json
208
7065283
<filename>Manatee.Json/Internal/CustomAttributes.cs using System; namespace Manatee.Json.Internal { /// <summary> /// Marks a type or member as intended for deserialization use only. /// </summary> public class DeserializationUseOnlyAttribute : Attribute { } }
GGJ18/Assets/Scripts/Menu/ActivateMenu.cs
ankanx/GGJ18
0
7065284
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ActivateMenu : MonoBehaviour { public GameObject menu; public void Activate() { menu.gameObject.SetActive(false); } }
Programming Fundamentals - January 2017/01. Data Types and Variables/01. Data Types and Variables - Lab, January 18, 2017/02. Circle Area (Precision 12)/CircleArea(Precision12).cs
Menkachev/Software-University
0
7065287
namespace _02.Circle_Area__Precision_12_ { using System; public class CircleAreaPrecision12 { //// Write program to enter a radius "r" (real number) and print the area of the circle with //// exactly 12 digits after the decimal point. Use data type of enough precision to hold the r...
Source/ONI-Common/Json/BaseStateManager.cs
NitroturtleONI/ONI-Modloader-Mods
74
7065288
 using ONI_Common.IO; using System; using System.IO; namespace ONI_Common.Json { public class BaseStateManager<T> { public readonly string StateFilePath; public readonly ONI_Common.IO.Logger Logger; public readonly JsonFileManager JsonLoader; private T _state; public T State { ...
contest-754/d-cs/Program.cs
easimonenko/solution-problems-from-codeforces
1
7065289
using System; namespace dcs { class MainClass { public static void Main(string[] args) { var line1 = Console.ReadLine().Trim().Split(); var n = Int32.Parse(line1[0]); var k = Int32.Parse(line1[1]); var l = new int[n]; var r = new int...
Voodoo-Splashy-Demo/Assets/Scripts/Pickups/CoinBehaviour.cs
nopetrides/NP-Voodoo-Demo
0
7065290
<reponame>nopetrides/NP-Voodoo-Demo using System.Collections; using System.Collections.Generic; using UnityEngine; public class CoinBehaviour : Pickup { protected override void OnTriggerEnter(Collider collision) { if (collision.tag == "Player") { ScoreManager.Instance.AddMoney(1); } base.OnTriggerEnter(c...
WEB.Shop.Application/OrdersAdmin/GetOrder.cs
ViersJW/TanieZarcie
1
7065291
using System.Collections.Generic; using System.Linq; using WEB.Shop.Domain.Extensions; using WEB.Shop.Domain.Infrastructure; namespace WEB.Shop.Application.OrdersAdmin { [TransientService] public class GetOrder { private IOrderManager _orderManager; public GetOrder(IOrderManager orderMana...
src/Opserver.Core/Data/PollingService.Issues.cs
g3rv4/Opserver
0
7065292
using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using StackExchange.Profiling; namespace Opserver.Data { public partial class PollingService { internal ConcurrentBag<IIssuesProvider> IssueProviders { get; } = new ConcurrentBag<IIs...
src/AddIn.FogBugz/FogBugzSummaryView.Designer.cs
GibraltarSoftware/Loupe.Samples
1
7065293
namespace Loupe.Extension.FogBugz { partial class FogBugzSummaryView { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </s...
Loggly/LogglyTraceListener.cs
burningice2866/CompositeC1Contrib
5
7065294
using System; using System.Diagnostics; using Microsoft.Practices.EnterpriseLibrary.Common.Configuration; using Microsoft.Practices.EnterpriseLibrary.Logging; using Microsoft.Practices.EnterpriseLibrary.Logging.Configuration; using Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners; using Loggly; ...
EnvironmentConfig/Model/HostsConfiguration.cs
lukemerrett/EnvironmentConfigSample
1
7065296
<filename>EnvironmentConfig/Model/HostsConfiguration.cs namespace EnvironmentConfig.Model { public class HostsConfiguration { public bool TestsEnabled { get; set; } public string Tenant { get; set; } public string FirstApi { get; set; } public string SecondApi { get; set; } ...
src/HttpReports.Dashboard.API/Implements/Utils.cs
wenfeifei/HttpReports
3
7065297
<filename>src/HttpReports.Dashboard.API/Implements/Utils.cs using System; namespace HttpReports.Dashboard.Implements { public static class Utils { /// <summary> /// yyyy-MM-dd HH:mm:ss /// </summary> /// <param name="time"></param> /// <returns></returns> public...
src/GeneratedSerializers.Json/Attributes/MicrosoftDateTimeFormatAttribute.cs
nventive/GeneratedSerializers
0
7065298
<filename>src/GeneratedSerializers.Json/Attributes/MicrosoftDateTimeFormatAttribute.cs using System; namespace GeneratedSerializers { [AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)] public sealed class MicrosoftDateTimeFormatAttribute : Attribute { } }
NASB_Parser/AgentState.cs
megalon/NASB_Parser
1
7065299
using System; using System.Collections.Generic; using System.Text; namespace NASB_Parser { public class AgentState : ISerializable { public string CustomCall { get; set; } // Needed for system.text.json public List<TimedAction> Timeline { get; private set; } = new List<TimedAction>(); ...
src/Everything/Model/DirectoryResultItem.cs
wrido/wrido
2
7065300
using System.Diagnostics; namespace Everything.Model { [DebuggerDisplay("Directory: {" + nameof(Name) + "}")] public sealed class DirectoryResultItem : ResultItem { public override ResultType Type => ResultType.Directory; } }
src/Core/Models/Roll.cs
hquinn/Dicer
0
7065301
<reponame>hquinn/Dicer namespace Dicer.Models; /// <summary> /// Represents a single roll result. /// </summary> /// <param name="Result">Result of a roll.</param> /// <param name="DieSize">Size of a die (aka how many sides the die has).</param> public record Roll(int Result, int DieSize);
Source/Lokad.Cloud.Framework/Diagnostics/DiagnosticsAcquisition.cs
cdrnet/Lokad.Cloud
1
7065302
#region Copyright (c) Lokad 2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using Lokad.Diagnostics.Persist; namespace Lokad.Cloud.Diagnostics { /// <summary> /// Facade to collect internal and external d...
source/FFXIV.Framework/FFXIV.Framework/XIVHelper/Skill.cs
wbonbon/ACT.Hojoring
314
7065303
namespace FFXIV.Framework.XIVHelper { public class Skill { public uint ID { get; set; } public string Name { get; set; } public AttackTypes AttackType { get; set; } } }
src/Merchello.Core/Models/Interfaces/IOrderStatus.cs
bowserm/Merchello
0
7065304
<filename>src/Merchello.Core/Models/Interfaces/IOrderStatus.cs using System.Runtime.Serialization; using Merchello.Core.Models.EntityBase; namespace Merchello.Core.Models { public interface IOrderStatus : IEntity { /// <summary> /// The name of the order status /// </summary> [...
src/Stitching/Stitching.Tests/Schemas/SpecialCases/ContractSchemaFactory.cs
TCompass/hotchocolate
0
7065305
using System; using HotChocolate.Configuration; using HotChocolate.Language; using HotChocolate.Types; using Microsoft.Extensions.DependencyInjection; namespace HotChocolate.Stitching.Schemas.SpecialCases { public static class SpecialCasesSchemaFactory { public static ISchema Create() { ...
backend/prj-idv/Program.cs
phillpassos/prj-idv
0
7065306
using System; using System.ServiceModel.Description; using System.ServiceModel.Web; using prj_idv.Services; namespace prj_idv { internal class Program { private static void Main(string[] args) { var baseAddress = new Uri("http://localhost:3333/prj-idv-rest-api/"); usin...
Bar/Calculator.cs
bm98/FS20_HudBar
11
7065307
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SC = SimConnectClient; using FS20_HudBar.GUI; namespace FS20_HudBar.Bar { /// <summary> /// Various Calculations implemented as static methods /// </summary> internal sta...
src/CmlLib/Utils/SharpZip.cs
albert-du/TSMPModdedSeasonIILauncher
0
7065308
<reponame>albert-du/TSMPModdedSeasonIILauncher<filename>src/CmlLib/Utils/SharpZip.cs using ICSharpCode.SharpZipLib.Zip; using System; using System.Collections.Generic; using System.IO; using System.Text; namespace CmlLib.Utils { public class SharpZip { public SharpZip(string path) { ...
Backup/WindowImplWpf.cs
JaapSuter/Pentacorn
1
7065309
using System; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Interop; using System.Windows.Media; using Screen = System.Windows.Forms.Screen; using Vector2 = Microsoft.Xna.Framework.Vector2; using Size = System.Drawing.Size; namespace Pentacorn....
Lists/MoreExercises/Messaging/Program.cs
petarcmarinov97/grafixoftIntership
0
7065310
using System; using System.Linq; using System.Collections.Generic; namespace Messaging { internal class Program { static void Main(string[] args) { List<string> list = Console.ReadLine().Split().ToList(); string text = Console.ReadLine(); List<char> listE...
src/Repographer/Modules/ChangeNuget/ChangeNugetModule.cs
gracenote/Repographer
3
7065311
#region License // 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 #endregion using Autofac; using Repographer.Components.Vali...
car_dealership_application/Models/CarModel.cs
polarBearYap/car-dealership-application
0
7065314
<filename>car_dealership_application/Models/CarModel.cs<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace CarDealershipWebApp.Models { public class CarModel { public int ID { get; set; } ...
Assets/mecanica/nivel_1/script/correto_mecanica_nivel_1.cs
fabricio-torquato/Gamificacao-do-Ensino-de-Linguagem-C
1
7065315
<reponame>fabricio-torquato/Gamificacao-do-Ensino-de-Linguagem-C using UnityEngine; using System.Collections; using UnityEngine.UI; public class correto_mecanica_nivel_1 : MonoBehaviour { public GameObject obj; int resp,aux,cont; public string valor,passou; public GameObject fim,controle,crt; ...
src/GDShrapt.Reader/SimpleTokens/Keywords/GDIfKeyword.cs
elamaunt/GDShrapt
17
7065316
<filename>src/GDShrapt.Reader/SimpleTokens/Keywords/GDIfKeyword.cs<gh_stars>10-100 namespace GDShrapt.Reader { public sealed class GDForKeyword : GDSequenceToken, IGDKeywordToken { public override string Sequence => "for"; public override GDSyntaxToken Clone() { return new ...
samples/OSharp.Demo.Core/Services/ServiceCollectionExtensions.cs
breavewong/osharp
17
7065317
using System.Web; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; using Microsoft.Owin.Security.DataProtection; using OSharp.Core.Dependency; using OSharp.Core.Security; using OSharp.Demo.Identity; using OSharp.Demo.Models.Identity; using OSharp.Demo.OAuth; usin...
tests/UnitTests/BeatPulse/ServiceCollectionExtensionsTests.cs
evacrespob/BeatPulse
0
7065318
<filename>tests/UnitTests/BeatPulse/ServiceCollectionExtensionsTests.cs using BeatPulse.Core; using FluentAssertions; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using System; using System.Linq; using System.Threadi...
03.CSharpOOP/03_ExtensionMethodsDelegatesLambdaLINQ/ExtensionMethodsDelegatesLambdaLINQ/IEnumerableProblem/IEnumMain.cs
TsvetanMilanov/TelerikAcademyHW
2
7065319
namespace IEnumerableProblem { using System; using System.Collections.Generic; public class IEnumMain { public static void Main(string[] args) { List<int> testList = new List<int>(); testList.Add(1); testList.Add(2); testList.Add(3); ...
SistemaTaller.BackEnd.API/Services/Interfaces/IEstadoReparacionesService.cs
Dynart/SistemaTaller.BackEnd
0
7065320
using SistemaTaller.BackEnd.API.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SistemaTaller.BackEnd.API.Services.Interfaces { public interface IEstadoReparacionesService { List<EstadoReparaciones> SeleccionarTodos(); EstadoRep...
Scripts/Game/movingplatforms.cs
Velkur-Bharath/Platformer
0
7065321
using System.Collections; using System.Collections.Generic; using UnityEngine; public class movingplatforms : MonoBehaviour { public float speed,dirxn,dirxp,diryn,diryp; bool right = true, up = true; public bool verticalplatform, horizontalplatform; public Vector3 movingvec,playervec; ...
src/Creactive.DocSel/Attributes/DocumentKeyValueAttribute.cs
brunosaboia/DocSel
1
7065322
namespace Creactive.DocSel.Attributes { /// <summary> /// Represents a complete document field (key is the field name, value is its respective value) /// </summary> public class DocumentKeyValueAttribute : DocumentFormBaseAttribute { } }
src/CampaignsProductManager.Controllers/BaseAPIController.cs
Sam89Jha/DotNetCodeSampleAPIProject
0
7065323
<reponame>Sam89Jha/DotNetCodeSampleAPIProject using CampaignsProductManager.Core.Extensions; using CampaignsProductManager.Core.ResponseModel; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using Serilog; using System; using System.Collections.Generic; namespace CampaignsProdu...
BabboSettings/LightController.cs
ogconz/Skater-XL-mods
1
7065324
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; namespace BabboSettings { public class LightController : Module { #region Settings public bool LIGHT_ENABLED = false; public float LIG...
FastWpfGrid/FastWpfGridSyncTest/GridModel.cs
endolith/ExcelMerge
541
7065325
<filename>FastWpfGrid/FastWpfGridSyncTest/GridModel.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FastWpfGrid; namespace FastWpfGridSyncTest { public class GridModel : FastGridModelBase { private int columnCount; pr...
MultiTenant/MultiTenant.Tools.MigrationTool/Logger/ApplicationLogger.cs
jeffersonmello/aspnetcore.ef.migrations.multitenant
0
7065326
<gh_stars>0 using Amazon; using Serilog; using MultiTenant.Data.Context; using MultiTenant.Tools.MigrationTool.Logger.Contract; using Serilog.Events; using ILogger = Serilog.ILogger; namespace MultiTenant.Tools.MigrationTool.Logger; public class ApplicationLogger : IApplicationLogger { private static string logge...
Yeelight/Form1.Designer.cs
PabloHorno/Yeelight-Tray-Control
1
7065327
<reponame>PabloHorno/Yeelight-Tray-Control namespace Yeelight { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
Assets/Scripts/Loli/Behaviors/Autonomy.WaitForIdle.cs
Foxify52/OpenViva
0
7065328
<reponame>Foxify52/OpenViva<gh_stars>0 namespace viva { public partial class AutonomyWaitForIdle : Autonomy.Task { private bool waiting = true; public AutonomyWaitForIdle(Autonomy _autonomy, string _name) : base(_autonomy, _name) { onRegistered += delegate { waiting = t...
TheSocialNetwork.DomainModel/Interfaces/Repositories/IProfileRepository.cs
thiagocruzrj/FatLife-SocialNetwork
1
7065329
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TheSocialNetwork.DomainModel.Entities; namespace TheSocialNetwork.DomainModel.Interfaces.Repositories { public interface IProfileRepository { void Create(Profile profile); ...
src/CrashReportViewer/Models/ProblemEditPe.cs
pavelpykhtin/CrashReporter
0
7065330
<reponame>pavelpykhtin/CrashReporter using CrashReport.Domain; namespace CrashReportViewer.Models { public class ProblemEditPe { public string shortDescription { get; set; } public string description { get; set; } public string fixedInVersion { get; set; } public EProblemStatus? status { get; set; } } }
src/Microsoft.IIS.Administration.WebServer.RequestFiltering/Configuration/VerbCollection.cs
kant/IIS.Administration
125
7065331
<reponame>kant/IIS.Administration // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.IIS.Administration.WebServer.RequestFiltering { using System; using Web.Administration; ...
TvpleDownloader_v2/Program.cs
L7D/Tvple-Downloader-v2
2
7065332
<reponame>L7D/Tvple-Downloader-v2<gh_stars>1-10 /* ___ _ _ ___ _ ____ ___ ____ _ _ _ _ _ _ ____ ____ ___ ____ ____ | | | |__] | |___ | \ | | | | | |\ | | | | |__| | \ |___ |__/ | \/ | |___ |___ |__/ |__| |_|_| | \| |___ |__| | | |__/ |___ | \ ...
KCSim/Level.cs
dehrman/kcsim
0
7065333
using System; namespace KCSim { public class Level { private readonly double numericValue; public Level(double numericValue) { this.numericValue = numericValue; } public bool AsBool() { if (numericValue == 0) { ...
EF6/SSW.DataOnion/src/SSW.DataOnion.Core/DbContextConfig.cs
SSWConsulting/SSW.DataOnion2
11
7065334
using System; using SSW.DataOnion.Interfaces; namespace SSW.DataOnion.Core { public class DbContextConfig { public DbContextConfig(string connectionString, Type dbContextType, IDatabaseInitializer databaseInitializer) { Guard.AgainstNullOrEmptyString(connectionString, nameof(connec...
Unity/Assets/Model/XLua/Gen/WrapPusher.cs
zxsean/DCET
3
7065335
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using System; namespace XLua { public partial ...
Assets/Scripts/Game/Logic/RivalLogic.cs
Winster332/GoDuel
0
7065336
<gh_stars>0 using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices.ComTypes; using Game; using Game.Logic; using UnityEngine; using Random = System.Random; public class RivalLogic : PersonAim { public float TargetRandomAim; public long MillisecondsStart; p...
Mosu/Mock.cs
Mr1Penguin/WTMock
0
7065338
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; namespace Mosu { abstract public class Mock<T> { private readonly Dictionary<string, MockData> mocks; public Mock() { m...
problems/cs/1129.cs
tarunbatta/leetcodeScraper
1
7065339
// Url:https://leetcode.com/problems/shortest-path-with-alternating-colors /* 1129. Shortest Path with Alternating Colors Medium Consider a directed graph, with nodes labelled 0, 1, ..., n-1.&#xA0; In this graph, each edge is either red or blue, and there could&#xA0;be self-edges or parallel edges. Each [i, j] in re...
TableDisplay.Designer.cs
HomerOff/train-brain-scoreboard
0
7065341
 namespace TrainBrainScoreBoard { partial class TableDisplay { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
src/IyzipayCore/Request/CreatePaymentPostAuthRequest.cs
EmreKarahan/Iyzipay.Core
2
7065342
using System; namespace IyzipayCore.Request { public class CreatePaymentPostAuthRequest : BaseRequest { public String PaymentId { get; set; } public String PaidPrice { get; set; } public String Ip { get; set; } public String Currency { get; set; } public override Strin...
Injecting.Abstractions/Exceptions/InjectionException.cs
ByteBee/ByteBee
1
7065343
<gh_stars>1-10 using System; using System.Runtime.Serialization; namespace ByteBee.Framework.Injecting.Abstractions.Exceptions { [Serializable] public class InjectionException : Exception { public InjectionException() { } public InjectionException(string message) : base(mes...
src/Publish/Microsoft.NET.Sdk.Publish.Tasks/WebConfigTransform.cs
mmitche/websdk
0
7065344
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Xml.Linq; using Microsoft.NET.Sdk.Publish.Tasks.Properties; namespace Microsoft.NET.Sdk.Publish.Tasks { public static class WebConfigTransform { public static XDocumen...
BowArrow/Assets/bowandarrow/Scripts/bowAndArrow.cs
martinkro/tutorials-unity3d
0
7065345
<filename>BowArrow/Assets/bowandarrow/Scripts/bowAndArrow.cs using UnityEngine; using System.Collections; using System.Collections.Generic; using UnityEngine.UI; // this is the master game script, attached to th ebow public class bowAndArrow : MonoBehaviour { // to determine the mouse position, we need a raycast ...
sharedcmd/Runners/Shells/CmdShell.cs
simpleZed/sharedcmd
0
7065346
using sharedcmd.Commands; using sharedcmd.Runners.Options; namespace sharedcmd.Runners.Shells { /// <summary> /// Represents a class that can execute commands on a cmd shell. /// </summary> public class CmdShell : ShellBase<CommandOption> { public override ICommando GenerateCommand() ...
PlugItStudio/PlugItStudio/Model/Script/ScriptAnalyzer.cs
trevisharp/plugitstudio
0
7065347
<reponame>trevisharp/plugitstudio using System; using System.Drawing; using System.Diagnostics; using System.Threading.Tasks; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; using System.Windows.Forms; using Microsoft.CodeAnalysis.Scripting; using Microsoft.CodeAnalysis.CSha...
packages/projects/Hercules.Api.Model/Hercules.Api.Model/MyChess/PutGameRequest.cs
chessdbai/Hercules
0
7065348
//----------------------------------------------------------------------- // <copyright file="PutGameRequest.cs" company="Chess<EMAIL>"> // MIT Licensed. // </copyright> //----------------------------------------------------------------------- namespace Hercules.Api.Model.MyChess { using Amazon.Runtime; /// <...
CoreSharp.Identity/UserStore.RoleStore.cs
maca88/CoreSharp
7
7065349
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; namespace CoreSharp.Identity { public partial class UserStore<TUser, TRole, TOrganization, TUserRole, TOrganizationRole, TRolePermission, TPermission, TClaim...
src/VerifyBot/Migrations/20160801152723_initial.Designer.cs
InfamousPride/VerifyBot
0
7065350
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using VerifyBot.Models; namespace VerifyBot.Migrations { [DbContext(typeof(VerifyDatabase))] [Migration("20160801...
StorageTest/BinarySearchTest.cs
a-leggett/Storage
0
7065351
<gh_stars>0 using Microsoft.VisualStudio.TestTools.UnitTesting; using Storage; using Storage.Algorithms; using StorageTest.Mocks; using System; using System.Collections.Generic; using System.Linq; using System.Threading; namespace StorageTest { [TestClass] public class BinarySearchTest { [DataTest...
OpenVisifire/source/trunk/Common/ChartArea.cs
TonyMajorDev/DeChargerRepo
4
7065352
<filename>OpenVisifire/source/trunk/Common/ChartArea.cs /* Copyright (C) 2008 Webyog Softworks Private Limited This file is a part of Visifire Charts. Visifire is a free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Fr...
src/Taskter.Core/Interfaces/IClientRepository.cs
javalanguagezone/Taskter-Backend
0
7065353
<filename>src/Taskter.Core/Interfaces/IClientRepository.cs using System; using System.Collections.Generic; using System.Threading.Tasks; using Taskter.Core.Entities; using Taskter.Core.Interfaces; namespace Taskter.Core.Interfaces { public interface IClientRepository: IRepository<Client> { Task<IEnumer...
Server/MasterData/DTO/Data/Site/MenuData.cs
ViolaCrellin/NopePets
0
7065354
<reponame>ViolaCrellin/NopePets using System.Runtime.Serialization; namespace Server.MasterData.DTO.Data.Site { [DataContract] public class MenuData : ISiteData { public static MenuData LandingPage = new MenuData(); public MenuData() { Header = "Welcome To NopePets"; ...
Assets/Scripts/Characters/Enemy/Attacks/BoltScript.cs
Makeea/legend-of-z
47
7065355
using UnityEngine; using System.Collections; public class BoltScript : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } public void DestroyBolt() { GameObject parentObject = this.GetComponentInParent...
Stacks.Actors.Tests.DI.Windsor/ContainerTests.cs
Ravadre/Stacks
17
7065356
using System; using System.Linq; using System.Threading.Tasks; using Castle.MicroKernel.Context; using Castle.MicroKernel.Registration; using Castle.Windsor; using Stacks.Actors.DI; using Stacks.Actors.DI.Windsor; using Stacks.Tests.ActorSystemTests; using Xunit; namespace Stacks.Actors.Tests.DI.Windsor { public ...
ApplicationCore/DTOs/BaseDto.cs
lisansojib/portfolio
0
7065357
<reponame>lisansojib/portfolio namespace ApplicationCore.DTOs { /// <summary> /// Base class for DTO's /// </summary> public abstract class BaseDto { /// <summary> /// Primary Key /// </summary> public int Id { get; set; } /// <summary> /// TotalRows...
Source/VulkaNetGenerator/GenStructs/GenPipelineCacheCreateInfo.cs
Zulkir/VulkaNet
3
7065358
<reponame>Zulkir/VulkaNet using System; using VulkaNetGenerator.Dummies; namespace VulkaNetGenerator.GenStructs { public unsafe struct GenPipelineCacheCreateInfo { public VkStructureType sType; public void* pNext; public VkPipelineCacheCreateFlags flags; public Sizet initialDat...
Source/Malachite/Scripts/Eshunna/Eshunna.Lib/Code/Patches/PatchFileEqualityComparer.cs
MinexAutomation/Public
0
7065359
<reponame>MinexAutomation/Public<filename>Source/Malachite/Scripts/Eshunna/Eshunna.Lib/Code/Patches/PatchFileEqualityComparer.cs<gh_stars>0 using System; using System.Collections.Generic; using Eshunna.Lib.Logging; namespace Eshunna.Lib.Patches { public class PatchFileEqualityComparer : IEqualityCompare...
Assets/GGJ2021/Scripts/AI/BehaviourTree/ForwardedData/BhForwardedData.cs
SergioPenaloza0507/ggj2021
0
7065360
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; [Serilizable] public class BhForwardedData { Dictionary<Tuple<string, Type>, object> data = new Dictionary<Tuple<string, Type>, object>(); public void DeleteValue<T>(string name) { Type t = typeof(T); ...
FontEndHomeAsp/Admin/index.aspx.cs
imu-yangyuan/FontEndHome
1
7065361
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class Admin_index : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { string adminName = (string)Session["adminName"]; ...
FabricObserver.Extensibility/MachineInfoModel/ApplicationInfo.cs
NCarlsonMSFT/service-fabric-observer
76
7065362
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ using System; namespace Fabri...
src/NuGet.Services.Validation.Orchestrator/Configuration/TopologicalSort.cs
nikhgup/NuGet.Jobs
44
7065364
// 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; using System.Collections.Generic; using System.Configuration; using System.Linq; namespace NuGet.Services.Validation.Orchestrator { ...
Code/Samples/Inventor.Semantics.Sample07.CustomModule/Localization/LanguageQuestionNames.cs
CourageAndrey/AI
0
7065365
<filename>Code/Samples/Inventor.Semantics.Sample07.CustomModule/Localization/LanguageQuestionNames.cs<gh_stars>0 using System.Xml.Serialization; namespace Samples.Semantics.Sample07.CustomModule.Localization { public interface ILanguageQuestionNames { string Custom { get; } } [XmlType] public class Language...
Assets/Scripts/RoomListing.cs
rucesocial/Photon-Ready-System-Create-Join
12
7065366
using Photon.Pun; using Photon.Realtime; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class RoomListing : MonoBehaviour { [SerializeField] private Text _text; public RoomInfo RoomInfo { get; private set; } public void SetRoomInfo(RoomInfo...
Zilon.Core/Zilon.Core.Tests/Persons/TestCases/SurvivalDataTestCasesSource.cs
kreghek/Zilon_Roguelike
16
7065367
<filename>Zilon.Core/Zilon.Core.Tests/Persons/TestCases/SurvivalDataTestCasesSource.cs using System.Collections; using NUnit.Framework; namespace Zilon.Core.Tests.Persons.TestCases { internal static class SurvivalDataTestCasesSource { public static IEnumerable DownPassTestCases { ...
dreary/DrearyGameDll.cs
ryelow90210/dreary
0
7065368
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Reflection; using System.Windows.Forms; namespace dreary { public class DrearyGameDll { Assembly asm; public Dictionary<string, object> instances; ...
IvRain/ViewModels/InitializeDataPageViewModel.cs
Anteccq/IvRain
2
7065369
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading; using System.Threading.Tasks; using IvRain.Models; using IvRain.Models.Services; using Reactive.Bindings; namesp...
Heleonix.Build.Tests/Tasks/DirectoryCleanTests.cs
Heleonix/Heleonix.Build
0
7065370
<filename>Heleonix.Build.Tests/Tasks/DirectoryCleanTests.cs // <copyright file="DirectoryCleanTests.cs" company="Heleonix - <NAME>"> // Copyright (c) 2016-present Heleonix - <NAME>. All rights reserved. // Licensed under the MIT license. See LICENSE file in the repository root for full license information. // </copyrig...
XFramework/Assets/XFramework/Core/Editor/Tools/CustomeInspector/InspectorDrawers/ShowAsFlagsDrawer.cs
xdedzl/XFramework
27
7065371
using System; using System.Linq; using System.Reflection; using UnityEditor; using UnityEngine; /// <summary> /// 自定义属性绘制器,将枚举以位掩码的形式显示在Inspector上。 /// </summary> [CustomPropertyDrawer(typeof(ShowAsFlagsAttribute))] public class ShowAsFlagsDrawer : PropertyDrawer { private MethodInfo _miIntToEnumFlags; public...
UniverseGenerator/Form1.cs
tonyoddspherecom/GalGen
0
7065372
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; using static UniverseGenerator.SolarObjects; namespace UniverseGenerator { public partial class Form...
Assets/Script/Lua/Framework/Utility/MathLib.cs
z1246584501/LuaAndAB
0
7065373
using UnityEngine; using System.Collections; namespace LuaFramework { public class MathLib { public const float PI = Mathf.PI; public static float Sin(float value) { return Mathf.Sin(value); } public static float Cos(float value) { retu...
src/GrpcNetProxy/Server/GrpcHostedService.cs
jrozac/GrpcNetProxy
4
7065374
using Microsoft.Extensions.Hosting; using System.Threading; using System.Threading.Tasks; namespace GrpcNetProxy.Server { /// <summary> /// Hosted service grpc /// </summary> public class GrpcHostedService : IHostedService { /// <summary> /// Host /// </summary> pr...
src/Apps/StundenMeister/Logic/StundenMeisterPlugin.cs
mbrenn/datenmeister-new
1
7065375
<reponame>mbrenn/datenmeister-new<gh_stars>1-10 using System; using System.IO; using Autofac; using DatenMeister.Core; using DatenMeister.Core.EMOF.Implementation; using DatenMeister.Core.Helper; using DatenMeister.Core.Models; using DatenMeister.Core.Provider.InMemory; using DatenMeister.Core.Provider.Interfaces; usin...
AsyncWCF/Server/Program.cs
antonfirsov/DotNetSandbox
0
7065376
<reponame>antonfirsov/DotNetSandbox using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel; using System.Text; using System.Threading.Tasks; namespace Server { class Program { static void Main(string[] args) { var svcHost = new ServiceHost(type...