content
stringlengths
23
1.05M
using DragonSpark.Model.Selection.Alterations; namespace DragonSpark.Application.Security.Data; sealed class Decrypt : Alteration<byte[]>, IDecrypt { public Decrypt(CertificateBasedDataProtector protector) : base(protector.Unprotect) {} }
using System; using System.Collections.Generic; using System.Linq; namespace EDictionary.Core.Extensions { public static class EnumerableExtension { /// <summary> /// Take n last item in collection /// </summary> public static IEnumerable<T> TakeLast<T>(this IEnumerable<T> source, int N) { return sourc...
using MiniPie.Converter; using System; using Xunit; namespace MiniPie.Tests.Converter { public class BoolToLoginTextConverterTest { BoolToLoginTextConverter _converter = new BoolToLoginTextConverter(); [Fact(DisplayName = "Convets forward")] public void TestConvertForward() { ...
using Microsoft.SharePoint.Client; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace StockRequestApprovalWeb.Models { public class StockRequestApproveData { public List<StockRequestItem> Items { get; set; } public Status Status { get; set; } public List<FieldUserVa...
 namespace RevStackCore.OrientDb.Graph { public interface IOrientEdgeEntity<TIn, TOut, TKey> : IOrientEntity<TKey> where TIn : class, IOrientEntity<TKey> where TOut : class, IOrientEntity<TKey> { TIn In { get; set; } TOut Out { get; set; } } }
using System; using System.Diagnostics; namespace DbShell.Driver.Common.CommonDataLayer { public class CdlValueHolder : ICdlValueReader, ICdlValueWriter { protected TypeStorage _type = TypeStorage.Null; protected byte[] m_byteArrayVal; protected DateTime m_dateTimeVal; protect...
using System; using System.Diagnostics; using System.Threading; using ConsoleZ.AspNetCore; using ConsoleZ.DisplayComponents; using Microsoft.AspNetCore.Mvc; using ConsoleZ.Playground.Web.Models; using ConsoleZ.Samples; using Microsoft.AspNetCore.Http; namespace ConsoleZ.Playground.Web.Controllers { public c...
/* * Copyright (C) 2009, Christian Halstrick <christian.halstrick@sap.com> * * All rights reserved. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are met: * * - Redistributions of source code must retain the above c...
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Goog...
namespace POI.DiscordDotNet.Models.Configuration { public class DiscordConfig { public string? Token { get; init; } public string? Prefix { get; init; } } }
using System; using System.Collections.Generic; using Android.App; namespace SalesApp.Droid.UI.Utils { /// <summary> /// Alert dialog builder class that uses fragaments. /// How to instatiate a one button dialog /// <code> /// AlertDialogBuilder2.Instance /// .SetText("Are you sure you want...
namespace UglyToad.MakeMe.Makers { using System; /// <summary> /// Represents a class which generates test data based on a specification. /// </summary> /// <typeparam name="TGenerated">The type of test data to generate.</typeparam> internal abstract class Maker<TGenerated> { // ReS...
using System; using Org.BouncyCastle.Asn1.Pkcs; using Org.BouncyCastle.Asn1.X509; namespace Org.BouncyCastle.Asn1.Crmf { public class EncKeyWithID : Asn1Encodable { private readonly PrivateKeyInfo privKeyInfo; private readonly Asn1Encodable identifier; public static EncKeyWith...
using System; using System.Threading.Tasks; using XrnCourse.BucketList.Domain.Models; namespace XrnCourse.BucketList.Domain.Services.Abstract { public interface IUsersService { Task<User> GetUserById(Guid id); Task SaveUser(User user); } }
using System.Collections.Generic; using System.Text.RegularExpressions; using UnityEngine; namespace Implet { public class FileSystem { const string _kNameRegex = "[\\w!@#$%^&*_. ]+"; const string _kDirectoryRegex = ".(/(" + _kNameRegex + "/)*)?"; readonly Regex _dirPattern =...
using System; using System.Diagnostics; using System.IO; using System.Windows; namespace PerfView64 { /// <summary> /// This application simply loads and calls the main PerfView executable, passing along the command line arguments /// as they were received. It works as a 64-bit application by leveraging t...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerMovementController : MonoBehaviour { private AudioSource levelMusicSource => LevelManager.Instance.levelMusicSource; private float playerSpeed => playerModel.playerSpeed; public float lerpSpeed = 1f; pub...
using System; using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; using UnityEditor.Experimental.GraphView; using UnityEngine.UIElements; using System.Linq; using DialogueSystem; namespace DialogueSystem.Editor { [Serializable] public class OutputPort { ...
namespace HotChocolate; internal static class WellKnownSchema { public const string Default = "Default"; }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ButtonFunctions : MonoBehaviour { [SerializeField] GameObject pauseMenu = null; [Tooltip("First overlay MUST be the Pause Menu Options")] [SerializeField] GameObject[] pauseOverlays = null; [SerializeField]...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Discord.Commands; namespace Math_Bot_Yo.Modules { public class DtoP : ModuleBase<SocketCommandContext> { [Command("D->P")] public async Task dToP(double deci) ...
using Omu.ValueInjecter; using System.Linq; using VirtoCommerce.Client.Model; using VirtoCommerce.Storefront.Model.Common; using VirtoCommerce.Storefront.Model.Order; namespace VirtoCommerce.Storefront.Converters { public static class OrderConverter { public static CustomerOrder ToWebModel(this VirtoC...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using ThomasJepp.SaintsRow.Saves.SaintsRowIVMod; namespace ThomasJepp.Sai...
using System; using UnityEngine; using UnityEngine.UI; [RequireComponent(typeof(Slider))] public class SliderUpdater : MonoBehaviour { public Slider slider; // Start is called before the first frame update private void Awake() { slider = GetComponent<Slider>(); } public void LoadValue...
using System; using System.Collections.Generic; using System.Diagnostics; using MinerWarsMath; using MinerWars.AppCode.Game.Utils; using MinerWars.CommonLIB.AppCode.Utils; namespace MinerWars.AppCode.Game.Voxels { class MyMeshSimplifier { private static MyMeshSimplifier m_instance; /// <summa...
using System; using System.Collections.Generic; using System.Text; using WinCity.Control.LayoutManager; namespace WinCity.Control.Test { public class RPanelTestForm : RForm { public RPanelTestForm() { TopPanel.BindLayoutManager(new FlowLayout()); RLabel lab...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Cinchcast.Roque.Core; namespace Cinchcast.Roque.Service { /// <summary> /// Runs workers on a separate AppDomain. /// </s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AmazonGamesLibrary.Models { public class Entitlement { public class Product { public class ProductDetail { public ...
using Newtonsoft.Json; using SigStat.Common; using SigStat.Common.Pipeline; using SigStat.FusionBenchmark.FusionMathHelper; using System; using System.Collections.Generic; using System.Drawing; using System.Text; namespace SigStat.FusionBenchmark.FusionFeatureExtraction { [JsonObject(MemberSerialization.OptOut)] ...
using System.Collections; using UnityEngine; using UnityEngine.UI; public delegate void ModificarMovimentacao(); /// <summary> /// Script responsavel pelo fade do game. /// </summary> public class FadeController : MonoBehaviour { #region PRIVATE VARIABLES [SerializeField] private Image _fade; #endregio...
using System.Collections.Generic; using System.Threading.Tasks; namespace ChatworkSDK.Api { internal partial class QueryHandler { public Task<RoomResponse> QueryAsync(GetRoomQuery query) => QueryAsync<GetRoomQuery, RoomResponse>(query); } internal class GetRoomQuery : GetQueryBase...
using System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; using static HookingAssembly.MinHook.NativeMethods; namespace HookingAssembly { // // An AppDomainManager derived class used to be loaded automat...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using RESTapi.Web.Common.Routing; using RESTapi.Web.Api.Models; namespace RESTapi.Web.Api.Controllers.V1 { [ApiVersion1RoutePrefix("tasks")] public class TasksController : ApiCont...
using Microsoft.Xna.Framework; using Zen.Utilities; namespace Zen.MonoGameUtilities.ExtensionMethods { public static class ColorExtensions { public static Color ToColor(this ColorRgba color) { return new Color(color.R, color.G, color.B, color.A); } } }
using System; using System.Reflection; using Giles.Core.Runners; namespace Giles.Runner.Xunit { public class XUnitTestFrameworkInspector : TestFrameworkInspector { public override Func<AssemblyName, bool> Requirement { get { return referenced...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ClientManagement.DataAccess { public partial class EfData { public List<ScheduleJob> GetJobs() { return db.ScheduleJobs.ToList(); } public bool AddJob(ScheduleJob j...
using HostingWebapi.Infrastructure.Middleware; using HostingWebapi.Infrastructure.SimpleInjector; using HostingWebapi.Infrastructure.Swagger; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting.WindowsServices; using Microsoft.Extension...
using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json.Linq; using System.Runtime.Serialization; namespace XBMCRPC.Player { public enum Repeat { off, one, all, } }
namespace GiganticEmu.Shared; public record ResponseBase(RequestResult Code) { public string Message { get; } = Code.GetDescription(); }
namespace BlockExplorer.Controllers { using BlockExplorer.Models; using BlockExplorer.Services.Interfaces; using Microsoft.AspNetCore.Mvc; public class BlockController : Controller { private readonly IHttpRequestService httpRequestService; public BlockController(IHttpRequestServic...
/*using System; using System.Collections.Generic; using System.Linq; using System.Text; using static CloudStreamForms.Core.BlotFreeProvider; using static CloudStreamForms.Core.CloudStreamCore; namespace CloudStreamForms.Core.MovieProviders { class YesMoviesBFProvider : BloatFreeMovieProvider { public ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ModelGry; namespace ConsoleAppTestModelGry { class Program { static void Main(string[] args) { Gra g = new Gra(1, 10); Console.WriteLine(g.Ocena(pro...
using System; using System.IO; using System.Net; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Skinet.BusinessLogic.Contracts.Infrastructure; using Skinet.BusinessLogic.Core.Dtos.Basket; using Skinet.BusinessLogic.Core.E...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace Net5.Toolbox.Secret { /// <summary> /// MD5加密 /// </summary> public static class MD5Encrypt { /// <summary> /// 字符串转md5 ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OPPF.Utilities.Caching { // Holds the CacheItemExpired event arguments. public class CacheItemExpiredEventArgs { string key; object item; public CacheItemExpiredEventArgs...
using LuaToolkit.Models; using System.Collections.Generic; namespace LuaToolkit.Core { public class LuaInstruction { private const int HalfMax18Bit = 2 << 16; // == 2^16 -1 == 131071 public int Data { get; private set; } public LuaOpcode OpCode...
using System; using System.Diagnostics; #pragma warning disable 1591 namespace Gibraltar.Serialization { /// <summary> /// Helper class used by FieldReader and FieldWriter to maintain a cache of unique strings that have /// been read/written. /// <remarks> /// Provides a faster way to store stri...
using UnityEngine; namespace kleberswf.tools.miniprofiler { #if UNITY_5 [HelpURL("http://kleber-swf.com/docs/mini-profiler/#framerate-value-provider")] #endif public class FramerateValueProvider : AbstractValueProvider { private int _frameCount; private float _dt; private float _fps; ...
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace rbkApiModules.Authentication { public class RoleToClaimConfig : IEntityTypeConfiguration<RoleToClaim> { public void Configure(EntityTypeBuilder<RoleToClaim> entity) { entity.ToTabl...
using CoreApi.Core.Persistence; using CoreApi.Entity.Models; namespace CoreApi.Infrastructure.Context.Persistence { public class NoteRepository : GenericRepository<Note>, INoteRepository { public NoteRepository(DataContext context) : base(context) { } } }
using AlegzaCRM.AlegzaAPI.Util; using System; using System.Text.Json.Serialization; namespace AlegzaCRM.AlegzaAPI.Model; public class Person : AlegzaModel { [JsonPropertyName("id")] public int Id { get; set; } [JsonPropertyName("created_at")] [JsonConverter(typeof(JsonStringDateTimeConverter))] ...
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; class Program { static void Main() { // Match happy emoticons var happyPattern = @"([;:][)D*\]}]|[(*c[][;:])"; // Match sad emoticons var sadPattern = @"([:;][([{c]|[D\])][;...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text.Json.Serialization; namespace Backend.Models.Base.JsonStat { public abstract class AbstractJsonStatDataSet { [JsonPropertyName("label")] public string Label { get; set; } [JsonPropertyName("s...
using Loon.Core.Geom; using Loon.Action.Map; using Loon.Utils; using System; namespace Loon.Core { public abstract class LObject { public object Tag; public float alpha = 1f; protected internal RectBox rect; protected internal string name; protected internal Vector2...
using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MatrixUtility.Tests { [TestClass()] public class FundamentalTransformationTests { static bool EqualsList<T>(IReadOnlyList<IReadOnlyList<T>> xss, IReadOnlyList<IReadOnlyList<T...
using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using XiangJiang.Core; namespace XiangJiang.Common { public static class ProcessHelper { public static bool IsRunning(string path) { Checker.Begin() .NotNullOrEmpty(path, nameof(path)) ...
using AskQuestion.Entities.Concrete; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AskQuestion.DataAccess.Concrete.EntityFramework.Mappings { ...
using System; using System.ComponentModel.DataAnnotations.Schema; namespace MyStik.TimeTable.Data { public class SemesterDate { [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public Guid Id { get; set; } public string Description { get; set; } public DateTime From { get...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace LoRaWan.Tests.Unit.LoRaTools.LoRaMessage { using global::LoRaTools.LoRaMessage; using LoRaWan.Tests.Common; using Xunit; public class LoRaPay...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SimpleConnection.cs" company="The original author or authors."> // Copyright 2002-2012 the original author or authors. // // Licensed under the Apache License, Version 2.0 ...
using LogJoint.Analytics.Correlation; using System.Collections.Generic; namespace LogJoint.Postprocessing.Correlator { public interface IPostprocessorsFactory { void Init(IPostprocessorsManager postprocessorsManager); ILogSourcePostprocessor CreatePostprocessor(); }; public interface ICorrelatorPostprocessor...
using System; namespace Quiltoni.PixelBot.Core.Messages.Currency { [Serializable] public class AddCurrencyMessage { public AddCurrencyMessage(string userName, int amount, string actingUser) { this.UserName = userName; this.Amount = amount; this.ActingUser = actingUser; } public string UserName { ...
 namespace NodeEditor { public class NodeGraph : AbstractNodeGraph, INodeGraph { public void LoadedFromDisk() { OnEnable(); ValidateGraph(); } } }
namespace IEXSharp.Model.Shared.Response { public class QuoteSSE { /* * [{"symbol":"SPY","companyName":"SPDR S&P 500 ETF Trust","primaryExchange":"YrNEa cSA", * "calculationPrice":"iexlasttrade","open":311.08,"openTime":1651221934569, * "openSource":"cioiffla","close":317.99,"closeTime":1623982809221,"clos...
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.IO; using System.Linq; using System.Text; using Inbox2.Framework; using Inbox2.Framework.Interfaces.Enumerations; using Inbox2.Framework.Plugins; using Inbox2.Platform.Interfaces.Enumerations; namespace In...
using Microsoft.AspNetCore.Mvc; namespace Shackmeets.Dtos { public class SuccessResponse { public string Result { get; private set; } public SuccessResponse() { this.Result = "success"; } public static OkObjectResult CreateResult() { return new OkObjectResult(new SuccessRespo...
using System; using System.Collections.Generic; using System.Text; using AppBarragem.VO; using RestSharp; namespace AppBarragem.Infra.Rest { public class RestMenu { public RestClient client = new RestClient(Constantes.GET_ENDERECO); public RestRequest request; public List<Menu> RestGet...
//----------------------------------------------------------------------------- // <copyright file="WRMSkills.cs" company="WheelMUD Development Team"> // Copyright (c) WheelMUD Development Team. See LICENSE.txt. This file is // subject to the Microsoft Public License. All other rights reserved. // </copyright> //-...
namespace InterpolSystem.Services.Models.MissingPeople { using AutoMapper; using BountyAdmin.Models; using Common.Mapping; using Data.Models; using Data.Models.Enums; using System; using System.Collections.Generic; using System.Linq; public class MissingPeopleDetailsServiceModel : ...
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com /* GblProgram.cs -- * Ars Magna project, http://arsmagna.ru * ------------------------------------------------------- * Status: poor */ #region Using dir...
using System; namespace Xms.Sdk.Client { public interface IDataMapper { Guid Create(Guid sourceEntityId, Guid targetEntityId, Guid sourceRecordId, bool ignorePermissions = false); } }
using System; using System.Collections.Generic; using System.Text; namespace Plugin.Microsoft.Azure.SignalR.Benchmark.MasterMethods { public interface ICollector { void StopCollector(); } }
namespace ModernCaching.Instrumentation { internal interface ICacheMetrics { void IncrementLocalCacheGetHits(); void IncrementLocalCacheGetMisses(); void IncrementLocalCacheSets(); void IncrementLocalCacheDeleteHits(); void IncrementLocalCacheDeleteMisses(); void...
// Copyright (c) Microsoft Corporation. All rights reserved. namespace Microsoft.MixedReality.SceneUnderstanding.Samples.Unity { using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Simple Scene Manager to have at the Home Scene, from here you can naviga...
using System.Linq; using OpenQA.Selenium; using Signum.Utilities; namespace Signum.React.Selenium { public class QueryTokenBuilderProxy { public IWebElement Element { get; private set; } public QueryTokenBuilderProxy(IWebElement element) { this.Element = element...
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Jaeger.Exceptions; using Jaeger.Senders.Thrift.Protocols; using Jaeger.Thrift.Senders; using ThriftProcess = Jaeger.Thrift.Process; using ThriftSpan = Jaeger.Thrift.Span; namespace Jaeger.Senders.Thrift { //...
internal interface IStyleValue<T> // TypeDefIndex: 4239 { // Properties public abstract T value { get; } public abstract StyleKeyword keyword { get; } // Methods // RVA: -1 Offset: -1 Slot: 0 public abstract T get_value() { } /* GenericInstMethod : | |-RVA: -1 Offset: -1 |-IStyleValue<object>.get_value */ ...
using System; using System.Collections.Generic; namespace Sepes.Common.Dto { public class LookupDto { public LookupDto() { } public LookupDto(string key, string displayValue) { Key = key; DisplayValue = displayValue; } pu...
namespace VocabularyPracticeApplication.Lessons { public class Vocabulary { public Word Native { get; set; } public Word Learned { get; set; } } }
using System.Collections.Generic; using System.IO; using System.Linq; using DesperateDevs.Serialization; using Entitas.CodeGeneration.Plugins; using UnityEditor; using UnityEngine; namespace CustomTool { /// <summary> /// 工具数据类 /// </summary> public class ToolData { /// <summary> ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyPathing : MonoBehaviour { WaveConfig waveConfig; List<Transform> pathWaypoints; int wayPointIndex = 0; float moveSpeed; // Use this for initialization void Start() { pathWaypoints = waveConf...
using System; using Newtonsoft.Json; namespace FortniteDotNet.Models.FortniteService.Calendar.States { public class CommunityVotesState { [JsonProperty("electionId")] public string ElectionId { get; set; } [JsonProperty("candidates")] public object[] Candidates { get; set; } ...
using Lucene.Net.Support; using NUnit.Framework; using NUnit.Framework.Interfaces; using NUnit.Framework.Internal; using System; using System.Collections.Generic; using System.Reflection; namespace Lucene.Net.Util { #region Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License. // Copyright (...
using System; using System.Collections.Generic; using Csla; namespace Polymorphism.Business { [Serializable] public class ChildBusinessList : BusinessListBase<ChildBusinessList, IChild> { public static ChildBusinessList GetEditableRootList(int id) { return DataPortal.Fetch<ChildBusinessList>(id...
using Apocalypse.Any.Infrastructure.Server.Services.Data; using Apocalypse.Any.Infrastructure.Server.Services.Data.Interfaces; using Apocalypse.Any.Infrastructure.Server.Services.Factories; using States.Core.Infrastructure.Services; namespace Apocalypse.Any.GameServer.States.Sector.Mechanics { public class BuildI...
using System.Management.Automation; using System.Threading; using ScraperionFramework; namespace Scraperion { /// <summary> /// <para type="synopsis">Wait for web scrapper expression to be true.</para> /// <para type="description">Wait for web scrapper expression to be true.</para> /// </summary> ...
using System; using System.Numerics; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; // Source: Maht.NET namespace TrulyRandom.Nist { static class FFT { /// <summary> /// Applies Bluestein's FFT algorithm to the array /// </summary> ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ChatView : ViewBase { // Use this for initialization void Start () { transform.Find("ShowMessage").gameObject.AddComponent<ShowMessageView>(); transform.Find("SendMessage").gameObject.AddComponent<SendMessageVie...
namespace MappingSPO.Project.DL.Entities { public partial class WProjectExplorerDxEntity { public WProjectExplorerDxEntity() { WProjectRelationsDxes = new System.Collections.Generic.List<WProjectRelationsDxEntity>(); InitializePartial(); } public long ProjectId { ge...
using System; using System.Collections.Generic; using System.Linq; namespace MyBank { class Client { public readonly string id; private string _fullName; public readonly List<Accaunt> accaunts = new List<Accaunt>(); public Client(string fullName, decimal money) { ...
using System; namespace Basket.OrientedObject.Infrastructure { public class ArticleDatabaseMock : IArticleDatabase { public ArticleDatabase GetArticle(string id) { switch (id) { case "1": return new ArticleDatabase { Id = "1", Price =...
using System; using System.IO; using System.Text; using System.Threading.Tasks; using MineLib.Core; using MineLib.Core.Data; using MineLib.Core.IO; using Org.BouncyCastle.Math; namespace ProtocolClassic.IO { // -- Credits to umby24 for encryption support, as taken from CWrapped. // -- Credits to SirCmpwn for ...
namespace crudCArros { partial class queryInnerJoinDataSet { partial class CarrosDataTable { } } }
using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.UI; /** * This file contains the business logic to change the color of the retry button * when it is clicked and then hide it when it is not active. * When button is active and selected: Green * When button i...
using System.Linq; using System.Threading.Tasks; using Argolis.Models; using Argolis.Nancy; using FakeItEasy; using FluentAssertions; using Xunit; namespace Argolis.Tests.UriTemplates { public class ArgolisModuleTests { private const string TestTemplate = "/i/can/haz/template"; private readonl...
using System; using Avalonia.Platform; namespace Avalonia.Veldrid { public class VeldridEmbeddableWindowImpl : VeldridTopLevelImpl, IEmbeddableWindowImpl { public VeldridEmbeddableWindowImpl(AvaloniaVeldridContext veldridContext) : base(veldridContext) { } public event Action ...
using System; using System.Collections.Generic; using System.Globalization; using System.Text; using System.Threading.Tasks; using CommentTranslator.Option; using Framework; using CommentTranslator.Util; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; namespace CommentTranlsator.Client...
using Core.BaseTypes; using Core.Cells; using NUnit.Framework; using Tests.Cells.BaseCell; using Tests.DSL; namespace Tests.Cells.BaloonCellTst { [TestFixture] public class WhenPirateComes { private BaloonCell baloonCell; private Pirate black; [SetUp] public void Init() { ...
using UnityEngine; namespace Lean.Pool { // This component allows you to reset a Rigidbody's velocity via Messages or via Poolable [RequireComponent(typeof(Rigidbody))] public class LeanPooledRigidbody : MonoBehaviour { public void ResetVelocity() { var rigidbody = GetComponent<Rigidbody>(); rigidbody....
using System; namespace GeminiLab.Core2.Logger { public sealed class Logger { private readonly LoggerCategory _category; internal Logger(LoggerCategory category) { _category = category; } public void Fatal(string message) => Log(InternalLevelFatal, message); pu...