content
stringlengths
23
1.05M
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Wollo.Web.Helper; namespace Wollo.Web.Controllers { public class BaseController : Controller { //protected override void ExecuteCore() //{ // int culture = 0; // ...
namespace E.Entities { internal static class ProfilerInfos { public static readonly EntityProfilerInfo ExecuteProfilerInfo = new EntityProfilerInfo("Entity Systems"); public static readonly EntityProfilerInfo CompleteProfilerInfo = new EntityProfilerInfo("Complete"); public static rea...
using System.Collections.Generic; namespace DtoTypes { /// <summary>Курс пары валют.</summary> public class RateDto { public int Id { get; } /// <summary>Оцениваемая валюта (числитель).</summary> public CurrencyDto Currency { get; } /// <summary>Базовая валюта (Знаменатель...
using DiscordUnity.Models; using DiscordUnity.State; using System.Linq; using System.Threading.Tasks; namespace DiscordUnity { public static partial class DiscordAPI { public static Task<RestResult<DiscordEmoji[]>> ListServerEmojis(string serverId) => SyncInherit(Get<EmojiModel[]>($"/guild...
using System; using SD = System.Drawing; using Eto.Forms; using Eto.Drawing; using MonoTouch.UIKit; namespace Eto.Platform.iOS.Forms { public class DockLayoutHandler : iosLayout<UIView, DockLayout>, IDockLayout { Control child; Padding padding; public override UIView Control { get { return (UIView)Wi...
using System; using System.Text; namespace DynamicTemplate.Compiler { public struct Position : IComparable { public Position(int line, int column) { Line = line; Column = column; } public readonly int Line; public readonly int Column; pu...
using System; using System.Runtime.InteropServices; using static SmartTaskbar.Core.SafeNativeMethods; namespace SmartTaskbar.Core.Helpers { internal static class AutoHide { private const int AbsAutohide = 1; private const int AbsAlwaysontop = 2; private const uint AbmSetstate = 10; ...
using System; using System.Collections.Generic; namespace GatheringStorm.Api.Models.Dto { public class DtoPlayCardMove { public Guid CardId { get; set; } public List<Guid> DiscardedCardIds { get; set; } public List<DtoEffectTargets> EffectTargets { get; set; } } }
using System; using AutoMapper; using com.movistar.ratemovies.core.Model; namespace com.movistar.ratemovies.Service.Mappings { public class MovieMapProfile : Profile { public MovieMapProfile() { CreateMap<core.Entities.Movie, MovieDto>().ReverseMap(); } } }
using System.Collections.Generic; using System.Collections.ObjectModel; using GalaSoft.MvvmLight; namespace Monitor.ViewModel.NewSession { public class NewSessionWindowViewModel : ViewModelBase { private ObservableCollection<INewSessionViewModel> _newSessionViewModels; private INewSessionViewM...
using System; using System.Linq; using DevExpress.Data.Filtering; using DevExpress.ExpressApp; using DevExpress.ExpressApp.Editors; using DevExpress.ExpressApp.Scheduler.Web; using DevExpress.ExpressApp.Web.Editors; using Xpand.Persistent.Base.General.Controllers.Dashboard; namespace Xpand.ExpressApp.Scheduler.Web.Co...
using Habit.API.Application.Notifiers; namespace Habit.API.Hubs { public interface IHabitsHubNotifier<in TCommand> : INotifier<HabitsHub, IHabitsHub, TCommand> { } }
using OpenProtocolInterpreter; namespace MIDTesters { public abstract class MidTester { protected readonly MidInterpreter _midInterpreter; public MidTester() { _midInterpreter = new MidInterpreter(); } } }
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Globalization; using Microsoft.AspNetCore.Authentication.OpenIdConnect; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using Microsoft.Identity.Client; using ...
namespace LetPortal.Core.Files { public enum FileStorageType { Disk, Database } }
using System.ComponentModel.DataAnnotations; using BioEngine.Core.DB; using BioEngine.Core.Social; namespace BioEngine.Extra.Facebook.Entities { [Entity("facebookpublishrecord")] public class FacebookPublishRecord : BasePublishRecord { [Required] public string PostId { get; set; } } }
using Sabio.Web.Domain; using Sabio.Web.Models.Requests; using Sabio.Web.Models.Responses; using Sabio.Web.Services; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace Sabio.Web.Controllers.Api { [RoutePrefix("api/languages")...
using System; using System.Linq; using Microsoft.CodeAnalysis; using Typewriter.CodeModel; namespace Typewriter.Metadata.Roslyn { public static class Extensions { public static string GetName(this ISymbol symbol) { var array = symbol as IArrayTypeSymbol; return array !=...
using ByteDev.Pagination.Data; using NUnit.Framework; namespace ByteDev.Pagination.UnitTests.Data { [TestFixture] public class DataPagingInfoTests { [TestFixture] public class Constructor : DataPagingInfoTests { [Test] public void WhenPageNumberLessThanZero_...
using SimpleInjector; using SimpleInjector.Packaging; using Dukebox.Configuration.Interfaces; namespace Dukebox.Configuration { public class ConfigurationPackage : IPackage { private static void Configure(Container container) { container.RegisterSingleton<IDukeboxSettings, DukeboxS...
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using ZKWeb.Database; using ZKWeb.Localize; using ZKWeb.Logging; using ZKWeb.Plugins.Common.Base.src.UIComponents.Forms; using ZKWeb.Plugins.Common.Base.src.UIComponents.Fo...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Sculptor.Infrastructure.Logging; namespace Sculptor.Server { public class Startup { private readonly ILocalLogger localLogger; public Startup(ILocalLogger localLogger) { this.localLogger = localL...
using System.Collections.ObjectModel; namespace Faactory.Channels; internal class ChannelInfo : IChannelInfo { private readonly IChannel channel; public ChannelInfo( IChannel channelInstance ) { channel = channelInstance; } public string Id => channel.Id; public IReadOnlyDictionary<s...
namespace RFReborn.Pairs { /// <summary> /// Ref Struct that holds two values as a pair. /// </summary> /// <typeparam name="T">type of value</typeparam> public readonly ref struct RefValuePair<T> { /// <summary> /// Left Value of the RefValuePair /// </summary> ...
using System; using UnityEngine; namespace FMath { public class FPVector2 : IEquatable<FPVector2> { public FPInt x; public FPInt y; public FPVector2(FPInt x, FPInt y) { this.x = x; this.y = y; } public FPVector2(UnityEngine.Vect...
using System.Net; namespace FrannHammer.WebScraping.Contracts.WebClients { public interface IWebClientProvider { WebClient Create(); } }
using System.IO.Ports; using System.Management; using System.Threading; using System.Threading.Tasks; namespace dmweis.ASC.Connector.HardwareConnection { public class HardwareService { private const string c_ClassGuidSerialDevices = "{4d36e978-e325-11ce-bfc1-08002be10318}"; public static SerialPor...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Script.Serialization; using Newtonsoft.Json; using PostSharp.Aspects; namespace AspNetMvcCacheDemo.Aspects { [Serializable] public class CacheAspect : OnMethodBoundaryAspect { /// <summary> ...
using IntelliTect.Coalesce.CodeGeneration.Analysis.Base; using IntelliTect.Coalesce.CodeGeneration.Configuration; using IntelliTect.Coalesce.TypeDefinition; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace IntelliTect.Coalesce.CodeGeneration.Generation { p...
using System.Collections.Generic; using Core.Utilities.Results; using Entities.Concrete; namespace Business.Abstract { public interface ICustomerService { IDataResult<Customer> GetById(int id); IDataResult<List<Customer>> GetAll(); IResult Add(Customer customer); IResult Upd...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Hosting; namespace Microsoft.AspNetCore.Mvc.FunctionalTests; public class ClientValidationOptionsTests : IClassFixture<MvcTestFixture<RazorPagesWebSite....
/* * The MIT License (MIT) * * Copyright (c) 2016-2021 Denis Kuzmin <x-3F@outlook.com> github/3F * Copyright (c) Conari contributors https://github.com/3F/Conari/graphs/contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace RestaurantWebsite.Core.Domain { public class Food : IArchivable { public int Id { get; set; } public string Name { get; set; } public string Description { get; set; } public decimal B...
namespace XpressTest; public class SutAsserterCreator<TSut> : ISutAsserterCreator<TSut> { private readonly ISutArrangementCreator<TSut> _sutArrangementCreator; public SutAsserterCreator( ISutArrangementCreator<TSut> sutArrangementCreator ) { _sutArrangementCreator = sut...
using System; using System.IO; namespace Jaeger.Common { public static class AppDomainExtensions { public static string Combine(this AppDomain appDomain, params string[] paths) { if (paths.Length == 0) { return appDomain.BaseDirectory; } ...
using System; using System.Collections.Generic; using System.Linq; public class CottageScraper { public static void Main() { var line = Console.ReadLine(); var dict = new Dictionary<string, List<decimal>>(); while (line != "chop chop") { var tokens = line.Split(ne...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Arragro.ObjectLogging.Interfaces { public interface IObjectHistoryService { ObjectHistory AddHistory<TModel, TKeyType>(TModel newObject, string userName); ObjectHistory...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RigidBodyPositionReset : MonoBehaviour { private Vector3 startPosition; private Quaternion startRotation; // Use this for initialization void Start () { startPosition = transform.position; startRotation = transform.r...
using System; using System.Linq; namespace KnowledgePicker.WordCloud.Sizers { /// <summary> /// Converts counts to font sizes using <see cref="Math.Log(double)"/>. /// </summary> /// <remarks> /// Inspired by Wowchemy's Tag Cloud (commit /// <c>b647d7e81a5ac59326fe8e5a1424df6a8bff7146</c>, file...
using System.Collections.Generic; using City.Snapshot.Snapshot; namespace City.Snapshot.Serialization { public interface IPulseSnapshotSerializer { IDictionary<int, ISnapshot> DeserializeSnapshot(byte[] bytesnapshot); byte[] SerializeSnapshot(IDictionary<int, ISnapshot> snapshot); IDic...
using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace DraconianMarshmallows.UI.Localization { public class Localizer { public static Localizer GetInstance(string defaultStringsPath, string localizedStringsPath) { Localizer l...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Rain { public class Part { public string HttpMethod { get; set; } public List<Response> Responses { get; set; } public List<String> Docs { get; set; } p...
namespace Generify.Services.Abstractions.Security { public interface ISaltSettings { byte[] PasswordSalt { get; } } }
namespace SalesReport.ConsoleClient { using System; using MongoDB.Bson; public class ProductReportMongoDB { public ObjectId Id { get; set; } public string Name { get; set; } public int Quantity { get; set; } public decimal Incame { get; set; } ...
using System; using System.Text; namespace C5 { /// <summary> /// <i>(Describe usage of "L:300" format string.)</i> /// </summary> public interface IShowable : IFormattable { //TODO: wonder if we should use TextWriters instead of StringBuilders? /// <summary> /// Format <cod...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensi...
using News.Data.Models; using Microsoft.EntityFrameworkCore; namespace News.Data { public class BlogAppDbContext : DbContext { public BlogAppDbContext(DbContextOptions<BlogAppDbContext>options): base(options) { } public DbSet<Category> Categories { get; set; } public DbSet<Post> Posts...
using System.Text.Json.Serialization; namespace api.Dtos { public class WordDto { public long WordId { get; set; } public string English { get; set; } public string Arabic { get; set; } [JsonIgnore] public SentenceDto Sentence { get; set; } public long SentenceId { get; se...
using System; using System.Runtime.Serialization; namespace SyncTool.Common.Groups { [Serializable] public class GroupNotFoundException : GroupManagerException { public string GroupName { get; set; } public GroupNotFoundException(string groupName) : base($"The Group '{groupName}' could no...
using Data; using FizzWare.NBuilder; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MSTest { [TestClass] public class NBuilderTest { [TestMethod] public void Builder() { var order = Builder<Order>.CreateNew().Build(); order.Customer = Builder<...
using AlephVault.Unity.Meetgard.Auth.Protocols.Simple; using AlephVault.Unity.Meetgard.Samples.Chat; using AlephVault.Unity.Meetgard.Authoring.Behaviours.Server; using AlephVault.Unity.Meetgard.Types; using System; using System.Collections; using System.Collections.Generic; using System.Net; using System.Threading.Task...
using System; using Microsoft.VisualStudio.Services.Common; namespace Qwiq.Credentials { public class AuthenticationFailedNotification : CredentialNotification { public AuthenticationFailedNotification(VssCredentials credentials, Exception exception) : this(credentials) { ...
using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; namespace ResultObject.Core.Http.Middleware { public class I18NMiddleware { private readonly RequestDelegate next; public I18NMiddleware(RequestDelegate...
using System; namespace YS.Knife.Data.FilterExpressions { internal class FilterConverterAttribute : Attribute { public FilterType FilterType { get; } public FilterConverterAttribute(FilterType filterType) { FilterType = filterType; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; namespace testSliderWinPhone8 { public static class NavigationHelper { public static void NavigateTo(string page) { if (!page....
using StoreWeb.Domain.Entities.Abstract; using System; using System.Collections.Generic; using System.Text; namespace StoreWeb.Domain.Entities { public class Cart:Entity { public int Id_Costumer { get; set; } public int Id_Product { get; set; } public int Quantity { get; set; } ...
using System; using Abp.Dependency; using Abp.RemoteEventBus.Kafka; using Castle.MicroKernel.Registration; namespace Abp.RemoteEventBus.Kafka { public static class ConfigurationExtensions { public static IKafkaConfiguration UseKafka(this IRemoteEventBusConfiguration configuration) { ...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Text; namespace BarbecueManager.Patterns.Infrastructure.Sql { public class SqlEnvironmentConnectionFactory : IConnectionFactory { private readonly string _environmentKey; public SqlEnv...
#region License // Copyright 2018 Elton FAN (eltonfan@live.cn, http://elton.io) // // 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-...
using System.Collections.Generic; using Orchard.ContentManagement; namespace Orchard.Rules.Models { public class ScheduledActionTaskPart : ContentPart<ScheduledActionTaskRecord> { public virtual IList<ScheduledActionRecord> ScheduledActions { get { return Record.ScheduledActions; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CSCore; using CSCore.SoundIn; using CSCore.Codecs.WAV; namespace Wizard101_Bot { class SoundCapture { public static void mute() { } ...
using MongoDB.Entities; using System; using System.Linq; namespace Kiwilink.Models { public class Client : Entity { public string Address { get; set; } public DateTime? ArrivalDate { get; set; } public string Education { get; set; } public string CV { get; set; } public...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Windows; using System.Threading.Tasks; namespace FizzBuzz { /// <summary> /// Write a program that prints the numbers from 1 to 100. /// But for multiples of three print “Fizz” instead of ...
using System; using System.Collections.ObjectModel; #if WINRT using Windows.UI.Xaml.Markup; using Windows.UI.Xaml.Media; using ActiproSoftware.UI.Xaml; using ActiproSoftware.UI.Xaml.Input; #else using System.Windows.Markup; using System.Windows.Media; using ActiproSoftware.Windows; using ActiproSoftware.Windows.Input...
namespace ArticulationUtility.Controllers.Converting { public interface IConvertingController<TRequest> { public void Convert( TRequest request ); } }
using System; using Network; using Crypto; using Patterns.Observer; using Events.Network; using Enums; using Util; using Speech; namespace Pi { public class Client { //vars private TCPClient socket = new TCPClient(); private DiffieHellman dh = new DiffieHellman(); private Rijndael aes; private MicrophoneE...
namespace ExCSS { public enum FillRule : byte { Nonzero, Evenodd } }
// 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.Linq; using NuGet.LibraryModel; using Xunit; namespace NuGet.ProjectModel.Test { public class IncludeFlagTests { [Fact] ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Gcpe.Hub.API.Helpers { public class NewsReleaseDocumentContact { public System.Guid DocumentId { get; set; } public int LanguageId { get; set; } public int SortIndex { get; set; }...
using System.Text.Json.Serialization; namespace KyivDigital.Business.Models { public class TransportRoute { [JsonPropertyName("id")] public long Id { get; set; } [JsonPropertyName("name")] public string Name { get; set; } [JsonPropertyName("number")] public stri...
using System; using System.Collections.Generic; namespace Elsa.Activities.Webhooks.Models { public record WebhookRequestModel(Uri Path, string Method, IDictionary<string, string> QueryString, IDictionary<string, string> Headers, object? Body = default) { public T GetBody<T>() => (T)Body!; } }
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using MonoMac.Foundation; using MonoMac.AppKit; namespace VillainTracker { public partial class VillainTrackerAppDelegate: NSApplicationDelegate { static readonly string[] motivations = new [] { "Greed", "Revenge", "Bl...
using iTunesDB.Net.Enumerations; namespace iTunesDB.Net.Database { public class DataObject : IDbObject { public DataObjects Type { get; set; } } }
using Antura.Audio; using Antura.Core; using Antura.Database; using Antura.Helpers; using Antura.UI; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Antura.Book { public class PhrasesPage : MonoBehaviour, IBookPanel { [Header("Prefabs")] public GameObje...
using Microsoft.AspNetCore.Mvc.Filters; namespace LINGYUN.Abp.AspNetCore.Mvc.Wrapper { public interface IWrapResultChecker { bool WrapOnExecution(FilterContext context); bool WrapOnException(ExceptionContext context); bool WrapOnException(PageHandlerExecutedContext context)...
namespace Snittlistan.Web.Helpers { using System; using Raven.Imports.Newtonsoft.Json; public class InputError { public InputError(string field, string reason) { Field = field ?? throw new ArgumentNullException(nameof(field)); Reason = reason ?? throw n...
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.AspNetCore.Mvc.Razor.Internal; using Microsoft.AspNetCore.Routing; using System; using System.Linq; using System.Threading.Tasks; namespace vlko.core.web.Base { public abstract class BaseViewPage<TModel> : RazorPage<TModel> ...
using System.Collections.Generic; using System.Reflection; namespace System.ComponentModel.Annotations.Validation.TypeMethodProvider.Caching { /// <inheritdoc /> /// <summary> /// Caching decorator for TypeMethodProvider. /// </summary> public sealed class CachingTypeMethodProviderDecorator : ITyp...
// 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. #nullable disable namespace System.Windows.Forms { internal static class RichTextBoxConstants { //...
using ImageMagick; using System.Collections.Generic; using System.Linq; namespace WDSE.Compare { /// <summary> /// Images comparer class /// </summary> public static class WdseImageComparer { #region Privates private static IEnumerable<object> CompareImages(IMagickImage image1...
using System; using System.Collections.Generic; using System.Linq; using CosmosStack.Conversions.Common.Core; // ReSharper disable InconsistentNaming namespace CosmosStack.Conversions.Common { /// <summary> /// Helper /// </summary> // ReSharper disable once InconsistentNaming internal static clas...
namespace PackageExplorer.Model { using System; using System.Collections.Generic; using System.ComponentModel; class DocumentPartCollection : BindingList<DocumentPart> { public void AddRange(IEnumerable<DocumentPart> range) { foreach (DocumentPart part in range) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WebParser { struct Check { public void CheckHost() { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine("Check connection to host"); ...
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace PetClinic.DataAccess.Models { public class Appointment { [Key] [Required] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; set; } ...
using System.Collections.Generic; using System.Collections.Specialized; namespace OpBot { internal class AdminUsers : IAdminUser { List<ulong> _adminUsers; public AdminUsers(StringCollection userIds) { _adminUsers = new List<ulong>(); if (userIds != null) ...
using System; public class ConditionRangeChecker : RangeChecker { public void SetRange(int theID, float theRange, float theInterval) { this.ID = theID; this.range = theRange; this.interval = theInterval; } protected override void EnterRange() { RangeTriggerAnnouncer.Announce(this.ID); } }
using System; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using MyScript.IInk; using MyScript.InteractiveInk.Annotations; using MyScript.InteractiveInk.Enumerations; using MyScript.InteractiveInk.Extensions; using MyScript.InteractiveInk.UI.Styles; namespace MyScript.InteractiveInk.UI.Xaml.Controls { //...
using System; using System.Collections.Generic; using System.Text; namespace Slipe.Server.Vehicles.Events { public class OnDamageEventArgs { /// <summary> /// The damage taken /// </summary> public float Loss { get; } internal OnDamageEventArgs(dynamic loss) { ...
// <copyright file="ContentAttachment.cs" company="Endjin Limited"> // Copyright (c) Endjin Limited. All rights reserved. // </copyright> namespace Stacker.Cli.Domain.Universal { public class ContentAttachment { public string Url { get; set; } public string Path { get; set; } } }
// <copyright file="TJTransformOperation.cs" company="Autonomic Systems, Quamotion"> // Copyright (c) Autonomic Systems. All rights reserved. // Copyright (c) Quamotion. All rights reserved. // </copyright> namespace TurboJpegWrapper { /// <summary> /// Transform operations for <see cref="TurboJpegImport.TjTr...
using WeatherTest.Services.Models; namespace WeatherTest.Services { public interface IHandleWeather { CalculatedWeatherResult Handle(WeatherRequest request); } }
namespace inspiral { internal class CommandUnequip : GameCommand { internal override void Initialize() { aliases = new System.Collections.Generic.List<string>() { "unequip", "remove" }; description = "Unequips an object."; usage = "unequip [object name or id]"; } internal override void InvokeCommand(...
using ESCPOS_NET.Emitters.BaseCommandValues; namespace ESCPOS_NET.Emitters { public abstract partial class BaseCommandEmitter : ICommandEmitter { /* Status Commands */ public virtual byte[] EnableAutomaticStatusBack() => new byte[] { Cmd.GS, Status.AutomaticStatusBack, 0xFF }; public ...
namespace OkonkwoOandaV20.TradeLibrary.Pricing { public class CandleSpecification { /// <summary> /// The instrument of the candlesticks to fetch /// </summary> public string instrument { get; set; } /// <summary> /// The granularity of the candlesticks to fetch. /// Valid values are specifi...
using Bondage.Tier.ViewModels.Interfaces.Updates; namespace Bondage.Tier.ViewModels.Classes.Updates { /// <summary> /// Represents a <see cref="UpdateYear"/> class. Implements <see cref="IUpdateBase"/> /// </summary> public class UpdateYear : IUpdateBase { /// <summary> /// Initial...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lexxys.Testing { class RndSys: IRand { private Random _r; public RndSys() { _r = new Random(); } public RndSys(int seed) { _r = new Random(seed); } public void Reset...
namespace TAO3.Internal.Types; internal static class TupleHelper { private static readonly HashSet<Type> _valueTupleTypes = new HashSet<Type>(new Type[] { typeof(ValueTuple<>), typeof(ValueTuple<,>), typeof(ValueTuple<,,>), typeof(ValueTuple<,,,>), typeof(ValueTuple<,,,...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Threading.Tasks; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Core; using Windows.UI.Xaml; usin...
namespace Content.Shared.Administration; public interface IGamePrototypeLoadManager { public void Initialize(); public void SendGamePrototype(string prototype); event Action GamePrototypeLoaded; }
#if __ANDROID__ using System.Globalization; using System.Threading; namespace pbXNet { public partial class Locale : ILocale { void _SetLocale(CultureInfo ci) { Thread.CurrentThread.CurrentCulture = ci; Thread.CurrentThread.CurrentUICulture = ci; } #pragma warning disable CS0168 CultureInfo _GetCur...