content
stringlengths
23
1.05M
namespace Xunit.Abstractions { /// <summary> /// This message indicates that a test method has finished executing (meaning, all /// the test cases that derived from the test method have finished). /// </summary> public interface ITestMethodFinished : ITestMethodMessage, IExecutionMessage, IFinishedMessage { } }
using ShopApp.Core.Domain.Products; using ShopApp.WebUI.Models.Products; using System.Collections.Generic; namespace ShopApp.WebUI.Factories { public partial interface IProductModelFactory { ProductDetailsModel PrepareProductDetailsModel(Product product = null); ProductListModel PrepareProduct...
using Microsoft.Practices.Unity; using System; using RikropWcfExample.Client.Presentation; namespace RikropWcfExample.Client { class Program { static void Main() { using (var container = new UnityContainer()) { container.RegisterClientDependencies(); ...
using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using RaymondZamora.Data.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace RaymondZamora.Data { public class CampRepository : ICampRepository { private readonly C...
using System; namespace jaytwo.NetMF.UnitsLib { public class ElectricalPowerMeasurement : OverloadedMeasurementBase { public static ElectricalPowerMeasurement FromWatts(double watts) { return new ElectricalPowerMeasurement(watts); } public static ElectricalPowerMeasurement FromMilliwatts(double milliwatt...
using System; using System.Collections.Generic; namespace ArcWeb.Shared.Models { public partial class Address { public Address() { EntityAddesses = new HashSet<EntityAddess>(); } public int Id { get; set; } public int AddressTypeId { get; set; } pub...
using Domain.Core.Classes; using Domain.Messages.Commands; using Domain.Messages.Events; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Domain.WriteModel { public enum TodoState { ACTIVE, CLOSED } public cl...
//--------------------------------------------------------------------------- // Copyright 2014-2015 Igniteous Limited // // 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 // // h...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace Quiz_Application.Services.Repository.Interfaces { public interface IExam<TEntity> { Task<IEnumerable<TEntity>> GetExamList(); Task<TEntity> GetExam(int id);...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ezviz.net.domain; internal class AlarmInfoResponse : GenericResponse { public PageInfo Page { get; set; } = null!; public ICollection<Alarm> Alarms { get; set; } = null!; }
namespace Supermarket.Models { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; public class Supermarket { private ICollection<Sale> sales; public Supermarket() { this.Sales = new HashSet<Sale>(); } [Key...
using UnityEngine; using System.Collections; public class LevelLoader : MonoBehaviour { public string levelToLoad; private bool playerInZone; // Use this for initialization void Start () { playerInZone = false; } // Update is called once per frame void Update () { if (Input.GetAxisRaw ("Vertical") > ...
using JetBrains.Annotations; using System; namespace Plus.Localization { [Serializable] public class LanguageInfo : ILanguageInfo { [NotNull] public virtual string CultureName { get; protected set; } [NotNull] public virtual string UiCultureName { get; protected set; } ...
using Microsoft.CodeAnalysis; namespace OmniSharp.AspNet5 { public class AspNet5TestCommandProvider : ITestCommandProvider { private readonly AspNet5Context _context; public AspNet5TestCommandProvider(AspNet5Context context) { _context = context; } ...
using Gurren_Core.Utils; using System; using System.IO; using System.Net; using System.Threading; namespace Gurren_Core.Web { /// <summary> /// Class for downloading files from the internet /// </summary> public class FileDownloader { /// <summary> /// Download file from URL. Needs...
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace csmatio.types { /// <summary> /// This class represents Matlab's Structure object (structure array). /// /// Note: An array of structures can contain only structures of the same type, /// meaning structures t...
using System.Diagnostics; using System.Threading.Tasks; using JudgeSystem.Common; using JudgeSystem.Common.Extensions; using JudgeSystem.Services.Models; namespace JudgeSystem.Services { public class ProcessRunner : IProcessRunner { public const int DefaultTimeout = 300; public const int Bui...
using System; namespace HangmanKata { public enum GuessResult { Invalid, Incorrect, } public class Hangman { private readonly string _secretWord; private readonly int _incorrectGuesses; public bool InProgress { get; set; } = true; public Hangman(str...
using CodeWars; using NUnit.Framework; namespace CodeWarsTests { [TestFixture] public class FindOddIntTests { [Test] public void Tests() { Assert.AreEqual(5, FindOddInt.find_it(new[] {20, 1, -1, 2, -2, 3, 3, 5, 5, 1, 2, 4, 20, 4, -1, -2, 5})); } } }
using System.Data.Entity.Migrations; namespace NuGetGallery.Migrations { public partial class AddIndexForCredentialsUserKey : DbMigration { public override void Up() { Sql("IF NOT EXISTS(SELECT * FROM sys.indexes WHERE name = 'nci_wi_Credentials_UserKey' AND object_id = OBJECT_ID('C...
using System.Collections.Generic; using System.Linq; using TCG.BusinessRules.ExtendedModels; namespace TCG.BusinessRules { public class ActivityRules : RulesBase { public IEnumerable<ActivityExtended> GetAll() { var activities = _dbContext.Activities; return activities....
using System; namespace Streamiz.Kafka.Net.Mock.Pipes { internal interface IPipeInput : IDisposable { void Pipe(byte[] key, byte[] value, DateTime timestamp); void Flush(); } }
using System; namespace FewBox.Service.Auth.Model.Configs { public class AuthConfig { public TimeSpan ExpireTime { get; set; } public OrmConfigurationTypeConfig OrmConfigurationType { get { if (String.IsNullOrEmpty(this.Type)) { ...
namespace AnnoSavegameViewer.Structures.Savegame.Generated { using AnnoSavegameViewer.Serialization.Core; public class MetaObjectMapList { [BinaryContent(Name = "guid", NodeType = BinaryContentTypes.Attribute)] public object Guid { get; set; } [BinaryContent(Name = "ID", NodeType = BinaryContentTypes...
using System.Collections.Generic; using UnityEngine; [System.Serializable] public class WeightedRandomList<T> { [System.Serializable] public struct Pair { public T item; public float weight; public Pair(T item, float weight) { this.item = item; this....
// <copyright file="MyEventFiringWebDriver.cs" company="Objectivity Bespoke Software Specialists"> // Copyright (c) Objectivity Bespoke Software Specialists. All rights reserved. // </copyright> // <license> // The MIT License (MIT) // Permission is hereby granted, free of charge, to any person obtaining a cop...
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution...
using GreenTomato.Interfaces; namespace GreenTomato.Library.Attributes { public enum PlayerSelector { Radio, Movie, TV } }
namespace Urania.Desktop.States { public enum WdState { Unknown = 0, Millimeter, Swg, Awg } }
using AutoMapper; using fcu_ucan.Entities; using fcu_ucan.Models.Member; namespace fcu_ucan.Mappers { public class MemberProfile : Profile { public MemberProfile() { #region Member 轉換成 MemberViewModel CreateMap<Member, MemberViewModel>() .ForMember(dest...
using reactivedemosite.Adapters.API.Resources; namespace reactivedemosite.Ports.ViewModelRetrievers { public interface IAmACategoryViewModelRetriever { CategoryViewModel Get(int categoryId); } }
namespace Gem.Gui.Alignment { /// <summary> /// The result of an alignment by AlignmentContext /// </summary> public class AlignmentResult { private readonly float position; private readonly float size; public AlignmentResult(float position, float size) { ...
namespace Compiler { public class ParserToken : ILocation { readonly int line; readonly int column; readonly string source; readonly string token; readonly ParserTokenKind kind; public int Line { get { return line; } } public int Column { get { return column;...
using AstDomain; namespace AstShared { public interface ISyntaxNodesToClasses { void Perform(Config config); } }
using System; namespace Inaba.Framework { public sealed class Buffer { private Byte[] _buff = Array.Empty<Byte>(); public Span<Byte> GetSpan(Int32 capacity) { if (capacity > _buff.Length) _buff = new Byte[EstimateCapacity(capacity)]; return new...
class A { public static int operator != (A a, dynamic b) { return -1; } public static int operator == (A a, dynamic b) { return +1; } } public class C { public static bool operator == (C a, object b) { return ReferenceEquals (a, b); } public static bool operator != (C a, dynamic b) { return !Refe...
using CSharp4.Variance.Model; using System.Collections.Generic; namespace CSharp4.Variance { public class Contravariance { public Cat Winner(Cat catOne, Cat catTwo, IComparer<Cat> comparer) { return comparer.Compare(catOne, catTwo) > 0 ? catOne : catTwo; } } }
using Moq; using PackageManager.Models; using PackageManager.Services; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PackageManager.ViewModels.Commands { public class SelfUpdateService { public ISelfUpdateServ...
using System.Threading; using System.Threading.Tasks; namespace MediatR.Courier { public interface ICourierNotificationHandlerAsync<in TNotification> where TNotification : INotification { Task HandleAsync(TNotification notification, CancellationToken cancellationToken = default); } }
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.Azure.I...
using UnityEngine; using System.Collections; public abstract class absField : MonoBehaviour { public enum FieldTypes { EMPTY, OBSTACLE, HOLE }; protected FieldTypes _fieldType; //public bool isMoving = false; // Use this for initialization void Start() { } // Update is called once...
using System.Runtime.CompilerServices; namespace AtraBase.Toolkit.Extensions; /// <summary> /// Extensions on numbers. /// </summary> internal static class NumberExtensions { /// <summary> /// Gets whether or not a float is within a specific margin of another one. /// </summary> /// <param name="val"...
using System.Collections.Generic; using UnityEngine; public abstract class Unit : MonoBehaviour { public float output; [SerializeField] bool q; public bool inQueue { get { return q; } set { q = value; } } public virtu...
/************************************************************************************* Extended WPF Toolkit Copyright (C) 2007-2013 Xceed Software Inc. This program is provided to you under the terms of the Microsoft Public License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license ...
/** * ************************************************* * Copyright (c) 2019, Grindrod Bank Limited * License MIT: https://opensource.org/licenses/MIT * ************************************************** */ using System; using System.Collections.Generic; using System.Threading.Tasks; using za.co.grindrodbank.a3s....
using StreamFAdd; using System.Collections.Generic; namespace sceWork { internal class sceStrings { public enum OffsetType { ShortOffset = 1, MediumOffset = 2, LargeOffset = 3, } public uint baseOffset; public OffsetType typeOffset; ...
using Malimbe.PropertySerializationAttribute; using Malimbe.XmlDocumentationAttribute; using System.Collections; using System.Collections.Generic; using UnityEngine; using VRTK.Prefabs.Interactions.Controllables; using Zinnia.Action; using Zinnia.Data.Operation.Extraction; namespace LoUISE { [RequireComponent(typ...
using System; using System.Xml.Serialization; namespace X4Foundations.DataAccess.Model.Engine { [Serializable, XmlRoot("thrust")] public class Thrust { [XmlAttribute("forward")] public double Forward { get; set; } [XmlAttribute("reverse")] public double Reverse { get; set; } } }
using System; using NUnit.Framework; namespace _01.Database { public class DatabaseTests { private const int FullDataCapacityCount = 16; private const int SeveralElementsCount = 5; private Database database; [SetUp] public void TestInit() { this.dat...
using System; using IdentityServer4.Stores; using Microsoft.Extensions.DependencyInjection; using QrF.Core.IdentityServer4.Dapper.Interfaces; namespace QrF.Core.IdentityServer4.Dapper.SqlServer { public static class ServiceCollectionExtensions { /// <summary> /// /// </summary> ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using RoR2.Mods; using RoR2; using UnityEngine; using Harmony; namespace InfinityMod { class LobbyExtension : InfinityExtension { [InCmd("lobby_join_delay", User = true)] public clas...
using System.Collections.Generic; namespace Migration.WIContract { public class WiItem { public string Type { get; set; } public string OriginId { get; set; } public string WikiURL { get; set; } public int WiId { get; set; } = -1; public List<WiRevision> Revisions { get...
namespace FatecMauaJobNewsletter.Domains.Claims { public class UserClaim { public const string Student = "Student"; public const string Administration = "Administration"; public const string AtLeastAuthenticated = "AtLeastAuthenticated"; } }
using System.Threading; namespace Suteki.TardisBank.Mvc { public class Current { public static string CurrencySymbol { get { return Thread.CurrentThread.CurrentCulture.NumberFormat.CurrencySymbol; } } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DataLayer.Models; namespace ClassLibrary1.Services { public class BusinessLogic { RestaurantsClass test = new RestaurantsClass(); public List<RestaurantModel> So...
using System.ComponentModel.DataAnnotations; namespace Ecoset.WebUI.Models.ManageViewModels { public class UpdateCommunicationDetailsViewModel { [Display(Name = "I agree to receive emails for general information and marketing purposes.")] public bool AgreedToCommunication { get; set; } ...
using System; namespace Lykke.Service.PayInternal.Core.Domain.Wallet { public interface IBcnWalletUsage { string WalletAddress { get; set; } BlockchainType Blockchain { get; set; } string OccupiedBy { get; set; } DateTime Since { get; set; } } }
using UnityEngine; using UnityEngine.Events; public class PhysicsAddForce : MonoBehaviour { public Vector3 ForceVector; public GameObject m_brokenModel; public UnityEvent OnBreak; public void Push() { GetComponent<Rigidbody>().AddForce(ForceVector * Time.fixedDeltaTime * 100, ForceMode.Impu...
namespace JFS.Models.Requests.TFS { public class UpdatedResource { public Resource Revision { get; set; } public Fields<Changes> Fields { get; set; } } }
using System.Collections.Generic; namespace Novell.Directory.Ldap { /// <inheritdoc /> /// <summary> /// An ILdapSearchResults interface is returned from a synchronous search /// operation. It provides access to all results received during the /// operation (entries and exceptions). ...
using System; using System.Collections.Generic; namespace ByteDev.Cmd { internal static class EnumerableExtensions { public static string GetLongestElement(this IEnumerable<string> source) { if(source == null) throw new ArgumentNullException(nameof(source)); ...
using System; using System.Reflection; using OrigoDB.Core.Proxying; namespace OrigoDB.Core { /// <summary> /// Used to mark non-void methods as commands so they won't be interpreted as queries. /// Can also be used to map methods to a domain specific command type /// </summary> [AttributeUsage(Attr...
using UnityEngine; using System.Collections; public static class FacadeEarth { public static void Hurt(ClassEarth classEarth) { GameObject camera = GameObject.Find("Game Camera/Effect"); BehaviourAnimation.Play(classEarth.gameObject, "Hurt"); BehaviourAnimation.Play(camera, "Hurt"); ...
using Basket.Api.Data; using FastEndpoints; using FastEndpoints.Swagger; using MassTransit; using static Discount.Grpc.DiscountProtoService; var builder = WebApplication.CreateBuilder(args); builder.Services.AddFastEndpoints(); builder.Services.AddStackExchangeRedisCache(options => { options.Configuration = builde...
// Copyright (c) Teroneko. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace Teronis.Microsoft.JSInterop.Annotations { /// <summary> /// Decoratable on methods that return ValueTask{IJSLocalObject} in proxy interfaces /// where I...
using System; using Newtonsoft.Json; namespace Com.GitHub.ZachDeibert.CodeTanks.Model { public sealed class ConfigData { public sealed class CostData { [JsonProperty("motor")] public Formula MotorCost; [JsonProperty("battery")] public Formula BatteryCost; ...
namespace XJGUI { public abstract class Panel<T> : Component<T> { // NOTE: // There is no common member in each panel now. #region Constructor public Panel() : base() { } public Panel(string title) : base(title) { } #endregion Constructor } }
using System; using System.Threading.Tasks; using NServiceBus; using NServiceBus.Logging; namespace EdgeCases { class ShipOrderWorkflow : Saga<ShipOrderWorkflow.ShipOrderData>, IHandleTimeouts<ShipOrderWorkflow.ShippingEscalation> { static ILog log = LogManager.GetLogger<Shi...
using System; using System.IO; namespace OneCoin { class Settings { public static string AppPath = AppDomain.CurrentDomain.BaseDirectory; public static string WordsPath = AppPath + "/words/"; public static string ImagesPath = AppPath + "/images/"; public sta...
using ResourceManager; using TMPro; using UnityEngine; namespace ResourceView { public class ResourceLabel : MonoBehaviour { public ResourceType Type => _type; public TextMeshProUGUI Label => _label; [SerializeField] private ResourceType _type; [SerializeField] ...
namespace NetModular.Module.Admin.Application.SystemService.ViewModels { /// <summary> /// 系统登录配置信息 /// </summary> public class SystemLoginConfigModel { /// <summary> /// 登录页类型 /// </summary> [ConfigDescription("sys_login_type", "登录页类型")] public string Type {...
using Microsoft.EntityFrameworkCore; using MyBlog.Core.DataAccess.EntityFrameworkCore; using MyBlog.DataAccess.Abstract; using MyBlog.Entities.Concrete; namespace MyBlog.DataAccess.Concrete.EntityFrameworkCore.Repositories { public class EfCorePictureRepository : EfCoreRepositoryBase<Picture, MyBlogDbContext>, IP...
using Microsoft.VisualStudio.TestTools.UnitTesting; using SharpDX; using System; [TestClass] public class RigidTransformTest { public float Acc = 1e-4f; [TestMethod] public void TestFromAndToRotationTranslation() { Quaternion rotation = Quaternion.RotationYawPitchRoll(1,2,3); Vector3 translation = new Vector3(...
using Stump.DofusProtocol.Enums; using Stump.Server.BaseServer.Database; using Stump.Server.WorldServer.Database.Items.Templates; using Stump.Server.WorldServer.Game.Actors.RolePlay.Characters; using Stump.Server.WorldServer.Game.Actors.RolePlay.Npcs; using Stump.Server.WorldServer.Game.Items; namespace Stump.Server....
/*===========================================================================*/ /* * * FileName : SaveDataRanking.cs * * * Author : Hiroki_Kitahara. */ /*===========================================================================*/ using UnityEngine; using System.Collections; using System.Collections.G...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameController : MonoBehaviour { private float _timeUntilObstacle = 1.0f; private float _obstacleTime = 2.0f; private float _timeUntilReward = 1.0f; private float _rewardTime = 2.0f; private float _timeUn...
using System; namespace NimUtility { /// <summary> ///DateTimeConvert /// </summary> public class DateTimeConvert { private static readonly DateTime StartedDateTime = new DateTime(1970, 1, 1,0,0,0,DateTimeKind.Utc); /// <summary> /// 将时间戳转换为DateTime类型 /// </summary...
using System.Collections.Generic; using UnityEngine; /// <summary> /// SO Event used to decoupled code instead a normal class. /// </summary> [CreateAssetMenu(fileName = "New Game Event", menuName = "Game Event", order = 51)] public class GameEventSO : ScriptableObject { private List<GameEventSOListener> listeners...
using System; using System.Collections; using System.Collections.Generic; namespace SEDC.CSharpAdv.Class02.Examples { class Program { static void Main(string[] args) { IInputParser parser = new InputParser(); int selected = parser.ToInt(1, 5); Console.Write...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace GearSharp { public partial class Form1 : Form { public Form1() { ...
using UnityEngine; namespace GT2.Demo { public class RockingBoat : MonoBehaviour { public float strength = 1f; public float speed = 1f; private Vector3 eulers = Vector3.zero; private float offset = 0f; private void Awake() { offset = ...
namespace TV.Core.Log { public interface ILogWriter { void WriteMessage(string logMessage, LogLevel level); } }
using System; using System.Collections.Generic; using System.Text; namespace DefaultEcs.Attributes { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)] public class ComponentAttribute : Attribute { public bool IsUnique; public ComponentAttribute() { } public Compon...
using System; /// <summary>This is the class object.</summary> class MatrixMath { /// <summary>This is the class object.</summary> public static double[,] MultiplyScalar(double[,] matrix, double scalar) { if ( (matrix.GetLength(0) != matrix.GetLength(1)) || (matrix.GetLengt...
using Newtonsoft.Json; namespace Mjcheetham.TcpChat.Messages { internal class ChangeNameMessage : Message { internal ChangeNameMessage() { } public ChangeNameMessage(string newName) { NewName = newName; } internal override string Type => "changename"; ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. /*============================================================ ** ** ** ** Represents a symbol reader for managed code. Provides access to ** documents, methods, and va...
#region using System.Collections.Generic; using System.Collections.ObjectModel; #endregion namespace Spire.Examples.Shared.Services { public class FeedbackService : IFeedbackService { private readonly ICollection<FeedbackInformation> _feedbacks; public FeedbackService() { ...
using NUnit.Framework; using Shouldly; using Stravaig.Configuration.Diagnostics.Obfuscators; namespace Stravaig.Extensions.Configuration.Diagnostics.Tests.Obfuscators { [TestFixture] public class FixedAsteriskObfuscatorTests { [Test] public void DefaultConstructorEmitsFourAsterisk...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Emgu.CV; using Emgu.CV.UI; using Emgu.Util; using Emgu.CV.Structure; public partial class islem {...
// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. // namespace Lomo.Commerce.CardLink { using System; using System.Linq; using Lomo.Commerce.DataModels; using System.Threading.Tasks; ...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------------...
 using TTCMS.Data.Infrastructure; using TTCMS.Domain; namespace TTCMS.Data.Repositories { public class Language_RoleRepository : RepositoryBase<Language_Role>, ILanguage_RoleRepository { public Language_RoleRepository(IDbFactory dbFactory) : base(dbFactory) { } ...
// fCraft is Copyright 2009-2013 Matvei Stefarov <me@matvei.org> // TriangleDrawOperation contributed by Conrad "Redshift" Morgan using System; namespace fCraft.Drawing { /// <summary> Draw operation that creates a filled triangle, 1 block thick, /// using three given coordinates as vertices. </summary> p...
using System; using System.Collections; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _2C_Aula23062015 { class Funcionario { public ArrayList nomes = new ArrayList(); public ArrayList cpf = new ArrayList(); public ArrayList datasNasc = new ArrayList(); ...
using System; using System.Collections.Generic; using System.Text; namespace KobukiCore.KobukiAssets.General.Data { public class ExtraRequestData { #region Properties #region Hardware Version public byte HardwareVersionMajor { get; set; } public byte HardwareVersionMinor { get;...
using System.Windows.Input; using System; namespace TwaijaComposite.Modules.Authentication { public interface IAuthenticateStrategy { /// <summary> /// Display name for the Strategy /// </summary> string Name { get; } /// <summary> /// This is the current address...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using API.DTOs; using API.Entities; using API.Helpers; namespace API.Interfaces { public interface IMessageRepository { void AddMessage(Message message); void DeleteMessage(Message mess...
using System.Collections.Immutable; using System.Linq; namespace Messerli.PgpWordList { public class PgpWordAggregationBuilder { public const string DefaultSeparator = "-"; private readonly ImmutableList<byte> _byteList; private readonly string _separator; public PgpWordAggr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TicTacToeLibraryCSharp { public class MiniMax { // Finds all available moves. // A value of 0 means that the move is not available; 1 means that the cell is empty and a...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace ds.NorthwindApp.Model.Interface { public interface IRepository<TEntity> where TEntity : class { void Create (TEntity instance); void Update (TE...