content
stringlengths
23
1.05M
using Citolab.QTI.ScoringEngine.Interfaces; using System; using System.Collections.Generic; using System.Drawing; using System.Text; namespace Citolab.QTI.ScoringEngine.Model { internal class Circle : IShape { private readonly IProcessingContext _logContext; private float _cx = 0.0f; p...
using SharpDX.Direct3D11; using Molten.Collections; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Molten.Graphics { public abstract class PipelineShaderObject : PipelineObject<DeviceDX11, PipeDX11> { internal PipelineShade...
using System; using System.Collections.Generic; using System.Text; namespace IoCContainerLibrary { internal class RegistryItem { internal Type Source { get; } internal Type Destination { get; } internal bool IsSingleton { get; } internal RegistryItem(Type source, Type destinat...
namespace GPAppointment.ViewModels.UserVMs { using DataAccess.Entities; using Models; using Tools; using System; using System.Linq.Expressions; public class UsersFilterVM : BaseFilterVM<User> { [FilterProperty(DisplayName = "Username")] public string Username { get; set; } ...
using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.Experimental.U2D; namespace UnityEditor.Experimental.U2D.Animation { internal static class BoneCacheExtensions { public static BoneCache[] ToCharacterIfNeeded(this BoneCache[] bones) { return Array....
using OpenTK.Mathematics; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cornerstone.Components { public enum Team : byte { Player, Enemy } [Flags] public enum BulletType : byte { Normal = 1...
using System; using System.Collections.Generic; using CBZ.ContactApp.Data.Model; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace CBZ.ContactApp.Data.Configuration { public class ReportEntityTypeConfiguration:IEntityTypeConfiguration<Report> { publi...
using System.Threading; using System.Threading.Tasks; using Qsi.Data; using Qsi.Tree; namespace Qsi.Analyzers { public interface IQsiAnalyzer { bool CanExecute(QsiScript script, IQsiTreeNode tree); ValueTask<IQsiAnalysisResult[]> Execute( QsiScript script, QsiParameter...
using MZZT.DataBinding; namespace MZZT.DarkForces.Showcase { public class LayerListItem : Databound<int> { } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ChristmasPi.Operations.Interfaces; using ChristmasPi.Operations.Utils; using ChristmasPi.Hardware.Interfaces; using ChristmasPi.Hardware.Factories; using ChristmasPi.Data.Exceptions; using ChristmasPi.Data; using Ser...
using System; using System.Collections.Generic; using System.Text; namespace DesignPattern.Decorator { public sealed class PatrickLiuHouse : House { public override void Renovation() { Console.WriteLine("装修PatrickLiu的房子"); } } }
using System; namespace Wallet.Api.Domain { public class GiftCard : Amount { public Date ValidBefore { get; } public GiftCard(Currency currency, decimal amount, Date validBefore) : base(currency, amount) { if (validBefore == null) throw new Argu...
using WebApi.DataModel; using WebApi.Models; namespace WebApi.Services { public interface IMemberService { /// <summary> /// 取得會員 /// </summary> /// <param name="id">會員代碼</param> /// <returns></returns> Member? GetMember(int id); /// <summary> /...
using System.Threading.Tasks; namespace TakTikan.Tailor.Core.DataStorage { public interface IDataStorageManager { bool HasKey(string key); T Retrieve<T>(string key, T defaultValue = default(T), bool shouldDecrpyt = false); Task StoreAsync<T>(string key, T value, bool shouldEncrypt = ...
// Copyright (c) The Vignette Authors // Licensed under BSD 3-Clause License. See LICENSE for details. using System; using System.Numerics; namespace Oxide.Apps { public class Monitor : DisposableObject { /// <summary> /// The app it owns. /// </summary> public readonly App App...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Collections; using System.Collections.Generic; public class bullet : MonoBehaviour { public Rigidbody2D rb; public float speed=20f; public float damage = 40f; public bool canHit=false; // Start is called before the...
using System.Collections.Generic; namespace Monaco.Tests.Messages { public class FatTestMessage : IMessage { public ICollection<IMessage> Messages { get; set; } } }
//创建者:Icarus //手动滑稽,滑稽脸 //ヾ(•ω•`)o //https://www.ykls.app //2019年09月28日-15:11 //Assembly-CSharp using System.Collections.Generic; using CabinIcarus.IcSkillSystem.Expansion.Runtime.Buffs.Components; using CabinIcarus.IcSkillSystem.Expansion.Runtime.Builtin.Buffs; using CabinIcarus.IcSkillSystem.Runtime.Buffs; using Cab...
namespace Wellcome.Dds.AssetDomain.Mets { public interface IAssetMetadata { string GetFileName(); string GetFolder(); string GetFileSize(); string GetFormatName(); string GetAssetId(); string GetLengthInSeconds(); double GetDuration(); string GetB...
namespace PexCard.Api.Client.Core.Models { public class BusinessBalanceModel { public int BusinessAccountId { get; set; } public decimal BusinessAccountBalance { get; set; } } }
namespace Infrastructure.Core.Security { public enum GatewayType { BackOffice = 1, WebSite = 2, Android = 4, Ios = 8, Unknown = -1 } }
using System; using System.Collections.Generic; using System.Text; namespace HideAndSeek { class SavedGame { public string PlayerLocation { get; set; } public Dictionary<string, string> OpponentLocations { get; set; } public List<string> FoundOpponents { get; set; } ...
namespace SimpleAggregate { using System.Threading; using System.Threading.Tasks; public interface IAggregateRepository<TAggregate> { Task<TAggregate> GetAsync(string aggregateId, CancellationToken cancellationToken = default); Task SaveAsync(TAggregate aggregate, CancellationToken can...
using System; using System.Net; using System.Net.Http; using System.Text; using System.Web; using System.Web.Http; using System.Web.Http.Controllers; using System.Web.Http.Filters; using System.Web.Security; namespace ShadowEditor.Server.Base { /// <summary> /// ApiController权限验证属性 /// </summary> [Att...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace LudumDare50 { public class Endurance : MonoBehaviour { public Image fillImage; public float maxEndurance = 100f; public float currentEndurance; public Ac...
using System; using System.Collections.Generic; using System.Linq; using System.Xml.Linq; namespace SpriteEditor.Models { /// <summary> /// A single pose in a sprite. /// </summary> public class Pose : IDisposable { /// <summary> /// Default constructor. /// </summary> ...
namespace MJPEG { public interface IStreamDecoder { event StreamDecoder.FrameHandler OnFrameReceived; void StartDecodingAsync(string uri); } }
using System; using System.Collections.Generic; using MelonLoader; using UnityEngine; using Harmony; using System.IO; namespace AudicaModding { public class AudicaMod : MelonMod { public static bool playPsychadelia = false; public static bool menuSpawned = false; public s...
using Libmirobot.Core; using System; using System.Collections.Generic; using System.IO.Ports; using System.Linq; namespace Libmirobot.IO { /// <summary> /// Represents a serial connection to the hardware. /// </summary> public class SerialConnection : ISerialConnection { /// <inheritdoc/> ...
namespace Cavity.Caching { using System; using System.Collections.Generic; using System.Net; using Moq; using Xunit; public sealed class ICacheCollectionFacts { [Fact] public void a_definition() { Assert.True(new TypeExpectations<ICacheCollection>() ...
using System; using System.Collections.Generic; using System.Xml.Serialization; using Bitsmith.BusinessProcess; using Bitsmith.Models; namespace Bitsmith.ProjectManagement { public class TaskManager { [XmlAttribute("id")] public string Id { get; set; } [XmlAttribute("createdAt")] ...
using System.Threading.Tasks; using MultiPlug.Base.Attribute; using MultiPlug.Base.Http; using MultiPlug.Ext.RasPi.Config.Components.Home; using MultiPlug.Ext.RasPi.Config.Models.Components.Home.API; using MultiPlug.Ext.RasPi.Config.Utils.Swan; namespace MultiPlug.Ext.RasPi.Config.Controllers.API.Environment { [R...
using Microservice.Library.NLogger.Application; using Microservice.Library.NLogger.Extention; namespace Microservice.Library.NLogger.Gen { /// <summary> /// 日志组件生成器 /// </summary> public class NLoggerGenerator : INLoggerProvider { public NLoggerGenerator(NLoggerGenOptions options) ...
using System; using System.IO; using Sitecore.DataExchange.Attributes; using Sitecore.DataExchange.Contexts; using Sitecore.DataExchange.Models; using Sitecore.DataExchange.Processors.PipelineSteps; using Sitecore.DataExchange.Providers.Dropbox.Endpoints.Extensions; using Sitecore.DataExchange.Providers.Dropbox.Helper...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Web.Http; using Microsoft.OData; namespace System.Web.OData.Formatter.Serialization { internal static class ODataPayloadKindHelper { ...
using System; using System.ComponentModel.DataAnnotations; using GR.Crm.Organizations.Abstractions.Enums; namespace GR.Crm.Organizations.Abstractions.ViewModels.OrganizationsViewModels { public class OrganizationViewModel { public virtual Guid? Id { get; set; } /// <summary> /// Clie...
using GizmoFort.Connector.ERPNext.PublicTypes; using GizmoFort.Connector.ERPNext.WrapperTypes; using System.ComponentModel; namespace GizmoFort.Connector.ERPNext.ERPTypes.Daily_work_summary { public class ERPDaily_work_summary : ERPNextObjectBase { public ERPDaily_work_summary() : this(new ERPObject(Doc...
using System; using System.Diagnostics.CodeAnalysis; using AddonCraft.Domain.Entities; using AddonCraft.Domain.Enums; using AddonCraft.Infrastructure.Persistence.Names; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Microsoft.EntityFrameworkCore.ValueGeneration; names...
using PieEatingNinjas.EIdReader.Shared; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Text; using System.Threading.Tasks; using Windows.Devices.SmartCards; using Windows.Security.Cryptography; namespace PieEatingNinjas.EIdReader.UW...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Sharktooth.Mub; namespace Mub2Mid { class Program { static void Main(string[] args) { string inputPath, outputPath; if (args.Length < 1) ...
using Game.Characters.Stats.Commons; using Game.Characters.Stats.Utils; using System; namespace Game.Characters.Stats.Factories { //Not using IFactory interface cause I don't want to heavily depend on Zenject public class StatsFactory : IStatsFactory { readonly StatCalculator _statCalculator; ...
 namespace GeneXusCryptography.Commons { /// <summary> /// ISymmectricStreamCipherObject interface for EO /// </summary> public interface ISymmectricStreamCipherObject { /// <summary> /// Encrypts the given text with a stream encryption algorithm /// </summary> /// ...
using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; namespace Crash.Editor.Engine.Model.Common.UndoRedo { /// <summary> /// /// </summary> public sealed class UndoRedoHistory<TCommand> where TCommand : class, IUndoRedoCommand { private reado...
namespace GameLogic.Disasters { using System.ComponentModel; public class DisasterConditions : INotifyPropertyChanged { private int chanceForAssault; private int chanceForVirus; private int chanceForEarthquake; internal DisasterConditions() { this.Chanc...
using System.ComponentModel.Composition; using DryIocAttributes; namespace DryIoc.MefAttributedModel.UnitTests.CUT { [Export, ExportMany, Export] public class WithBothTheSameExports { } public interface IOne { } public interface INamed { } [ExportMany(ContractName = "blah", IfAlread...
using DataStructures.Queue; using Xunit; namespace DataStructures.Tests.Queue.Tests { public class QueueTests { [Fact] public void Peek_throws_empty_exception() { // Arrange Queue<int> testQueue = new Queue<int>(); // Assert Assert.Thro...
using System; using System.Collections.Generic; using System.Text; namespace SGE.Domain.Entities { public class TurmaEscola { public int IdTurma { get; set; } public int IdEscola { get; set; } public virtual Escola Escola { get; set; } public virtual Turma Turma { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.Common; using System.Data.Entity; using SehrimiTani.Entities; using System.Data.Entity.Validation; using CaracalSoft.Data; namespace SehrimiTani.DataAccessLayer { public class MyIn...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Configuration; using System.Threading.Tasks; namespace WebPlayer { internal class DebugFileManager : IFileManager { #pragma warning disable CS1998 // Async method lacks 'await' operators and will run s...
public class PropertyAttributesWithNoEquals { [IgnoreDuringEquals] public int Property { get; set; } [CustomEqualsInternal] [CustomGetHashCode] public void Method() { } }
/**************************************************************************** Copyright (c) 2011-2013,WebJet Business Division,CYOU http://www.genesis-3d.com.cn Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal ...
@model IEnumerable<CosmoTrack.Models.UserJournal> @{ Layout = "_Layout"; } <br /> <br /> <br /> <br /> <p> <a asp-action="Create" class="btn btn-outline-secondary">Add a Journal Entry</a> </p> <div class="container mt-5 row"> @foreach (var item in Model) { <div class="card-deck col"> ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace InterpretGO.Models { public class Assignment { //How to assign client and interpreter to this assignment from id? [Key] public int Ass...
using ConsultaH.Domain.Entities; using System.Data.Entity.ModelConfiguration; namespace ConsultaH.Infra.EntityConfig { public class ConsultaConfiguration : EntityTypeConfiguration<Consulta> { public ConsultaConfiguration() { HasKey(c => c.ID); Property(c => c.Horario) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Ipfs.Hypermedia.Tools { internal static class EncodingTools { public static string EncodeString(string input, Encoding encoding) { var bytes = encoding.GetBytes(input); Strin...
using System; using Microsoft.Extensions.Configuration; using MongoDB.Driver; using MongoDB.Bson; namespace adb_dotnet_mongoapi { class Program { public static string ConnectString; public static MongoClient Client; public static string DBName; static void Main(st...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class All_range_generator : Barrage_generator { protected float default_dir; void Start(){ default_dir = direction; } protected override void Bullet_init(GameObject obj){ obj.GetComponent<Bullet>().Set_property(position, d...
using System; using System.Linq; namespace SumReversedNumbers { public class StartUp { public static void Main() { var arr = Console.ReadLine() .Split(new char[] {' '}, StringSplitOptions.RemoveEmptyEntries) .ToList(); int sum = 0; ...
using System; using System.Collections.Generic; using System.Text; namespace CommandDesignPattern { public interface Order { void execute(); } }
 using System.Collections.Generic; public class LinearJoint_Base : SkeletalJoint_Base { #region LinearDOF_Impl private class LinearDOF_Impl : LinearDOF { private readonly LinearJoint_Base ljb; public LinearDOF_Impl(LinearJoint_Base ljb) { this.ljb = ljb; } ...
/** * This file is part of OmniAPI, licensed under the MIT License (MIT). * * Copyright (c) 2017 Helion3 http://helion3.com/ * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without ...
using System; using System.Text; using System.Collections.Generic; namespace JsonOrg { internal class JsonStringer { /** The output data, containing at most one top-level array or object. */ internal StringBuilder output = new StringBuilder(); /** * Lexical scoping elements within this stringer,...
using System; namespace minmpc.Core { internal class ConnectionEventArgs : EventArgs { public bool IsConnecting { get; private set; } public string ServerMessage { get; private set; } public ConnectionEventArgs(bool isConnecting, string serverMessage = null) { IsConnecting = i...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TriggerBorder : MonoBehaviour { private void OnCollisionEnter2D(Collision2D collision) { if (collision.gameObject.GetComponent<Enemy>() != null) { DisableEnemyIfExiting(collision.gameObject.GetComponent...
using System; using System.Collections.Generic; using System.Text; namespace S7evemetry.F1_2020.Packets { public class FinalClassificationData { public static int Size { get; } = 1; public byte NumberOfCars { get; set; } public static FinalClassificationData Read(Span<byte> input) ...
namespace ConsoleApp1.Domain; public class InventoryLine { public Soda Soda { get; set; } public int Quantity { get; set; } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; public class InputManager : MonoBehaviour { private Dictionary<string, Dictionary<string, Action>> listeners; private Dictionary<string, Dictionary<string, Action>> buttonListeners; private Dictionary<string, bool> active;...
using UnityEngine; namespace AVRToolkit.EnemySpawner { public class EnemySpawnZone : MonoBehaviour { [SerializeField] protected int zone = 0; } }
using System.Linq; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Controllers; using System.Web.OData; using Microsoft.Azure.Mobile.Server; using ghostshockey.it.api.Models; using System; using System.Collections.Generic; using Microsoft.Azure.Mobile.Server.Config; using System.Web.Http.Res...
using Lightning.Core.Media; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lightning.Node.Media { public class NodeMediaResolver : IMediaResolver { private readonly NodeConfiguration ...
using System; using System.Collections.Generic; using System.Text; namespace Poc.DemoNetCore.Domain.Core.Dto { public class Tracking { public int PessoaId { get; set; } public string Nome { get; set; } public double Distancia { get; set; } } public class Localizacao { ...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Shadowsocks.Encryption; using System.Threading; using System.Collections.Generic; using Shadowsocks.Encryption.Stream; using System.Diagnostics; namespace Shadowsocks.Test { [TestClass] public class CryptographyTest { [TestMe...
namespace Merchello.Core.Models { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.Serialization; using Merchello.Core.Models.EntityBase; /// <summary> /// Represents a country associated with a warehouse /// </summar...
using System; using UnityEngine; namespace NodeCanvas.Framework.Internal { [Serializable] public class BBObjectParameter : BBParameter<object> { [SerializeField] private Type _type; public override Type varType { get { return this._type; } } public BBObjectParameter() { this.SetType(...
namespace BattleCalculator.Model.Enums { public enum LevelType { Débutant = 1, Intermédiaire = 2, Expert = 3 } }
namespace SKAutoNew.Services.Data { using Microsoft.EntityFrameworkCore; using SKAutoNew.Common.DtoModels.TownDtos; using SKAutoNew.Data.Models; using SKAutoNew.Data.Repositories; using SKAutoNew.Services.Data.Contractcs; using SKAutoNew.Services.Mappers.TownServiceMappers; using System.Col...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using System.ComponentModel.DataAnnotations; using System.Data.Entity; using System.Data.Entity.Infrastructure; using AutoMapper; using AutoMapper.QueryableExtensions; using PagedList; using...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Comp3020A3 { public partial class ListForm : Comp3020A3.MainForm { bool editable; int selected1, selected2; pu...
namespace BalkanAir.Tests.Common { using Data.Models; public static class Constants { // All tests public const int ENTITY_VALID_ID = 1; // Aircraft Manufacturers public const string MANUFACTURER_VALID_NAME = "Manufacturer Name Test"; // Aircrafts public c...
using System.Collections.Generic; using System.Threading.Tasks; namespace Elsa.Services { public class EventPublisher : IEventPublisher { private readonly IServiceBusFactory _serviceBusFactory; public EventPublisher(IServiceBusFactory serviceBusFactory) { _serviceBusFactor...
using System; using Windows.UI; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Media; namespace UWPSwitchExpressionSample.Utilities { public class TrafficLightToBrushConverter : IValueConverter { private readonly Brush _redBrush = new SolidColorBrush(Colors.Red); private readonly Brush _yel...
using System; using System.IO; using System.Threading.Tasks; using StackExchange.Redis; using Xunit; namespace RGeoIP.Tests { public class GeoIPTests : IDisposable { private ConnectionMultiplexer _conn; private GeoIP _geoIP; public GeoIPTests() { _conn = Connection...
namespace Hspi { /// <summary> /// Class for the main program. /// </summary> public static class Program { private static void Main(string[] args) { Logger.ConfigureLogging(false, false); logger.Info("Starting..."); try ...
namespace Swagger.ObjectModel { using System.Collections.Generic; using Swagger.ObjectModel.Attributes; /// <summary> /// Describes a single response from an API Operation. /// </summary> public class Response : SwaggerModel { /// <summary> /// A short description of the r...
using Lime; using System; using System.Collections.Generic; using System.Text.RegularExpressions; namespace Tangerine.UI { public class CommandCategoryInfo { public string Id { get; } public string Title { get; } public Dictionary<string, CommandInfo> Commands { get; } = new Dictionary<string, CommandInfo>(); ...
using System.Data; using System.Data.Common; using Microsoft.VisualStudio.TestTools.UnitTesting; using Pqsql; namespace PqsqlTests { [TestClass] public class PqsqlCommandBuilderTests { private static string connectionString = string.Empty; #region Additional test attributes [ClassInitialize] public stati...
// Copyright (c) Pixel Crushers. All rights reserved. using UnityEngine; namespace PixelCrushers.DialogueSystem { /// <summary> /// This abstract subclass of AbstractDialogueUI is used for dialogue UIs /// that use a UI Canvas. It allows the Dialogue System to identify that /// the dialogue UI requi...
using BuildVersioning.Entities; namespace BuildVersioningManager.Models.ProjectModels { public class PrepareToDeleteProjectModel { public Project Project { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BeachTowelShop.Models.Products { public class GalleryProductViewModel { public GalleryProductViewModel() { PictureList = new List<string>(); } public string Id...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing; namespace CertiPath.BlockchainGateway.Service.Helper.Chart { internal static class ColorHelper { private static List<string> chartColors = new List<strin...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Text; using Orleans; namespace Orleans.StorageProvider.RavenDB.TestInterfaces { /// <summary> /// Orleans grain communication interface IPerson /// </summary> public interface IPerson : IGrain...
namespace _08.RecursiveFibonacci { using System; public class RecursiveFibonacci { private static long[] fibonacciArray; public static void Main(string[] args) { fibonacciArray = new long[50]; fibonacciArray[0] = 1; fibonacciArray[1]...
namespace LinkedList.Core { /// <summary> /// Defines the <see cref="INode{T}" />. /// Common interface for Node that is used in LinkedList. /// </summary> /// <typeparam name="T">.</typeparam> public interface INode<T> { /// <summary> /// Gets or sets the Value. ///...
using System; using System.Text; using System.Collections.Generic; using System.Reflection; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Tests.Unit.Core.Extensions { [TestClass] public class MemberInfoExtensionsTest { protected class PracticeAttribute : Attribute { } prote...
namespace Santase.Logic.WinnerLogic { public interface IRoundWinnerPointsLogic { RoundWinnerPoints GetWinnerPoints( int firstPlayerPoints, int secondPlayerPoints, PlayerPosition gameClosedBy, PlayerPosition noTricksPlayer, IGameRules gameRules...
using System.Threading.Tasks; namespace ServiceBus.Distributed.Events { public interface IEventBus { Task PublishAsync<TEvent>(TEvent @event) where TEvent : IEvent; } }
using System.ComponentModel.DataAnnotations; namespace Basset.Data { public class FeatureWeights { public ulong Id { get; set; } public ulong GuildId { get; set; } public bool? Mode { get; set; } [Range(-1, 11)] public int? Key { get; set; } [Range(1, int.MaxVal...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Problem01 { class GSMTest { //Field private GSM[] arr; //Constr public GSMTest(GSM[] arr) { this.Arr = arr; } // ...
using System; namespace AMV.CQRS { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] public class TransactedCommandAttribute : Attribute { // marker attribute for commands to be wrapped into a transaction // to be applied on ICommand objects } }
using Couchbase; using Couchbase.Authentication; using Couchbase.Configuration.Client; using Couchbase.Core; using Storage.Couchbase; using System; using System.Threading.Tasks; namespace Orleans.Persistence.Couchbase { //Bucket Instance needs to be a singleton to prevent connection inefficiency in Couchbase ...