text
stringlengths
13
6.01M
using System; using Autofac; using Microsoft.Practices.Unity; using NUnit.Framework; namespace AdvancedIoCTechniques { public class ContainerFacade { [Test] public void What_About_The_Resolution() { // we've talked about registration, let's talk about resolution...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Text; namespace Rhea.Business { /// <summary> /// Api服务 /// </summary> public class ApiService { #region Field /// <summary> ...
using System; using System.Collections.Generic; using System.Text; namespace DiscordPoker { public class Table { public Deck Dek = new Deck(6, false, false); } }
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AdvertApi.Models; using Amazon.DynamoDBv2; using WebAdvert.Api.Services; namespace WebAdvert.Api.Controllers { [ApiController] [Route("api/v1/adverts")] public class Adver...
using System; using System.Collections.Generic; using System.Text; namespace RFID_Inventarization { [Serializable] public class item { public string b_id = ""; public string b_rfid = ""; private dbFacade db = new dbFacade(); public string extra = ""; public string ...
using System; using LePapeoGenNHibernate.EN.LePapeo; namespace LePapeoGenNHibernate.CAD.LePapeo { public partial interface IAdminCAD { AdminEN ReadOIDDefault (int id ); void ModifyDefault (AdminEN admin); System.Collections.Generic.IList<AdminEN> ReadAllDefault (int first, int size); int ...
using System.Linq; namespace GenerateNorthwindDBContext { public static class CRUDCustomers { private static NorthwindEntities dbContext; public static void Initialize(NorthwindEntities northwindDbContext) { dbContext = northwindDbContext; } public static void A...
using System; using System.Collections.Generic; namespace userDashboard.Models { public class User : BaseEntity { public int UserId{get;set;} public string FirstName{get;set;} public string LastName{get;set;} public string Email{get;set;} public string Password{get;se...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UrTLibrary.Server.Exceptions { public class TooMuchElementFoundException : CommandException { public string Target { get; } public string[] Results { get; } pu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FileImport.Common { public class ImportField { /// <summary> /// Nome do Campo /// </summary> public string Field { get; set; } /// <summary> /// Posição Inicial ...
using System; using System.Collections.Generic; using System.Linq; using FirstProject.SimulacaoBanco; using FirstProject.TiposDeConta; namespace FirstProject { class Program { static void Main(string[] args) { var geradorDevedores = new GeraDevedores(); var devedore...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Net; using System.Net.Mail; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace SMTPTester { public partial class Form1 : Form ...
using System.Collections.Generic; using Microsoft.Extensions.Configuration; namespace Mitheti.Wpf.Services { //TODO:FIXME: rethink the way app localized; public class LocalizationService : ILocalizationService { public const string SectionKey = "Localization"; public string this[string key...
using System; using System.ComponentModel.DataAnnotations; namespace SimpleBlog.Models { public class Post { public int PostId { get; set; } [Required, StringLength(50,ErrorMessage = "Title must be 50 characters or less")] public string Title { get; set; } [Required, StringLeng...
using GraphQLSampleSplitAPI.Models; using HotChocolate.Types; namespace GraphQLSampleSplitAPI.MutationResolvers { [ExtendObjectType("Mutation")] public class PetMutationResolver { public string SavePet(PetModel model) { return model.Name; } } }
using System; using System.Data; using System.Text; using System.Data.SqlClient; using System.Collections.Generic; using Maticsoft.DBUtility; using System.Collections;//Please add references namespace PDTech.OA.DAL { /// <summary> /// 数据访问类:SW_PROJECT_INFO /// </summary> public partial class SW_PROJECT...
using DAL; 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 BUS; using DTO; using System.Data.SqlClient; using System.CodeDom; namespace GUI.GUI { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Rtc.Signaling; using System.Net; using System.Threading; using Microsoft.Rtc.Collaboration; namespace UCMAService { public class UserEndPointManager { private AutoResetEv...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WorkOutTracker { class UserInfo { string firstName; string lastName; int userAge; int userHeight; int userWeight; } }
using Patterns.StatePattern.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Patterns.StatePattern.Classes { class WinnerState : State { private GumballMachine _gumballMachine; public WinnerState(GumballMa...
using System; using FuzzyLogic.Helper; namespace FuzzyLogic.Model { class Temp : AbsCollection<ChartItem5Value> { public Temp() { Prepare(); CreateData(LimitLeft,LimitRight); } //opis jak w conditioner public void Prepare() { m...
using System.Collections; using System.Collections.Generic; using Photon.Pun; using UnityEngine; public abstract class MainApplicationReference : MonoBehaviourPunCallbacks { public abstract void Init(MainApplication application); }
using System.Collections; using System.Collections.Generic; using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif using System.IO; using System.Text.RegularExpressions; using Water2D_ClipperLib; using Path = System.Collections.Generic.List<Water2D_ClipperLib.IntPoint>; using Paths = System.Collections.Generic...
using System; using System.Reflection; using System.Linq; using System.IO; using System.CodeDom; namespace Mono.VisualC.Code.Atoms { // FIXME: support conditional compilation public class PoundDefine<T> : CodeAtom { public string Name {get; set;} public T Value {get; set;} private bool value_set = false; ...
using System; using System.ComponentModel.DataAnnotations; namespace Vaccination.Models.DTO { public class VaccineBatchDTO { [Required(ErrorMessage = "{0} required.")] public int Id { get; set; } [Required(ErrorMessage = "{0} required.")] public int VaccineDTO { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Jeu_Unity2._0 { class Cabane:Batiment { const int BANK_START = 10; const int LVL_MAX_CABANE = 3; private int storageFish; private int incomeFish; ...
using CMS_Database.Entities; using CMS_Database.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CMS_Database.Repositories { public class DoiDiemRepository:GenericRepository<DoiDiem>, IDoiDiem { } }
using SampleTracker.Assets.Theme; using Xamarin.Forms; namespace SampleTracker.Assets.Styles { public static class ButtonStyle { public static TButton Standard<TButton>(this TButton button) where TButton : Button { button.BackgroundColor = Colors.Accent; button.TextColo...
using System.Collections; using System.Collections.Generic; public interface LevelInterface { CannonState getInitialState(); }
namespace AbstractFactory.Entities.Interfaces { public interface IFabricaBases { void CriarBase(); } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Contact.API.Data; using Contact.API.Data.Enum; using MongoDB.Bson; using MongoDB.Driver; namespace Contact.API.Repository { public class MongoContactFriendRequestRepository : IContactFriendRequestRepository ...
using Alarmy.Common; using System.Collections.Generic; using System.IO; namespace Alarmy.Core.FileAlarmRepository { interface IRepositorySerializer { IEnumerable<IAlarm> Deserialize(Stream stream); void Serialize(IEnumerable<IAlarm> alarms, Stream stream); } }
using System; using UnityEngine; using System.Collections.Generic; public class ThingsManager : MonoBehaviour { public IRing LRing, RRing; public Dictionary<System.Guid, IThing> thingsInBag = new Dictionary<System.Guid, IThing> (); public ThingsUI ui; void Start() { RingUtils.load (); pointsUtils.load (); ...
using JoveZhao.Framework.DDD; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BPiaoBao.DomesticTicket.Domain.Models.Insurance { public interface IInsurancePurchaseByBussinessmanRepository : IRepository<InsurancePurchaseByBussinessman> { } }
using KekManager.Domain; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace KekManager.Logic.Interfaces { public interface ISubjectRepository { Task<IList<Subject>> GetAll(); Task<Subject> GetById(int id); Task<Subject> Update(S...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class hit_animation_trigger : MonoBehaviour { Animator sweet_animator; // Use this for initialization void Start () { sweet_animator = GetComponent<Animator>(); } // Update is called once per frame void Update ...
using System; using System.Linq; using System.Threading.Tasks; using cartalk.api.models; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; namespace cartalk.api.Data { public class EventRepository : IEventRepository { private readonly DataContext _context; public EventReposit...
using Amesc.Dominio; using Amesc.Dominio.Pessoas; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using Nosbor.FluentBuilder.Lib; namespace Amesc.DominioTestes.Pessoas { [TestClass] public class ArmazenadorDePessoaTeste { private string _nome; private string _cpf; pr...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Microsoft.EntityFrameworkCore; using ApplicationCore; namespace ApplicationCore.Entities.PatientAggregate { [Owned] public class Address : ValueObject// value object -- Patie...
/* * Bungie.Net API * * These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. * * OpenAPI spec version: 2.0.1 * Contact: support@bungie.com * Generated by: https://github.com...
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Light Flicker Class /// Coded by Matthew Barry /// Handles lighting effects to make them flash on and off /// Works for starter and gameplay lights /// </summary> public class LightFlicker : MonoBehaviour { #region V...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; using ArticleSubmitTool.Web.Models.InstantArticles; using ArticleSubmitTool.Web.Models.InstantArticles.Items; namespace ArticleSubmitTool.Models.InstantArticles.Items { public...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net; using System.Net.Sockets; using System.Threading; using System.Collections; namespace ServerApplication { class Program { static void Main(String[] args) { ...
using System; namespace RazorSampleText.Models { public class Ticket { public int Id{get;set;} public int Chair{get;set;} public DateTime Day{get;set;} public int CalendarId{get;set;} public int CustomerId{get;set;} public Calendar Calendar{get;set;} publ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1.Microsoft { public class MsMisc { public static int ChangesForAnagram(string source, string target) { Dictionary<char, int> chars = new ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class Boss : MonoBehaviour { public Transform _player; public Rigidbody2D rb; public Transform _attackPoint; public LayerMask _playerLayer; //Health Variables public He...
using CouponsLtd.Data.Entities; using CouponsLtd.UpsertModels; using CouponsLtd.ViewModels; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace CouponsLtd.Services { public interface IUserService { Task<AuthenticateResponse> Authenticate(AuthenticateRequest model); ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ItemHeld : MonoBehaviour { public GameObject itemInInv; }
using System; using System.Collections.Generic; using System.Text; using DropoutCoder.Core.Input.Cloudikka.Core.Input; namespace DropoutCoder.Core.RegularExpression { public static partial class Patterns { #region String Anchors public static readonly string StringStartAnchor = Keyboard.Symbols.C...
using UnityEngine; public class Bow : Attack { public override void Launch (EnemyController enemy, PlayerController player) { enemy.gun.isFiring = false; enemy.gun.Shoot (); } }
using System.Globalization; using Robust.Shared.ContentPack; using Robust.Shared.IoC; using Robust.Shared.Localization; namespace Content.Shared { public class EntryPoint : GameShared { private const string Culture = "en-US"; public override void PreInit() { IoCManager.Inje...
using CapstoneTravelApp.DatabaseTables; using SQLite; using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; using CapstoneTravelApp.HelperFolders; namespace CapstoneTravelApp.FlightsFolder { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class EditFlightPage : ContentPage { ...
using System.Data.Entity.ModelConfiguration; using RMAT3.Models; namespace RMAT3.Data.Mapping { public class AppUserMap : EntityTypeConfiguration<AppUser> { public AppUserMap() { // Primary Key HasKey(t => t.UserId); // Properties Pr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Accounting.Entity { public class Department { public Department() { } #region Fields private int nDeptID; private string strDeptName; #endregion #region Properties ...
using LuaInterface; using SLua; using System; using UnityEngine; public class Lua_UnityEngine_ContactPoint : LuaObject { [MonoPInvokeCallback(typeof(LuaCSFunction))] public static int constructor(IntPtr l) { int result; try { ContactPoint contactPoint = default(ContactPoint); LuaObject.pushValue(l, true...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.Schema; namespace Xml_Writer_ConsoleApp { class Program { static string xmlPath = @"C:\Users\dinus\source\re...
using Crt.Data.Database; using Crt.Data.Repositories; using Crt.Domain.Services.Base; using Crt.HttpClients; using Crt.HttpClients.Models; using Crt.Model; using Crt.Model.Dtos.Ratio; using Crt.Model.Dtos.Segments; using Crt.Model.Utils; using Microsoft.Extensions.Logging; using NetTopologySuite.Geometries; using Syst...
// ----------------------------------------------------------------------- // <copyright file="Buffers.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root // for license information. // </copyright> //...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace poiLoader { class Readitemfile { static public void readitemfile(List<Character> chara, string filename) { string date = ""; string name = ""; ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace GetLabourManager.Models { public class RBACRolePermissions { public int Id { get; set; } public int RoleId { get; set; } public int Permiss...
using AssetHub.DAL; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; using System.Web.Mvc; namespace AssetHub.ViewModels.Admin.Partial { public class SearchViewModel { AssetHubContext db = new AssetHubContext(); ...
using System.Collections.Generic; using System.Linq; using BLL.Entities; using BLL.Interface; using DAL.Interface; using BLL.Mapping; namespace BLL.Services { public class RewardService : IRewardService { private readonly IUnitOfWork _uow; public RewardService(IUnitOfWork uow) { ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using ProdsCategories.Models; using Microsoft.EntityFrameworkCore; using Newtonsoft.Json; namespace ProdsCategories.Controllers { public class HomeController :...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Projeto.Model { class ModelReconhecimento { public String identificador { get; set; } public DateTime data { get; set; } public decimal sequencia { get; set; } ...
using LogicBuilder.Attributes; using System; using System.Collections.Generic; using System.Text; namespace Contoso.Parameters.Expressions { public class MemberBindingItem { public MemberBindingItem ( [NameValue(AttributeNames.USEFOREQUALITY, "true")] [NameValue(Attribu...
using Hotel.Data.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Hotel.Web.Areas.ModulRestoran.ViewModels { public class PrikaziStavkeDostaveVM { public List<DostavaStavke> StavkeDostave { set; get; } } }
//----------------------------------------------------------------------- // <copyright file="Result.cs" company="None"> // Copyright (c) Brandon Wallace and Jesse Calhoun. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace TQVaultAE.Domain.Sear...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WebApplication3 { public partial class picture : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { }...
using UnityEngine; using System.Collections; public class Spawn : MonoBehaviour { public GameObject playerPrefab; // Use this for initialization void Start () { Instantiate (playerPrefab,transform.position, transform.rotation); } // Update is called once per frame void Update () { } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerManager : MonoBehaviour { public GameObject pickUpItemUFX; private Rigidbody2D _rigidbody2D; private Animator _animator; public Vector3 jumpForce; public Vect...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LM.Core.Data { public interface IDbSession { /// <summary> /// 创建一个原始 SQL 查询,该查询将返回此集中的实体。 /// 默认情况下,上下文会跟踪返回的实体;可通过对返回的 DbRawSqlQuery 调用 AsNoTracking 来更改此设置。 ...
using UnityEngine; using System.Collections; /// <summary> /// 플레이어들(1P, 2P, 멀티 상황등)의 Input들을 PlayerInputController에 바인딩 시킴. /// </summary> public class InputManager : Singleton<InputManager> { protected override void Awake() { foreach (string name in Input.GetJoystickNames()) { D...
using PlatformRacing3.Server.Game.Client; using PlatformRacing3.Server.Game.Communication.Messages.Incoming.Json; using PlatformRacing3.Server.Game.Communication.Messages.Outgoing; namespace PlatformRacing3.Server.Game.Communication.Messages.Incoming; internal class ManageVarsIncomingMessage : MessageIncomingJson<Js...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // #region Usings using System.Web; using DotNetNuke.Common.Internal; #endregion namespace DotNetNuke.Services.Authentication { /// ---...
using System; using System.Text; using System.Collections.Generic; using System.Linq; using BPiaoBao.AppServices.DataContracts.DomesticTicket; using BPiaoBao.AppServices.DataContracts.DomesticTicket.DataObject; using BPiaoBao.AppServices.DomesticTicket; using BPiaoBao.AppServices.Hosting; using BPiaoBao.Client.UIExt.H...
using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Wi...
using System; using System.Linq; using System.Text; using System.Text.RegularExpressions; public class Program { public static void Main() { var matchingWord = GetRegexPattern(); Console.WriteLine(Regex.Replace(Console.ReadLine(), matchingWord, w => new string('*', w.Length))); } priva...
using Perst; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SklepDB { class Product : Persistent { #if USE_GENERICS internal Link<Order> orders; #else internal Link orderPositions; #endif internal String name; ...
using System; using System.Collections.Immutable; using Meziantou.Analyzer.Internals; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; namespace Meziantou.Analyzer.Rules; [DiagnosticAnalyzer(LanguageNames.CSharp)]...
namespace Models { public class Preferences { public BookSubject[] Subjects { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DAL; namespace BUS { public class t_pkt { KetNoiDBDataContext db = new KetNoiDBDataContext(); public void moiphieu(string id, DateTime ngaylap, string iddv, string idnv, s...
namespace Imp2 { using System; using System.Collections; using System.Collections.Generic; using System.Linq; using uFrame.ECS; using uFrame.Kernel; using UniRx; using UnityEngine; using Leap; using Leap.Unity; public partial class AttachSystem { private ClockSpawnerComponent clockSpawner; private...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ServiceStack.Common.Extensions; using ServiceStack.FluentValidation; using ServiceStack.ServiceInterface; using ServiceStack.ServiceInterface.Auth; using myThat.ServiceModel.Request; namespace myT...
using System; using System.Net.Mime; namespace ValueMail.Receive.Model { public class MailHeadModel { #region 邮件头属性 public String UID { get; private set; } public String Name { get; private set; } public String Address { get; private set; } public String Subject { g...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Serialization.Formatters.Binary; using System.Text; using System.Threading.Tasks; using System.Runtime.Serialization; using FluentAssertions.Formatting; namespace CapaNegocio.Pedidos { class GuardarPedidos ...
using BillsAPI.Models; using System; using System.Collections.Generic; using System.Text; using Xunit; namespace BillsAPI.Tests.Tests { public class ModelTest : TestBase { [Trait(CategoryTrait, CalculationCategory)] [Fact(DisplayName = "Should CorrectedValue be equal to 102,20 when OriginalVal...
using System; using System.Collections.Generic; using System.Linq; using System.Web; /// <summary> /// Summary description for BLJson /// </summary> namespace JAMK.IT { public class Person { public string Name { get; set; } public string Gender { get; set; } public string Birthday { g...
using CMS_Database.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CMS_Database.Interfaces { public interface IThanhPham : IGenericRepository<ThanhPham> { void Delele(int id); ThanhPham GetbyId(int Id); ...
using System; using System.Collections.Generic; using System.Text; namespace InvoicingDataCreator.Model { public class InvoiceLine { public string Id { get; set; } public string Description { get; set; } public decimal Quantity { get; set; } public decimal Price { get; set; ...
using CsvSimpleMapper.Attributes; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace CsvSimpleMapper { class Person : ModelObject { //order=1 [DataClass(Filename ="Person.csv")] [DataPropertyInfo(isRequierd ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Linq; using NUnit.Framework; using Rebus.Messages; using Rebus.Serialization.Binary; using Rebus.Serialization.Json; using Shouldly; namespace Rebus.Tests.Contracts.Serialization { [Test...
using System; using UnityEngine; namespace CloudFile { public class MonoForCloudFileNormalUploader : MonoForCloudFileUploader { public bool m_progressFlag; public bool m_doneFlag; public bool m_errorFlag; public string m_errorMessage; public bool m_timeoutFlag; private CloudFileNormalUploader m_norm...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Telegram.Bot; using Telegram.Bot.Args; using Black_Jack; namespace TestBot.Commands { class EndGameCommand : Command { public override string Name => "/end_game"; public o...
namespace MonoGame.Extended.Timers { public enum TimerState { Started, Stopped, Paused, Completed } }
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; /** * Author: Mikkel B. Christensen, Steffen Rasmussen. * Purpose: This interface is to allow a uniform manner of access to the domain layer from other layers. */ names...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BankAccount { class Client { //Fields //user name private string userName; //number of accounts (checking, savings, or both) private int numberO...
using System; using iQuest.VendingMachine.PresentationLayer.Commands; using iQuest.VendingMachine.UseCases.Interfaces; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; namespace VendingMachine.Tests.Commands.LookCommandTests { [TestClass] public class ConstructorTests { private Mock<...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FXMirror : MonoBehaviour { public Shader effectShader; private Material material; public Camera mirrorCamera; private Texture2D mirrorTexture; public Texture2D mirrorFrameTexture; public Text...
using MongoDB.Driver; using stottle_shop_api.Products.Models; namespace tests.TestingFixtures { public class ProductsTestingFixture : TestingFixtureBase { private readonly string _collectionName = "products"; public IMongoCollection<Product> Collection { get; private set; } public Prod...
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; namespace NetFabric.Hyperlinq { public static partial class ReadOnlyListExtensions { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static int Count<TList, TSource>(this TList source) w...