text
stringlengths
13
6.01M
using System; using System.Collections.Generic; using System.Windows.Forms; namespace FightGame { public partial class Fight : Form { private Player _player; private Enemy nmy; private List<string> _log; public Player Player { set { _player = value; } } public List<Enemy> Enemies { ...
using ParPorApp.ViewModels; using ParPorApp.Views; using System; using System.Collections.Generic; using System.Text; namespace ParPorApp.Models { public class AccountGroups { private string _loadedUrl = "https://ui-avatars.com/api/?background=4A384A&color=fff&rounded=true&name="; //private s...
// <copyright file="FeatureTable.cs" company="WaterTrans"> // © 2020 WaterTrans // </copyright> using System.Collections.Generic; namespace WaterTrans.GlyphLoader.Internal.OpenType { /// <summary> /// The OpenType feature table. /// </summary> internal sealed class FeatureTable { /// <sum...
using System; using GitHubExplorer.Entities; using GitHubExplorer.Repositories; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using RestSharp; using StructureMap; using Swashbuckle.AspNetCore.Swagger; us...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using HotelManagement.DataObject; using HotelManagement.BusinessObject; using System.Data; using System.Windows.Forms; namespace HotelManagement.Controller { public class LoaiPhongControl { LoaiPhongData...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace GodMorgon.Models { [CreateAssetMenu(fileName = "Player", menuName = "AddPlayerSettings")] public class PlayerSettings : ScriptableObject { public int lifeMax; public int life; public...
using System; using System.Globalization; using SciVacancies.WebApp.ViewModels.Base; namespace SciVacancies.WebApp.ViewModels { public class VacancyPublishModel : ViewModelBase { /// <summary> /// Дата начала рассмотрения комиссии - используется при публикации /// </summary> ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LightingBook.Tests.Api.Dto.Dto.GetSettings { public class Travellers { public string DepartmentName { get; set; } public string HomeAirportCode { get; set; } pu...
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "Game Inspector", menuName = "Game Inspector")] public class GameInspector : ScriptableObject { public List<CollectableScript> Items; [Range(10, 50)] public float MouseX; [Range(10, 50)] public floa...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using DataAccess.Context; using DataAccess.Exceptions; using Domain; namespace DataAccess.Repository { public class EntryRepository : IEntryRepository { private readonly IContextFactory _contextFactory; ...
using System; using System.Collections.Generic; using System.Text; using BenchmarkDotNet.Attributes; namespace TinyIoc.Benchmarks { #if NET48 //These work on either platform but no point running them twice [SimpleJob(BenchmarkDotNet.Jobs.RuntimeMoniker.Net48)] [SimpleJob(BenchmarkDotNet.Jobs.RuntimeMoniker.Net461)...
namespace TestDummies.Console.Themes; public abstract class ConsoleTheme { public static ConsoleTheme None { get; } = new EmptyConsoleTheme(); }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ManageDomain { public class ApiLogHelper { static CCF.WatchLog.DBLoger dbloger = new CCF.WatchLog.DBLoger(); public static bool CheckSign(string signkey, string sign) { string s...
using UnityEngine; using System.Collections; public class GridElement : MonoBehaviour { public int m_iX = 0; public int m_iY = 0; public int m_iLayer = 0; public void Init(int _iX, int _iY, int _iLayer) { m_iX = _iX; m_iY = _iY; m_iLayer = _iLayer; } }
using Microsoft.EntityFrameworkCore; using NetCoreEntityFramework.Entity; namespace NetCoreEntityFramework.Context { public class UsuarioContext : DbContext { public UsuarioContext(DbContextOptions<UsuarioContext> options) : base(options) { } public DbSet<Usuario> Usuario ...
using System; using System.Collections.Generic; using System.Text; namespace MyLib { public class GeomProgr { public static uint objectNumber = 0; double _b; double _q; public double B { get { return _b; } set { ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; using KartLib.Views; using KartObjects; using KartLib; namespace KartSystem { public partial class CashAccountView : KartUserContr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; using System.Drawing.Imaging; using Extensions; using GBA; namespace MOTHER3 { class GfxProvider { public static Dictionary<int, byte[,]> RomTileCache = new Dictionary<int, byte[,]>...
using Microsoft.International.Converters.PinYinConverter; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace RRExpress.ApiClient.Test { [TestClass] public class PinyinTest { [TestMethod] public void Test() { var a = ChineseChar.IsValidChar('4'); var Aa = Ch...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace WebApplication1.Models { public class Income { [Display(Name = "Сумма дохода")] public decimal Value { get; set; } [Display(Name = "Валюта")] ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyController : MonoBehaviour { void Start () { } // Vereinfachung void FixedUpdate() { } }
using System.Collections.Generic; using ODL.DomainModel.Adress; namespace ODL.ApplicationServices.DTOModel.Query { public class AdressDTO { public int Id { get; set; } public virtual GatuadressDTO Gatuadress { get; set; } public virtual EpostDTO Epost { get; set; } public virtu...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Configuration; using System.Data; using System.Data.SqlClient; using System.Data.SqlTypes; namespace HPAF.Controllers { public class DBData { SqlConnection con = null; string connSTR = WebConf...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; namespace Lobby { public class CombatController : MonoBehaviour { public Button StartMapButton; void Awake() { } // Use this for initialization void Start() { Debug.Log("Co...
using UnityEngine; using System.Collections; public class PlatformScript : MonoBehaviour { void OnCollisionEnter2D(Collision2D coll) { if (coll.gameObject.name == "orfeo" && coll.gameObject.transform.position.y > transform.localPosition.y) coll.gameObject.GetComponent<Movement> ().Grounded (); i...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ZombieExplode : ZombieBase { [SerializeField] private GameObject _explosionFXPrefab; private int _enemyLayerMask; private int _playerLayerMask; private int _enemyAndPlayerLayerMask; private int flamma...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class OpponentScript : MonoBehaviour { bool up; public static float speed=5; public Transform TopCheck; public Transform BottomCheck; static float maxPosY=4.78f; public static int size=0; //max size...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _04.SubstringCount { class FindSubstrings { static void Main() { string text = "We are living in an yellow submarine. We don't have anything else. Inside th...
using UnityEngine; using System.Collections; public class FireHydrant : MonoBehaviour { public int sprayDistance = 3; public GameObject waterSprayPrefab; public float waterScaleDuration = .25f; public Sprite waterEnd; void Start() { // TODO: REMOVE THIS. THIS IS ONLY HERE BECAUSE THE FIRE HYDRANTS ARE NOT BE...
namespace ProjetctTiGr13.Helpers { public class AppSettings { //secret key from the appsettings.json, is used to decrypt JWT token public string Secret { get; set; } } }
using System; using System.Threading.Tasks; using Uintra.Features.Location.Models; namespace Uintra.Features.Location.Services { public interface IActivityLocationService { ActivityLocation Get(Guid activityId); void Set(Guid activityId, ActivityLocation location); void DeleteForActivi...
 namespace _2.UnitTestingTask { using System; using System.Linq; class TestMainProgram { static void Main() { } } }
namespace Fingo.Auth.AuthServer.Client.Services.Interfaces { public interface IRemoteTokenService { bool VerifyToken(string jwt); string AcquireToken(string login , string password); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DatabaseCreator.Infra { public static class DatabaseConfig { public static bool DatabaseCreator; public static bool DatabaseChecker; public static bool CheckTab...
using Harbin.Common.TypeSafeEnums; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AdventureWorks.Business.Entities { public class ShipMethodEnum : TypeSafeEnum<ShipMethodEnum, int> ...
// <copyright file="Student.cs" company="Softuni"> // Copyright (c) 2014 All Rights Reserved // <author>Me</author> // </copyright> namespace HWDefiningClassesTask04SULS { using System; public abstract class Student : Person { private uint studentNumber; private decimal averageGrade; ...
using DealOrNoDeal.Model; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DealOrNoDeal.Tests.BankerTests { [TestClass] public class TestBankerConstructor { [TestMethod] public void ShouldInitializeDefaultValues() { var banker = new Banker(); As...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PauseMenu : MonoBehaviour { public void ResumeGame() { FindObjectOfType<AudioManager>().Play("MenuSound"); GameManager.instance.EndPauseMenu(); } public void QuitGame() { Applicati...
using System; using System.Collections.Generic; using System.Linq; namespace HuaDingTesting { class Program { static void Main(string[] args) { Console.WriteLine("游戏开始"); var players = new[] { new Player("player 1", 87373), new Player("player 2", 1297684) }...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ServiceLayer { public interface IServiceManager { IValidationService ValidationService { get; } IEmailService EmailService { get; } ILoanCalculatorService LoanCalculatorService { get; } ...
using System; using System.Collections.Generic; using Hl7.Fhir.Support; using System.Xml.Linq; /* Copyright (c) 2011-2012, HL7, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Re...
using UnityEngine; using System.Collections; using UnityEditor; public class Core : MonoBehaviour { // Use this for initialization void Start () { Mesh mesh = CreateMesh(); GameObject item = new GameObject("FML", typeof(MeshRenderer), typeof(MeshFilter)); item.GetComponent<MeshFilter>().mesh = mesh; item....
namespace SistemasBR.SerializadorTx2.Configuracao { public static class SerializadorTx2Configuracao { public static void ConfigurarComportamento(ComportamentoFlags comportamentos) => ComportamentoAtual.AtualizarComportamentoGeral(comportamentos); } }
using MediatR; using Microsoft.AspNetCore.Mvc; using System; using System.Threading.Tasks; using WebsiteManagerPanel.Commands.SitesDeleteCommand; using WebsiteManagerPanel.Commands.SitesInsertCommand; using WebsiteManagerPanel.Commands.SitesUpdateCommand; using WebsiteManagerPanel.Framework.Infrastructure; using Websi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mechanisam { public class RegisterFunction { public static List<Action> lista = new List<Action>(); public RegisterFunction() { } public stat...
using System; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Threading; using System.Threading.Tasks; namespace DFC.ServiceTaxonomy.Events.Services.Interfaces { public interface IRestHttpClient { Task<string> Get(Uri uri, object? queryData = null, CancellationToken cancellationTo...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Lotereya.Models; namespace Lotereya.Controllers { public class AdminController : CustomController { // // GET: /Admin/ public ActionResult Index() { ret...
using System; namespace GFW { public abstract class IGameStateListner { public virtual void OnStateEnter(GameState pCurState) { } public virtual void OnStateQuit(GameState pCurState) { } public virtual void OnStateUpdate(GameState pCurState, float elapseTime) { } public virtual void Free() { } } }
using System; namespace ArcOthelloBG.Logic { /// <summary> /// class for a vector 2 of short /// </summary> [Serializable] class Vector2 : ICloneable { private int x; private int y; /// <summary> /// getter for X value /// </summary> public int ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using WebStore.Models; using WebStore.Infrastructure.Interfaces; namespace WebStore.controllers { public class EmployeesController : Controller { private readonly IEmployeesD...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Net.Sockets; using System.Threading; namespace EventSocket.Tests { [TestClass] public class UnitTestSocket { private TestContext testContextInstance; /// <summary> /// Gets or sets the test context wh...
namespace T4WebFormsInjection.Tests.Modules { using T4WebFormsInjection.Tests.Helper; using T4WFI.App.Code; using T4WFI.App.Modules; using Xunit; public class MyModule1Tests { [Fact] public void DependencyCreated() { Target.CheckDependenciesA...
using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; using Embraer_Backend.Models; using Microsoft.Extensions.Configuration; using System; using Microsoft.AspNetCore.Cors; using System.Linq; namespace Embraer_Backend.Controllers { [Route("api/[controller]/[action]")] [EnableCors("CorsPolicy")] ...
/////////////////////////////////// /// Create and edit by QerO /// 09.2018 /// lidan-357@mail.ru /////////////////////////////////// using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Missions { public class LocationsSpawn : MonoBehaviour { void OnTriggerEnter(...
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.Security.Cryptography; namespace ArrangeOffice { public partial class loginForm : Form ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using System.Collections.Specialized; namespace TestTutorial101 { public class BusLogic { #region Login //public long VerifyAdminLogin(HybridDictionary hyLogin) //{ // ret...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; namespace CODE.Framework.Wpf.Controls { /// <summary> /// Generic header control usable with Lists to crea...
using System; using System.IO; using System.Linq; using System.Threading; using System.Management; using System.Reflection; using System.Diagnostics; using System.Collections.Generic; using FrameworkLibraries; using FrameworkLibraries.Utils; using FrameworkLibraries.ActionLibs; using TestStack.White.UIItems.WindowIte...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Interface { class SuperMan:SuperHeroi, ISuperPoder { public override void ObterDados() { this.NomeFicticio = "Super-Homem"; this.Id...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _7DRL_2021.Behaviors { class BehaviorFollowCamera : Behavior { public ICurio Curio; public ICurio Camera; public BehaviorFollowCamera() { } ...
using Alabo.Domains.Repositories; using MongoDB.Bson; namespace Alabo.Cloud.Cms.TeamIntro.Domain.Repositories { public interface ITeamIntroRepository : IRepository<Entities.TeamIntro, ObjectId> { } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BizService.Common; using IWorkFlow.Host; using IWorkFlow.ORM; using Newtonsoft.Json; using System.Data; using System.Web; using System.IO; using Newtonsoft.Json.Linq; using System.Draw...
using System; using System.ComponentModel.DataAnnotations; namespace com.Sconit.Entity.INP { [Serializable] public partial class RejectDetail : EntityBase, IAuditable { #region O/R Mapping Properties [Display(Name = "RejectDetail_Id", ResourceType = typeof(Resources.INP.RejectDetail))] ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HomeWorkOOP3_1 { class ExcellentPupil:Pupil { public override void Read() { Console.Write("class ExcellentPupil-"); base.Read(); } ...
using UnityEngine; using System.Collections; namespace bullStates { public class Wander : State { GameObject self; GameObject target; float angryCooldown; float currAngryCooldown; float angryRange; public Wander (GameObject _target, float _angryRange, float ...
using System; using System.Collections.Generic; using System.Runtime.Serialization; using Aquamonix.Mobile.Lib.Extensions; using Aquamonix.Mobile.Lib.Utilities; using Aquamonix.Mobile.Lib.Database; namespace Aquamonix.Mobile.Lib.Domain { [DataContract] public class ApplicationMetadata { [DataMember(Name = Proper...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using IconCreator.Core.Models; using System.Collections; using IconCreator.WPF.UI.Models; using IconCreator.Services; using IconCreator.Core.Models.ViewModels; using IconCreator.Core.Models.Interfaces; u...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XH.Infrastructure.Paging { /// <summary> /// Paged list interface /// </summary> public interface IPagedList<out T> { IEnumerable<T> Items { get; } /// <su...
using System.Text; using Tweetinvi.Controllers.Properties; using Tweetinvi.Controllers.Shared; using Tweetinvi.Core.Extensions; using Tweetinvi.Core.Helpers; using Tweetinvi.Core.QueryGenerators; using Tweetinvi.Models.DTO; using Tweetinvi.Parameters; namespace Tweetinvi.Controllers.Messages { public interface IM...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GitHubFS { class PathAndFile { static public string File(string filename) { int position = filename.LastIndexOf(@"\"); return filename.Substring(position + 1, f...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace AbilityClasses { [CreateAssetMenu(fileName = "New Self Ability", menuName = "Game/Ability/Self")] public class SelfAbility : AbilityObject { } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DifferentDistances_CS { public class Program { public static void Main(string[] args) { // string[] input; while(true){ string[] input = Console.Rea...
// ----------------------------------------------------------------------- // <copyright file="CultureCacheStringLocalizer.cs"> // Copyright (c) Michal Pokorný. All Rights Reserved. // </copyright> // ----------------------------------------------------------------------- using System.Runtime.CompilerServices; [a...
using Entitas; using Entitas.CodeGeneration.Attributes; using UnityEngine; [Input] [Unique] public sealed class PointerHoldingPositionComponent : IComponent { public Vector3 value; }
namespace Fragenkatalog.Model { class Admin : Benutzer { public Admin(uint benutzer_nr, string login_name, string email_adresse, string passwort):base(benutzer_nr, login_name, email_adresse, passwort, 1) { // TODO : eventuell anpassen } } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; namespace TYNMU.manger.Success { public partial class AddSuccessCase : System.Web.UI.Page { protected void Page_Load...
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using CTCI.Models; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.AspNet.Identity.EntityFramework; using Ctci...
namespace Contracts { public interface IMixerService { string MixIt(); } }
using System.Collections.Generic; using Windows.UI.Xaml.Controls; namespace SampleUWP.ConsoleCodeSamples { internal partial class Samples { /// <summary> /// UWP method showing various manipulations to a List. /// Code from this link: https://msdn.microsoft.com/en-us/library/windows/ap...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace LimenawebApp.Models.Operations { public class Mdl_planning { public class Routes_calendar { public string title { get; set; } publ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using DevExpress.Xpo; using ACHMS.Common.Entities; namespace TestProject { public partial class Form1 : Form { ...
using Schmidt.Template.Common.Abstraction; using Schmidt.Template.Common.Enumerators; using System; namespace Schmidt.Template.Application.Commands.Persons { public class CreatePersonCommand : ICommand<Guid> { public string Name { get; set; } public RaceType Race { get; set; } } }
using SocketLite.Forms; using System; namespace SocketLite.Client { public partial class LoadingForm : ClientForm { public LoadingForm() { InitializeComponent(); } private void LoadingForm_Load(object sender, EventArgs e) { var context = new Asy...
using Jogging.DAL; using Jogging.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EntMob_Uni.Services { public interface IUserService { Task<User> CheckCredentials(User user); Task<User> AddUser(User user); ...
using CoreLib.Commons; using CoreLib.Models; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using System.Web; namespace HRM.Utils { public static class CCallApi { ...
using ND.FluentTaskScheduling.Domain.interfacelayer; using ND.FluentTaskScheduling.Repository.Models; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; using EntityFramework.Extensions; using System.Linq.Expressions; ...
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; /* * Name: Abubakir Myrzaly * Date: 8/15/2017 * Description: BMI Calculator * Version 0.1 - Created ...
using System; namespace EventSystem { class Program { static void Main(string[] args) { new Program(); } EventSystem _eventSystem = new EventSystem(); Program() { Subscribe(); Publish(); } v...
namespace TaskNF.Migrations { using System; using System.Data.Entity.Migrations; public partial class updatedatabase : DbMigration { public override void Up() { RenameColumn(table: "dbo.BookAutors", name: "Book_IdBook", newName: "BookId"); RenameColumn(table:...
using System; namespace pascaltriangle_in_Csharp { class Program { public static void Main() { int n,c=1,space,i,j; // "i" is variable for rows // "j" is variable for index number in row // "n" is number of rows we want to display ...
namespace DEV_13 { //Class contain information about lead employer: salary and productivity. public class Lead { public int Salary { get; } = 3500; public int Productivity { get; } = 3700; } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ReflectionComponent : MonoBehaviour { [SerializeField] Vector3 ReflectPosition; private void OnTriggerEnter(Collider other) { if (other.gameObject.tag == "Bullet") { Bullet bullet = other...
 namespace PhonebookApplication { using System; using System.Collections.Generic; using System.Text; public class Entry : IComparable<Entry> { public SortedSet<string> entyPhones; private string name; private string nameLowerInvariant; public string Name { ...
using System; using System.Collections.Generic; namespace GrpcServer.Repository.DBModels { public partial class Users { public Users() { UserXroles = new HashSet<UserXroles>(); } public int Id { get; set; } public string Username { get; set; } publi...
using System.Threading.Tasks; using Grains; using Orleans; using ProxyPackets; using SocketProxy.Users; namespace ProxyCommands { [PacketCommand(typeof(GetUserNamePacket))] public class GetUserNameCommand : Command<GetUserNamePacket> { protected override async Task Execute() { ...
using System.Collections.Generic; using RESTfulAPI.ViewModel; namespace RESTfulAPI.Middleware.Interfaces { public interface IRole { public List<ViewRole> GetRoles(); public ViewRole GetRole(int id); public List<ViewRole> AddRole(List<ViewRole> roles); public List<ViewRole> U...
namespace cyrka.api.web.models.projects { public class JobInfo { public string JobTypeId { get; set; } public string JobTypeName { get; set; } public string UnitName { get; set; } public decimal RatePerUnit { get; set; } public uint Amount { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ProjectEvoscape.Buildings { public abstract class Building { string name; string type; int currentNumber; int maxNumberAllowed; int buildCost; int buildTime; ...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Bank.Controllers; using Bank.DataAccess; using Bank.Models; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Web.Routing; using System.Diagnostics; using Telerik.JustMock; namespace BankTest { [TestC...
namespace SimpleHttpServer.RouteHandlers { using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using Enums; using Models; using Utilities; public class FileSystemRouteHandler { public string BasePath { get; set; } public Htt...