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
WispSurvivor/RogueWispPlugin/Helpers/IMGUIExtensions/ScrollableEnumSelection.cs
Reinms/RoR2Modding
0
7068635
#if MATEDITOR using System; using System.Collections.Generic; using System.Reflection; using UnityEngine; using Rein.RogueWispPlugin.Helpers.IMGUI; namespace Rein.RogueWispPlugin.Helpers { internal class ScrollableEnumSelection<TEnum> where TEnum : struct, Enum { private static String[] names; ...
Assets/_Code/TripleT/Data/GameData.cs
Ecenin09/TicTacToe
0
7068637
<reponame>Ecenin09/TicTacToe namespace Data { public static class GameData { #region GameData private static string _playerChar; #endregion #region SettingsData private static bool _isPlayAudio; private static float _audiVolume; private stati...
Assets/Scripts/DialogueSystem/Editor/Utility/DialogueGraphAssetsPath.cs
FeiFeinb/BrightTown
0
7068638
namespace DialogueSystem.Editor { public static class DialogueGraphAssetsPath { public const string DialogueGraphNodeHorizontalTextField = "Assets/LocalArts/EditorArts/DialogueGraphEditor/DialogueGraphNodeHorizontalTextField.uxml"; public const string DialogueGraphNodeObjectFieldFo...
AoC.Tests/OneTimeSetUpFixture.cs
robshakespeare/aoc2020
0
7068639
<gh_stars>0 using System; using System.IO; using System.Text; using System.Text.RegularExpressions; using NUnit.Framework; namespace AoC.Tests { [SetUpFixture] public static class OneTimeSetUpFixture { private static AnsiEscapeCodeCleanerTextWriter? _textWriter; /// <summary> /// R...
Runtime/Scripts/MathUtils.cs
edcasillas/unity-common-utils
8
7068640
using System; using UnityEngine; namespace CommonUtils { public static class MathUtils { public static float NormalizeAngle(float angle) { // reduce the angle angle = angle % 360; // force it to be the positive remainder, so that 0 <= angle < 360 angle = (angle + 360) % 360; // force into the m...
WriteLogAutomationDemo/QsoEntryDemo.cs
w5xd/writelog-automation-demo
1
7068642
<filename>WriteLogAutomationDemo/QsoEntryDemo.cs /* This form demonstrates ways WriteLog's Entry Window automation might be used. */ using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; u...
Tests/API.Tests/Controllers/MovieControllerTests.cs
ismail-klc/movie-store
0
7068643
using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Text.Json; using System.Threading.Tasks; using API.Tests.Helpers; using Entities.ViewModels; using FluentAssertions; using Xunit; namespace API.Tests.Controllers { public class MovieControllerTests : IClassFixture<ApiWebApplica...
ProjectClaseVR-Unity/Assets/Scripts/pointergamebehaivour.cs
rgonzaleztec/ProjectClaseVR
0
7068644
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; public class pointergamebehaivour : MonoBehaviour { private const float _maxDistance = 20.0f; private GameObject _gazedAtObject = null; public float tiempoclick = 1.0f; private ...
Assets/Team23/Scripts/Levels/LevelGenerator.cs
OccularFlow/Of-Mice-And-Messages
1
7068645
<gh_stars>1-10 using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class LevelGenerator : MonoBehaviour { // private List<Level> levels; private LevelObstacles level; [SerializeField] private GameObject newFinishPipe; [SerializeField] ...
Bonsai.ONI/RHDDevice.cs
jonnew/Bonsai.OEPCIe
0
7068646
<reponame>jonnew/Bonsai.OEPCIe using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.ComponentModel; using System.Reactive.Disposables; using System.Drawing.Design; namespace Bonsai.ONI { using oni; [Description("Acquires data from a single RHDxxxx bioamp...
DotNet.UnitTesting/Demo4/DotNet.UnitTesting.Demo4.Calculator.UnitTests/CalculationTests.cs
MTrajK/dotnet-projects
2
7068647
<reponame>MTrajK/dotnet-projects using NUnit.Framework; using DotNet.UnitTesting.Demo4.Calculator; using DotNet.UnitTesting.Demo4.CalculatorUnitTests.Fakes; namespace DotNet.UnitTesting.Demo4.CalculatorUnitTests { [TestFixture] public class CalculationTests { [Test] public void Execute_Arg...
Tests/Parser/Internal/MathematicExpressionTests.cs
soopercool101/RATools
0
7068648
<gh_stars>0 using Jamiras.Components; using NUnit.Framework; using RATools.Data; using RATools.Parser; using RATools.Parser.Functions; using RATools.Parser.Internal; using System.Text; namespace RATools.Test.Parser.Internal { [TestFixture] class MathematicExpressionTests { [Test] [TestCase...
sources/RI.DomainServices.Logger/Common/Builder/LoggerDomainServiceBuilderExtensions.cs
RotenInformatik/DomainServicesDotNet
1
7068649
<gh_stars>1-10 using System; using Microsoft.Extensions.Logging; using RI.DomainServices.Common.Logging; namespace RI.DomainServices.Common.Builder { /// <summary> /// Provides utility/extension methods for the <see cref="DomainServiceBuilder" /> type. /// </summary> /// <threadsafety static=...
src/Commands/EndJobCommand.cs
sleepybuildings/timetracker
1
7068650
using System; using CommandLine; namespace Timetracker.Commands { [VerbAttribute( "end", HelpText = "Ends the current job" )] public class EndJobCommand: TrackerCommand { public override int RunTrackerCommand() { var endedJob = Tracker.End(); if(endedJob == null) { Console.WriteLine("No ...
Tenor/Data/SearchOptions/ISearchOptions.cs
junalmeida/tenor-framework
1
7068651
using System; namespace Tenor.Data { /// <summary> /// Represents a set of search definitions. /// </summary> public interface ISearchOptions { //bool Distinct { get; set; } bool LazyLoading { get; set; } //int Top { get; set; } } }
GINWineParser/ContextFreeGrammar.cs
JosephPotashnik/GINWine
0
7068652
<filename>GINWineParser/ContextFreeGrammar.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; namespace GINWineParser { public class ContextFreeGrammar { public const string GammaRule = "Gamma"; public const string StartSymbol = "START"; public const strin...
Nano.Web/Controllers/DefaultControllerSpatial.cs
kilnan/Nano.Library
0
7068653
<filename>Nano.Web/Controllers/DefaultControllerSpatial.cs using System; using Microsoft.Extensions.Logging; using Nano.Eventing.Interfaces; using Nano.Models; using Nano.Models.Criterias.Interfaces; using Nano.Repository.Interfaces; namespace Nano.Web.Controllers { /// <inheritdoc /> public class DefaultContr...
Assets/AI4Enemies/Scripts/CollisionDamageController.cs
aytona/VirtualRealityFPS
0
7068654
using UnityEngine; using System.Collections; using System.Collections.Generic; public class CollisionDamageController : MonoBehaviour { public List<Damage> CollisionDamages; protected void OnCollisionEnter(Collision collision) { string tag = collision.gameObject.tag; foreach (Damage cd i...
Parsing/Exceptions/InvalidParameterAttributeException.cs
ancailliau/KAOSTools
2
7068655
using System; namespace UCLouvain.KAOSTools.Parsing.Parsers.Exceptions { public class InvalidParameterAttributeException : Exception { public const string ATOMIC_ONLY = "Attribute '{0}' only accept atomic parameter."; public const string BRACKET_ONLY = "Attribute '{0}' only accept parameter wit...
TMS_Microservice/Controllers/TaskTestController.cs
kajal1106/TMS_API
0
7068656
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web.Http; using Microsoft.AspNetCore.Mvc; using Tasks = TMS_Microservice.Models.Task; namespace TMS_Microservice.Controllers { public class TaskTestController : ApiController { List<Tasks> tas...
src/MyProject01/OldController/TradeDecisionController.cs
a7866353/MySharpNEAT
0
7068657
using MyProject01.NeuroNetwork; using MyProject01.Util; using MyProject01.Util.DataObject; using MyProject01.Util.DllTools; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyProject01.Controller { public enum MarketActions ...
Assets/_Imported/Reachbeyond/VariableObjects/_Tools/Editor/Tests/FileStrings.cs
Autofire/octo-project
0
7068658
<filename>Assets/_Imported/Reachbeyond/VariableObjects/_Tools/Editor/Tests/FileStrings.cs<gh_stars>0 // // FileStrings.cs // // Author: // Autofire <http://www.reach-beyond.pro/> // // Copyright (c) 2018 ReachBeyond // // This program is free software: you can redistribute it and/or modify // it und...
Source/Demo/Program.cs
yevhen/Orleankka.Meetup.Demo
0
7068659
using System; using System.Reflection; using System.Threading.Tasks; using static System.Console; using Orleankka; using Orleankka.Playground; namespace Demo { class Program { static void Main(string[] args) { var system = ActorSystem.Configure() .Playground() ...
Assets/Flappy Flor/Scripts/Flappy Flor/Enemy/EnemyBounce.cs
herculys2/Flappy-Flor-Livre
1
7068660
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyBounce : MonoBehaviour { public CollisionHandler col; public Inimigo inimigo; private void OnCollisionEnter2D(Collision2D other) { inimigo = GetComponentInParent<Inimigo>(); col = FindObjectOfTy...
sealsharp/SEAL/Internal/Ciphertext.cs
lambdageek/sealsharp
3
7068661
using System; using System.Runtime.InteropServices; namespace SEAL.Internal { class Ciphertext : SafeHandle { /* called by P/Invoke when returning a Ciphertext */ private Ciphertext () : base (IntPtr.Zero, true) {} public override bool IsInvalid { get { return handle == IntPtr.Zero; } } protected overri...
qnote/qnote/SignUp.Designer.cs
maxcriser/CourseWork
0
7068662
<reponame>maxcriser/CourseWork<gh_stars>0 namespace qnote { partial class SignUp { /// <summary> /// Обязательная переменная конструктора. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Освободить все используемые ре...
AdhocLinq.Tests/Helpers/Helper.cs
nemesissoft/AdhocLinq
0
7068663
using System; namespace AdhocLinq.Tests.Helpers { static class Helper { public static T GetDynamicProperty<T>(this object obj, string propertyName) { if (obj == null) throw new ArgumentNullException(nameof(obj)); var type = obj.GetType(); var propInfo = typ...
GoogleTestsUI/Tests/TestsSearch.cs
jenyabak/GoogleTestsUI
0
7068664
<filename>GoogleTestsUI/Tests/TestsSearch.cs namespace GoogleTestUI { using NUnit.Framework; using static CurrentPage; [TestFixture] public class TestsSearch : BaseTest { [TestCase("Selenium IDE export to C#", "Selenium IDE", 4)] [TestCase("Selenium IDE C#", "Code Export in Seleni...
ValueOperations.cs
brainbeanapps/ValueAnimation
2
7068665
using System; using System.Collections.Generic; namespace BrainbeanApps.ValueAnimation { /// <summary> /// Value operations register. /// </summary> public static class ValueOperations { /// <summary> /// The register. /// </summary> private static readonly IDiction...
Lab1/Clima/App.cs
AlejandroRuiz/XamarinFestGDL
0
7068666
<gh_stars>0 using Clima.View; using Clima.ViewModels; using Xamarin.Forms; using static System.Diagnostics.Debug; namespace Clima { public class App : Application { public App() { MainPage = new ClimaView(); //new NavigationPage(new ClimaView()) //{ ...
Abyss/Assets/Scripts/Core/LevelManaging/LevelCreator.cs
Exiolite/Abyss
0
7068667
<reponame>Exiolite/Abyss<filename>Abyss/Assets/Scripts/Core/LevelManaging/LevelCreator.cs using UnityEngine; namespace Core.LevelManaging { public class LevelCreator { private readonly LevelManager _levelManager; public LevelCreator(LevelManager levelManager) => _levelManager = levelManager;...
MeshIO.GLTF/Schema/V2/GltfMesh.cs
ehtick/MeshIO
6
7068668
<reponame>ehtick/MeshIO<gh_stars>1-10 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is r...
ZegegerLib/ZegegerLib/SettingProfile.cs
Zegeger/Decal
0
7068669
using System; using System.Collections.Generic; using System.Text; using System.Xml; using System.Xml.Serialization; using System.IO; using System.Threading; using Zegeger.Diagnostics; namespace Zegeger.Decal.Data { public delegate void SettingsLoadedEvent(SettingsLoadedEventArgs e); public delegate void Sett...
Kaleidoscope/Analysis/DestructorDeclare.cs
horeaper/Kaleidoscope
3
7068670
namespace Kaleidoscope.Analysis { public sealed class DestructorDeclare : MethodDeclare { readonly string m_displayName; public DestructorDeclare(Builder builder, InstanceTypeDeclare owner) : base(builder, owner) { m_displayName = $"[Destructor] ~{Name.Text}()"; } public override string ToString() ...
TfsClient.Tests/HttpServiceTests/HttpServiceTest.cs
TopTuK/NetCoreTfsClient
0
7068671
<gh_stars>0 using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TfsClient.HttpService; using Xunit; namespace TfsClient.Tests.HttpServiceTests { // https://stackoverflow.com/questions/5725430/http-test-server-accepti...
DPE.Core.Services/ManureServices.cs
a465717049/mk
2
7068672
using DPE.Core.IRepository; using DPE.Core.IServices; using DPE.Core.Model.Models; using DPE.Core.Services.BASE; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DPE.Core.Services { public partial class ManureServices : BaseServices<Manure>, IManureServices { ...
Studio/ThreatsManager.Extensions.WinForms/Panels/Configuration/ConfigurationPanel.cs
simonec73/threatsmanager
39
7068673
using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; using PostSharp.Patterns.Contracts; using ThreatsManager.Interfaces.Extensions; using ThreatsManager.Interfaces.Extensions.Panels; using ThreatsManager.Interfaces.ObjectModel; using ThreatsManager.Utilities; namespace Th...
Areas/Admin/Views/Home/Index.cshtml
rickxy/EStore-Ecommerce
0
7068674
<gh_stars>0  @{ ViewData["Title"] = "Index"; } <div class="jumbotron"> <h5>Welcome : <b>@User.Identity.Name</b></h5><hr /> <br /> <div class="text-center"> <a asp-action="Index" asp-controller="Categories" class="btn btn-success btn-lg text-white">View Categories</a> &nbsp; &nbsp; &...
Coslen.RogueTiler.Domain/Engine/Common/Glyph.cs
scossgrove/RougeTiler
1
7068675
<filename>Coslen.RogueTiler.Domain/Engine/Common/Glyph.cs using System; namespace Coslen.RogueTiler.Domain.Engine.Common { public class Glyph { public string Appearance { get; set; } public string Fore { get; set; } public string Back { get; set; } public Glyph(string appearan...
openapi-python-client/src/Org.OpenAPITools.Test/Model/ProcessInstanceModificationDtoTests.cs
yanavasileva/camunda-bpm-examples
0
7068676
<gh_stars>0 /* * Camunda BPM REST API * * OpenApi Spec for Camunda BPM REST API. * * The version of the OpenAPI document: 7.13.0 * * Generated by: https://github.com/openapitools/openapi-generator.git */ using NUnit.Framework; using System; using System.Linq; using System.IO; using System.Collections.Gener...
Vts.Gui.Wpf/ViewModel/Panels/MapViewModel.cs
VirtualPhotonics/Vts.Gui.Wpf
1
7068677
<filename>Vts.Gui.Wpf/ViewModel/Panels/MapViewModel.cs using System; using System.IO; using System.Linq; using System.Windows; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using GalaSoft.MvvmLight.Command; using Microsoft.Win32; using Vts.Extensions; using Vts.Gui.Wpf.Exte...
ForTheKingSaveEdit/SaveGame.cs
arcataroger/for-the-king-save-editor
34
7068678
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System.Collections.Generic; using System.IO; namespace ForTheKingSaveEdit { public class SaveGame { private readonly string _saveGameFilePath; private JObject _rawSaveGameData; private Dictionary<string, CharacterInfo> _characters = new Dictiona...
aliyun-net-sdk-cloudapi/CloudAPI/Transform/V20160714/DescribeDeployedApiResponseUnmarshaller.cs
brightness007/unofficial-aliyun-openapi-net-sdk
2
7068679
<filename>aliyun-net-sdk-cloudapi/CloudAPI/Transform/V20160714/DescribeDeployedApiResponseUnmarshaller.cs /* * 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 owner...
VS2013_PROJECT/NexsoServices/v2/MessagesController.cs
EL-BID/nexso
4
7068680
<reponame>EL-BID/nexso using System; using System.Data.Common; using System.Net; using System.Net.Http; using System.Web.Http; using DotNetNuke.Web.Api; using System.Text; using System.Web; using Newtonsoft.Json; using System.Linq; using Newtonsoft; using DotNetNuke.Entities.Portals; using DotNetNuke.Entities.Users; u...
Array and List Algorithms - Lab/01. Array Contains Element/01. Array Contains Element.cs
Warglaive/SimpleArraysLABsAndExercise
0
7068681
<reponame>Warglaive/SimpleArraysLABsAndExercise using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using System.Linq; namespace _01.Array_Contains_Element { public class Program { public static void Main() { var numbers = Console.ReadLin...
StoreDL/ProductRepoDB.cs
210503-Reston-NET/Song-Juniper-P1
0
7068682
using System.Collections.Generic; using System.Linq; using Microsoft.EntityFrameworkCore; using StoreModels; namespace StoreDL { public class ProductRepoDB : IProductRepo { private readonly WssDBContext _context; public ProductRepoDB(WssDBContext context) { _context = conte...
mko.Newton/OrderOfMagnitude.cs
mk-prg-net/mk-prg-net.lib
0
7068683
using System; using System.Collections.Generic; using System.Linq; using System.Text; using E= mko.Euklid; using Mag = mko.Newton.OrderOfMagnitude; namespace mko.Newton { public static class OrderOfMagnitude { public enum OrderOfMagnitudeEnum { Atto, Femto, ...
ExperimentalScenes/Assets/Scripts/ECS/Components/Pure/PureECSComponents.cs
hedvik/Unity-Toybox
0
7068684
<reponame>hedvik/Unity-Toybox using System; using System.Collections; using System.Collections.Generic; using Unity.Collections; using Unity.Entities; using Unity.Mathematics; using Unity.Transforms; using UnityEngine; public struct FloaterComponent : IComponentData { public float3 floatDirection; public floa...
AInBox.Astove.Core/Data/IEntityService.cs
leandrolustosa/notificationqueueservice
1
7068685
using System; using System.Collections.Generic; using AInBox.Astove.Core.Options; using System.Linq; using System.Linq.Expressions; using Autofac; using AInBox.Astove.Core.Filter; using System.Threading.Tasks; using AInBox.Astove.Core.Data; using MongoDB.Driver; namespace AInBox.Astove.Core.Data { public interfac...
Assets/Mapbox/Unity/Utilities/TelemetryConfigurationButton.cs
mikeroyal/Geomapping-with-Unity-Mapbox
11
7068686
<reponame>mikeroyal/Geomapping-with-Unity-Mapbox namespace Mapbox.Unity.Utilities { using UnityEngine; using UnityEngine.UI; [RequireComponent(typeof(Button))] public class TelemetryConfigurationButton : MonoBehaviour { [SerializeField] bool _booleanValue; void Awake() { GetComponent<Button>().onClic...
linux-distro/package/nuxleus/Source/Vendor/dday-ical/DDay.iCal/Components/Alarm.cs
mdavid/nuxleus
1
7068687
using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.Configuration; using DDay.iCal.Components; using DDay.iCal.DataTypes; using DDay.iCal.Serialization; namespace DDay.iCal.Components { /// <summary> /// A class that represents an RFC 2445 VALAR...
FoodOnHook/Data/FoodOnHookDbContext.cs
Wolfscot/FoodOnHook
0
7068688
 using FoodOnHook.Data.Models; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Text; namespace FoodOnHook.Data { public class FoodOnHookDbContext : IdentityDbContext { public FoodOnHookDbContext(...
microwiki/Startup.cs
markashleybell/microwiki
2
7068689
using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.CookiePolicy; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hostin...
src/hhnl.PlugIn/hhnl.PlugIn/PlugInManager.cs
anhaehne/hhnl.PlugIn
0
7068690
<gh_stars>0 using System; using System.IO; using System.Net; using System.Net.Sockets; using System.Threading.Tasks; using hhnl.PlugIn.Shared; using hhnl.ProcessIsolation; using JKang.IpcServiceFramework.Client; using Microsoft.Extensions.DependencyInjection; using FileAccess = hhnl.ProcessIsolation.FileAccess; names...
DbToRest.Core/Infrastructure/Extension/ApplicationBuilderExtensions.cs
firatoltulu/DbToRest
1
7068691
<reponame>firatoltulu/DbToRest<filename>DbToRest.Core/Infrastructure/Extension/ApplicationBuilderExtensions.cs<gh_stars>1-10 using DbToRest.Core.Data; using DbToRest.Core.Infrastructure.ComponentModel; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Diagnostics; using Microsoft.AspNetCore.Hosting; using...
src/NextGenSpice.Numerics/Equations/EquationSystem.cs
rzikm/NextGenSpice
0
7068692
<filename>src/NextGenSpice.Numerics/Equations/EquationSystem.cs using NextGenSpice.Numerics.Precision; namespace NextGenSpice.Numerics.Equations { /// <summary>Simple equation system with double precision coefficient.</summary> public class EquationSystem : IEquationSystem { public EquationSystem(int size) { ...
Content.Server/Mining/Components/MineableComponent.cs
WTCWR68/space-station-14
1
7068693
using System.Threading; using Content.Shared.Storage; namespace Content.Server.Mining.Components; [RegisterComponent] [Friend(typeof(MineableSystem))] public sealed class MineableComponent : Component { [DataField("ores")] public List<EntitySpawnEntry> Ores = new(); public float BaseMineTime = 1.0f; }
Messages/CryptoAttribute.cs
statesman4/StockSharp
3
7068694
namespace StockSharp.Messages { using System; /// <summary> /// The member marked as associated with crypto currency. /// </summary> public class CryptoAttribute : Attribute { } }
Sources/Modules/ToyWorld/ToyWorldTests/World/FruitTests.cs
GoodAI/BrainSimulator
313
7068695
<reponame>GoodAI/BrainSimulator using Moq; using VRageMath; using World.Atlas; using World.GameActions; using World.GameActors; using World.GameActors.Tiles; using World.GameActors.Tiles.ObstacleInteractable; using World.ToyWorldCore; using Xunit; namespace ToyWorldTests.World { public class FruitTests { ...
src/NHibernate.BulkBatcher/NHibernate.BulkBatcher.Core/Model/CommandInfo.cs
ThisShard/NHibernate.BulkBatcher
0
7068696
<reponame>ThisShard/NHibernate.BulkBatcher using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Text; using NHibernate.SqlCommand; using NHibernate.SqlTypes; namespace NHibernate.BulkBatcher.Core.Model { /// <summary> /// Информация о команде из которой был...
packages/Windows API Code Pack 1.1/source/Samples/DirectX/CS/Direct3D10/MeshBrowser/MeshBrowserForm.Designer.cs
protechdm/CompareCloudware
17
7068699
<gh_stars>10-100 namespace MeshBrowser { partial class MeshBrowserForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </s...
Mj.AppStoreLink/AppStoreLink.Interface/IAppStoreLink.cs
MisterJimson/AppStoreLink
2
7068700
namespace Mj.AppStoreLink { public interface IAppStoreLink { void Init(string myiTunesId, string myWindowsStoreId = null); void OpenMyAppStorePage(); void OpenAppStorePage(string androidPackageName, string iTunesId, string windowsStoreId = null); } }
Ch02/Graph.Test/UndirectedGraphTest.cs
psuvorov/Real-World-Algorithms-A-Beginner-s-Guide
0
7068701
<filename>Ch02/Graph.Test/UndirectedGraphTest.cs using System; using System.Collections.Generic; using NUnit.Framework; using Graph; namespace Graph.Test { [TestFixture] public class UndirectedGraphTest { [Test] public void DeepFirstSearch_ValidParamsPassed_Success() { ...
MyKitchen/Infrastructure/Extensions/ApplicationBuilderExtensions.cs
PlamenTsvetkov/MyKitchen
0
7068702
<gh_stars>0 namespace MyKitchen.Infrastructure.Extensions { using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using MyKitchen.Data; using MyKitchen.Data.Models; using static MyKitchen.Areas.Admin.AdminConstants; public static class ApplicationBuilderExtensions { ...
Purchasing.Tests/ControllerTests/AutoApprovalControllerTests/AutoApprovalControllerTestsPart03.cs
ucdavis/Purchasing
1
7068703
<gh_stars>1-10 using Microsoft.VisualStudio.TestTools.UnitTesting; using MvcContrib.TestHelper; using Purchasing.Core.Domain; using Purchasing.Tests.Core; using Purchasing.Mvc.Controllers; using Purchasing.Mvc.Models; using Rhino.Mocks; using UCDArch.Testing; using UCDArch.Testing.Fakes; namespace Purchasing.Tests.Co...
API/SeiyuuMoe.Domain/ComparisonEntities/AnimeTableEntry.cs
Ervie/SeiyuuInterlink
18
7068704
<reponame>Ervie/SeiyuuInterlink<filename>API/SeiyuuMoe.Domain/ComparisonEntities/AnimeTableEntry.cs using System; namespace SeiyuuMoe.Domain.ComparisonEntities { public class AnimeTableEntry { public long MalId { get; } public string Title { get; } public string ImageUrl { get; } public string Url { get;...
1.Tutorials/OOD/FluentInterface-Lab/Ch 01. Fluent Builder Pattern/01. Fluent Builder/FluentBuilder_01_Basics/Pattern/ProductStockReportBuilder.cs
hhko/Books
1
7068705
<reponame>hhko/Books<filename>1.Tutorials/OOD/FluentInterface-Lab/Ch 01. Fluent Builder Pattern/01. Fluent Builder/FluentBuilder_01_Basics/Pattern/ProductStockReportBuilder.cs<gh_stars>1-10 using FluentBuilder_01_Basics.Domain; using System; using System.Collections.Generic; using System.Linq; using System.Text; name...
tests/Zaabee.ZeroMQ.Test/Zaabee.ZeroMQ.PublishSubscribe.Test.cs
PicoHex/Zaabee.ZeroMQ
0
7068706
<gh_stars>0 namespace Zaabee.ZeroMQ.Test; public partial class ZaabeeZeroMessageBusTest { private readonly List<TestModel?> _topicA = new(); private readonly List<TestModel?> _topicB = new(); private readonly List<TestModel?> _topicDefault = new(); private readonly List<TestModel?> _topicAll = new(); ...
src/Viewer/UI/Presentation/PresentationControl.Designer.cs
trylock/viewer
1
7068707
using Viewer.UI.Forms; namespace Viewer.UI.Presentation { partial class PresentationControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources bei...
src/Ostrich/Util/Retry.cs
forki/ostrich
1
7068708
<gh_stars>1-10 namespace Ostrich.Util { using System; using System.Collections.Generic; /// <summary> /// Helps to do retry logic. A typical use would be: /// /// Retry.AtMost(3) /// .Try(() => /// { /// DoSomethingRetryable(); /// }); /// </summary> public class R...
src/Lakerfield.BunqSdk/Http/Extensions/UserClient.cs
Lakerfield/bunqsdk
2
7068709
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Lakerfield.BunqSdk.Json; using Lakerfield.BunqSdk.Model; namespace Lakerfield.BunqSdk.Http { public class UserClient { /// <summary> /// Endpoint name. /// </sum...
REST-SDK/src/Cumulocity.SDK.Client/Rest/Representation/Operation/DeviceControlRepresentation.cs
SoftwareAG/cumulocity-sdk-cs
0
7068710
namespace Cumulocity.SDK.Client.Rest.Representation.Operation { public class DeviceControlRepresentation : AbstractExtensibleRepresentation { private OperationCollectionRepresentation operations; private string operationsByStatus; private string operationsByAgentId; private string operationsByAgentIdAndStat...
src/Reni/Code/TopRef.cs
hahoyer/reni.cs
2
7068711
using Reni.Basics; namespace Reni.Code { sealed class TopRef : Ref { public TopRef(Size offset) : base(offset) { StopByObjectIds(); } public TopRef() : this(Size.Zero) { } protected override CodeBase TryToCombine(FiberItem subsequentElement) => subs...
CenterComparing/CenterComparing/MainWindow.xaml.cs
pimier15/CenterComparing
0
7068712
<filename>CenterComparing/CenterComparing/MainWindow.xaml.cs 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; us...
BookLovers.Auth/Domain/Users/UserName.cs
kamilk08/BookLoversApi
0
7068713
using BookLovers.Base.Domain.ValueObject; namespace BookLovers.Auth.Domain.Users { public class UserName : ValueObject<UserName> { public string Value { get; private set; } private UserName() { } public UserName(string value) => Value = value; protected overr...
src/Cobos/Data/Utilities/DataRowColumnAggregator.cs
cobos-net/core
0
7068714
<reponame>cobos-net/core<filename>src/Cobos/Data/Utilities/DataRowColumnAggregator.cs // ---------------------------------------------------------------------------- // <copyright file="DataRowColumnAggregator.cs" company="<NAME>"> // Copyright (c) <NAME>. All rights reserved. // </copyright> // ------------------...
Wearable/Xamarin.Forms/VoiceMemo/VoiceMemo/Converters/CountryCodeToNameConverter.cs
aferin/Tizen-CSharp-Samples
217
7068715
<filename>Wearable/Xamarin.Forms/VoiceMemo/VoiceMemo/Converters/CountryCodeToNameConverter.cs /* * Copyright (c) 2018 Samsung Electronics Co., Ltd * * Licensed under the Flora License, Version 1.1 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
C#1 Homework/Conditional Statements/10BeerTime/beertime.cs
Vladeff/TelerikAcademy
0
7068716
using System; class beerTime { static void Main() { Console.Write("Hello!What time is it? (hh:mm tt)"); string inputTime = Console.ReadLine(); DateTime time; DateTime start = DateTime.Parse("1:00 PM"); DateTime end = DateTime.Parse("3...
controllerTest/data/TestData.cs
vkaushik/equipmentControlSystem
0
7068717
using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Text.Json; using EquipmentControlSystem.Controller; using Xunit; using Xunit.Sdk; namespace EquipmentControlSystem.ControllerTest { class TestData : DataAttribute { public override IEnumerable<object[]> G...
src/DocumentFormat.OpenXml/Validation/Schema/SdbDataHead.cs
lifeng1983/Open-XML-SDK
2
7068718
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using System.Runtime.InteropServices; namespace DocumentFormat.OpenXml.Validation.Schema { /// <summary> /// The data head of t...
Platz.SqlForms.Blazor/BlazorServiceCollectionExtensions.cs
euklad/MasterDetailsDataEntry
22
7068719
<reponame>euklad/MasterDetailsDataEntry using Platz.SqlForms.Shared; using Microsoft.Extensions.DependencyInjection; using Platz.SqlForms.Blazor; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text; namespace Platz.SqlForms { public static class BlazorServiceCo...
Exam 16 August 2020/OnlineShop-Skeleton/Test/Program.cs
ivaylo-R/CSharp-OOP-Exams
0
7068720
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using NUnit.Framework; using OnlineShop; // ReSharper disable InconsistentNaming // ReSharper disable CheckNamespace public class Test_000_004 { // MUST exist within project, otherwise a Compile Time Error will be thrown....
Assets/scripts/mapAssets/TileSetAsset.cs
wildrabbit/jamrabbit
0
7068721
<filename>Assets/scripts/mapAssets/TileSetAsset.cs using UnityEngine; using System; using System.Xml; using System.Collections; public class TileSetAsset : ScriptableObject { public TextAsset m_textFile; [SerializeField] private string m_tileSetName = ""; public string TileSetName { get ...
Diagnostics/Example1d/Program.cs
n-l-vasilyev/DemoCode
387
7068723
<reponame>n-l-vasilyev/DemoCode<filename>Diagnostics/Example1d/Program.cs using System; using System.Globalization; namespace Example1d { class Program { static void Main() { string date = "05/06/2017"; DateTime dateTime = DateTime.Parse(date); Console.Write...
LoopWhileExercises/ExamPreparation/Program.cs
tonchevaAleksandra/C-Sharp-Basic-SoftUni
1
7068724
using System; namespace ExamPreparation { class Program { static void Main(string[] args) { int badGrades = int.Parse(Console.ReadLine()); string command = Console.ReadLine(); int counter = 0; string lastProblem = ""; double totalGrad...
src/net48/Lorem/Features/BreadCrumbs/Services/DefaultBreadCrumbService.cs
loremipsumdonec/episerver-testframework
2
7068725
using EPiServer; using EPiServer.Core; using EPiServer.ServiceLocation; using EPiServer.Web.Routing; using Lorem.Features.BreadCrumbs.Models; using Lorem.Models.Pages; using System.Collections.Generic; namespace Lorem.Features.BreadCrumbs.Services { [ServiceConfiguration(ServiceType = typeof(IBreadCrumbService))]...
Assets/Scripts/Items/SpawnItems.cs
olpino521/SoulMaze
0
7068726
<reponame>olpino521/SoulMaze using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpawnItems : MonoBehaviour { [SerializeField] private GameObject souls, box; Vector3 location; List<GameObject> objectsSpawned; private void Awake() { ...
SmartStoreNET-3.x/src/Presentation/SmartStore.Web/Models/Catalog/IListActions.cs
jonmcquade/csharp-snippets
2
7068727
using System; using System.Collections.Generic; using SmartStore.Core; using SmartStore.Core.Domain.Catalog; namespace SmartStore.Web.Models.Catalog { public interface IListActions { ProductSummaryViewMode ViewMode { get; } GridColumnSpan GridColumnSpan { get; } bool AllowViewModeChanging { get; } bool All...
Core/YJC.Toolkit.Core/Data/ErrorInfo.cs
madiantech/tkcore
4
7068728
using System; using YJC.Toolkit.Sys; namespace YJC.Toolkit.Data { public sealed class ErrorInfo { internal ErrorInfo() { } internal ErrorInfo(string source, string errorPage, string url) { Source = source; Page = errorPage; Url = url...
wx_gorilla/AppGorilla/Constants/Globals.cs
helloyuzz/wx_gorilla
0
7068729
using com.wechat.gorilla.Models; using System.Collections.Generic; namespace com.wechat.gorilla { public class Globals { static string _MySqlConnectionString = null; static string _MsSQLConnectionString = null; public static string MySqlConnectionString { get { ...
Assets/3. Binary Trees/Scripts/BinaryTree.cs
LuisCastrejonSuarez/Estructura-de-Datos
0
7068730
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; class BinaryTree { public BinaryLeaf Root { get; set; } public BinaryLeaf Add(int value) { return Add(value, this.Root); } private BinaryLeaf Add(int value, BinaryLeaf root) { if (root ==...
SolidCP/Sources/SolidCP.EnterpriseServer.Code/SpamExperts/SELog.cs
NAGeorge/SolidCP-fork
2
7068731
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Configuration; namespace SolidCP.EnterpriseServer { public class SELog { static private void WriteStr(string errorlog) { try {...
aima-csharp/environment/eightpuzzle/EightPuzzleFunctionFactory.cs
sfsharapov/aima-csharp
163
7068733
using System.Collections.Generic; using aima.core.agent; using aima.core.search.framework.problem; using aima.core.util; namespace aima.core.environment.eightpuzzle { /** * @author <NAME> * @author <NAME> */ public class EightPuzzleFunctionFactory { private static ActionsFunction _actionsFu...
TestExerciser/TestExerciser/Tools/AutoTestingManagement/ToolAutoLogView.cs
devdiv/test-exerciser
1
7068734
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 System.IO; namespace TestExerciser.Tools.AutoTestingManagement { public partial class ToolAut...
src/Cistern.Linq.Playground.CSharp/jamesqo/Program.cs
FrancisChung/Cistern.Linq
38
7068735
<filename>src/Cistern.Linq.Playground.CSharp/jamesqo/Program.cs /* system_jamesqo ... Total time=20797 cistern_jamesqo ... Total time = 13882 */ namespace Playground.jamesko.SystemLinq { using System; using System.Linq; public class Program { public static void jamesqo_Main() { ...
src/Restract/RestClientFactory.cs
bashiransari/Restract
3
7068736
<reponame>bashiransari/Restract namespace Restract { using System; using System.Linq; using System.Net.Http; using Core.DependencyResolver; using Restract.Descriptors; using Restract.Core; using Restract.Core.Proxy; using Restract.Execution; using Restract.Helpers; using Restrac...
src/PlainElastic.Net/Builders/IndexSettings/Analysis/Analyzers/AnalyzerSettings.cs
skbkontur/PlainElastic.Net
90
7068737
using System; using PlainElastic.Net.Utils; namespace PlainElastic.Net.IndexSettings { /// <summary> /// Allows to configure standard/custom analyzers to be used in mapping API. /// </summary> public class AnalyzerSettings : SettingsBase<AnalyzerSettings> { #region Standard /// <...
TramsDataApi.Test/UseCases/GetAcademyConversionProjectsByStatusesTests.cs
DFE-Digital/trams-data-api
0
7068738
<reponame>DFE-Digital/trams-data-api<filename>TramsDataApi.Test/UseCases/GetAcademyConversionProjectsByStatusesTests.cs using System.Collections.Generic; using System.Linq; using AutoFixture; using FluentAssertions; using Moq; using TramsDataApi.DatabaseModels; using TramsDataApi.Factories; using TramsDataApi.Gateways;...
MFDSettingsManager/Mappers/ConfigSectionModelMapper.cs
ScottyMac52/MFDisplay
6
7068739
using MFDSettingsManager.Configuration; using MFDSettingsManager.Models; using System.Collections.Generic; using System.IO; using System.Linq; namespace MFDSettingsManager.Mappers { /// <summary> /// Configuration Section mapper /// </summary> public class ConfigSectionModelMapper { /// <s...
MonacoEditorComponent/CodeEditor/CodeEditor.cs
punker76/monaco-editor-uwp
126
7068740
using Collections.Generic; using Monaco.Editor; using Monaco.Extensions; using Monaco.Helpers; using System; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading.Tasks; using Windows.System; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespac...