content
stringlengths
23
1.05M
using System; namespace TheNoah.CSEngine{ static class Program{ [STAThread()] private static void Main(string[] args){ new CSEngine(); Console.ReadLine(); } } }
using Mirage; using System; namespace SyncVarHookTests.ErrorWhenNotGenericAction { class ErrorWhenNotGenericAction : NetworkBehaviour { [SyncVar(hook = nameof(OnChangeHealth))] int health; public event Action OnChangeHealth; } }
using System; namespace StereoKit { public class Tex2D { internal IntPtr _texInst; public Tex2D() { _texInst = NativeAPI.tex2d_create(TexType.Image, TexFormat.Rgba32); } private Tex2D(IntPtr tex) { _texInst = tex; if (_texInst...
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; using static System.Linq.Expressions.Expression; using static ExpressionToString.Util.Functions; using ExpressionToString.Util; using System.Linq; using System.Diagnostics; namespace ExpressionToString.Tests { ...
using System; using System.CodeDom; namespace IronAHK.Scripting { partial class Emit { void EmitMethod(CodeMemberMethod method) { if (options.BlankLinesBetweenMembers) WriteSpace(); WriteSpace(); writer.Write(method.Name); writer...
namespace Wallets.Domain.Generic.Contracts.Requests.Wallet { public class GetAllWalletRequest { public long UserAuthId { get; set; } } }
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using AutoRest.Core.ClientModel; using AutoRest.CSharp.TemplateModels; using AutoRest.Extensions.Azure; namespace AutoRest.CSharp.Azure.TemplateModels { pub...
using Amazon.DynamoDBv2.DocumentModel; using Amazon.DynamoDBv2.Model; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace InfrastructureForMoon.Interfaces { public interface ISQSClient { void GetMessages(); } }
@using Microsoft.AspNetCore.Http @model TicTacToe.Models.GameSessionModel @{ var email = Context.Session.GetString("email"); } @section Desktop { <h1>Game Session @Model.Id</h1> <h2>Started at @(DateTime.Now.ToShortTimeString())</h2> <div class="alert alert-info"> <table class="table"> ...
using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; [RequireComponent(typeof(ParticleSystem))] public class VoxelRenderer : MonoBehaviour { ParticleSystem system; ParticleSystem.Particle[] voxels; bool voxelsUpdated = false; public float voxelScale = 0.1f; ...
namespace EyeInTheSky.Services { using Castle.Core.Logging; using EyeInTheSky.Services.Interfaces; public abstract class StalkConfigFactoryBase : ConfigFactoryBase { protected StalkConfigFactoryBase(ILogger logger, IStalkNodeFactory stalkNodeFactory) : base(logger) { ...
//--------------------------------------------------------------------- // <copyright file="SchemaElementLookupTableEnumerator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // // @owner Microsoft // @backupOwner Microsoft //----------------------------...
#region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #endregion using System; using System.Collections.Generic;...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Amazon.Lambda.Core; using Amazon.Lambda.Serialization; using Newtonsoft.Json; // Assembly attribute to enable the Lambda function's JSON input to be converted into a .NET class. [assembly: LambdaSerializerAttribute(...
using System; using UnityEngine.AI; namespace Game.Src.ECS.Components.Physics { [Serializable] public struct NavMeshAgentComponent { public NavMeshAgent Agent; } }
namespace ImpactMan.Interfaces.Writer { using ImpactMan.Context.Models; using Microsoft.Xna.Framework; public interface ITextWriter { void Write(string text, Vector2 vector, Color color); void WriteUserDetails(User user, string errorMessage); } }
namespace Framework { public interface ITimerBehaviour { void TimerUpdate(); } }
namespace Fibon.Api.Repository { public interface IRepository { void Add(int number, int result); int? Get(int number); } }
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; namespace Octokit { /// <summary> /// Used to update a gist and its contents. /// </summary> /// <remarks> /// Note: All files from the previous version of the gist are carried over by default if ...
using System; using System.Xml.Serialization; using SysadminsLV.Asn1Editor.API.ViewModel; namespace SysadminsLV.Asn1Editor.API.ModelObjects { [XmlRoot("appSettings")] public class NodeViewOptions : ViewModelBase { Boolean showTagNumber, showNodeOffset = true, showNodeLength = true, showInHex, showCont...
using System; using Microsoft.EntityFrameworkCore; using RecipeSocial.Domain.Database; using RecipeSocial.Domain.Entities.Template; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; namespace RecipeSocial.Infrastructure.Database { public class Repository<T> : IRepository<T> where...
/* * Copyright 2014 Dominick Baier, Brock Allen * * 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-2.0 * * Unless required by applicable la...
using System; using System.Collections.Generic; namespace PQ.NET { public interface IPriorityQueue<T> { IEnumerable<uint> ExistingPriorities { get; } IList<PqEvent<T>> EventsHistory { get; } IList<T> this[uint priorityLevel] { get; } event EventHandler ElementEnqueued; ...
/* ======================================================================== * Copyright (c) 2005-2020 The OPC Foundation, Inc. All rights reserved. * * OPC Foundation MIT License 1.00 * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation ...
/* * Copyright 2021, Denyol (https://github.com/Denyol) * * 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-2.0 * * Unless r...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Habrador_Computational_Geometry { //Standardized methods that are the same for all public static class HelpMethods { // // Orient triangles so they have the correct orientation // public...
namespace CorrelatorSharp { public static class Headers { public static readonly string CorrelationId = "X-Correlation-Id"; public static readonly string CorrelationName = "X-Correlation-Name"; public static readonly string CorrelationParentId = "X-Correlation-Parent-Id"; }...
using System; using Yamaanco.Domain.Enums; namespace Yamaanco.Application.DTOs.Notification { public class NotificationDto { public string Id { get; set; } public string ParticipantId { get; set; } public string ParticipantName { get; set; } public string ParticipantPhotoPath ...
using NUnit.Framework; using SIL.IO; using SIL.WritingSystems.Migration; namespace SIL.WritingSystems.Tests.Migration { [TestFixture] public class SilLdmlVersionTests { [Test] public void GetFileVersion_StandardLdml_LatestVersion() { string xml = LdmlContentForTests.Version3("en", "Latn", "", ""); u...
using System; using System.IO; namespace StepmaniaServer { /// <summary> /// a util class which is super helpful for writing and parsing packets /// </summary> class PacketUtils { /// <summary> /// reads a single byte /// </summary> /// <param name="binaryReader"><...
using System; using System.Collections.Generic; using System.Linq; using Amazon.Lambda.Annotations.SourceGenerator.Models; namespace Amazon.Lambda.Annotations.SourceGenerator.Extensions { public static class ParameterListExtension { public static bool HasConvertibleParameter(this IList<ParameterModel>...
using System.Windows.Controls; namespace Equality.MVVM { public class NavigationRootService : Catel.Services.NavigationRootService { private readonly object _locker = new(); public static Frame TemporaryNavigationRoot = null; public override object GetNavigationRoot() { ...
using Invector.CharacterController; using UnityEngine; public class vPunchingBag : MonoBehaviour { public Rigidbody _rigidbody; public vCharacter character; public float forceMultipler = 0.5f; public SpringJoint joint; private void Start() { _rigidbody = GetComponent<Rigidbody>(); ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Integracja.Server.Infrastructure.Models { public class CreateGameDto { [Required] public int? GamemodeId { get; set; } [Required] public bool? RandomizeQuestionOrder { get; se...
using Prometheus.Advanced.DataContracts; using System.Collections.Generic; namespace Prometheus.SummaryImpl { class QuantileComparer : IComparer<Quantile> { public int Compare(Quantile x, Quantile y) { return x.quantile.CompareTo(y.quantile); } } }
using System; using GaiaProject.Engine.Enums; namespace GaiaProject.Engine.Logic { [AttributeUsage(AttributeTargets.Field)] public class AvailableInPhaseAttribute : Attribute { public GamePhase Phase { get; } public AvailableInPhaseAttribute(GamePhase phase) { Phase = phase; } } }
namespace WinUX.Xaml.Controls { using WinUX.Data; /// <summary> /// Handler for when a thumb value has changed. /// </summary> /// <param name="sender"> /// The originator. /// </param> /// <param name="args"> /// The thumb value changed arguments containing the old and new values....
using System.Net; namespace SnelStart.B2B.Client.Operations { public class Response { public HttpStatusCode HttpStatusCode { set; get; } public string ResponseBody { set; get; } } public class Response<T> : Response { public T Result { get; set; } } }
namespace MAVN.Service.AdminAPI.Domain.Enums { public enum PermissionType { Dashboard, Customers, ActionRules, VoucherManager, Reports, BlockchainOperations, ProgramPartners, Settings, AdminUsers, AuditLogs, } }
using UnityEngine; using UnityEngine.UI; using System.Collections.Generic; using System; namespace h8s { public class Node : MonoBehaviour { [Header("GUI Elements reference")] [SerializeField] private Image automotonIcon; [SerializeField] private TMPro.TextMeshProUGUI nameField; ...
using System.ComponentModel.DataAnnotations; namespace AspnetRunBasics.Models { public class ContactViewModel { public string Id { get; set; } [Required(ErrorMessage = "Ad Soyad bilginizi giriniz.")] public string Name { get; set; } [Required(ErrorMessage = "E-Posta bilginizi g...
// Copyright 2012 Max Toro Q. // // 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-2.0 // // Unless required by applicable law or agreed to in...
namespace Lockdown.Build.InputConfiguration { using System.Collections.Generic; using YamlDotNet.Serialization; public class SiteConfiguration { [YamlMember(Alias = "title")] public string Title { get; set; } [YamlMember(Alias = "subtitle")] public string Subtitle { get...
using Microsoft.AspNetCore.Components; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BlazingDataStore.Pages { public partial class Index { [Inject] ILogger<Index> Logger { get; set; } prot...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; namespace Clanger { public class LayerColorBorder : Border { protected override void OnMouseDown(MouseButtonEven...
using Python.Runtime; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MxNet { public class Shape : Base { public Shape(PyObject py) { __self__ = py; } public int[] Dimensions { get; } public Shape(params int[...
namespace Machete.Layouts { using System; /// <summary> /// A missing value array is used when the source fragment is missing. /// </summary> /// <typeparam name="TLayout">The value type</typeparam> public class MissingLayoutList<TLayout> : LayoutList<TLayout> where TLayout : ...
using Csla.NHibernate; using NUnit.Framework; namespace ProjectTracker.Library.Tests.Framework { /// <summary> /// Abstract base class to provide some standard methods for testing editable Business Objects. /// </summary> /// <typeparam name="T">A class that inherits from <see cref="NHibernateBusinessBase{...
namespace explainpowershell.models { public class Code { public string PowershellCode { get; set; } } }
using iCBM.Application.Commands.Suppliers; using iCBM.Application.Queries.Suppliers; using Microsoft.AspNetCore.Mvc; using Misio.Common.Auth.Attributes; using Misio.Common.CQRS.Commands.Abstractions; using Misio.Common.CQRS.Queries.Abstractions; using System.Threading.Tasks; namespace iCBM.WebApi.Controllers { [J...
using System.Collections.Generic; using System.Linq; namespace PokeBlazor.Shared { public class Pokemon { public int id { get; set; } public string name { get; set; } public bool is_default { get; set; } public int base_experience {get; set;} public int weight {get; set...
using System; namespace Espera.Core { /// <summary> /// The exception that is thrown when the tags of a <see cref="LocalSong" /> couldn't be saved /// to the disk. /// </summary> public class TagsSaveException : Exception { public TagsSaveException(string message, Exception innerExcept...
using Azure.DevOps.Notificator.Handlers; using BotFramework.Extensions; using BotFramework.Interfaces; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; using Telegram.Bot; using Telegram.Bot.Types; using EventHandler = Azure.DevOps.Notificator.Handlers.EventHandler; using R...
namespace MassTransit.Initializers { /// <summary> /// A synchronous property type conversion, which may or may not succeed. /// </summary> /// <typeparam name="TResult"></typeparam> /// <typeparam name="TInput"></typeparam> public interface ITypeConverter<TResult, in TInput> { /// ...
using System.Collections.Generic; using AlgorithmAnalysis.Math.Functions; namespace AlgorithmAnalysis.Math.Providers { public interface IFunctionProvider { IEnumerable<IModelledFunction> Provide(IEnumerable<double> xValues, IEnumerable<double> yValues); } }
using Microsoft.EntityFrameworkCore; using Abp.Zero.EntityFrameworkCore; using ASPNetCoreAngularApp.Authorization.Roles; using ASPNetCoreAngularApp.Authorization.Users; using ASPNetCoreAngularApp.MultiTenancy; namespace ASPNetCoreAngularApp.EntityFrameworkCore { public class ASPNetCoreAngularAppDbContext : AbpZer...
// Copyright (c) 2019 Lykke Corp. // See the LICENSE file in the project root for more information. using System; using System.Collections.Concurrent; using System.Collections.Generic; namespace Lykke.Job.CandlesHistoryWriter.Core.Domain.HistoryMigration { public class TradesMigrationHealthReport { p...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Sword : AWeapon { public Sword() : base(100f, 12.0f, 0.5f) {} }
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using System.Collections.Generic; using System.Threading; using Microsoft.AspNetCore.Connections.Features; namespace Microsoft.Bing.AspNetCore.Connections.InlineSocket { public partial class Connection : IConnectionIte...
using System; using System.Collections.Generic; using System.Linq; using AustinSite.Models; using AustinSite.Utils; namespace AustinSite.Repositories { public class ArticlesRepository { public List<ArticleModel> Articles { get; set; } = new List<ArticleModel> { new ArticleModel ...
using Budgerigar.Timing; using Budgerigar.Timing.StopWatch; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace Budgerigar.Tests { public class BudgerigarConfigFacts { [Fact] public void Config_Is_Set_ByDefault...
using System; using System.Collections.Generic; using System.Text; namespace TMSA.SistemaEducacional.Domain.Matriculas { public enum StatusMatricula { Ativo, Desativado, Pendente } }
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.VisualStudio.Sdk.TestFramework; using Microsoft.VisualStud...
// 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. // // // Description: // Attribute definition for loose content files // // // using System; n...
using SSRD.IdentityUI.Core.Data.Entities.Identity; using SSRD.IdentityUI.Core.Interfaces.Services.Auth; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Options; using System; using System.Threading.Tasks; usin...
using UnityEngine; using System.Collections.Generic; using Mirror; [CreateAssetMenu(menuName="THDNITEM/SummonableItem")] public abstract class SummonableItem : UsableItem { public int price = 10; public int removeItemIfDied; public bool CanUse(Players p, int inventoryIndex) { ...
using System; using System.Collections.Generic; using System.Text; namespace GerarFiguraGeometricaGCode.Entities { class Circle { public double Radius { get; set; } public Circle() { } public Circle(double radius) { Radius = radius; } ...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System; using System.Threading.Tasks; using Microsoft.Owin.Hosting; using Microsoft.PowerShell.EditorServices.Protocol.Client; using Microsoft.PowerShell.Ed...
namespace loadtesting { public class TestObject { public string someAttribute { get; set; } public int someOtherAttribute { get; set; } public string id { get; set; } public string _rid { get; set; } public string _self { get; set; } public string _etag { get; se...
namespace TopAct.Domain.Entities { public class Address : Entity { public string AddressName { get; private set; } public Address(string addressName) { AddressName = addressName; } } }
using System; using Newtonsoft.Json; namespace VkNet.AudioBypassService.Models { public class VkAuthError { [JsonProperty("error")] public string Error { get; set; } [JsonProperty("error_type")] public string ErrorType { get; set; } [JsonProperty("error_description")] public string ErrorDescription { g...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Project.Views { public class MessageApp { public const string EnterCorrectValues = "Въведи коректни стойности!"; public const string ObjectNotFound = "Няма намерени рез...
using Xamarin.Forms; namespace KamishibaiSample.TabbedPage.Views { public class AddTabbedChildPage<T> : AddChildPage<T, Page> where T : Page, new() { } }
// // Copyright (c) Jesse Freeman, Pixel Vision 8. All rights reserved. // // Licensed under the Microsoft Public License (MS-PL) except for a few // portions of the code. See LICENSE file in the project root for full // license information. Third-party libraries used by Pixel Vision 8 are // under their own l...
using System; using System.Collections.Generic; namespace StrawberryShake { public static class SerializerUtilities { public static IReadOnlyDictionary<string, IValueSerializer> ToDictionary( this IEnumerable<IValueSerializer> serializers) { if (serializers is null) ...
using Newtonsoft.Json; using System.Collections.Generic; namespace Our.Umbraco.RobotsTxtEditor.Models { public class RobotsTxtResponseModel { [JsonProperty("success")] public bool Success { get; set; } [JsonProperty("errorMessages")] public List<Pair> ErrorMessages ...
using Avalonia.Controls; using Avalonia.Markup.Xaml; using RoslynPad.Roslyn.Completion; using RoslynPad.Roslyn.Resources; using Avalonia.Media; namespace RoslynPad.Roslyn { public static class GlyphExtensions { private static readonly GlyphService _service = new GlyphService(); public static D...
using MAExtensions.CustomModel; using Sitecore.XConnect; using Sitecore.XConnect.Client; using Sitecore.Xdb.MarketingAutomation.Core.Activity; using Sitecore.Xdb.MarketingAutomation.Core.Processing.Plan; namespace MAExtensions.MAEngineExtensions { /// <summary> /// A custom Marketing Automation activity which...
using System; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using ScientificReport.BLL.Interfaces; using ScientificReport.Controllers.Utils; using ScientificReport.DAL.Entities; using ScientificReport.DAL.Roles; using ScientificReport.DTO.Models.Review; namespace ScientificReport.Controller...
using System; using LuaAdv.Compiler.Lexer; using LuaAdv.Compiler.Nodes; using LuaAdv.Compiler.SemanticAnalyzer1; using LuaAdv.Compiler.SyntaxAnalyzer; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace LuaAdvTests { [TestClass] public class SemanticAnalyzer1Tests { public SemanticAnalyz...
using System; using System.Collections.Generic; using EmpowerData.EntityModels; namespace EmpowerBusiness.Models.Appraisals { public class DefaultDriveInWeekday : ICLM_DriveInWeekDay { public int Id { get; set; } public int WeekDay { get; set; } public bool IsOpen { ge...
using Vk.Api.Schema.Enums.Filters; namespace Vk.Api.Schema.Parameters.Message { /// <summary> /// Интерфейс для представления параметров запроса для messages.getLongPollHistory <para/> /// Документация: <see href="https://vk.com/dev/messages.getLongPollHistory"/> /// </summary> public interface IM...
using DragonSpark.Model.Commands; namespace DragonSpark.Presentation.Components.State; public interface IUpdateActivity : IAssign<object, object>, ICommand<object> {}
using System; using System.Collections.Generic; namespace DomainValues.Model { internal class DataBlock { public DataBlock(string table) { Table = table; Data = new Dictionary<Column, List<string>>(); } public string Table { get; } p...
using System; using System.Collections.Generic; using System.Text; namespace BorderControl { using Core; using Core.Contracts; using IO; using IO.Contracts; using System.Linq; using System.Reflection; public class Engine { private IConsoleReader reader; private IConsol...
using System; using System.Collections.Generic; using System.Linq; using System.Xml; using CRA.ModelLayer.MetadataTypes; using CRA.ModelLayer.Core; using CRA.ModelLayer.Strategy; using System.Reflection; using VarInfo=CRA.ModelLayer.Core.VarInfo; using CRA.AgroManagement; public Penman() { ...
using System; using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; namespace omopcdmlib.Models { public partial class OmopCdmContext : DbContext { public OmopCdmContext() { } public OmopCdmContext(DbContextOptions...
using System.Collections.Generic; using System.Linq; using Domain.Domain.Users; namespace InMemoryInfrastructure.Users { public class InMemoryUserRepository : IUserRepository { private readonly Dictionary<string, User> data = new Dictionary<string, User>(); public void Save(User use...
using BluePointLilac.Controls; using ContextMenuManager.Methods; using System.Windows.Forms; namespace ContextMenuManager.Controls.Interfaces { interface IBtnShowMenuItem { ContextMenuStrip ContextMenuStrip { get; set; } MenuButton BtnShowMenu { get; set; } } sealed class MenuButton :...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace NumberArrayAnalyzer { //delegate that can be used to define references to void non parameter taking methods public delegate void stringDelegate(); class Program ...
using Core.Help; using Generator; using StructGenerator; using System; using System.Drawing; using System.Windows.Forms; namespace FormApp { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender...
using SonequaBot.Shared.Commands.Interfaces.Responses; namespace SonequaBot.Shared.Commands { public class CommandPaura : CommandBase, IResponseImage, IResponseAudio { protected override string ActivationCommand => "!paura"; public string GetImageEvent(CommandSource source) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Harlow { /// <summary> /// The types of Shapefiles we can handle. Integer /// values track with the values in the .shp file. /// The constant names track with what the GeoJson...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; public class GameBoard : MonoBehaviour { private int _width; public int Width { get { return _width; } } private int _height; public int Height { get { return _height; } } ...
// <copyright file="IEntityWithStartEnd.cs" company="Adrian Mos"> // Copyright (c) Adrian Mos with all rights reserved. Part of the IX Framework. // </copyright> using System; using JetBrains.Annotations; namespace IX.Abstractions.Entities { /// <summary> /// A data contract for an entity that starts ar a...
namespace Miruken.Validate.DataAnnotations { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Callback; public class DataAnnotationsValidator : Handler { [Provides, Singleton] public DataAnnotationsValidator() { } ...
using Demo.Entity; using System.Threading.Tasks; namespace Demo.BusinessLogic { public partial interface IUserService : IBaseService<User> { Task<User> GetByEmailAsync(string email); Task<User> LoginAsync(string email, string password); Task UpdateLastLoginDateAsync(string email); ...
using LockstepSystem.InputCommand; namespace Simulator.InputCommands { public struct IC_Left : IInputCommand { } }
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace Cn.Hardnuts.Common.Utils { public class HttpClientHelper { private static readonly object LockObj = new object(); private static HttpClient? clie...
using System.Threading.Tasks; using Coravel.Events.Interfaces; namespace UnitTests.Events.EventsAndListeners { public class TestListenerThatFiresEvent1And2 : IListener<TestEventWithDispatcher> { public async Task HandleAsync(TestEventWithDispatcher broadcasted) { await broadcasted.D...