content
stringlengths
23
1.05M
using System.Threading.Tasks; namespace Octokit { /// <summary> /// A client for GitHub's Git Merging API. /// </summary> /// <remarks> /// See the <a href="https://developer.github.com/v3/repos/merging/">Git Merging API documentation</a> for more information. /// </remarks> public interfa...
namespace webapp.Models { /// <summary> /// Returns infrastructure summary: scores by category, counters, etc. /// </summary> public class InfrastructureOverview { /// <summary> /// Overall infrastructure summary. /// </summary> public InfrastructureCompone...
using ACTFoundation.Core.ViewModels.Shared; using System; using System.Collections.Generic; namespace ACTFoundation.Core.ViewModels.Partials.Blocks { public class ProjectsCategoriesViewModel { public ProjectsCategoriesViewModel(Guid? projectsId, IEnumerable<TagViewModel> categories) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ZitaAsteria.Configuration { /// <summary> /// The game debugging flags. /// </summary> public class GameDebugConfiguration { #region Public Properties /// <summary> /// If true t...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AudioCommentRecorder : MonoBehaviour { public List<AudioClip> comments = new List<AudioClip>(); }
using System.Threading.Tasks; using Orleans; namespace StreamAsQueueTest { /// <summary> /// Grain interface IGrainRunner /// </summary> public interface IGrainRunner : IGrainWithGuidKey { Task Execute(int number); } }
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemySpawner : MonoBehaviour { [SerializeField] List<WaveConfig> m_WaveConfigs; [SerializeField] int m_StartingWave = 0; [SerializeField] bool m_Looping = false; IEnumerator Start()...
using HarmonyLib; using System.Collections.Generic; using static CultistPlugin.CultistMod; using static CultistPlugin.CultistSettings; namespace CultistPlugin { [HarmonyPatch(typeof(EndGameManager), "SetEverythingUp")] public class EndGameManagerPatch { public static void Prefix(EndGameManager __i...
namespace FoodShortage.Interface { using System; public interface IBirthable { public DateTime Birthdate { get; set; } } }
namespace Atomiv.Infrastructure.Selenium.SystemTest.Fixtures.Interfaces.Pages { public interface ICheckoutConfirmationPage { string GetMessageHeader(); string GetMessageText(); } }
@model IEnumerable<GetHired.DTO.CityModel> <h2>Index</h2> <div class="form-group"> <label for="exampleFormControlSelect1">City</label> <select class="form-control" id="exampleFormControlSelect1"> @foreach (var city in Model) { <option>@city.Name</option> } </select> </...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; namespace Mono.Linker.Tests.TestCasesRunner { public class LinkerTestLogger : ILogger { readonly List<Mess...
using Swetugg.Tix.Activity.Content.Contract; using System; using Dapper; using System.Data.SqlClient; using System.Threading.Tasks; using System.Transactions; namespace Swetugg.Tix.Activity.Content { public class SqlActivityContentCommands : IActivityContentCommands { private readonly string _connecti...
//----------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. //----------------------------------------------------------------------- // Note: This namespace needs to stay the same since the docdb collection name depends on it. n...
using Skoruba.AuditLogging.Events; using Skoruba.IdentityServer4.Admin.BusinessLogic.Dtos.Configuration; namespace Skoruba.IdentityServer4.Admin.BusinessLogic.Events.ApiResource { public class ApiResourcesRequestedEvent : AuditEvent { public ApiResourcesRequestedEvent(ApiResourcesDto apiResources) ...
// Copyright (C) 2017 Dmitry Yakimenko (detunized@gmail.com). // Licensed under the terms of the MIT license. See LICENCE for details. using System; using NUnit.Framework; namespace RoboForm.Test { [TestFixture] public class AuthInfoTest { [Test] public void Properties_are_set() { ...
using System; namespace Plus.Http.ProxyScripting { public interface IProxyScriptManagerCache { string GetOrAdd(string key, Func<string> factory); void Set(string key, string value); } }
using System.Collections.Generic; using IndicatorsUI.DomainObjects; using NHibernate; namespace IndicatorsUI.DataAccess.Repository { public interface IRelativeUrlRedirectRepository { } public class RelativeUrlRedirectRepository : RepositoryBase, IRelativeUrlRedirectRepository { public Re...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Microsoft.EntityFrameworkCore; using apBioPlay.Models; namespace apBioPlay.DAO { public class LicoesDAO { public IList<Licao> Lista() { using (var contexto = new SiteContext()) { ...
// Copyright (c) 2014-2020 DataStax Inc. // Copyright (c) 2020, Rafael Almeida (ralmsdevelper) // Licensed under the Apache License, Version 2.0. See LICENCE in the project root for license information. using System; using System.Numerics; using Scylla.Net.Serialization; namespace Scylla.Net { public class BigIn...
using System; using System.Collections.Generic; using EntityFramework.ExtensionUtilities.DbContext; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage; using MultiTenancyTest.Entities; namespace MultiTenancyTest.DbContext { public cl...
using JetBrains.Annotations; namespace Halite.Examples { public class OrderLineLinks : HalLinks { public OrderLineLinks([CanBeNull] SelfLink self, HalLink basketLink, HalLink customerLink) : base(self) { BasketLink = basketLink; CustomerLink = customerLink; } ...
using System.Windows; namespace DisableHotkeysApp.Views { public partial class MainView { public MainView() { InitializeComponent(); } private void OnExitButtonClick(object sender, RoutedEventArgs e) { Application.Current.Shutdown(); } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Verse; namespace RWBeheading { public class SpecialThingFilterWorker_HeadsColonist : SpecialThingFilterWorker { public override bool Matches(Thing t) { Humanlik...
using AutoMapper; using OpsMain.Shared; using OpsMain.Shared.Dto; using OpsMain.StorageLayer.Entity; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace OpsMain._3rdService.Mapper { public class MapProfile : Profile { public MapProfile() {...
@page @model LK.Pages.NotFoundModel @{ ViewData["Title"] = "404 Page Not Found"; } <h1>404 Page Not Found</h1>
using Jigsaw_2.Abstracts; using System; using System.Collections.Generic; using System.Linq; using System.Windows.Media.Imaging; namespace Jigsaw_2.Games.Jumper { /// <summary> /// GUIElement used to represent current answer in the Jumper Game. /// </summary> public class JumperDisplayComposite : GUIE...
// Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0x2268DF1E)] public class STU_2268DF1E : STU_C55609C4 { [STUFieldAttribute(0x6E1EC5AF, "m_commandText")] public teString m_commandText; [STUFieldAttribute(0x864D4...
using FluentAssertions; using SharpDump.Logic; using System.IO; using System.Linq; using Xunit; namespace SharpDump.Test { public class CompressTest { [Theory] [InlineData(null)] [InlineData("")] [InlineData(" ")] [InlineData("input.in")] public void Compress_Wit...
using System.Diagnostics; using Dotnet.Coveralls.Io; using Machine.Specifications; using Microsoft.Extensions.Logging; using Shouldly; namespace Dotnet.Coveralls.Tests.IO.ProcessExecutorTests { [Subject(typeof(ProcessExecutor))] public class when_the_process_exits_successfully : with_process_executor { ...
using NUnit.Framework; using PBScript.Environment; using PBScript.Exception; using PBScript.ProgramElements; namespace PbsTexts.BasicTests; public class ThrowsIfNotInitializedTest { [Test] public void Test_ThrowsIfNotInitializedRun() { var env = PbsEnvironment.WithAllDefaultRepositories(); ...
using Domain.Models; using DTOs.ResearchDtos; namespace Mappers { public static class ResearchMapper { public static Research ToResearch(this CreateResearchDto createResearchDto) { return new Research() { Title = createResearchDto.Title }; ...
namespace WebForLink.Domain.ValueObject { public class Email { public Email(string endereco) { Endereco = endereco; } public int Id { get; private set; } public string Endereco { get; private set; } } }
using Microsoft.AspNetCore.Mvc; using System; using System.ComponentModel.DataAnnotations; namespace StoreApplication.WebUI.ViewModels { public class OrderHistoryViewModel { [HiddenInput] public int Id { get; set; } [Required] [DataType(DataType.DateTime)] [DisplayForm...
namespace ExpenseTracker.App.ApiModels { public class ApiNonBills { public int NonBillId { get; set; } public int UserId { get; set; } public string StoreName { get; set; } public decimal Price { get; set; } public string UserFirstName { get; set; } public strin...
using ClosedXML.Excel; using ConWinTer.Model; using ConWinTer.Utils; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace ConWinTer.Loader { public class ClosedXMLExcelLoader : IExcelLoader { public IEnumerable<string> GetSupportedExtensions() { ...
using Microsoft.Extensions.Logging; using Nethereum.BlockchainProcessing.Processing; using Nethereum.BlockchainStore.Processing; using Nethereum.Configuration; using Nethereum.Logging; namespace Nethereum.BlockchainStore.EFCore.SqlServer.Console { public class Program { public static int Main(string[]...
using UnityEngine; using System.Text; using System.Net; using System.Net.Sockets; public static class UDPSend { // "connection" things private static readonly IPEndPoint RemoteEndPoint = new IPEndPoint(IPAddress.Broadcast, UDPReceive.Port); private static readonly UdpClient Client = new UdpClient(); ...
using System; using System.Collections.Generic; using System.IO; namespace aima.core.logic.common { /** * An abstract base class for constructing parsers for knowledge representation * languages. It provides a mechanism for converting a sequence of tokens * (derived from an appropriate lexer) into ...
// Compiler options: /checked+ using System; public class MonoBUG { public static void Main (string[] args) { double B = 4.0; double K = 2.0; double A = - B / (K * K); Console.WriteLine ("{0}", A); } }
using System.Collections.Generic; using MagicMedia.Store; namespace MagicMedia.GraphQL { public class UpdateAlbumPayload : Payload { public Album? Album { get; } public UpdateAlbumPayload(Album album) { Album = album; } public UpdateAlbumPayload(IReadOnlyLi...
namespace JsonPointer { using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; public static class JsonPointer { #region Public Methods /// <summary> /// Gets the value at the JSON pointer path. /// </summary> /// <typeparam name="T">retu...
namespace Domain { public class TeamRecordDetails { public string Team { get; set; } public string Opponents { get; set; } public int Played { get; set; } public int Wins { get; set; } public int Drawn { get; set; } public int Lost { get; s...
using System.Collections; using System.Collections.Generic; using System.IO; using Newtonsoft.Json; using UnityEngine; internal static class SettingsManager { private static readonly string FilePath = Path.Combine(Application.persistentDataPath, "settings.json"); internal static Settings Settings; stati...
using Microsoft.AspNet.SignalR; using Microsoft.AspNet.SignalR.Hubs; namespace SignalRest { public class HubContext : IHubContext<object>, IHubContext { public HubContext(string hubName) { Clients = new HubConnectionContext(hubName); Groups = new GroupManager(hubName); ...
using System; using System.IO; using System.Text; using System.Windows.Forms; using ReGen.Configuration; namespace ReGen.ConfigMaker.GUI { public partial class ScriptPropertiesForm : Form { private ProgramConfiguration.Script _script; public byte[] FileContents { get; set; } public Sc...
using Microsoft.EntityFrameworkCore.Design; namespace ProMassSpammer.Data.Repositories { public abstract class RepositoryBase { private readonly IDesignTimeDbContextFactory<ProMassSpammerModel> _modelFactory; protected RepositoryBase(IDesignTimeDbContextFactory<ProMassSpammerModel> modelFacto...
using System.Collections.Generic; namespace EagleRepair.IntegrationTests.Cli.DataProvider.TypeCheckAndCast { public static class TypeCheckAndCastSimpleDataProvider { private const string Input = @" using System; namespace Entry { public class TypeCheckAndCast { public class NestedClass...
// Encog(tm) Artificial Intelligence Framework v2.5 // .Net Version // http://www.heatonresearch.com/encog/ // http://code.google.com/p/encog-java/ // // Copyright 2008-2010 by Heaton Research Inc. // // Released under the LGPL. // // This is free software; you can redistribute it and/or modify it // under the terms ...
using System.ComponentModel; namespace Audiotica.Core.Utilities.Interfaces { public interface IAppSettingsUtility : INotifyPropertyChanged { string DownloadsPath { get; set; } string TempDownloadsPath { get; } int Theme { get; set; } bool Ads { get; set; } } }
// 189. Rotate Array Easy // Given an array, rotate the array to the right by k steps, where k is non-negative. // Example 1: // Input: [1,2,3,4,5,6,7] and k = 3 // Output: [5,6,7,1,2,3,4] // Explanation: // rotate 1 steps to the right: [7,1,2,3,4,5,6] // rotate 2 steps to the right: [6,7,1,2,3,4,5] // rotate 3 st...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public enum DamageType { NONE, LASER, ROBOT, INSTAKILL } public class Health : MonoBehaviour { public float maxHealth { get { return 1; } } public float health = 1; public bool isDead = false; public bool is...
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName ="CardList", menuName = "CardList", order =1)] public class CardList : ScriptableObject { public List<GameObject> active; public List<GameObject> passive; }
// Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace Mojur.Unity.SolutionProcessing { /// <summary> /// Provides access to solution synchronization events. /// </summary> public interface ISolutionSyncEvents { /// <su...
namespace TMPro { public struct XML_TagAttribute { public int nameHashCode; public TagType valueType; public int valueStartIndex; public int valueLength; public int valueHashCode; } }
namespace ProSuite.Commons.AO.Geometry.Cut { public enum DegenerateMultipatchFootprintAction { Throw, Discard, Keep } }
namespace linway_app.Models.Enums { public enum TipoPolvo { Texapol, Alison, AlisonEspecial, Dispersán, Eslabón, Blanqueador }; }
using System.Collections.Generic; namespace System.Linq { public static class LinqExtensions { public static T FirstOrNull<T>(this IEnumerable<T> values, Func<T, bool> predicate) where T: class { return values.DefaultIfEmpty(null).FirstOrDefault(predicate); } } }
namespace Hades.Language.Lexer { public static class Keyword { public const string Class = "class"; public const string Func = "func"; public const string Args = "args"; public const string Requires = "requires"; public const string If = "if"; public const string ...
 namespace Test.Unit.Exceptions { using global::Clasp; using IArgument = global::Clasp.Interfaces.IArgument; using MissingOptionValueException = global::Clasp.Exceptions.MissingOptionValueException; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; [TestClass] public clas...
using Newbe.Mahua.Apis; using Newbe.Mahua.NativeApi; namespace Newbe.Mahua.CleverQQ.Apis { public class RemoveBanGroupMemberApiMahuaCommandHandler : CleverQQApiMahuaCommandHandlerBase<RemoveBanGroupMemberApiMahuaCommand> { public RemoveBanGroupMemberApiMahuaCommandHandler( ICleverQ...
using System; using System.Windows; namespace HOTINST.COMMON.Controls.Service { /// <summary> /// /// </summary> public interface IDialog { /// <summary> /// /// </summary> DialogButtons Mode { get; } /// <summary> /// /// </summary> DialogResultState Result { get; } /// <summary> /// //...
namespace Lyra.Core.Blocks { //public class NodeInfo //{ // public string PublicKey { get; set; } // public string IPAddress { get; set; } // public string Signature { get; set; } // use private key to sign ip address. // public override string ToString() // { // ...
using UnityEngine; using System.Collections; /// <summary> /// Player prefs wrapper. /// Simple Wrapper to PlayerPrefs /// Fonctionality /// </summary> public static class PlayerPrefsWrapper { public static void SetInt(string key , int value){ if(PlayerPrefs.HasKey(key)) throw new UnityExceptio...
namespace ClickView.Extensions.RestClient.Http { using System.Net.Http.Headers; public sealed class RestClientRequestHeaders : HttpHeaders { internal RestClientRequestHeaders() { } } }
using Microsoft.Extensions.Logging; using Newtonsoft.Json; using SigStat.Common; using SigStat.Common.Helpers; using SigStat.Common.Helpers.Serialization; using SigStat.Common.Pipeline; using SigStat.Common.PipelineItems.Classifiers; using SigStat.Common.Transforms; using System; using System.Collections.Generic; usin...
using System; using System.Collections.Generic; using System.Text; namespace AuthenticationService.Entity { public class PhoneInfo { /// <summary> /// 手机内置uudid /// </summary> public string Uuid { get; set; } /// <summary> /// 总空间单位G /// </summary> ...
namespace PizzaDecoratorExample.PizzaDecorator { public abstract class PizzaDecorator : IPizza { protected IPizza pizza; public PizzaDecorator(IPizza pizza) { this.pizza = pizza; } public abstract string MakePizza(); } }
using ONIT.VismaNetApi.Lib; using ONIT.VismaNetApi.Models.Enums; using System; using System.Collections.Generic; using System.Text; namespace ONIT.VismaNetApi.Models { public class CustomerSalesPrice : DtoPaginatedProviderBase, IProvideIdentificator { public int recordId { get; set; } public P...
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; namespace InnovatorAdmin { public interface IDataExtractor { bool AtEnd { get; } int GetTotalCount(); int NumProcessed { get; } void Reset(); void Write(int count, params IDataWriter[] writ...
using Discord.WebSocket; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DING_DONG.Core.UserAccounts { public static class UserAccounts { private static List<UserAccount> accounts; private static string AccountFolder...
using NHibernate.Mapping.ByCode.Conformist; namespace RepoDb.Benchmarks.Models { public class PersonMap : ClassMapping<Person> { public PersonMap() { Id(x => x.Id); Property(x => x.Name); Property(x => x.Age); Property(x => x.CreatedDateUtc); ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BaseManager { protected GameFace gameFace; public BaseManager(GameFace gameFace) { this.gameFace = gameFace; } public virtual void OnInit() { } public virtual void OnDestroy() { ...
using System.Threading.Tasks; using DSTV.Exceptions; namespace DSTV.Implementations { internal sealed class BodyReader { /// <summary> /// Currently the body is not read. /// </summary> /// <param name="context"></param> /// <returns></returns> internal stati...
using System; using System.Threading.Tasks; using Logic; namespace Presentation.Server { internal class Program { private static void Main() { Task serverTask; using (Server server = new Server(4444U, new DataRepository(), null)) { serverTas...
// Copyright (c) 2018 Aurigma Inc. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // namespace Aurigma.GraphicsMill.AjaxControls.VectorObjects { public interface ITransformPermission { bool AllowMoveHorizontal { get; set; } ...
using System.Collections.Generic; using Quizo.Models.Identity; using Quizo.Data.Models.Chat; namespace Quizo.Services.Groups.Models { public class GroupDetailsServiceModel { public string Id { get; set; } public string Name { get; set; } public bool IsOwner { get; init; } public bool IsJoined { get; set; }...
using System.Collections; using System.Collections.Generic; using UnityEngine; using MessageSystem; using UnityEngine.AI; public class sPerson : MonoBehaviour, IMessageHandler { [Header("姓名")] public string person_name; [Header("班级")] public string class_name; public TextMesh name_textMes...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ClaimManager.Domain.Entities.Claims { public enum ClaimStatus { Submitted, Rejected, Queryed, Approved, Processed } }
namespace Infrastructure.InMemoryDataAccess { using System.Threading.Tasks; using Application.Services; public sealed class UnitOfWork : IUnitOfWork { private readonly MangaContext _context; public UnitOfWork(MangaContext context) { this._context = context; ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Media; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Sciencetific_Calc { public partial clas...
// 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.Diagnostics.CodeAnalysis; using System.Collections.Generic; using Microsoft.DotNet.Scaffolding.Shared; using Microsoft.DotNet...
using System.Runtime.Serialization; using System.Text; namespace M5x.CEQS.Schema.Common { public record Longitude { public enum EwEnum { /// <summary> /// Enum EEnum for E /// </summary> [EnumMember(Value = "E")] E = 0, /// <summa...
namespace EtAlii.ML.Aore.Service { public class Aspect { } }
using Content.Client.GameObjects.EntitySystems; using Content.Shared.GameObjects.Components.Mobs; using Content.Shared.GameObjects.Components.Mobs.State; using Robust.Client.GameObjects; using Robust.Shared.GameObjects; namespace Content.Client.GameObjects.Components.Mobs.State { public class DeadMobState : Share...
using System; using System.Collections.Generic; using System.Text; namespace HelpMyStreet.Utils.Enums { public enum GroupRoles { Member = 1, TaskAdmin = 2, UserAdmin = 3, Owner = 4, RequestSubmitter = 5 } }
using System; namespace MersenneTwister.MT { public abstract class mt_base_t { static mt_base_t() { if (!BitConverter.IsLittleEndian) { throw new PlatformNotSupportedException("MersenneTwister does not support Big Endian platforms"); } } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using OpenTK.Graphics; using OpenTK.Graphics.OpenGL; using SmoothGL.Graphics.Internal; namespace SmoothGL.Graphics { /// <summary> /// Describes how the uniforms included in a uniform buffer are arranged in memory. ///...
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace System.ServiceModel.Diagnostics { using System; using System.Collections.Generic; using System.Globalization; ...
using System; using System.Collections.Generic; using System.Linq; using HotChocolate.Language; namespace HotChocolate.Validation { public sealed class DocumentValidator : IDocumentValidator { private readonly DocumentValidatorContextPool _contextPool; private readonly IDocumentValidatorRule[] ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using FreeSql.Internal; using FreeSql; using IGeekFan.Extensions.Diagnostics.HealthChecks; using System.Diagnostics; namespace Microsoft.Extensions.DependencyInjection { public...
using Functional.Fluent.MonadicTypes; namespace Functional.Fluent.Helpers { public class ResultBuilderForSucceeded<T> : ResultBuilder<T> { internal ResultBuilderForSucceeded(T value) : base(value) { } public Result<T, U> And<U>() => new Result<T, U>(_value); } }
using UnityEngine; public class MenuPause : Menu { // The timescale that was active when this scene was entered. private float m_previousTimeScale = 0.0f; [Tooltip("The menu to push when the Tutorial button is selected.")] [SerializeField] private Menu m_tutorialMenu = null; [Tooltip("The menu to...
namespace OJS.Common.Constants { public static class AppSettingConstants { public const string DefaultDbConnectionStringName = "DefaultConnection"; public const string ArchivesDbConnectionStringName = "ArchivesConnection"; } }
using System.Globalization; using System.Threading; using Microsoft.VisualStudio.TestTools.UnitTesting; using Soluling; namespace Tests { [TestClass] public class NumberTests { public int Precision { get; set; } = 2; private void Test( string result, AbbreviatedNumberForm form, doub...
namespace DependencyHelper.Services { public interface IHomeTextService { string GetText(); } }
using UnityEngine; using MoreMountains.Tools; using UnityEngine.UI; using System.Collections.Generic; namespace MoreMountains.CorgiEngine { /// <summary> /// Add this class to a GUI object, and it'll handle the instantiation and management of hearts based on the current lives of the player character /// I...
using System; namespace CreativeMinds.CQS.Queries { public interface IQuery<TResult> : IMessage { } }
using System; using System.Threading.Tasks; using Server.Exceptions; using Microsoft.AspNetCore.Http; namespace Server.Middlewares { public class HttpStatusCodeExceptionMiddleware { private readonly RequestDelegate _next; public HttpStatusCodeExceptionMiddleware(RequestDelegate next...
using System; using System.Linq; using System.Security.Cryptography; using System.Text; namespace EasyAuth.Security { public class SHA256L100HashProvider : HashProvider { private const int hashLoops = 100; // SHA256 L100 private SHA256Managed hashAlgorithm = new SHA256Managed(); publi...