text
stringlengths
13
6.01M
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TruongDuongKhang_1811546141.BussinessLayer.Entity { public class AccountEntity { // lưu trữ thông tin tên đăng nhập public string Username { get; set; } // lư...
// Accord Formats Library // The Accord.NET Framework // http://accord-framework.net // // Copyright © César Souza, 2009-2015 // cesarsouza at gmail.com // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as publ...
using System.Collections.Generic; using System.Collections.Specialized; namespace Task01_CarLibrary.Data { public static class CarsData { public static readonly List<Producer> Producers = new List<Producer>() { new Producer() { Name = "BMW", ...
using System; using System.Collections; using UnityEngine; [RequireComponent(typeof(Collider2D))] [RequireComponent(typeof(Rigidbody2D))] public class Nodib : MonoBehaviour { private static readonly float ENTER_SPEED = 3.5f; private static readonly float MAX_VELOCITY = 4; private static readonl...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FlowerAnim : MonoBehaviour { public Vector3 amount; public float time; void Start() { float randomTime = Random.Range(time - 0.3f, time + 0.3f); iTween.ShakeScale(gameObject, iTween.Hash( ...
using UnityEngine; using System.Collections; public class GetOutOfHere : MonoBehaviour { void Start(){ } }
namespace Triton.Game.Mapping { using System; using System.Collections.Generic; using System.Runtime.CompilerServices; public static class ListExtensions { public static void Shuffle<T>(this IList<T> list) { Random random = new Random(); int count = list.Cou...
using Hybrid; using Hybrid.IocFactory; using System; namespace Microsoft.Extensions.DependencyInjection { public static class IocBuilderExtensions { public static HybridOptions AddIoc(this HybridOptions options, Action<ISingletonFactory> configure) { if (configure == null) ...
using System; using UnityEngine; public class LockTriggerController : MonoBehaviour { public event EventHandler PlayerEnteredInArena; private GameObject _triggeredLock; private GameObject _player; private bool _triggeredLockActive = false; void Start() { _triggeredLock = GameObject.Fi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DiaxeirisiPoiotitas { class AbYli : Yliko { private string syskeyasia; private int posotitaSyskeyasias; private bool prostheto; private boo...
using System; using System.Collections.Generic; using System.ComponentModel.Design; using System.Linq; namespace TriangleLab { class NAngle { private List<Edge> edges; public readonly double Area; private const double tolerance = 0.001; public NAngle(Point[] points) { ...
using UnityEngine; using UnityEngine.UI; using System.Collections.Generic; using UnityEngine.SceneManagement; public class Overlord : MonoBehaviour { #region classVariables public bool m_waveProgress; private bool m_canUpgrade = true; private int m_waveNumber; private int m_waveMoney = 200; ...
namespace Triton.Game.Mapping { using ns26; using System; [Attribute38("GeneralStoreHeroesContentDisplay")] public class GeneralStoreHeroesContentDisplay : MonoBehaviour { public GeneralStoreHeroesContentDisplay(IntPtr address) : this(address, "GeneralStoreHeroesContentDisplay") { ...
using EmployeeWebApi.Models; using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Web; namespace EmployeeWebApi.Data { public class EmployeeDAO { private SqlConnection con; private SqlComma...
using System; using System.Data; using Marchen.DAL; using Marchen.Model; using Message = Sisters.WudiLib.SendingMessage; using Sisters.WudiLib.Responses; using Marchen.Helper; namespace Marchen.BLL { class CaseNameList : GroupMsgBLL { /// <summary> /// 更新或添加成员名单 /// </summary> ...
using NUnit.Framework; using SearchEngine.RazorPages.Pages; using SearchEngine.RazorPages.Services; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace SearchEngine.RazorPages.Test.Pages { [TestFixture] public class IndexModelTest { private In...
using UnityEngine; using System.Collections; using System.Collections.Generic; using System; using LuaLu; [NoLuaBinding] public static class ExtensionType { public static bool IsDictionary(this Type t) { // check self if(t.IsGenericType && t.GetGenericTypeDefinition() == typeof(IDictionary<,>)) { return true;...
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System; using System.Threading.Tasks; namespace Restaurant365.UI { public class App { private readonly ILogger<App> _logger; private readonly AppSettings _appSettings; private ICalculatorService _calculatorSe...
namespace SGDE.Domain.Repositories { #region Using using SGDE.Domain.Entities; using SGDE.Domain.Helpers; using SGDE.Domain.ViewModels; using System.Collections.Generic; using System; #endregion public interface ICostWorkerRepository { QueryResult<CostWorker> GetAll(int s...
using System; using Windows.UI.Xaml.Controls; // The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238 namespace TK_Recorder { public sealed partial class RecordingMetadataDialog : ContentDialog { public RecordingMetadataDialog() { this.Initi...
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 DAL; using DevExpress.XtraReports.UI; using BUS; using ControlLocalizer; using DevExpress.XtraEdito...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PowerUpManagement : MonoBehaviour { public GameObject powerUp; public Vector3 movementDirection = new Vector3(0, 0, -1); public float resetPositionZ = 0f; public Vector3 startPosition; void Start(){ ...
using System; using System.Threading.Tasks; using App.Metrics; using App.Metrics.Counter; using AviaTicketsFinder.Models; using Microsoft.Extensions.Options; namespace Avia.Services { public class AviaSalesService : ITicketsService { public AviaSalesService(IHttpClientWrapper httpClientWrapper, IOptio...
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 System.Data.SqlClient; namespace WindowsFormsApplication1 { public partial class Sales : Form ...
using LMPoser.Objects.Joint2D; using Microsoft.Xna.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Xna.Framework.Content; using Project_GE.Framework.Input; using LMPoser.Objects; using Microsoft.Xna.Framework.Input; namespa...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Assessment5a.Models { public class MainViewModel { public string Name { get; set; } [RegularExpression(@"(?i)(^\s*open sesame\s*$)")] ...
using System; using MonoTouch.ObjCRuntime; namespace AlexTouch.Greystripe { public partial class GSLeaderboardAdView { private static float kGSLeaderboardWidth; public static float GSLeaderboardWidth { get { IntPtr RTLD_MAIN_ONLY = Dlfcn.dlopen (null, 0); kGSLeaderboardWidth = Dlfcn.GetFloat(...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Patterns.Factory { class GreekPizza : Pizza { public GreekPizza() { } public override void Bake() { Console.WriteLine("Greek2"); } ...
namespace Kit.Forms.Services.Interfaces { public interface IKeyboardService : Forms9Patch.IKeyboardService { public void Toggle(); public void Show(); public void Close(); } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace ProyectoASPEmenic.Paginas.Usuarios { public partial class CrearUsuario : System.Web.UI.Page { Conexion cn = new Conexion(); protected void Page_L...
using ImmedisHCM.Services.Models.Core; using ImmedisHCM.Services.Models.Identity; using Microsoft.AspNetCore.Identity; using System.Security.Claims; using System.Threading.Tasks; namespace ImmedisHCM.Services.Identity { public interface IAccountManageService { Task<IdentityResult> ChangePasswordAsync(...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using LeaveRequestApp.DAL; using LeaveRequestApp.Models; using PagedList; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.AspNet.Identity.EntityFramework; namespace LeaveRe...
namespace Codelet.AspNetCore.Knockout.TagHelpers { using System; using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.Logging; /// <summary> /// Tag helper to create Knockout binding. /// </summary> [Ht...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DetectorDeCruzamento : MonoBehaviour { [SerializeField] private Jogador jogador; void OnTriggerEnter (Collider collider) { if (collider.CompareTag ("Inimigo")) { Debug.Log ("Chegou no fim do caminho!"); Destro...
 using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using Abp.AutoMapper; using Abp.Runtime.Validation; using Abp.Extensions; using MyCompanyName.AbpZeroTemplate.Card; #region 代码生成器相关信息_ABP Code Generator Info //你好,我是ABP代码生成器的作者,欢迎您使用该工具,目前接受付费定制该...
 using FileNamerCore; using NUnit.Framework; using System; namespace FileNamerTest { [TestFixture] public class FileRenumberingTest { [Test] public void TestGetFormattedDate() { Assert.AreEqual("2000-01-01", FileRenumbering.GetFormattedDate(new DateTime(2000, 01, 01)));...
using Android.Content; using Com.Facebook.Imagepipeline.Core; using Com.Squareup.Okhttp; namespace Com.Facebook.Imagepipeline.Backends.Okhttp { public partial class OkHttpImagePipelineConfigFactory { // TODO: Expose API in bindings for commented out sections public static /* ImagePipelineConfi...
namespace WalkInMatrix { using System; using System.Text; /// <summary> /// A Matrix representation /// </summary> public class Matrix { private readonly int[,] elements; private readonly int rows; private readonly int columns; /// <summary>...
using log4net; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MFW.LALLib { public class LALProperties { private static Dictionary<PropertyEnum, string> _properties = new Dictionary<PropertyEnum, string>(); private s...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Grimoire.Game; using Grimoire.UI; using Newtonsoft.Json; namespace Grimoire.Tools { ...
using NPOI.SS.Formula.Functions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NPOI.SS.Formula.Eval { public class NumberValueArrayEval : ArrayEval { public double[] NumberValues { get; set; } public NumberValueAr...
using System; using System.Collections.Generic; using FictionFantasyServer.Data.Entities.Base; using FictionFantasyServer.Data.Enums; namespace FictionFantasyServer.Data.Entities { public class BookCharacterEntity : IEntity { public Guid Id { get; set; } public Guid BookId { get; set; } ...
namespace Blorc.OpenIdConnect { using System; using System.Collections.Generic; using System.Text.Json.Serialization; public class User<TProfile> : IHasRoles where TProfile : Profile { [JsonPropertyName("access_token")] public string? AccessToken { get;...
// Copyright 2021 Google Inc. All Rights Reserved. // // 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 applica...
using System.Collections; using System.Collections.Generic; using UnityEngine; public static class MyLib { public static void Shuffle<T>(this IList<T> List) { for (int i = 0; i < List.Count; i++) { var temp = List[i]; int randomIndex = Random.Range(i, List.Count); ...
using System; using System.Collections.Generic; using System.Linq; using SoSmartTv.VideoFilesProvider; using SoSmartTv.VideoService.Dto; namespace SoSmartTv.VideoService.Store { public class MainDataStore : IVideoItemsStore { private readonly IRedundantDataStore _store; public MainDataStore(IRedundantDataStore...
using System.Collections.Generic; using System; using System.Linq; using InputHandlers.State; using InputHandlers.StateMachine; using Microsoft.Xna.Framework.Input; namespace InputHandlers.Keyboard { public class KeyboardInput : IKeyboardInput { private readonly StateMachine<KeyboardInpu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Exemplo02 { class Program { static void Main(string[] args) { ProdutoAplicacao produtoAplicacao = new ProdutoAplicacao(); Produto produto = ne...
namespace CVBuilder.Core { public interface IDataUpdate { ILanguage Update(); } }
using HCL.Academy.Model; using System; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using System.Net.Http; using System.Threading.Tasks; using HCLAcademy.Util; using Microsoft.ApplicationInsights; using System.Diagnostics; namespace HCLAcademy.Controllers { public class ManageRolesCon...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using LibertyHealthcare.PAAPS.Core.Interfaces; using Microsoft.AspNetCore.Mvc.Filters; using AutoMapper; namespace LibertyHealthcare.PAAPS.Web.Controllers { public abstract class BaseCo...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.ComponentModel; namespace Uxnet.Web.Module.Common { public partial class PageAnchor : System.Web.UI.UserControl { [Bindable(true)] public Stri...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using liteCMS.Entity.Ventas; using System.Data.SqlClient; using System.Data; namespace liteCMS.Data { public class ven_Cliente : SqlHelper { public static eCliente GetItem(string codigoCliente) { ...
using System; static class Distance { //Write a static class with a static method to calculate the distance between two points in the 3D space. public static double CalculateDistanceIn3D(Point3D first, Point3D second) { //Math lesson - d = Sqrt( (x1-x1)^2 + (y1-y2)^2 + (z1-z2)^2) ...
namespace Triton.Game.Mapping { using ns26; using System; using Triton.Game; using Triton.Game.Mono; [Attribute38("Logger")] public class Logger : MonoClass { public Logger(IntPtr address) : this(address, "Logger") { } public Logger(IntPtr address, string c...
using System; using truckeventsXamPL.Models.Enums; namespace truckeventsXamPL.Models { public class Produto : BaseEntity { public string Descricao { get; set; } = null; public double? Preco { get; set; } = 0; public ProdutoTipo Tipo { get; set; } public Guid? Id_Cor { get; s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; using Moq; using System.Reflection; using System.IO; using MP3ManagerBase.factory; namespace MP3ManagerTest { public class MP3FileHandlerTest { private Stream ReadRessource(...
using System; using NetPayroll.Guides.Common; using NetPayroll.Guides.Constants; using NetPayroll.Guides.Interfaces; namespace NetPayroll.Guides.Contract.Social { public abstract class ContractSocialPrototype : IContractSocial { public ContractSocialPrototype(IGuidesSocial guides) { this.Co...
using System; using System.Diagnostics; using System.Collections.Generic; namespace ElementChaos { class SampleUI { public ConsoleCanvas canvas; public char[,] draw_buff; public ConsoleColor[,] color_buff; public int msgNum = 0; public int maxMsgNum = 5; public...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DungeonGame { class Attributes { public string Name { get; } public int HP { get; set; } public int AP { get; set; } public int X { get; se...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace cMud2 { public class ZhenfaRobot : Robot { private static ZhenfaRobot Instance; public static ZhenfaRobot GetInstance() { if (Instance == n...
using FlickrNet; using ModernCSApp.Services; using ModernCSApp.Views; using SumoNinjaMonkey.Framework.Controls.DrawingSurface; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Windows.Foundation; using Windows.Foundation.Collections; using Windows....
namespace Blorc.OpenIdConnect { using System; public class UserInactivityEventArgs { public UserInactivityEventArgs(TimeSpan signOutTimeSpan) { SignOutTimeSpan = signOutTimeSpan; } public TimeSpan SignOutTimeSpan { get; } public TimeSpan? InactivityNot...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lab6 { class Car { string brand, color, type; int numberOfGears; public string Brand { get { return brand; } s...
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using System.Net.Http; using HtmlAgilityPack; using System.Xml; /* 21.05.2017 Програма авторизується на порталі http://portal.alberto.com.ua та автоматично скачує прайси. Додаткові налаштування знаходяться в файлі Config...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; namespace InternetShop.Models.Auxiliary { public class MailHeaderBuilder : IBuilder<string, MailContext> { public MailContext Context { get; set; } public string Build() { ...
using System; using TechTalk.SpecFlow; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OpenQA.Selenium; using Microsoft.VisualStudio.TestTools.UnitTesting; using Framework.Elements; using NLog; using System.Threading; using OpenQA.Selenium.Inter...
namespace ns18 { using System; internal enum Enum12 { None, Object, Array, Constructor } }
using System.Collections; using System.Collections.Generic; using UnityEngine; /* public class ComparerScr : IComparer<PathingTileScr> { int IComparer<PathingTileScr>.Compare(PathingTileScr _firstTileScr, PathingTileScr _otherTileScr) { if (_firstTileScr.gValue == _otherTileScr.gValue) { ...
using Microsoft.Xna.Framework; namespace MonoGame.Extended { public interface IColorable { Color Color { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { //Variables int userScoreTotal = 0; //User's score agains...
using Xamarin.Forms; namespace EstimoteTest { public partial class MainPage : ContentPage { private IProximityService proximityService; public MainPage(IProximityService proximityService) { InitializeComponent(); this.proximityService = proximityService; ...
using UnityEngine; namespace Models.BuildingsStore { [CreateAssetMenu(fileName = "BuildingsStoreAssortment", menuName = "ScriptableObjects/BuildingsStoreAssortment", order = 0)] public class BuildingsStoreAssortment : ScriptableObject { [SerializeField] private StoreItem[] buildings; publi...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ShooterBoid : MonoBehaviour { public Blackboard bb; private Task bt; // Start is called before the first frame update void Start() { Sequence root = new Sequence(bb); Selector targ...
using System; class MainClass { public static void Main () { PrintHeader (); int chosen; bool flag = int.TryParse (Console.ReadLine (),out chosen); decimal sum = 0; while (flag) { if (chosen == 1) { var numArray = new decimal[3, 3]; numArray [0, 0] = 3; numArray [0, 1] = 4; numArra...
using TQVaultAE.Domain.Entities; using TQVaultAE.Domain.Results; using System.IO; namespace TQVaultAE.Domain.Contracts.Services { public interface IPlayerService { /// <summary> /// Loads a player using the drop down list. /// Assumes designators are appended to character name. /// </summary> /// <param n...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class NoiseBis { float initialScale; float lacunarity; float persistence; int numOctaves; public NoiseBis(float _initialScale, float _lacunarity, float _persistence, int _numOctaves) { initialScale =...
using System.Net; using System.Net.Http; using System.Web; using System.Web.Http; using System.Web.Http.Controllers; using CloneDeploy_Services; namespace CloneDeploy_App.Controllers.Authorization { public class ClientAuthAttribute : AuthorizeAttribute { public override void OnAuthorization(HttpAction...
namespace AdvancedTeamCreation.Commands { using System; using CommandSystem; using Exiled.API.Features; using Exiled.Permissions.Extensions; using API; using static AdvancedTeamCreation; [CommandHandler(typeof(ClientCommandHandler))] public class TeamCommand : ICommand { pu...
using Checkout.Payment.Query.Application.Interfaces; using Checkout.Payment.Query.Application.Models; using Checkout.Payment.Query.Domain; using Checkout.Payment.Query.Seedwork.Extensions; using MediatR; using System; using System.Threading.Tasks; namespace Checkout.Payment.Query.Application.Services { public cla...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.Serialization; using System.IO; namespace Ejercicio_57 { public class Persona { private string apellido; private string nombre; p...
using System; using System.ComponentModel; using System.Net.Http; using System.Runtime.CompilerServices; using System.Threading.Tasks; using jcTM.PCL.Global; using Newtonsoft.Json; namespace jcTM.UWP.ViewModels { public class BaseModel : INotifyPropertyChanged { public event PropertyChangedEventHandler...
using LuaInterface; using SLua; using System; public class Lua_UISpriteData : LuaObject { [MonoPInvokeCallback(typeof(LuaCSFunction))] public static int constructor(IntPtr l) { int result; try { UISpriteData o = new UISpriteData(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LinesScript : MonoBehaviour { public float lineSeparation; GameObject cleff; List<Transform> lines = new List<Transform>(); // Start is called before the first frame update void Start() { cleff...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; public class EnemySpawn : MonoBehaviour { private ResourceFrontier[] resourceFrontier; private ResourceManager RM; private GameObject[] spawnedUnits; public GameObject[] enemyUnits; pu...
using System.Collections.Generic; using System.Linq; using Psub.DataAccess.Abstract; using Psub.DataService.Abstract; using Psub.DataService.HandlerPerQuery.CommentProcess.Entities; using Psub.Domain.Entities; using UESPDataManager.DataService.HandlerPerQuery.Abstract; using AutoMapper; namespace Psub.DataService.Han...
namespace Camel_s_Back { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public class CamelBack { public static void Main(string[] args) { //read the input, split and convert to list; ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ShadowAPI.Services { public static class EnumTools { public static IEnumNameable EnumNameable { get; set; } public static string GetName(this Enum e) { return EnumName...
using System; using System.Collections.Generic; using System.Text; namespace eShopSolution.ViewModel.System { public class RegisterRequest { public string FirstName { set; get; } public string LastName { set; get; } public DateTime Dob { set; get; } public string Email { set; g...
using PanCardView.Enums; using PanCardView.EventArgs; using System.Threading.Tasks; using System.Windows.Input; using Tindero.Api; using Tindero.Api.Responses; using Tindero.Models; using Xamarin.CommunityToolkit.ObjectModel; using Xamarin.CommunityToolkit.UI.Views; namespace Tindero.ViewModels { public class Swi...
using System; using System.Collections.Generic; using System.Collections.Concurrent; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Server.MatchMaking { using Constants; class MatchQueueSimple : IMatchQueue { private ConcurrentQueue<MatchPlayer> queue { get; set; } ...
using Zillow.Core.Dto; using Microsoft.AspNetCore.Mvc; using Zillow.Core.Dto.CreateDto; using Zillow.Core.Dto.UpdateDto; using Zillow.Core.ViewModel; using Zillow.Service.Services.CategoryServices; using System.Threading.Tasks; namespace Zillow.API.Controllers { public class CategoryController : BaseControll...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Hotel.Data.Models; using Hotel.Web.Areas.ModulRecepcija.ViewModels; using Hotel.Web.Helper; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; namespace Ho...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace PaymentGateway.Models { public class Product { public int ID { get; set; } public string Name { get; set; } //public string Category { get; set; } public decimal Price { get; set; } ...
namespace E08_CatalanNumbers { using System; public class CatalanNumbers { public static void Main(string[] args) { // In combinatorics, the Catalan numbers are // calculated by the following formula: // Cn = ( (2 * n)! / ((n + 1)! * n!) ) for n >= 0 ...
using Apache.Ignite.Core; using Apache.Ignite.Core.Cache; using Apache.Ignite.Core.Cache.Event; using Apache.Ignite.Core.Cache.Query.Continuous; using System; using Apache.Ignite.Core.Cache.Configuration; using Apache.Ignite.Core.Cache.Query; using Apache.Ignite.Core.Binary; namespace IgniteDemo { class Car1 ...
using System; using Language.Analyzer; namespace Language.Compiler { public class VariableResult : IResult, IEquatable<VariableResult> { public VarInfo Var { get; set; } public SemType Type => Var.Type; public static VariableResult Of(VarInfo var) { return new Vari...
// Copyright (c) 2021 Yann Crumeyrolle. All rights reserved. // Licensed under the MIT license. See LICENSE in the project root for license information. using System; using System.CommandLine.IO; using System.IO; using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; namespace JsonWebToken.Tools.Jwk.Tes...
using Android.App; using Android.OS; using MvvmCross.Droid.Views; using VictimApplication.Core.ViewModels; namespace VictimApplication.Droid.Views { [Activity(Label = "View for MainViewModel")] public class MainView : MvxActivity<MainViewModel> { protected override void OnCreate(Bundle bundle) ...
using API.Controllers.Resources; using Application; using Application.Activities; using Domain; using MediatR; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace API.Controllers { public class ActivitiesController : BaseContro...