content
stringlengths
23
1.05M
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UsefullAlgorithms.Graph { public class VertexEqualityComparer<T> : IComparer<Vertex<T>>, IEqualityComparer<Vertex<T>> where T : IEquatable<T> { public int Compare(Vertex<T> x, ...
using System; using System.Collections.Generic; using OpenRasta.Concordia; using OpenRasta.Configuration; using OpenRasta.Configuration.Fluent; using OpenRasta.DI; using OpenRasta.Hosting.InMemory; using OpenRasta.Plugins.Caching; using OpenRasta.Plugins.Caching.Configuration; using OpenRasta.Web; using Shoul...
using eWAY.Rapid.Enums; using eWAY.Rapid.Models; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace eWAY.Rapid.Tests.IntegrationTests { [TestClass] public class SettlementSearchTests : SdkTestBase { [TestMethod] public void SettlementSearch_ByDate_Test() { va...
// // Copyright (c) Microsoft Corporation. All rights reserved. // namespace Microsoft.Zelig.Runtime.TypeSystem { using System; [AttributeUsage(AttributeTargets.Field)] public class WellKnownTypeLookupAttribute : Attribute { // // State // public read...
// Amplify Shader Editor - Visual Shader Editing Tool // Copyright (c) Amplify Creations, Lda <info@amplify.pt> namespace AmplifyShaderEditor { [System.Serializable] [NodeAttributes( "Texture 1 Matrix", "Matrix Transform", "Texture 1 Matrix" )] public sealed class Texture1MatrixNode : ConstantShaderVariable { pr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using RimWorld; using HarmonyLib; using Verse; using System.Reflection; namespace DArcaneTechnology.CorePatches { class Patch_CanEquip_Postfix { private static void Postfix(Thing thing,...
namespace MuOnline.Core.Commands { using MuOnline.Core.Commands.Contracts; using MuOnline.Models.Heroes.HeroContracts; using MuOnline.Models.Items.Contracts; using MuOnline.Repositories.Contracts; public class AddItemToHeroCommand : ICommand { private const string successfullMessage = ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class warningMessage : MonoBehaviour { SpriteRenderer sprite; float timer; // Use this for initialization void Start () { sprite = GetComponent<SpriteRenderer>(); } // Update is called once per frame void Fi...
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; namespace Microsoft.FeatureFlighting.Api.Controllers { /// <summary> /// Controller to check the health of the system /// </summary> [Route("api/probe")] public class ProbeController : ControllerBase { private re...
using System.Linq; namespace MsSql.Adapter.Collector.Types { public static class Helpers { public static bool IsOperationResult(this ResponseItem item) { if (item.Params.Count != 2) return false; if (!item.Params.Any(x => x.Name == "StatusCode")) return false; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Defence { interface ICommando : ISpecialisedSoldier { List<Mission> missions { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WebAssemblyInfo { enum Opcode : byte { // control Unreachable = 0x00, Nop = 0x01, Block = 0x02, Loop = 0x03, If = 0x04, Else = 0...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.AI.Luis; using Microsoft.Bot.Builder.AI.QnA; namespace Microsoft.Bot.Solution...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Dolittle. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *--------------------------------------------------------------------------------...
using System; using System.Collections.Generic; using Newtonsoft.Json; using Comformation.IntrinsicFunctions; namespace Comformation.Config.ConfigRule { /// <summary> /// AWS::Config::ConfigRule Scope /// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-scope....
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ButtonCollision : MonoBehaviour { //Attach to objects that are able to press buttons. void OnCollisionEnter(Collision coll){ ButtonClick script = coll.collider.GetComponent<ButtonClick>(); if(script != ...
using Assets.Scripts.Types; namespace Assets.Scripts.Components.Debug.TargetMapper { public class DefaultTargetMapper : IDebugTargetMapper { public DebugImageTarget? Map(string name) { switch (name) { case "CorrectTextTarget": return ...
using System; using System.IO; using System.Text; using Newtonsoft.Json.Linq; namespace OpenBots.Core.ChromeNativeClient { public class ServerCommunication { private readonly Stream _Stream; private readonly UnicodeEncoding _StreamEncoding; public ServerCommunication(Stream stream) ...
using System; using Microsoft.Owin.Hosting; using System.Threading; namespace MediaCentreServer { class Program { private const int port = 55343; static void Main(string[] args) { // Fire event on Ctrl+C. var quitEvent = new ManualResetEvent(false); Console.CancelKeyPr...
using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; namespace DotNetCoreDemo { public class DBContext : DbContext { public DBContext(DbContextOptions<DBContext> options) : base(options) { } //public DbSet<WebLoggingModel> WebLogging { get; set; } protected ...
using UnityEngine; using System.Collections; public class board : MonoBehaviour { public GameObject gameParent; private game bingoGame; void Start() { bingoGame = gameParent.GetComponent<game> (); } void OnMouseDown() { // Handle someone pressing the board bingoGame.BoardClicked (gameObject.name); } }
// // Copyright (C) 2013 EllieWare // // All rights reserved // // www.EllieWare.com // using System; using System.IO; using System.IO.IsolatedStorage; using System.Reflection; using System.Runtime.Serialization.Formatters.Binary; using System.Windows.Forms; namespace EllieWare.Support { public static class Win...
using UnityEngine; using System; using UnityEngine.EventSystems; public class MouseListener : MonoBehaviour, IPointerUpHandler, IPointerDownHandler { public event Action<PointerEventData> LeftClick; public event Action<PointerEventData> RightClick; public event Action<PointerEventData> LeftClickDraggedUp; ...
using System.Threading.Tasks; using FluentAssertions; using Xunit; using AArray = System.Collections.Generic.List<object>; using AObject = System.Collections.Generic.Dictionary<string, object>; namespace MR.Augmenter { public class AugmenterTest : TestHost { private AugmenterConfiguration _configuration; privat...
namespace SampleApp { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be d...
#nullable enable using System.ComponentModel; using System.Windows.Forms; using BizHawk.Client.Common; using BizHawk.Common.StringExtensions; using BizHawk.WinForms.Controls; namespace BizHawk.Client.EmuHawk { public class FeedbackBindControl : UserControl { private readonly Container _components = new(); ///...
using System; using System.Runtime.InteropServices; using System.ComponentModel.DataAnnotations; namespace LeaderboardAPI.Interfaces { public class LeaderboardRowDTO { public Guid ClientId {get; set;} [Required] // TODO: Add an id validator public short LeaderboardId {get; set;...
namespace Auction.Web.ViewModels.Item.Admin { public class ItemManagementViewModel { public string Id { get; set; } public string Name { get; set; } public string Picture { get; set; } public string HighestBid { get; set; } public string BidderId { get; set; } } ...
using System; using System.Collections; using System.Collections.Generic; using ServiceStack.IO; namespace ServiceStack.VirtualPath { public abstract class AbstractVirtualDirectoryBase : IVirtualDirectory { protected IVirtualPathProvider VirtualPathProvider; public IVirtualDirectory P...
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.DependencyInjection; namespace Tbd.WebApi.Shared.Extensions { public static class ApiVersioningMiddlewareExtensions { public static void AddApiVersioningEx(this IServiceCollection services) { services.AddApiVersioning(optio...
using Util.Ui.Builders; using Util.Ui.Configs; namespace Util.Ui.Material.Grids.Builders { /// <summary> /// Mat网格列生成器 /// </summary> public class GridColumnBuilder : TagBuilder { /// <summary> /// 初始化网格列生成器 /// </summary> public GridColumnBuilder() : base( "mat-grid-ti...
using ArtifactAPI.MatchHistory.Enums; using System; using System.Globalization; using System.Windows.Data; using System.Windows.Media; namespace ArtifactAPI.MatchHistory.Converters { public class OutcomeToColorConverter : IValueConverter { public object Convert(object value, Type targetType, object pa...
using System; using System.IO; namespace U4DosRandomizer { public class SpoilerLog { private StreamWriter spoilerWriter; private bool enabled; public SpoilerLog(StreamWriter spoilerWriter, bool enabled) { this.spoilerWriter = spoilerWriter; this.enabled...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smb2 { /// <summary> /// Contains config about global context /// </summar...
using JsonPathway.Internal; using System.Collections.Generic; using System.Text.Json; using Xunit; namespace JsonPathway.Tests.Internal { public class JsonElementComparerTests { [Fact] public void SameNumbers_ReturnsTrue() { JsonElement n1 = JsonElementFactory.CreateNumber(...
namespace DotLToExcel.POCOS { public class Station { public string Name { get; set; } public string Description { get; set; } public int StationNumber { get; set; } public string MeterName { get; set; } public string MeterNumber { get; set; } public string Group ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Media; using System.ComponentModel; using System.Windows.Markup; using Microsoft.Research.DynamicDataDisplay.Common.Auxiliary; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; namespa...
/* The MIT License (MIT) Copyright (c) 2018 Helix Toolkit contributors */ using System.Collections.Generic; #if !NETFX_CORE namespace HelixToolkit.Wpf.SharpDX #else namespace HelixToolkit.UWP #endif { /// <summary> /// /// </summary> public struct DefaultRenderTechniqueNames { /// <summary...
/* * Written by James Leahy. (c) 2017 DeFunc Art. * https://github.com/defuncart/ */ using System; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using UnityEngine; /// <summary>Part of the DeFuncArt.Serialization namespace.</summary> namespace DeFuncArt.Serialization { /// <summary>A Bina...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpawnerBexiga : MonoBehaviour { [SerializeField] private GameObject bexiga; public Transform bexigaSpawnTransform; public void SpawnBexiga(){ bexiga.gameObject.SetActive(true); } }
using MediatR; namespace Miru.Domain; public interface IEnqueuedEvent { INotification GetJob(); }
using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Options; using MVCCoreStarterKit.Areas.Identity.Model; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; namespace MVCCoreStarterKit.Areas.Identity { public class ApplicationUserClaimsPrincipalFactory : UserClaimsPrincipa...
using System; using System.Collections.Generic; using System.Linq; namespace CoreSchematic { public abstract class Component { public static readonly Component Resistor = new BasicComponent("R", false); public static readonly Component UnipolarCapacitor = new BasicComponent("C", false); ...
// ------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本: 12.0.0.0 // // 对此文件的更改可能会导致不正确的行为。此外,如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> // ------------------------------------------------------------------------------ namespace T4P...
//Saltarelle // Inheritance is fully supported, including the possibility to override members. using System; 
using System.Text;
 public class Base { public virtual string Method() { return "Base.Method"; } public virtual string Property { get { return "Base.Property"; } } } public class Derived1 : Base { p...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Xunit; namespace System.Drawing.Tests { public class BufferedGraphicsTests { [ActiveIssue(20...
using System; using System.Collections.Generic; using System.Text; using SqlAccessor; using NUnit.Framework; namespace FoundationTester { [TestFixture()] public class StringExtensionTester { [Test()] public void Split() { StringExtension str; string[] ret; str = new St...
using HotAndCold.Application.Messages; using System; namespace HotAndCold.Contract { public record RoomCreated(Guid Id, string RoomName) : IEvent<Guid>; }
/* * Created by SharpDevelop. * User: Dan * Date: 26/07/2009 * Time: 11:34 PM * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; using System.Drawing; using System.Collections.Generic; namespace thor { public class TexturePackageWAD : TexturePackage { HLLibTr...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; namespace ChameleonLib.View { public partial class PrivacyPolicyPage : PhoneApplic...
using System.Collections; using System.Collections.Generic; using UnityEngine; public interface IBehaviorState { public void StateHandle(); }
using JetBrains.Annotations; using Microsoft.Extensions.Configuration; using RestEase; using RestEase.Authentication.Azure; using RestEase.Authentication.Azure.Authentication; using RestEase.Authentication.Azure.Http; using RestEase.Authentication.Azure.Interfaces; using RestEase.Authentication.Azure.Options; using Res...
using System; namespace WebSgn.Users { public interface IWebSgnUserManager { } }
namespace DwC_A.Meta { internal class CoreFileMetaData : AbstractFileMetaData, IFileMetaData { private readonly CoreFileType coreFileType; public CoreFileMetaData(CoreFileType coreFileType): base(coreFileType) { this.coreFileType = coreFileType ?? new CoreFileTy...
using System; using System.Collections.Generic; using System.Text; using Windows.UI.Xaml; using Windows.UI.Xaml.Media; namespace Uno.UI.Samples.Converters { public class FromBoolToBrushConverter : FromBoolToObjectConverter<Brush> { } }
using System; using System.Runtime.InteropServices; using NuiEngine.NuiControl.Window32.Enum; namespace NuiEngine.NuiControl.Window32.Struct { [StructLayout(LayoutKind.Sequential)] internal struct TRACKMOUSEEVENT { internal uint cbSize; internal TRACKMOUSEEVENT_FLAGS dwFlags; inter...
using InfluxDB.Client.Core.Test; using InfluxDB.Client.Linq; using InfluxDB.Client.Linq.Internal; using NUnit.Framework; namespace Client.Linq.Test { [TestFixture] public class QueryAggregatorTest : AbstractTest { private QueryAggregator _aggregator; [SetUp] public void CreateAggre...
using System.Collections.Generic; using System.Web.Mvc; using Umbraco.Web.Models; using umbraco.cms.businesslogic.macro; using umbraco.interfaces; using System.Linq; namespace Umbraco.Web.Macros { /// <summary> /// Controller to render macro content for Parital View Macros /// </summary> in...
// 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.Threading; using System.Threading.Tasks; using Microsoft.WindowsAzure.Storage; using Micro...
using Microsoft.Xna.Framework; using StardewModdingAPI; using StardewValley; using StardewValley.Tools; namespace TheLion.AwesomeTools { /// <summary>Manages control between each tool.</summary> public class EffectsManager { private readonly AxeEffect _axe; private readonly PickaxeEffect _pickaxe; private re...
using Improbable.Gdk.CodeGeneration.CodeWriter; using Improbable.Gdk.CodeGeneration.Model.Details; using NLog; namespace Improbable.Gdk.CodeGenerator { public static class ViewStorageGenerator { private static readonly Logger Logger = LogManager.GetCurrentClassLogger(); public static CodeWrite...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections; using System.Drawing; using System.Windows; using System.Windows.Contr...
namespace Autossential.Activities.Design.Designers { // Interaction logic for ContainerDesigner.xaml public partial class ContainerDesigner { public ContainerDesigner() { InitializeComponent(); } } }
// <copyright file="Guild.cs" company="https://gitlab.com/edrochenski/juvo"> // Licensed under the MIT License. See LICENSE in the project root for license information. // </copyright> namespace JuvoProcess.Net.Discord.Model { using System.Collections.Generic; using Newtonsoft.Json; /// <summary> ///...
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using Microsoft.Build.Logging.Query.Result; namespace Microsoft.Build.Logging.Query.Ast { public sealed class PathNode<TParent> : ConstraintNode<TParent, string>, IEquatable<PathNode<TParent>> where TP...
using MoonSharp.Interpreter; using MoonSharp.Interpreter.Loaders; using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace Poke1Bot.Scripting { internal class CustomScriptLoader : ScriptLoaderBase { //HashSet used, so that dulplicate entries are filtered by default...
public enum SowingPattern // TypeDefIndex: 7348 { // Fields public int value__; // 0x0 public const SowingPattern None = 0; public const SowingPattern Way1 = 1; public const SowingPattern Way2 = 2; public const SowingPattern Way3 = 3; public const SowingPattern Way4 = 4; public const SowingPattern Way5 = 5; }
using System; public enum GameGenreEnum { FirstPersonShooter, MOBA, RPG, BoardGames, }
using System; using MediatR; namespace HorCup.Players.Commands.EditPlayer { public record EditPlayerCommand( Guid Id, string Nickname) : IRequest<Unit>; }
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using SharpCompress.Archive; namespace ArchiveManager { public partial class FileArchiveExplorer : UserControl ...
using System; using MvvmCross.ViewModels; using Toggl.Multivac; namespace Toggl.Foundation.MvvmCross.ViewModels { [Preserve(AllMembers = true)] public sealed class SelectableBeginningOfWeekViewModel : MvxNotifyPropertyChanged { public BeginningOfWeek BeginningOfWeek { get; } public bool S...
using System.Collections.Generic; namespace GRA.Domain.Model { public class StoredReportSet { public ICollection<StoredReport> Reports { get; set; } } }
using System; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace QarnotSDK { internal class HardwareConstraintsJsonConverter : JsonConverter { public override bool CanConvert(Type objectType) { return objectType == typeof(HardwareConstraint) || objectType.IsSubcl...
using System; using UnityEngine; namespace Game.Slots { using Field; [CreateAssetMenuAttribute(menuName="Game/Slot/SetRunning")] public class SetRunning : Utility.Slot { [SerializeField] private bool isRunning; public override void Run(GameObject gameObject) { Judge.IsRunning = this.isRunning; } } } ...
using System.IO; namespace QQMessageManager { public class MHTCacher { public const string DefaultDir = "cache"; public static readonly MHTCacher Default; static MHTCacher() { Default = new MHTCacher(DefaultDir); } public MHTCacher(string dir) { CacheDir = dir; if (! Directory.Exists(CacheD...
using LocalParks.Core.Domain; using LocalParks.Core.Domain.Shop; using System.Threading.Tasks; namespace LocalParks.Services.Reports { public interface IReportsDataService { Task<Order[]> GetAllOrders(); Task<ParkEvent[]> GetAllParkEvents(); Task<Park[]> GetAllParks(); Task<Spo...
namespace JexusManager.Main.Features { public class ListViewColumnNumericSorter : ListViewColumnTextSorter { protected override ComparerResult InnerCompare(string a, string b) { // Null parsing. if ((a == null) && (b == null)) return ComparerResult.Equals...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.Serialization; namespace Lpp.Dns.DTO.Enums { [DataContract] public enum QueryComposerCriteriaTypes { [EnumMember] Paragraph ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Controls; using ComponentArt.Win.DataVisualization.Charting; using ComponentArt.Win.DataVisualization.Common; using ComponentArt.Win.DataVisualization; namespace EpiDashboard.Gadgets.Charting { //...
using System; using System.Diagnostics; using System.Xml; using XmlCompare.Model; namespace XmlCompare.Presenter { class ReportPresenter : IReportPresenter { public ReportPresenter() { } public event Action OnReportSaveError; public void OnMakeReportClick(ICompare Com...
using System.Drawing; using System.Drawing.Imaging; using System.IO; using Microsoft.Xna.Framework.Graphics; namespace SpriteToolBox { class TextureSprite { public Texture2D Texture { get; set; } public int XCenter { get; set; } public int YCenter { get; set; } public TextureSprite(Texture2D text...
using System.Threading; using System.Threading.Tasks; using LiteGuard; using Mileage.Server.Contracts.Commands; using Mileage.Server.Contracts.Commands.Users; using Mileage.Shared.Entities; using Mileage.Shared.Entities.Users; using Mileage.Shared.Extensions; using Mileage.Shared.Results; using Raven.Client; namespac...
using System; using System.Linq; using System.Net.Http; using Fathcore.Infrastructures; using Fathcore.Infrastructures.Abstractions; using Fathcore.Tests.Fakes; using Microsoft.Extensions.DependencyInjection; using Xunit; namespace Fathcore.Tests { public class CoreEngineTests { private IServiceCollect...
namespace HealthCare020.Core.Request { public class MedicinskiTehnicarUpsertDto : RadnikUpsertDto { } }
using System; using System.Threading.Tasks; using Microsoft.Owin; using OwinFramework.InterfacesV1.Middleware; using OwinFramework.Pages.Core.Debug; using OwinFramework.Pages.Core.Enums; using OwinFramework.Pages.Core.Interfaces; using OwinFramework.Pages.Core.Interfaces.Builder; using OwinFramework.Pages.Core.Interfa...
using Microsoft.Extensions.DependencyInjection; namespace DotNetCloud.RequestMonitoring.Core.DependencyInjection { public interface IRequestMetricsBuilder { /// <summary> /// Gets the application service collection. /// </summary> IServiceCollection Services { get; } p...
interface IMonth<T> { } interface IJanuary : IMonth<int> { } //No error interface IFebruary<T> : IMonth<int> { } //No error interface IMarch<T> : IMonth<T> { } //No error //interface IApril<T> : IMonth<T, U> {} //Error
using System.Collections.Generic; using System.Threading.Tasks; namespace PokemonCardTraderBot.Database.Generic { public interface IGenericAsyncRepository<TObject, in TObjectId> where TObject : class { Task<IEnumerable<TObject>> GetAllAsync(); Task<TObject> GetByIdAsync(TObjectId id)...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Microsoft.Azure.Management.ContainerService.Fluent.ContainerService.Update { using Microsoft.Azure.Management.ContainerService.Fluent; using Micr...
@model SocialStream.Models.StreamModel @{ ViewBag.Title = "Stream"; } <section class="jumbotron"> <h1>Stream</h1> <p class="lead">Here's an example of how it works (sometimes)</p> </section> @for (int i = 0; i < 10; i++) { <section class="row"> <section class="col-md-6"> <img src="@Model.FacebookPictures[i]...
using System; using System.Collections.Generic; using System.Threading.Tasks; using ordering.Domain; namespace ordering.Persistence.Impl { public class OrdersRepository : IOrdersRepository { private static readonly Random _random = new Random(); public async Task<IEnumerable<Order>> GetClient...
using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class InputValidator : MonoBehaviour { public string expected; public string id; Text textUI; static Dictionary<string, Text> publicValues = new Dictionary<string, Text>(); private bool isValid; public static in...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; using System; public class PersonIcon : MonoBehaviour, IPointerClickHandler { public Sprite aliveSprite; public Sprite deadSprite; public Sprite recentlyDeadSprite; pr...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; class Program { #region Type Declarations class Player { public int Left; public int Top; } class Bullet { public int Left; public int Top; public int Frame; } class Explosion { public int Left; ...
using System; using System.Threading; namespace Dissonance.Engine.IO { internal readonly struct ContinuationScheduler { public readonly Asset Asset; internal ContinuationScheduler(Asset asset) { Asset = asset; } public void OnCompleted(Action continuation) { // Make the action only runnable once...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sdl.Community.GroupShareKit.Models.Response.TranslationMemory { public class CommentDefinition { /// <summary> /// Gets or sets the id /// </summary> pu...
// Copyright © John Gietzen. All Rights Reserved. This source is subject to the MIT license. Please see license.md for more information. namespace Pegasus.Expressions { using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; /// <summary> /// Represents a ...
using System.Numerics; using ImGuiNET; using Newtonsoft.Json; namespace XIVLauncher.Core.Style; /// <summary> /// Version one of the Dalamud style model. /// </summary> public class StyleModelV1 : StyleModel { /// <summary> /// Initializes a new instance of the <see cref="StyleModelV1"/> class. /// </summ...
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using SGP.Domain.Entities; using SGP.Domain.Repositories; using SGP.Domain.ValueObjects; using SGP.Infrastructure.Context; using SGP.Infrastructure.Repositories.Common; namespace SGP.Infrastructure.Repositories { pu...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class NumberSpawner : MonoBehaviour { //public TextMesh textNumber; public int minNumber = 1; public int maxNumber = 5; //public Color ringColor = Color.red; public static NumberSpawner Instance; //public Spr...