text
stringlengths
13
6.01M
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VirtualDisk { /// <summary> /// 符号链接 /// </summary> [Serializable] class Symlink : Node { /// <summary> /// 链接的目标 /// </summary> public ...
#r "Microsoft.WindowsAzure.Storage" using System.Net; using System.Net.Http.Headers; using System.Threading.Tasks; using System.IO; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Blob; using MimeTypes; static string defaultPage = GetEnvironmentVariable("DefaultPage") ?? "index.html"; stati...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Exam.cs" company=""> // // </copyright> // <summary> // The exam. // </summary> // -------------------------------------------------------------------------------------------...
using System; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using System.Collections.Generic; using System.Xml.Li...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace d07_iterator { public class Monitor { private string id, name; private int price; private bool stock; //property pID public string pID ...
using System.Collections.ObjectModel; using System.Windows; using JabberPoint.Domain; namespace JabberPoint.View { public class SlideSectionViewModel : ViewModel { private ObservableCollection<FrameworkElement> _contentElements; private WpfContentBehaviourManager wpfContentManager = new WpfCo...
// Copyright (c) Adriano Ueda. All rights reserved. namespace FxCopDemo.Tests { using FxCopDemo; using Xunit; public class ConvertHelperTests { /// <summary> /// Converts the number to a string. /// </summary> /// <param name="input">The input number.</param> //...
using System; namespace Radish.Controllers { public interface IFileViewer { void InvokeOnMainThread(Action action); bool IsFileSupported(string filePath); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CoursIngesup.Class.Variables { class VariablesAnonymes { public string name; public string adress; public string town; public void TestVariablesAnonyme...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; namespace Goop.Linq { public static class EnumerableEx { public static IEnumerable<T> Once<T> (this T value) { yield return value; } public static int IndexOf<T> (this IEnumerable<T> source, T value,...
using UnityEngine; public enum WeaponNames { Dagger, Hammer, } [CreateAssetMenu(fileName = "WeaponSettings", menuName = "WeaponSettings", order = 0)] public class WeaponSettings : ScriptableObject { public WeaponNames weaponName; public float bsdmg = 20.0f; public float knockbackForce = 3f; pu...
using UnityEngine; using System.Collections; public class WraithIA : MonoBehaviour { [Space(10)] [Range(5f, 15f)] public float nearRange; [Range(5f, 15f)] public float farRange; [Range(0.5f, 100f)] public float speed; [Range(0.5f, 5f)] public float wakingTime; [Range(0f, 10f)] ...
namespace Bteam.Specifications { /// <summary> /// /// </summary> public static class CompositeSpecification { /// <summary> /// Ands the specified left. /// </summary> /// <typeparam name="T">The type of the domain entity.</typeparam> /// <param name="leftSp...
namespace ModelAndroidApp.ModelAndroid { using System; using System.Data.Entity; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using AppFiscal.Model.APP; public partial class ContextAppAndroid : DbContext { public ContextAppAndroid() : base("name...
using Microsoft.AspNet.Identity.EntityFramework; using System.ComponentModel.DataAnnotations; using System.Web.Mvc; using System.Data.Entity; using System.Data.Entity.Validation; namespace InventoryTrackingSystem.Models { public class ApplicationDbContext : IdentityDbContext<ApplicationUser> { ...
// Accord Neural Net 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 published ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="TechnologyHierarchy.cs" company="CGI"> // Copyright (c) CGI. All rights reserved. // </copyright> // ----------------------------------------------------------------------------...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Kers.Models.Entities.KERScore { public partial class CongressionalDistrict : IEntityBase { [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] pub...
namespace SCII { public enum AudioEncodingType { Ogg, Wav, } }
using HardwareInventoryManager.Models; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace HardwareInventoryManager.ViewModels { public class QuoteRequestViewModel { [Display(Name="Quote Request Item")] pub...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class MoneyController : MonoBehaviour { [SerializeField] Text label; [SerializeField] float startMoney; public float numMoney { get; private set; } void Start() { ...
// // 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; using System.Runtime.Serialization; using DotNetNuke.Services.Authentication.OAuth; #endregion namespace DotNetNuke.Authe...
using Microsoft.Bot.Builder.Integration; using Microsoft.Bot.Configuration; using System; using System.Collections.Generic; using System.Text; namespace Microsoft.Bot.Builder.Integration.AspNet.Core { public static class BotFrameworkOptionsExtensions { public static BotFrameworkOptions UseBotConfigura...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Assets.Scripts.RobinsonCrusoe_Game.GameAttributes.Inventions_and_Terrain; namespace Assets.Scripts.RobinsonCrusoe_Game.Cards.ItemCards.Collection { public class ItemCard_Sack : IItemCard {...
using System; using OpenQA.Selenium; using Selenite.Commands.Base; using Selenite.Extensions; using Xunit; namespace Selenite.Commands.Implementation { /// <summary> /// Checks if the selected dropdown is set to a particular option. /// </summary> public class IsDropdownSelectedCommand : SingleSelector...
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 BUS; using DevExpress.XtraGrid.Views.Grid; using ControlLocalizer; namespace GUI { p...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace NetworkToolkit.Tests { internal sealed class TricklingStream : TestStreamBase { private readonly Stream _baseStream; pri...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; namespace MKViewModel { public class BattleGround : IBattleGround { private List<IPlayer> players; private ObservableCollection<IMageKnight> activeMageKnights; pr...
using System; using System.Diagnostics; using System.Drawing; using System.Drawing.Imaging; using System.IO; using Emgu.CV; using Emgu.CV.CvEnum; using Emgu.CV.Structure; using ImageMagick; namespace ImageLibTest { public class EmguLibTester : LibTester { public override string LibName =...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Norm; using Photoshop.Common; namespace Photoshop.DataAccess { internal class MongoSession<T> : IDisposable { private readonly IMongo provider; public MongoSession() { this.provider...
using Security.Data; using System.Collections.Generic; using System.Threading.Tasks; namespace Security.Classes { public interface IParkrunService { List<Parkrun> GetAllParkruns(); List<Parkrun> GetParkrunsByYear(int year); Task<int> CreateParkrun(Parkrun parkrun); Parkrun GetParkunById(int id); Task<int>...
using System; using System.Collections.Generic; using System.Linq; using W3ChampionsStatisticService.CommonValueObjects; namespace W3ChampionsStatisticService.W3ChampionsStats.HourOfPlay { public class HourOfPlayPerMode { public GameMode GameMode { get; set; } public List<HourOfPlay> PlayTimePe...
// // 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; using System.Web.UI; using System.Web.UI.WebControls; using DotNetNuke.Common; using DotNetNuke.Entities.Modules.Actions; u...
using System; using System.Collections.Generic; namespace TableTool { public class Character_Char : LocalBean { public int CharID { get; private set; } public int TypeID { get; private set; } public string ModelID { get; private set; } public float BodyScale { get; private s...
using EkwExplorer.Core; using EkwExplorer.Persistence.Entities; namespace EkwExplorer.Persistence.SQLite; internal class SqlQueries : ISqlQueries { public SqlQueries(PersistenceConfiguration configuration) { AddBook = CreateInsertQueryForEntity<BookEntity>(configuration.BookTable); IsAnyNotF...
using MarsRoverProject.Contracts; using MarsRoverProject.Contracts.Data; using MarsRoverProject.Domain; using MarsRoverProject.Managers; using MarsRoverProject.Persistance; using MarsRoverTests.Poco; using MarsRoverTests.Theory; using System; using Xunit; namespace MarsRoverTests { public class RoverManagerTests ...
using System; using UnityEngine; namespace RO { [CustomLuaClass] public class SkyboxCamera : LuaGameObject { public Skybox skybox; public Material skyboxMaterial { get; set; } protected override void Awake() { Material material = this.skybox.get_material(); if (null != material) { t...
using System; using System.Threading; using System.Threading.Tasks; using Domain; using MediatR; using Persistence; using Application.Core; namespace Application.Acitivities { public class Delete { public class Command: IRequest<Result<Unit>> { public Guid id; public Com...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SurpriseEmotion : IEmotion { private Hashtable controllers; public SurpriseEmotion(Hashtable controllers) { this.controllers = controllers; } public void Apply(float intensity) { GameOb...
using System; using System.IO; using System.Reflection; namespace Model.Resource { /// <summary> /// Summary description for Resource. /// </summary> public class Resource { private static Resource _resource = new Resource(); private Resource() { // // TODO: Add constructor logic here // } pu...
using ReusableWebAPI.Auth; using Newtonsoft.Json; using RepositoryLogic; using RepositoryLogic.BaseEntity; using RepositoryLogic.BaseLogic; using System; using System.Reflection; using System.Security.Claims; using System.Web.Http; using System.Web.Http.Cors; namespace ReusableWebAPI.Controllers { [EnableCors(ori...
using System.Collections.Generic; namespace LordG.Tools.Extensions { public static class CollectionExt { public static List<(T1,T2)> ToList<T1,T2>(this Dictionary<T1,T2> dict) { var l = new List<(T1, T2)>(); foreach (var d in dict) l.Add((d.Key, d.Value)...
namespace SCII { public enum ButtonState { Pressed, Released } public enum Direction { RotateLeft, RotateRight } }
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using RecipeLibrary.MongoDB.Ingredients; using System.Net.Http; namespace RecipeLibrary.Configuration { public class Startup { public ServiceProvider ServiceProvider { get; set...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BindSourse { class Man { public Man() { } public Man(string str) { Name = str; } public Man(string str, int iNum) { ...
using System.Data.SqlClient; using MongoDB.Bson; using Mssql2Mongo.models; namespace Mssql2Mongo { internal class ZorgTogHonorariumDeelBSegment : Tarief { public ZorgTogHonorariumDeelBSegment(SqlDataReader reader2) { } public override BsonDocument completeJSON(Bs...
using System; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; namespace Tff.Panzer.Models.Geography { public c...
using System; using System.Collections.Generic; using System.Reflection; using Entitas; namespace Architecture.Entitas { public static class GenericComponentsLookup<T> where T : Entity { private const string ENTITY = "Entity"; private const string COMPONENTS_LOOKUP = "ComponentsLookup"; ...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AdifLog { // trival logbook. // Each QSO is a LogEntry. public class LogBook : IEnumerable<LogBook.LogEntry> { static double[] bandEdges = {0,...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Doppler { public class DopplerEmitter : MonoBehaviour { public static List<DopplerListener> listeners; //Speed of sound in air at 15°C private float celerity = 340f; public Vector3 positi...
using System.Net.Mail; namespace Utility.Email { public interface ISmtpClientFactory { System.Net.Mail.SmtpClient SmtpClient { get; } bool Send(MailMessage mailMessage); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.ServiceModel; using System.Data.SqlClient; namespace BLL集团客运综合管理.FrequencyManager { [ServiceContract] class NEWFrequencyUpdate { DALPublic.DALMethod myDAL = new DALPublic.DALMetho...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; 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 UnityEngine; using System.Collections; using System; public abstract class PlayerManager : MonoBehaviour, IGame, IPlayerDeath { public abstract void OnGameSetup(); public abstract void OnGameStart(); public abstract void OnGameEnd(); public abstract void OnRoundSetup(); public abstract v...
using System; using System.Collections.Generic; using System.Text; using Xunit; using DinoDiner.Menu; namespace MenuTest.Drinks { public class SodasaurusTest { //Can set each flavor [Fact] public void ShouldBeAbleToSetFlavorToCola() { Sodasaurus s = new DinoDiner.Me...
 namespace Yeasca.Requete { public interface IMessageRequete { } }
using System; using LeetCode.Algorithm.Easy; using LeetCode.Algorithm.Hard; using LeetCode.Algorithm.Medium; namespace LeetCode { class Program { static void Main(string[] args) { Console.WriteLine(ClimbingStairs.ClimbStairsDP(3)); Console.WriteLine(HouseRobber.Rob(new ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace A2CourseWork.Classes { class GroupDB { Database db; public GroupDB(Database db) { this.db = db; } public int getANu...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using Utility; using Uxnet.Com.Properties; using Uxnet.ToolAdapter.Common; namespace Uxnet.Com.Helper.DefaultTools { class PdfUtility : IPdfUtility { static PdfUtility() ...
using ComputerBuilderClasses.Contracts; namespace ComputerBuilderClasses.SystemComponents { public class Cpu128Bit : BaseCpu, ICentralProcessingUnit { private const int Bit128Size = 2000; public Cpu128Bit(byte numberOfCores) : base(numberOfCores, Bit128Size) { } ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace CMS_Tools { public partial class Dashboard : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) ...
using System.Net; using ETravel.Coffee.DataAccess.Interfaces; using ETravel.Coffee.DataAccess.Repositories; using ETravel.Coffee.Service.Dtos; using Funq; using ServiceStack.WebHost.Endpoints; using ServiceStack.WebHost.Endpoints.Formats.MessagePack; namespace ETravel.Coffee.Service { public class CoffeeAppHost : Ap...
using UnityEngine; namespace TypingGameKit.AlienTyping { /// <summary> /// Tracks the player score through the level. /// </summary> public class ScoreUI : MonoBehaviour { [SerializeField] private UnityEngine.UI.Text _accuracyDisplay = null; [SerializeField] private Unity...
using UnityEngine; using System.Collections; public class Player { private string name; private float increm; private float readiness; public Player(string name, float increm, float readiness) { this.name = name; this.increm = increm; this.readiness = readiness; } ...
namespace DRYStudentsOrderingAfter { public class Student { public int Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public int Age { get; set; } public double Mark { get; set; } public int Participations { get; ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="NotEmptyValidationRule.cs" company="Soloplan GmbH"> // Copyright (c) Soloplan GmbH. All rights reserved. // Licensed under the MIT License. See License-file in the project root fo...
using FileTransporter.FileSimpleSocket; using Microsoft.Win32; using System.Windows; using System.Windows.Controls; namespace FileTransporter.Panels { public partial class ServerPanel : SocketPanelBase { public ServerPanel(ServerSocketHelper socket) { Socket = socket; V...
using System; using System.Reflection; using System.Dynamic; using System.Collections.Generic; public class Class1 { public static dynamic ToExpando(Type t, Object o) { dynamic Properties = new ExpandoObject(); var expandoDictionary = Properties as IDictionary<string, object>; PropertyI...
using System; namespace Yasl { public class SerializationException : Exception { public SerializationException(string message) : base(message) { } public SerializationException(string message, Exception innerException) : base(message, innerException) ...
using Newtonsoft.Json.Linq; namespace Im.Access.GraphPortal.Graph { /// <summary> /// Encapsulates a Graph-QL statement that will be executed by the /// Graph-QL processing engine /// </summary> public class GraphQlQuery { /// <summary> /// Gets or sets the query to be executed...
using System; using System.ComponentModel; using System.Web.Mvc; namespace Logs.Web.Models.Nutrition { public class NutritionViewModel { public NutritionViewModel() { } public NutritionViewModel(global::Logs.Models.Nutrition nutrition, DateTime date) { if ...
using System; namespace BikeDataProject.API.Models { /// <summary> /// Contains the attributes for the publishment of data. /// </summary> public class PublishData { /// <summary> /// The total number of rides. /// </summary> public long TotalRides {get;set;} ...
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Test scene reference controller; /// </summary> public class TSRC : IGRC { public static TSRC TSIS; //Test scene instance; public Transform Body_TRANS; public Transform Camera_TRANS; public ControllerI...
using System; using Psub.Domain.Abstract; namespace Psub.Domain.Entities { public class CatalogLike : Base { public virtual string ObjectType { get; set; } public virtual int ObjectId { get; set; } public virtual string UserName { get; set; } public virtual string UserGuid { ge...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Data; using System.Windows.Interac...
using System; using System.Windows.Forms; namespace AllNameToTxt { public partial class Developer : Form { public Developer() { InitializeComponent(); } private void textBoxName_Click(object sender, EventArgs e) { try { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using AgentStoryComponents.core; namespace AgentStoryComponents.extAPI { public class DiceGameData { public int id { get; set; } public string tx_id { get; set; } public string alias...
using System.Collections; using System.Collections.Generic; using UnityEngine; public interface IPlayerUI { public void UpdateHealth(float health); public void UpdateArmor(float armor); public void UpdateReload(float reload); public void UpdateAmmo(float ammo, int count); public void UpdateType(We...
using TreeStore.Model; using System.Linq; using Xunit; namespace TreeStore.PsModule.Test { public class KosmographNavigationCmdletProviderTest : TreeStoreCmdletProviderTestBase { #region Test-Path /Entities, /Tags, /Relationships [Theory] [InlineData("Tags")] [InlineData("Enti...
namespace FileSearch { public delegate void BeginSearchEventHandler(object sender, BeginSearchEventHandlerArgs args); }
namespace KompasKeyboardPlugin { /// <summary> /// Перечисление типов клавиатуры. /// </summary> public enum KeyboardType { Synth = 0, Piano } }
using System; using System.Collections.Generic; using System.Linq; using AgGateway.ADAPT.ApplicationDataModel.ADM; using AgGateway.ADAPT.ApplicationDataModel.Common; using AgGateway.ADAPT.ApplicationDataModel.Products; namespace ADAPT_Sample_App { public class AdaptDataModelProcessor { public void Pro...
using System; namespace CompressionStocking { class Program { static void Main(string[] args) { ICompressionCtrl AirComp = new AirCompression(); IStockingCtrl Stocking = new StockingCtrl(AirComp); } } }
using UnityEngine; using System.Collections; public class TurnOffLights : MonoBehaviour { public PlayerInArea area; public PlayerStatus playerFloor; // Use this for initialization void Start () { GameObject platformObject = GameObject.Find("hiddenElevatorTrigger"); area = platformObject.GetComponent<Playe...
using SQLite; namespace Tekstomania.Mobile.Core.Models { [Android.Runtime.Preserve(AllMembers = true)] public class SavedSong { [PrimaryKey, AutoIncrement] public int ID { get; set; } public string Json { get; set; } } }
using System; using System.Runtime.Serialization; namespace CloudinaryDotNet.Actions { [DataContract] public class TransformResult : BaseResult { [DataMember(Name = "message")] public string Message { get; protected set; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.Audio; public class PlayerMove : MonoBehaviour { //controls the speed in which you move private float speed; [SerializeField] private float normalSpeed; [SerializeField]...
using ATSBackend.Domain.Entities; using ATSBackend.Application.Interfaces; using ATSBackend.Domain.Interfaces.Services; using System.Collections.Generic; namespace ATSBackend.Application.Services { public class VagaApplication : ApplicationBase<Vaga>, IVagaApplication { private readonly IVagaService _...
using Dentist.Models; using Dentist.Models.Doctor; using Dentist.Models.Patient; using Microsoft.Ajax.Utilities; namespace Dentist.Migrations { using System; using System.Data.Entity; using System.Data.Entity.Migrations; using System.Linq; internal sealed class Configuration : DbMigrationsConfigur...
using ClassLibrary1; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Xml.Linq; namespace WebApplication5.user { public partial class GoodsForm : System.Web.UI.Page { static String keyword = ""; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BGController : MonoBehaviour { public float scrollSpeed, tileSize; private float speed; private Vector3 start; void Start() { start = transform.position; speed = -scrollSpeed * PlayerPr...
using UnityEngine; using System.Collections; public class UICrownSelect : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } public void OnClaim() { CanvasScript cs = SceneManager.Instance.GetCanvasByID(...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hearthstone_helper { class OpponentList { readonly List<Opponent> _opponentsList; public OpponentList() { _opponentsList = new List<Opponent>(); ...
using AutoFixture; using bank_account_ddd_studies.domain.command; using bank_account_ddd_studies.domain.commandHandler; using bank_account_ddd_studies.domain.entity; using bank_account_ddd_studies.domain.repository; using FluentAssertions; using Moq; using Xunit; namespace Tests.domain.commandHandler { public cla...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BlogApp.Data; namespace BlogApp.Business { public class Post { public Guid Insert(string text, Guid userId) { using (var context = new BlogDBContext()) ...
using Microsoft.AspNetCore.Mvc; using SeattleRPG.Models; using System.Collections.Generic; using System; namespace SeattleRPG.Controllers { public class ScenarioController : Controller { [HttpGet("/scenarios/{id}")] public ActionResult Index(int id) { Dictionary<string, object> model = new Dictio...
using System.ComponentModel.DataAnnotations; namespace Dating.API.Dtos { public class UserForRegisterDto { [Required] public string Username { get; set; } [Required] [StringLength(8,MinimumLength =4, ErrorMessage ="You must specify password bwtween 4 and 8 characters")] ...
using UnityEngine; using System.Collections; using System.Collections.Generic; using System; using System.Xml.Serialization; using System.IO; public enum TIER { Toddler = 1, Child, Teenager, Young_Adult, Adult_1, Adult_2, Adult_3, Adult_4, Adult_5, Elder }; public enum CLASS { None = 0, Medicial = 1, Scientis...
using Mosa.Kernel.x86; using Mosa.Runtime; using System; namespace Mosa.External.x86 { public static class Memory { public static MemoryBlock GetPhysicalMemory(Pointer address, uint size) { var start = (uint)address.ToInt32(); for (var at = start; at < start + size; at...
using System; using KompasKeyboardPlugin; using NUnit.Framework; using Kompas6API5; namespace UnitTests.KompasKeyboardPlugin { /// <summary> /// Модульное тестирование класса CommutationCreator. /// </summary> [TestFixture] public class CommutationCreatorTest { /// <summary> //...