text
stringlengths
13
6.01M
using System.Drawing; using System.Windows.Forms; namespace Com.Colin.Win.Customized { /// <summary> /// The <see cref="OvalTabDrawer"/> draws ovals for tabs. /// </summary> public class OvalTabDrawer : YaTabDrawer { /// <summary> /// Creates an instance of the <see cref="OvalTabDrawer"/> class. ...
namespace LoneWolf.Migration.Code { public class RandomNumberTable : GeneratorBase { public RandomNumberTable() : base( @"^.*<p class=""choice"" id=""(.*)"">.*([0-9])–([0-9]).*$", @".when(new RandomNumberIsNotBetween({1}, {2}).then(new DisableChoice(""{0}""))...
using System; using System.Collections.Generic; namespace com.Sconit.PrintModel.INV { [Serializable] public partial class PrintStockTakeMaster { #region O/R Mapping Properties public String StNo { get; set; } public String Region { get; set; } //是否需要扫描条码 public ...
using AutoMapper; using LongigantenAPI.Models; using ORM.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace LongigantenAPI.Profiles { public class ZipCodeProfile : Profile { public ZipCodeProfile() { //Create mapping b...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _2019Gamejam { public enum Scene { Title, Tutorial, GamePlay,//1 GamePlay1,//2 GamePlay2,//3 GameOver, GameClear, } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PackModel { class Placement { private int Pion1, Pion2, Pion3; public Placement(int P1, int P2, int P3) { this.Pion1 = P1; this.Pion2 = P2; this.Pion3 = P...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Windows.Forms; using DevExpress.XtraBars; using DevExpress.XtraReports.UI; using DevExpress.XtraReports.UserDesigner; using DevExpress.XtraTreeList; using DevExpress.XtraTreeList.Nodes; using Phenix.Core.Windows; namespac...
namespace CS.EntityFramework.Models { public class AuditLog { } }
using UnityEngine; using System.Collections; public class ButtonUI : MonoBehaviour { public static bool showUI; private RectTransform rectangle; // Use this for initialization void Start () { rectangle = gameObject.GetComponent<RectTransform> (); showUI = false; StartCoroutine (ShowButton (showUI)); } ...
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System; using System.Collections.Generic; using System.Globalization; using System.Text; namespace Sales.Models { public partial class WatsonMessage { [JsonProperty("input")] public Input Input { get; set; } [JsonProperty("...
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; //TODO: Add other using statements here namespace com.Sconit.Entity.MRP.TRANS { public partial class PurchasePlanMaster : EntityBase { public int Id { get; set; } public DateT...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; usi...
using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymb...
using System; using System.Linq; using Fingo.Auth.DbAccess.Models.Policies.Enums; using Fingo.Auth.DbAccess.Repository.Interfaces; using Fingo.Auth.Domain.Infrastructure.EventBus.Events.Policy; using Fingo.Auth.Domain.Infrastructure.EventBus.Interfaces; using Fingo.Auth.Domain.Policies.Factories.Actions.Interfaces; n...
using System; using System.Collections.Generic; using System.Text; namespace CarritoCompras.Modelo { public class DetallePago { public string numeroTarjeta { get; set; } public string fechaExpiracion { get; set; } public string codigoCVV { get; set; } public string email { get;...
using Source.Code.Utils; using System; using UnityEngine; namespace Source.Code.PlayerInput { public class PlayerInputSystem : MonoBehaviour { public LookPivot LookPivot { get; private set; } public event Action SpacePressed; public event Action Mouse0Pressed; public event Act...
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Media; namespace Waterskibaan { public class Logger { private List<Sporter> _visitors; private readonly Kabel _cable; public Logger(Kabel cable) { _visitors = new List<Sporter>(...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PizzaBezorgApp.Models { public class CurrentSession { public List<Bestelling> FollowedRoute; public BestellingController _currentRoute; ...
using System; using System.Runtime.InteropServices; namespace copy_svn_path { /// <summary> /// http://stackoverflow.com/a/13571530/847349 /// </summary> public static class Clipboard { [DllImport("user32.dll")] internal static extern bool OpenClipboard(IntPtr hWndNewOwn...
using System; using UnityEngine; namespace UnityAtoms.BaseAtoms { /// <summary> /// Different types of usages for an Atom List Reference. /// </summary> public class AtomListReferenceUsage { public const int LIST = 0; public const int LIST_INSTANCER = 1; } /// <summary> ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; public class FTheServer : NetworkBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { if(isServer) { // f the server ...
using Avalonia; using Avalonia.Input.Platform; using Avalonia.Threading; using ReactiveUI; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Reactive; using System.Reactive.Disposables; using System.Reactive.Linq; using System.Threading; using System.T...
using FluentValidation; using SciVacancies.WebApp.Commands; namespace SciVacancies.WebApp.Validation { public class CreatePositionCommandValidator : AbstractValidator<CreateVacancyCommand> { public CreatePositionCommandValidator() { RuleFor(c => c.Data.Name).NotEmpty(); } ...
#if false //#Ignore IDE状でエラー表示させ無くするために無効にしておく // 両端にスムーズに減衰するマージンを持つ範囲情報。 // Burst対応するために、全てStructで定義している using System; using Unity.Mathematics; using static Unity.Mathematics.math; using MIA = System.Runtime.CompilerServices.MethodImplAttribute; using MIO = System.Runtime.CompilerServices.MethodImplOptions; nam...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading; using System.Threading.Tasks; using Mojang.Minecraft.Protocol; using Mojang.Minecraft; using static System.Math; using static Mojang.Minecraft.Chat; using fNbt; using static TestConsol...
using System; using System.Collections.Generic; using System.Text; namespace ORM.Models { public class ZipCode { public int Id { get; set; } public string CityName { get; set; } //Constructor public ZipCode() { } public ZipCode(int id, string cityName) ...
using SA; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Settings : MonoBehaviour { // Start is called before the first frame update public static GameManager gameManager; private static ResourcesManager _resourceManager; public static ResourcesManager Ge...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class BlockGallery : MonoBehaviour { [Header("UI")] [SerializeField] private GameObject _HolderPanel; [SerializeField] private GameObject _BlockHolder; [Space] [SerializeField] private Image...
using System; using System.Collections.Generic; using DomainModel.Entity.product; using Infrostructure.Enums; namespace Repository.Repository.Read.Interfaces { public interface IProductRepositoryRead { public IEnumerable<Product> GetAllProducts(); public Product GetProductByProductNumber(int p...
using System; using System.Collections.Generic; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using AgentR.Client.SignalR; using MediatR; using Microsoft.AspNetCore.SignalR.Client; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace AgentR.Clien...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace ProjectWebServiceWebApi.Models { [Serializable] public class Log { private string time; private string id; private string alert; private string name; private string depart...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace newConsoleApp1 { class lab7 { public void Cw1(string orig, string copy) { FileInfo file = new FileInfo(orig); if(file.Exists) { ...
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 System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HW_4_WK_4 { class Program { static void Main(string[] args) { astrickCount(); // Calling the method } static void astrickCount() { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RopeSetupScript : MonoBehaviour { public Transform rope0; public BoxCollider ropeCollider; public Rigidbody ropeRigidbody; public HingeJoint ropeHingeJoint; public bool start; void OnDrawGizmosSelected() { if (start...
using Microsoft.Xna.Framework; using System.Collections.Generic; using Terraria; using Terraria.DataStructures; using Terraria.ID; using Terraria.ModLoader; namespace MrPlagueRaces.Common.Races._999996_Mushfolks { public class Mushfolk : Race { public override int? LegacyId => 6; public override str...
using StructureMap; using StructureMap.Configuration.DSL; using StructureMap.Pipeline; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Web; namespace Abhs.WinService.Ioc { public class StructureMapAdapter : IDependency, IDisposable { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using WxShop.Model; namespace WxShop.Fronted.Models { public class MainViewModel { /// <summary> /// 商品类别 /// </summary> public IList<ProductTypeModel> ProductTypes; /// <s...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace TCPServer { class Server { static List<ClientHandler> serverCH = new List<ClientHandler>(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace CC.Web.Api.Controllers { public class AccountController : Controller { [HttpGet] public ActionResult<string> AccessDenied(string returnUrl) { ...
using System; using System.Collections.Generic; using System.Text; namespace ShoppingCart { public class Tshirts : Shirt { public override double SizeValue(int ShirtSize) { return base.SizeValue(ShirtSize); } } }
using UnityEngine; namespace Thesis { public class Shutter : DrawableObject { public readonly FaceComponent parent; public readonly ShutterSide side; static private int angles; public BuildingMesh parentBuilding { get { return parent.parentBuilding; } } /*************** CONSTRUCTORS ***********...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using Android.Graphics; using Xamarin.Essentials; namespace Billetautomat.Services { public class Http...
using Xunit; namespace NStandard.Test { public partial class DpContainerTests { public class DpFib : DpContainer<int, int> { public override int StateTransfer(int n) { if (n == 0 || n == 1) return 1; else return this[n - 1] + this[n - 2];...
using System.Collections.Generic; public class EmployeeSalaryEqualityComparer : IEqualityComparer<Employee> { public bool Equals(Employee x, Employee y) { return x.Id.Equals(y.Id) && x.Salary.Equals(y.Salary); } public int GetHashCode(Employee obj) { return obj.Id.GetHashCode() ^ ...
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Forms; using System.Windows.Input; using System.Windows.Medi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Euler_Logic.Problems { public class Problem85 : ProblemBase { private Dictionary<ulong, ulong> _colCountsPerRow = new Dictionary<ulong, ulong>(); private ulong _maxColCount...
// Copyright (c) 2018 FiiiLab Technology Ltd // Distributed under the MIT software license, see the accompanying // file LICENSE or or http://www.opensource.org/licenses/mit-license.php. using System; using System.Collections.Generic; using System.Text; namespace FiiiChain.Entities { public class UserSetting ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace EasyDev.EPS { [AttributeUsage(AttributeTargets.Method)] public class EnsureLoginAttribute : Attribute { public EnsureLoginAttribute() { } } }
using DChild.Gameplay.Environment.Item; using Sirenix.OdinInspector; using Sirenix.OdinInspector.Editor; using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace DChildEditor.Gameplay.Environment.Item { [CustomEditor(typeof(SuspensionBridge))] public class Su...
using System; using System.Net; using StackExchange.Redis; using System.Threading.Tasks; using System.Transactions; namespace Microsoft.UnifiedRedisPlatform.Core.Database { public partial class UnifiedRedisDatabase { public bool IsConnected(RedisKey key, CommandFlags flags = CommandFlags.None) => ...
using System; using System.Collections.ObjectModel; using Android.App; using Android.OS; using Android.Runtime; using Android.Support.V4.View; using Android.Support.V4.Widget; using Android.Support.V7.App; using Android.Support.V7.Widget; using Android.Views; using MvvmCross.Droid.Support.V7.AppCompat; namespace Resi...
using UnityEngine; using System.Collections; public class LaserConnector : Block { }
using System.Collections.Generic; using ODL.ApplicationServices.DTOModel.Load; using ODL.ApplicationServices.DTOModel.Query; namespace ODL.ApplicationServices { public interface IPersonService { void SparaPerson(PersonInputDTO person); PersonDTO GetPersonByPersonnummer(string personnummer); ...
using System; using System.Collections.Generic; using System.Globalization; using System.Reflection; using System.ServiceModel; using System.ServiceModel.Activation; using Phenix.Core; using Phenix.Core.Data; using Phenix.Core.IO; using Phenix.Core.Log; using Phenix.Core.Mapping; using Phenix.Core.Security; using Phen...
using System; using ConsoleApplication1.Interfaces; using ConsoleApplication1.Models; using log4net; namespace ConsoleApplication1.Implementations { public class MakelaarPartialViewModelBuilder : IMakelaarPartialViewModelBuilder { private readonly ILog logger = LogManager.GetLogger(typeof(MakelaarPa...
using System; using System.IO; using System.Linq; using System.Reflection; using FluentNHibernate.Cfg; using Infrastructure.ApplicationSettings; using NHibernate; using NHibernate.Tool.hbm2ddl; using Configuration = NHibernate.Cfg.Configuration; namespace Data.Utils { public class NHibernateHelper { public stati...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class upgradeController : MonoBehaviour { [SerializeField] private GameObject pausePanel; private GameObject canvas; private int currentTier; public GameObject[] allTanks; public GameObject[] textDescriptions; publi...
using System.Collections.Generic; using ZC_IT_TimeTracking.BusinessEntities; using ZC_IT_TimeTracking.BusinessEntities.Model; using ZC_IT_TimeTracking.DataAccess.Library.Repository; namespace ZC_IT_TimeTracking.DataAccess.Interfaces.ResourceGoalRepo { public interface IResourceGoalRepository : IRepositoryBase<Res...
/* ----------------------- UDP-Receive (send to) ----------------------- // [url]http://msdn.microsoft.com/de-de/library/bb979228.aspx#ID0E3BAC[/url] // > receive // 127.0.0.1 : 8051 // send // nc -u 127.0.0.1 8051 */ using UnityEngine; using System.Dia...
using System.Collections; using SQLite; using System.Collections.Generic; namespace LoginNavigation.Models { public class User { [PrimaryKey, AutoIncrement] public int ID { get; set; } public string Email { get; set; } public string Password { get; set; } public string ...
using System; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using StarlightRiver.Abilities; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace StarlightRiver.NPCs.Hostile { class CrystalMage : ModNPC { public override void SetStaticDefaul...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Dapper; using Modulschool.Models; using Modulschool.Services.Interface; using Npgsql; using Modulschool.Controllers; using Microsoft.AspNetCore.Mvc; namespace Modulschool.Services { public class AnimalInfoServic...
using System; using System.Collections.Generic; using Kattis.IO; public class Program { static public void Main () { Scanner scanner = new Scanner(); BufferedStdoutWriter writer = new BufferedStdoutWriter(); writer.WriteLine("Program"); writer.Flush(); } }
/** * Definition for a binary tree node. * public class TreeNode { * public int val; * public TreeNode left; * public TreeNode right; * public TreeNode(int val=0, TreeNode left=null, TreeNode right=null) { * this.val = val; * this.left = left; * this.right = right; * ...
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AttendanceWebApp.Models { public class Departments { [Key, Column(Order = 0)] [StringLength(2)] public string CompCode { get; set; } public Company Company { g...
using System; using System.Collections.Generic; using System.Linq; using System.Web; /// <summary> /// MyFile 的摘要说明 /// </summary> [Serializable] public class MyFile { public string fileID { get; set; } public string fileName { get; set; } public string fileType { get; set; } public string path { ge...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Tomelt.DisplayManagement.Descriptors; using Tomelt.Environment.Extensions; namespace Tomelt.Core.Contents { [TomeltFeature("Contents.ControlWrapper")] public class ControlWrapper : IShapeTableProvider { public v...
using System.Collections.Generic; using TheMapToScrum.Back.DAL.Entities; namespace TheMapToScrum.Back.Repositories.Contract { public interface ITeamRepository { Team Get(int Id); List<Team> GetAll(); List<Team> GetAllActive(); Team Create(Team objet); Team Update(...
using System.Threading.Tasks; using DSharpPlus; using DSharpPlus.Entities; using DSharpPlus.EventArgs; using DSharpPlus.Exceptions; using PluralKit.Core; using Serilog; namespace PluralKit.Bot { public class ReactionAdded: IEventHandler<MessageReactionAddEventArgs> { private readonly IDatabase _db; ...
using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "New Equipment", menuName = "Inventory/Equipment")] public class Equipment : Item { //new public string name = "New Equipment"; //public string description = "Equipment Description"; //public Sprite icon = null; public Eq...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using BuyNSell.Models; namespace BuyNSell.Controllers { public class MyOrderController : Controller { BuyNSell_DbEntities objDataBase = new BuyNSell_DbEntities(); // GET: MyOrder ...
using BO; using SiteWeb.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace SiteWeb.Controllers { public class WarriorController : Controller { private static List<Warrior> warriors = new List<Warrior>(); p...
namespace P08MilitaryElite.Models { using Interfaces; public class Spy : Soldier, ISpy { public Spy( string id, string firstName, string lastName, int codeNumber) : base( id, firstName, lastName) { this.CodeNumber ...
using System; using System.Collections.Generic; using System.Text; using Autofac; using FakeItEasy; using IFS.Models; using IFS.Services; using Microsoft.Extensions.Logging; using NFluent; using TestUtilities; using Xunit; namespace IFS.Test { public class NewsServiceTest : ContextBasedTest<IFSContext> { ...
using System; using System.Collections.Generic; namespace E4 { class Program { static void Main(string[] args) { Peliteca peliculas = new Peliteca(); int opcion = 0; string busqueda; while (opcion != 7){ ...
using Example.Core.Model.Users; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Example.Core.Outputs.UserService { public class UserAvarageOutput { public int Score { get; set; } public List<User> Users { get; set; }...
using SciVacancies.Domain.Aggregates; using System; using CommonDomain.Persistence; using MediatR; namespace SciVacancies.WebApp.Commands { public class CreateResearcherCommandHandler : IRequestHandler<CreateResearcherCommand, Guid> { private readonly IRepository _repository; public CreateR...
using System; using System.Collections.Generic; <<<<<<< HEAD using System.ComponentModel.DataAnnotations; ======= >>>>>>> d03d76121a57b714259ed968a9ff12bff5050e24 using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace HASRental.Models { public class Vozilo ...
using Microsoft.AspNetCore.Mvc; using Otiport.API.Contract; namespace Otiport.API.Helpers { public class ApiControllerBase : Controller { [NonAction] public IActionResult GenerateResponse(ResponseBase response) { return StatusCode(response.StatusCode, response); } ...
using UnityEngine; namespace GunSystem { public class GunStatType : ScriptableObject { } }
using System.Data.Entity; using System.Linq; using System.Threading; using System.Threading.Tasks; using ExpenseBucket.Core.Entities; using ExpenseBucket.Core.Repositories; namespace ExpenseBucket.EF.Repositories { internal class UserRepository : Repository<User>, IUserRepository { public UserReposito...
using Sentry.Internal.Extensions; namespace Sentry; /// <summary> /// Implemented by objects that contain breadcrumbs. /// </summary> public interface IHasBreadcrumbs { /// <summary> /// A trail of events which happened prior to an issue. /// </summary> /// <seealso href="https://docs.sentry.io/platfo...
// The MIT License (MIT) // // Copyright (c) 2014-2018, Institute for Software & Systems Engineering // Copyright (c) 2018, Pascal Pfeil // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Softwa...
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 MOTHER3; namespace MOTHER3Funland { public partial class PalSelector : UserControl { private bool ...
using UnityEngine; using System.Collections; public class TrackScript : MonoBehaviour { //just flip this to jump on and off the train public static bool onTrain=true; //the speed of the train public static float speed=80; //number of pieces of track int numTracks=100; //should be equal to track's transf...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using SyslogLogging; using WatsonWebserver; namespace Uscale.Classes { /// <summary> /// Connection manager. /// </summary> public class ConnectionManager { #region Public-Members ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO.Ports; using System.Linq; using System.Runtime.CompilerServices; using System.Runtime.Remoting.Lifetime; using System.Text; using System.Threading.Tasks; namespace Blackjack { class Program { static void Main(...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GetButtonIndexScript : MonoBehaviour { //Used to get button child index. But find that I could use Eventsystem to do the same in the main script. private JobInfoScript _jobInfoScript; void Start() { _j...
using System; using System.Collections.Generic; namespace DrivingSchool_Api { public partial class Booking { public int BookingId { get; set; } public int BkpId { get; set; } public int TimeId { get; set; } public string CustomerEmail { get; set; } public DateTime DateB...
using OptionalTypes.JsonConverters.Tests.TestDtos; using Xunit; namespace OptionalTypes.JsonConverters.Tests.Unit.Read { public static class StringTests { [Fact] public static void CanReadNonOptionalApplicationReceived() { //Arrange var json = @"{""Subscription...
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Graphics; using VoxelSpace.Graphics; using VoxelSpace.Input; namespace VoxelSpace.UI { public partial class UI { public InputHandle Input { get; private set; ...
using DesignPatternsApp.Models; using NUnit.Framework; using System; using System.Collections.Generic; using System.Text; namespace DesignPatternsTests { [TestFixture] class UserModelTests { [Test] public void GetUser_WithValidInput_ReturnsExpectedObjectNotNull() { Use...
using Microsoft.AspNet.SignalR; using Microsoft.Owin; using Newtonsoft.Json; using Owin; [assembly: OwinStartup(typeof(FirstMvcApp.SignalR.Startup))] namespace FirstMvcApp.SignalR { public class Startup { public void Configuration(IAppBuilder app) { var serializerSettings = new Json...
using UnityEngine; public class RotationCamera: MonoBehaviour { public float speed; void Update() { transform.Rotate(0, speed * Time.deltaTime, 0); } }
using LoanAPound.Db.Model; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace LoanAPound.Db { public class ApplicantRepository : IApplicantRepository { private LoanAPoundContext _context; public ApplicantRepository...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Generics { internal class MyClassExc09<T> { public T[] TArr; public MyClassExc09(int size) { TArr = new T[size]; } public static My...
using UnityEngine; using System.Collections; public class Scene6 : Scene { protected GameObject puppy; protected GameObject bunny; protected override void Awake() { base.Awake(); puppy = GameObject.Find("Puppy"); if (!puppy) { puppy = Instantiate(instantiatedScen...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; using System.Data; using IRAP.Global; using IRAPShared; using IRAP.Entity.FVS; using IRAPORM; namespace IRAP.BL.FVS { public class WorkOrder : IRAPBLLBase { private static st...
// Copyright (c) 2017 Gwaredd Mountain, https://opensource.org/licenses/MIT #if !UNIUM_DISABLE && ( DEVELOPMENT_BUILD || UNITY_EDITOR || UNIUM_ENABLE ) using UnityEngine; using System; using TinyJson; namespace gw.gql { public static class ConvertType { public static object FromString( str...