text
stringlengths
13
6.01M
namespace BettingSystem.Infrastructure.Identity.Services { using System.Threading.Tasks; public interface IJwtGenerator { Task<string> GenerateToken(User user); } }
using System; using System.Collections.Generic; using System.Linq; using UcenikShuffle.Common.Exceptions; namespace UcenikShuffle.Common { public class LvCombinationProcessor { public IEnumerable<LvCombination> LvCombinations { get { if (_lvCombinations == null) { _lvCombinations = GetLvCombi...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyTypeD : MonoBehaviour { public float bulletSpeed = 500; public bool[] fireActive; // Up Down Left Right public Transform[] firePoint; // Up Down Left Right public GameObject bulletPrefab; public fl...
using UnityEngine; public class objectRotateToObject : MonoBehaviour { public GameObject observeObject; public Vector3 offset; void Update() { this.transform.position = new Vector3(this.transform.position.x + offset.x,observeObject.transform.position.y + offset.y,this.transform.position.z...
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using Stiig; public partial class user : System.Web.UI.Pa...
using Pe.Stracon.SGC.Aplicacion.TransferObject.Request.Base; using Pe.Stracon.SGC.Aplicacion.TransferObject.Response.Base; using Pe.Stracon.SGC.Infraestructura.CommandModel.Contractual; using Pe.Stracon.SGC.Infraestructura.Core.Context; using Pe.Stracon.SGC.Infraestructura.QueryModel.Contractual; using System; using S...
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Query; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using WebApplication5.Interfaces; using WebApplication5.Models; namespace WebApplication5.Repository { public class ProductRepository : I...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FieldMapping { internal class FieldMapping<O,Q> : FieldMapBase where O : class { internal Func<O,Q,Q> filter {get;set; } internal bool defset {get;set; } internal Q d...
using Anywhere2Go.DataAccess.Entity; using System; using System.Collections.Generic; using System.Data.Entity.ModelConfiguration; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Anywhere2Go.DataAccess.MySqlEntity { public class TRAdvertise { public int TRAdvertiseID { get...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using FXB.Data; namespace FXB.Common { public enum CbSetMode { CBSM_Employee = 0, //员工 CBSM_Department = 1 //部门 } class QtU...
using System.Data; using System.Web.Mvc; using com.Sconit.Web.Util; using Telerik.Web.Mvc; using com.Sconit.Web.Models.SearchModels.SI.SAP; using System.Data.SqlClient; using System; using System.Linq; using com.Sconit.Web.Models; using System.Collections.Generic; using com.Sconit.Entity.SAP.TRANS; using com.Sconit.Se...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Dokan; using System.IO; using System.Collections; namespace GitHubFS { class GitHubFSDokan : DokanOperations { public GitHubFS git; public GitHubFSDokan(GitHubFS git) ...
using System; namespace Ingentum.Instructors.Model { public class Instructor { public Guid Id { get; set; } public string FirstName { get; set; } public string MiddleName { get; set; } public string LastName { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if(!IsPostBack) { Hidden1.Value = "1"; ...
using Cs_Gerencial.Dominio.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cs_Gerencial.Dominio.Interfaces.Servicos { public interface IServicoAtribuicoes: IServicoBase<Atribuicoes> { } }
namespace gView.Server.Services.Security { public class AccessTokenAuthServiceOptions { public string Authority { get; set; } public string AccessTokenParameterName { get; set; } public bool AllowAccessTokenAuthorization { get; set; } } }
/* * Author: Generated Code * Date Created: 22.03.2013 * Description: Represents a row in the tblProtokolPaymentType table */ namespace HTB.Database { public class tblProtokolPaymentType : Record { #region Property Declaration [MappingAttribute(FieldType = MappingAttribute.FIELD_TYPE_ID, FieldAutoNum...
using System; using System.Linq; using System.Reflection; using System.Text; // ReSharper disable once CheckNamespace namespace Aquarium.Util.Extension.ReflectionExtension { public static class SignatureExtension { /// <summary>A Type extension method that gets short declaraction.</summary> //...
using System.Xml.Serialization; using Witsml.Data.Measures; namespace Witsml.Data { public class WitsmlStnTrajValid { [XmlElement("magTotalFieldCalc")] public Measure MagTotalFieldCalc { get; set; } [XmlElement("magDipAngleCalc")] public Measure MagDipAngleCalc { get; set; } [XmlElement...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FoodMachine { public enum SingleGoodType { Drink, Food} class SingleGood:Good { public SingleGoodType type { get; private set; } public List<Component> ...
using System.Net.NetworkInformation; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using pet_hotel.Models; using Microsoft.EntityFrameworkCore; namespace pet_hotel.Controllers { [ApiController] ...
using System; using static System.Console; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RecoveringDemo { class Patient : IRecoverable { public void Recover() { WriteLine("I'm the Patient...Hook me up do...
using System; using System.Collections.Generic; using System.Numerics; using System.Text; namespace BassClefStudio.GameModel.Input.Basic { /// <summary> /// An <see cref="IInput"/> detected from the keyboard (virtual or physical), containing information about the key that was pressed. /// </summary> p...
using System; using System.Collections.Generic; namespace EPI.DynamicProgramming { /// <summary> /// You are given a 2d array of integers, A and a sequence of integers, S. /// S occurs in A if you can start from any entry in A and traverse neighboring entries in A to /// find all elements in S. /// Neighboring ...
using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using DtCms.BLL; namespace DtCms.Web { public partial class index : DtCms.Web.UI.BasePage { protected void Page_Load(object sender, EventArgs e) { ...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class AIPathCells : MonoBehaviour { public List<GameObject> doors = new List<GameObject>(); void OnTriggerEnter(Collider myCollider) { if(myCollider.tag =="AIPathCell") { doors.Add(myCollider.gameObject); } } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Exten...
using System.Windows; using SpatialEye.Framework.Client; using SpatialEye.Framework.Geometry.CoordinateSystems; using SpatialEye.Framework.Geometry; using SpatialEye.Framework.Features; using SpatialEye.Framework.Maps; using System.Linq; using System.Globalization; namespace Lite { public class LiteFactibilida...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Data; using System.Data.SqlClient; using WebApi.Models; using System.Configuration; namespace WebApi.Controllers { public class TransactionController : ApiController ...
using Microsoft.Win32; using System; using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; namespace Client.Helpers.Utils { public class KeyboardHelper { [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)] private static extern IntPtr Fi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _1._5_Throw { class Program { /* * https://docs.microsoft.com/pt-br/dotnet/csharp/language-reference/keywords/throw * Quando você lança apenas um throw está r...
// Copyright (c) Bruno Brant. All rights reserved. using System; namespace RestLittle.UI.Presenters { /// <summary> /// Configuration for <see cref="ITrayIconView"/>. /// </summary> public interface ITrayIconViewConfiguration { /// <summary> /// Gets the delay between consecutive warnings. /// </summary> ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SolidPrinciples.InterfaceSegregation { interface ICreate { void CreateTask(); } interface IAssign { void AssignTask(); } interface...
using System; using System.Data; using Microsoft.Office.Interop.Word; using System.IO; using System.Configuration; namespace CIPMSOfficeObjects { public class CustomWord { private Application _wordApp = new Application(); private object _oMissing = System.Reflection.Missing.Value; ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Text.RegularExpressions; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using UdpSimulator.Components; using UdpSimulator.Models; using UdpSimulator.Utilities; namespace UdpSimulator.ViewModels ...
using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Xml.Linq; namespace Atc.CodeDocumentation { internal static class XmlDocumentCommentParser { internal static XmlDocumentComment?[] ParseXmlComment(XDocument xDoc...
using System; using System.Collections.Generic; using System.Threading.Tasks; using BlazorShared.Models.Appointment; using Microsoft.Extensions.Logging; namespace FrontDesk.Blazor.Services { public class AppointmentService { private readonly HttpService _httpService; private readonly ILogger<AppointmentSe...
using UnityEngine; namespace Assets.Scripts.Buildings.Controller { public class BuildingCreator : MonoBehaviour { public GameObject[] buildingVarieties; //Building listesi private static BuildingCreator _instance;//GameManager için bir singleton public static BuildingCreator Instance ...
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Choice represents a unique player's choice. /// </summary> public class Choice { public static int suitCounter, valueCounter, colorCounter = 0; public static int totalPoints = 0; public static int orderCounte...
using NUnit.Framework; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net; using System.Runtime.InteropServices; using System.Text; using System.Threading; using Vanara.Extensions; using Vanara.InteropServices; using static Vanara.PInvoke.IpHlpApi; using stati...
using EmberSqlite.Integration; using Microsoft.EntityFrameworkCore; using OsuSqliteDatabase.Model; using System; using System.Collections.Generic; using System.Text; namespace OsuSqliteDatabase.Database { public class OsuDatabaseContext : EmberDbContext { public DbSet<OsuDatabase> OsuDatabases { get; ...
using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Routing; using WebAPI.Models; namespace WebAPI.Controllers { [ApiController] [Route("api/[controller]")] public ...
using System; using System.ComponentModel.DataAnnotations; using Microsoft.Practices.ServiceLocation; using Profiling2.Domain.Contracts.Tasks.Screenings; using Profiling2.Domain.Scr; using Profiling2.Web.Mvc.Areas.Screening.Controllers.ViewModels; namespace Profiling2.Web.Mvc.Validators { [AttributeUsage(Attribut...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public static class GUIHandler { private static List<bool> selectedObjectList = new List<bool>(); //public static int mySelectedObjectID; public delegate void MyGUIDelegate<T>(List<T> item...
using System; using System.Globalization; namespace Sfa.Poc.ResultsAndCertification.CsvHelper.Common.CsvHelper.Helpers { public static class ValidationExtensions { public static bool IsDateTime(this string value) { return DateTime.TryParse(value, out _); } public s...
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Senai.Peoples.WebAp.Domains; using Senai.Peoples.WebAp.Interfaces; using Senai.Peoples.WebAp.Repositories; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Senai.Peoples.WebAp.Controllers {...
//using WeifenLuo.WinFormsUI.Docking; //namespace gView.Framework.system.UI //{ // public partial class ToolWindow : DockContent // { // private IDockableWindow _window; // public ToolWindow(IDockableWindow window) // { // InitializeComponent(); // _window = window; /...
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; //TODO: Add other using statements here namespace com.Sconit.Entity.MRP.ORD { [Serializable] public partial class ActiveOrder : EntityBase { #region O/R Mapping Properties ...
using System.Data.Entity; using Microsoft.Extensions.Logging; using Moq; using NUnit.Framework; using ODL.ApplicationServices; using ODL.ApplicationServices.DTOModel; using ODL.DataAccess; using ODL.DataAccess.Repositories; using ODL.DomainModel.Adress; [TestFixture] public class AdressServiceTest { protected ODL...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; [Serializable] public class Cue : IComparable<Cue> { public int tick = 0; public int tickLength = 120; public int pitch = 0; public int velocity = 20; public Vector2 gridOffset; public int handType = 0; ...
namespace Students.Models { public class Grade { public int StudentNumber { get; set; } public string Lesson { get; set; } public decimal Score { get; set; } } }
using DFC.ServiceTaxonomy.GraphSync.CosmosDb; using DFC.ServiceTaxonomy.GraphSync.CosmosDb.Commands; using DFC.ServiceTaxonomy.GraphSync.CosmosDb.Interfaces; using DFC.ServiceTaxonomy.GraphSync.Interfaces; using DFC.ServiceTaxonomy.GraphSync.Models; using Microsoft.Extensions.DependencyInjection; namespace DFC.Servic...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace HeatNeuralNetwork { public partial class InputInformation : Form { MainWindow ...
using ResizetizerNT_svg_log_issue.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ResizetizerNT_svg_log_issue.Services { public class MockDataStore : IDataStore<Item> { readonly List<Item> items; public MockDataStore() ...
using CarsIsland.WebApp.Common; using CarsIsland.WebApp.Data; using CarsIsland.WebApp.Extensions; using CarsIsland.WebApp.Services.Interfaces; using Microsoft.Extensions.Configuration; using Microsoft.Identity.Web; using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Ne...
using BattleEngine.Utils; namespace BattleEngine.Records { public class BattleOwnerRecord { public int id; public string name; public int race; public Vector<BattleUnitRecord> units; public Vector<BattleSkillRecord> skills; public Vector<BattleModifierRecord> mo...
using JhinBot.DiscordObjects; using System.Collections.Generic; namespace JhinBot.Database { public interface ISelfAssignedRoleRepository : IRepository<SelfAssignedRole> { bool DeleteByGuildAndRoleId(ulong guildId, ulong roleId); IEnumerable<SelfAssignedRole> GetFromGuild(ulong guildId); }...
using UnityEngine; using System.Collections; public class Loading : MonoBehaviour { [SerializeField] private Canvas canvas; [SerializeField] private ProgessBar progress; public void Show(AsyncOperation operation = null) { canvas.gameObject.SetActive(true); progr...
using System; using System.Linq; using System.Collections.Generic; using ticketarena.lib.model; namespace ticketarena.lib.services { public class VendService : IVendService { private List<Coin> _coins; private ICoinService _coinService; public VendService() { _coin...
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] [CreateAssetMenu(fileName = "Music_Configuration", menuName = "Music_Configuration")] public class Music_Template : ScriptableObject { public Canciones[] listaCanciones; } [System.Serializable] public class Canci...
using Mercadinho.Model; using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Mercadinho.DAO { class CarrinhoProdutoDAO { private Model.CarrinhoProdutos carrinhoprodutos; ...
using System; namespace Faker.ValueGenerator.PrimitiveTypes.LogicalType { public class BooleanGenerator : IPrimitiveTypeGenerator { private static readonly Random random = new Random(); public Type GenerateType { get; set; } public object Generate() { var num = ran...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using static Meerkats_Win.File_json_info; namespace Meerkats_Win.Class { class Func { // stringhex(md5) => byte[] public byte[] HexStrTobyte(string hexString) ...
using Newtonsoft.Json; using System; namespace Model.IntelligenceDiningTable { /// <summary> /// 用户详细信息表 /// </summary> [Serializable] public partial class E_Personnel { [JsonProperty("id")] public int userid { get; set; } /// <summary> /// 员工工号 /// </summary> pu...
using System.Collections.Generic; using System.Linq; using LTDemoData; using LTDemoData.Models; using LTDemoService.Services; using Moq; using Xunit; namespace LTDemoServiceTests { public class PhotoServiceTests { [Fact] public void GetPhotoOptions_ShouldEqualTestPhotos() { ...
using Ninject.Modules; using Slayer.Models; using Slayer.Services; using Slayer.ViewModels; namespace Slayer.IoC { public class RunTimeModule : NinjectModule { public override void Load() { Bind<IViewModel>().To<ViewModel>().InSingletonScope(); Bind<IStorageService>().T...
using PersonasPhone.DAL; using PersonasPhone.Entidades; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace PersonasPhone.BLL { public class PersonaBLL { public static boo...
/******************************************* * * This class should only control Modules that involves Player Ground Controls * NO CALCULATIONS SHOULD BE DONE HERE * *******************************************/ using UnityEngine; using DChild.Gameplay.Objects; using BP12.Events; using System; namespace DChild....
using EduHome.Models.Entity; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace EduHome.ViewModels { public class PostDetailVM { public Post Post { get; set; } public List<Category> Categories { get; set; } public List<Post> Lates...
using System.Data; namespace Crystal.Plot2D.DataSources { /// <summary> /// Data source that extracts sequence of points and their attributes from DataTable. /// </summary> public class TableDataSource : EnumerableDataSource<DataRow> { public TableDataSource(DataTable table) : base(table.Rows) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; using ConsoleApp2.Model.Object; using ConsoleApp1.Domain; namespace ConsoleApp2.Model.Client { public class ClientImpl1 : IClient { public int ClientCommande { g...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using com.Sconit.Entity.SYS; //TODO: Add other using statements here namespace com.Sconit.Entity.FMS { public partial class FacilityOrderMaster { #region Non O/R Mapping Properties public IList<FacilityOrderDetail> F...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using System.Linq; using Discord.Commands; using Discord.WebSocket; namespace FifthBot.Resources.Preconditions { public class RequireChannelAttribute : PreconditionAttribute { private readonly string _chan...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CreatingAfarm { class horse { static string speak = "heewbrraa"; public void SpeakNow() { Console.WriteLine("This is the horse Salty "); ...
using Microsoft.EntityFrameworkCore; using TCBlazor.DAL; using TCBlazor.Models; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace TCBlazor.BLL { public class NacionalidadesBLL { public static bool Guardar(Nacionalidades naciona...
using System; namespace FactoryMethod.Employes { public static class EmployeeFactory { public static Employee CreateEmployee(Employess employeeType) { Employee employee = null; switch (employeeType) { case Employess.Nurse: ...
using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.ModelConfiguration; using ODL.DomainModel.Organisation; namespace ODL.DataAccess.Mappningar { public class ResultatenhetMappning : EntityTypeConfiguration<Resultatenhet> { public ResultatenhetMappning() { ...
using Autofac; namespace Ricky.Infrastructure.Core.ObjectContainer.Autofac.DependencyManagement { public interface IAutofacDependencyRegistrar { void Register(ContainerBuilder builder, ITypeFinder typeFinder); int Order { get; } } }
using UnityEngine; public class LockMouse : MonoBehaviour { void Awake () { LockCursor(); } void Update () { LockCursor(); } public void LockCursor () { Cursor.visible = false; Cursor.lockState = CursorLockMode.Locked; } }
using System; using System.ComponentModel.DataAnnotations; namespace Cognology.FlightBookingApp.Models { public class BookingWithFlightInformationDto { public int BookingId { get; set; } [Required] public string PassengerName { get; set; } [Required] public DateTime D...
namespace MusicStore.Services { public class JwtConfiguration { public string JwtSecretKey { get; set; } } }
namespace KartSystem.Presenters { public enum SearchCriterion { None, Id, Name, Articul, Code, IdGood, Barcode, IdGoodGroup } }
#region copyright // ****************************************************************** // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, // INCLUDING BUT NOT LIMITED TO THE WARRANTIE...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class LevelController : MonoBehaviour { public int level; public Sprite[] levelBitmaps; //private MovePlayer mp; bool paused; // Use this for initialization void Start () { ...
using System.Collections.Generic; using System.Windows; using CaveDwellers.Core.Movement; using CaveDwellers.Core.TimeManagement; using CaveDwellers.Positionables; namespace CaveDwellers.Core { public interface IWorldMatrix : IWantToBeNotifiedOfGameTimeElapsedEvents { void Add(int x, int y, IPositionab...
using System; using System.Text.RegularExpressions; using System.Web.Script.Serialization; using System.Collections.Generic; using RainyDay.Models; namespace RainyDay { public class Algorithm { public string text; public string pattern; public string expr; /** Melakukan pengecekan...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace Bank.Models { public class Account { [Key] public int Id { get; set; } [Required] pub...
using BDBak.Helpers; using Quartz; using Quartz.Impl; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BDBak.Jobs { public class BackupJob { private ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Item : MonoBehaviour { [Header("Item Variables")] public string itemType; public float rotateSpeed = 10f; void Update() { transform.Rotate(transform.up, rotateSpeed * Time.deltaTime); } private void OnT...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Cofre : MonoBehaviour { public SlotInventario[] Inventario; public int CapacidadInventario; private void Awake() { CapacidadInventario = int.Parse(GestorDatos.DatosGenericos["Cofres"]["Espacios"][gameO...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using OpenQA.Selenium; using OpenQA.Selenium.Edge; using OpenQA.Selenium.Firefox; using OpenQA.Selenium.Support.UI; namespace SeleniumPrepare4Crawler { [TestClass] public class SearchTest { //[TestMethod] //public void TestM...
using NUnit.Framework.Constraints; namespace Parser.Models { public class TokenModel { public string Text { get; set; } public int Index { get; set; } public TokenModel(string text, int index) { Text = text; Index = index; } ...
using Microsoft.AspNet.SignalR; namespace Condor.Web.Hubs { public class ChatHub: Hub { public void SubmitMessage(string message) { PublishMessage(message); } private void PublishMessage(string message) { Clients.All.onMessagePublished(message);...
using System; public static class GlobalScope { public static int CUBE_SIZE = 16; public static int CUBE_OFFSET = -1; public static float SCRAMBLE_DELAY = .1f; public static float MOVE_TIME = 5f; }
using System; namespace hw1_j_oneill { class GamblersRuin { //Random object must be created at start of class to prevent RNG being seeded the same with each call Random rand = new Random(); //Tosscoin() simulates a random coin flip and //returns a true for heads or fal...
using UnityEngine; public class CellBehaviorBed : CellBehaviorOccupiable { public override void onNeighborChange(CellState triggererCell, Position triggererPos) { base.onNeighborChange(triggererCell, triggererPos); CellData air = Main.instance.tileRegistry.getAir(); if(triggererPos == th...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PropertiesIndexators { class Exc3 { private int[] arr; public Exc3(int num) { arr = new int[Math.Abs(num)]; for(int i = 0; i < arr.Lengt...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace mec.Model.Orders { public class FlowOrderViewModel { /// <summary> /// 工單編號 /// </summary> public string WorkNumber { get; set; } /// <summary> ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Ideal.Ipos.RealTime.Skat.Model; using Microsoft.AspNet.SignalR; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Collections.Concurrent; namespace Ideal.Ipos.RealTime.Skat.Controller { public class Gam...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _04.Formating_Numbers { class FormatingNumbers { static void Main() { short a = short.Parse(Console.ReadLine()); float b = float.Parse(Console.R...