text
stringlengths
13
6.01M
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class GoToScene : MonoBehaviour { private XboxControllerManager _xboxController; private PlayerManager _playerManager; void Start() { _xboxController = XboxControllerManager.I...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FolderBackup.Shared { [Serializable()] public abstract class FBAbstractElement { public string Name { get; set; } public FBAbstractElement() { } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class spikeTrap : MonoBehaviour { // Use this for initialization void Start() { } private void OnCollisionEnter2D(Collision2D coll) { } }
using System; using NFluent; using NFluent.Extensibility; namespace TestUtilities { public static class DoubleCheck { public static ICheckLink<ICheck<double>> IsEqualsWithDelta(this ICheck<double> check, double refValue, double delta) { var checker = ExtensibilityHelper.ExtractChecker(chec...
using Cosmos.HAL; using FrameOS.Systems.Logs; using System; using System.Collections.Generic; using System.Text; using Sys = Cosmos.System; namespace FrameOS { public class Kernel : Sys.Kernel { public static string boottime = RTC.Month + "/" + RTC.DayOfTheMonth + "/" + RTC.Year + ", " + RTC.Hour + ":...
using UnityEngine; using System.Collections; /// <summary> /// Sends a message up the game object heirarchy when a game /// object with name name enters the trigger area. /// </summary> public class NearTrigger : MonoBehaviour { public string name; void OnTriggerEnter2D(Collider2D other) { if (other.name.Star...
#if UNITY_EDITOR using System; namespace DChildDebug { [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false)] public class BossNameAttribute : Attribute { } } #endif
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Terraria; using Terraria.ModLoader; using Microsoft.Xna.Framework; using Terraria.ID; using Microsoft.Xna.Framework.Graphics; using Terraria.DataStructures; namespace StarlightRiver.NPCs.Boss.Over...
using System; using FluentValidation; using WorkScheduleManagement.Application.Models.Requests; namespace WorkScheduleManagement.Application.ModelValidators { public class RequestValidator : AbstractValidator<RequestCreationModel> { public RequestValidator() { RuleFor(x => x.DateFr...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using TwiBo.Components.Model; namespace TwiBo.Web.Models { public class DashboardModel { public string Name { get; set; } public ICollection<TweetHistory> TweetHistory { get; set; } } }
namespace _02._JediGalaxy { using System; using System.Linq; public class Startup { public static void Main() { int[] dimensions = Console.ReadLine().Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries).Select(int.Parse).ToArray(); int rows = dimensions[0...
using UnityEngine; public class EnemySpawnerScript : MonoBehaviour { [SerializeField] private GameObject enemyObj; [SerializeField] private Vector2[] spawnPosition; [SerializeField] private float maxTimeToIncreaseEnemies; public int enemyCount; private int maxEnemyCount; private float spawn...
using RogueDungeonCrawler.Enum; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RogueDungeonCrawler.Classes { public class Room { public bool IsVisited { get; set; } public bool IsStart { get; set; } public b...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Enemy : MonoBehaviour { [SerializeField] GameObject enemyProjectile; [SerializeField] float projectileSpeed = 10f; [SerializeField] float shotCount; [SerializeField] float minTimeBetweenShots = 0...
namespace Game { /// <summary> /// Handles power up type and coords for all power ups /// </summary> public class PowerUp { /// <summary> /// Handles power up coords /// </summary> /// <value></value> public Coords Coords {get; set;} /// <summary> ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class MenuInteractableObject : MonoBehaviour { bool selected; Image My_Image; Color My_Color; //Original Transform My_Transform; void Start () { My_Image = GetComponent<Image>(); ...
#version 430 // blockDim == local_size // gridDim == number of work groups layout(local_size_x = 112, local_size_y = 1) in; // struct reduType { int result; float error; float J[6]; }; layout(std430, binding = 0) buffer TrackData { reduType trackOutput []; }; //layout(binding = 0, r32f) uniform image...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace EasyDev.PL { /// <summary> /// 主键值生成器工厂 /// </summary> public class GeneratorFactory { /// <summary> /// 创建主键值生成器 /// </summary> /// <typeparam name="T"></...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Threading.Channels; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace configuration { public static class ServiceCo...
using UnityEngine; using System.Collections; public class CameraFollow : MonoBehaviour { private PlayerController controller; private playerID focus = playerID.P1; public float transitionSpeed = 200f; private Vector3 targePos; private Vector3 activePos; private Vector3 dist; void Awake(){ //camera.orthog...
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 FrbaOfertas.AbmRubro { public partial class NuevoRubro : Form { public String ...
using Epam.Shops.DAL.Interfaces; using Epam.Shops.Entities; using System; using System.Collections.Generic; using System.Data.Entity.Infrastructure; using System.Data.SqlClient; using System.Linq; namespace Epam.Shops.DAL { public class FeedbackDAO : IFeedbackDAO { public bool Add(Feedback newFeedback...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Task2 { class User { public string FirstName { get; set; } public string LastName { get; set; } public string Patronymic { get; set; } public DateTime B...
using System; using System.Collections.Generic; using System.Text; namespace CalculatorService.Domain.Models { public class DivResult : ResultOperationBase { public int Quotient { get; set; } public int Remainder { get; set; } } }
using BradescoPGP.Common.Logging; using BradescoPGP.Repositorio; using BradescoPGP.Web.Areas.Portabilidade.Interfaces; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; namespace BradescoPGP.Web.Areas.Portabilidade.Servicos { public class MotivoService ...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; namespace TwojePrzedszkole.API.Models { public class User { //Credential Data public int Id { get; set; } public string Username { get; set; } public byte[] PasswordHash { get; set; } p...
using System; using System.IO; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Navigation; using System.Windows.Input; using System.Globalization; using System.Collections.Generic; u...
using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; namespace Quokka.RISCV.Integration.Generator { public class TextReplacer { public static string ReplaceToken( string content, string token, string replacement) ...
namespace IdomOffice.Interface.BackOffice.PriceLists { public class SeasonUnitService { public string Id { get; set; } public ServiceType ServiceType { get; set; } public ServiceInterval ServiceInterval { get; set; } public ServiceUnit ServiceUnit { get; set; } public Pa...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class GameOver : MonoBehaviour { [SerializeField] private SnakeHead _head; [SerializeField] private GameObject _gameOverScreen; private bool _isGameOver = false; private void OnEn...
//using Microsoft.VisualStudio.TestTools.UnitTesting; //[assembly: Parallelize(Workers = 2, Scope = ExecutionScope.ClassLevel)] using NUnit.Framework; [assembly: Parallelizable(ParallelScope.Fixtures)]
using System; class DivideBySevenAndFive { static void Main() { Console.WriteLine("Infinite loop. If you want to stop, pres CTRL+C !!!"); while (true) { int liNumber; bool lbDivided; Console.Write("Enter a integer number : "); if (int.Try...
using Compent.Shared.Search.Contract; using System.Collections.Generic; using System.Linq; using Uintra.Core.Search.Entities; namespace Uintra.Core.Search.Queries { public class SearchByTextQuery : UBaseline.Search.Core.SearchByTextQuery//, ISearchQuery<SearchDocument> { public string OrderingString {...
using Domain.Entities; using Infrastructure.Base; using Microsoft.EntityFrameworkCore; using NUnit.Framework; using System; using System.Linq; namespace Infrastructure.Test { public class CreditoTests { UnitOfWork UnitOfWork; CreditoContext Context; [SetUp] public void Setup() ...
using System; using Vlc.DotNet.Core.Interops.Signatures; namespace Vlc.DotNet.Core { public sealed partial class VlcMediaPlayer { private EventCallback myOnMediaPlayerBackwardInternalEventCallback; public event EventHandler<VlcMediaPlayerBackwardEventArgs> Backward; private void OnMed...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace ReportToPdfConverter.Utility { public class ReportCriteriaValue { public string ParameterName { get; set; } public string ParameterValue { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.Linq; namespace Kingdee.CAPP.Solidworks.RoutingPlugIn { /// <summary> /// Routing object Context /// </summary> public class RoutingContext : DataContext { public RoutingContext(string c...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ClickToCircle : MonoBehaviour { public GameObject normalCircle; public GameObject bigCircle; public GameObject followingSlider; public GameObject particles; public Vector3 initialScale; public float...
using System; namespace TY.SPIMS.POCOs { public class PurchaseDetailViewModel { public int AutoPartDetailId { get; set; } public string AutoPartNumber { get; set; } public string AutoPartName { get; set; } public int Quantity { get; set; } public string Unit { get; set;...
using System.Threading.Tasks; using Welic.App.Services.ServicesViewModels; namespace Welic.App.Services.ServiceViews { public class MessageServices : IMessageService { public async Task ShowOkAsync(string Message) { await App.Current.MainPage.DisplayAlert("Welic", Message, "OK"); ...
using System; using System.Linq; namespace task6_Rectangle_Position { public class task6_Rectangle_Position { public static void Main() { var rec1 = ReadRectangle(); var rec2 = ReadRectangle(); Console.WriteLine(IsInside(rec1, rec2) ? "Inside": ...
using System.Diagnostics; namespace EPI.BinaryTree { [DebuggerDisplay("Value = {Value}")] public class BinaryTreeNode<T> { private T value; private BinaryTreeNode<T> left; private BinaryTreeNode<T> right; private BinaryTreeNode<T> parent; public BinaryTreeNode(T val) { value = val; left = null; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using System.Xml; using System.Xml.Serialization; /// <summary> /// Created by Anders Bolin AB2633 datum: 2013-06-02 email: anders@bolin.nu /// Eget Project i P...
using Generics; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Generics { class Program { static void Main(string[] args) { Apple apple1 = new Apple(Colour.Green); Apple apple2 = new Apple(Co...
using ComInLan.Model.Base; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ComInLan.Model.Protocol { public class ServerProtocol : Json, IServerProtocol { public ServerMessage Message { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using XH.Infrastructure.Configurations; namespace XH.Infrastructure.Storage { public class BlobConnectionString : IConfiguration { public BlobConnectionString() { } ...
using System; using System.Linq; using Tools; namespace _243 { class Program { private static int TotientFunc(int num) { var primeFactors = NumUtils.ComputePrimeFactorization_Cached(num); long res = num; foreach (var primeFactor in primeFactors) ...
/// <summary> /// Summary description for SNRuleController /// </summary> namespace com.Sconit.Web.Controllers.SYS { using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using com.Sconit.Entity.SYS; using com.Sconit.Service; using com.Sconit.Web.Models; using com.Sconi...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Mail; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity.UI.Services; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using MoneyShare.Model...
using Model.Models; using System.Configuration; using Mailer; using Mailer.Model; using System.Threading.Tasks; namespace EmailContents { public class RegistrationInvitaionEmail { public async Task SendUserRegistrationInvitation(string UserId, int ApplicationId, string RefereeId, string Refe...
using System; using System.Collections.Generic; #nullable disable namespace rent_a_car { public partial class User { public User() { Logins = new HashSet<Login>(); } public int Id { get; set; } public int Password { get; set; } public string Ad { g...
using System.Collections.Generic; using UnityEngine; namespace Events { public class GameEvent { } public enum countertype { inittimer = 0, sessiontimer = 1, } public enum characterid { player = 0, enemy = 1, } public enum animation { none ...
using gView.Data.Framework.Data.Extensions; using gView.Framework.Geometry; using gView.Framework.system; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace gView.Framework.Data.Filters { public class QueryFilter : UserData, IQueryFilter, IClone { protected...
using MonoTouch.Dialog; using Foundation; using UIKit; namespace Playground.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) to // application events from iOS. [R...
using System; using System.Collections.Generic; using System.Globalization; using System.Reflection; using System.Windows; using System.Windows.Data; using System.Windows.Media; namespace MinecraftToolsBoxSDK { [ValueConversion(typeof(Color), typeof(String))] public class ColorToStringConverter : IValueConver...
using System; namespace MySQL.Model { public class Player { public int Id { get; set; } public DateTime DateOfBirth { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public int MembershipNumber { get; set; } public int PostalCo...
using System; using System.Net; using System.Threading.Tasks; using Newtonsoft.Json; using Pobs.Domain; using Pobs.Domain.Entities; using Pobs.Tests.Integration.Helpers; using Pobs.Web.Models.Tags; using Xunit; namespace Pobs.Tests.Integration.Tags { public class GetUnapprovedTagTests : IDisposable ...
/* * The MIT License (MIT) * * Copyright (c) 2014 Mateusz Majchrzak * * 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 Software without restriction, including without limitation the rights * t...
using UnityEngine; using System.Collections; public enum UnitBehaviour {Enemy, Minion } [RequireComponent(typeof(HitPoints))] public class Unit : MonoBehaviour { public UnitBehaviour behaviour = UnitBehaviour.Enemy; // Use this for initialization void Start () { } // Update is called once per frame vo...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using EPI.Strings; using FluentAssertions; namespace EPI.UnitTests.Strings { [TestClass] public class LookAndSayUnitTest { [TestMethod] public void FindNthNumber_Cases() { LookAndSay.FindNthNumber(1).Should().Be(1); LookAndSay.FindNthNu...
using CarsIsland.Core.Entities; using System; using System.Threading.Tasks; namespace CarsIsland.Core.Interfaces { public interface ICarReservationRepository : IDataRepository<CarReservation> { Task<CarReservation> GetExistingReservationByCarIdAsync(string carId, DateTime rentFrom); } }
using System; using System.Collections.ObjectModel; using System.Security.Authentication; using System.Threading.Tasks; using DM7_PPLUS_Integration.Daten; using DM7_PPLUS_Integration.Implementierung; using System.Collections.Generic; using System.Linq; using DM7_PPLUS_Integration.Implementierung.PPLUS; using DM7_PPLUS...
using Microsoft.VisualStudio.TestTools.UnitTesting; using MQTTnet.Client; using MQTTnet.Client.Options; using MQTTnet.Formatter; using MQTTnet.Tests.Mockups; using System.Threading; using System.Threading.Tasks; namespace MQTTnet.Tests.MQTTv5 { [TestClass] public class Server_Tests { public TestCon...
using Microsoft.EntityFrameworkCore; using WebShop.API.Models; using WebShop.Data.Repository.Contract; namespace WebShop.Data.Repository { public class FakeUnitOfWork : IUnitOfWork { private readonly WebShopContext _context; public FakeUnitOfWork(DbContextOptions options) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace mec.DataModelLayer.Models { public class PageParam { public int ItemsPerPage { get; set; } public int CurrentPage { get; set; } } }
using System; namespace DesignPatterns.Command.Example1 { /// <summary> /// RECEIVER /// </summary> public class Television : IElectronicDevice { private int volume = 0; public void Off() { Console.WriteLine("TV is off"); } public void On() ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Memento { class ItemFactura { public int Orden { get; set; } public string Descripcion {get;set;} public decimal Precio { get; set; } } }
//Travis Kroll //9-10-19 //This program will take input from a "customer" and process/print a reciept with the number of oz, tip, tax, topping costs, discount, and total price. using System; class YogurtShop { public static void Main () { double Original_Oz,NumberToppings,Discount,Tip,Tax,RealOz,OzPrice,T...
using Xamarin.Forms; namespace CollectionViewIssue.Pages { public class DailyEntryPageModel { public DailyEntryPageModel() { MetersViewModel = new MetersViewModel(); TanksViewModel = new TanksViewModel(); TanksViewModel.IsVisible = true; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SudokuConsole { class SudokuBL { public List<List<string>> sudokuData; public SudokuBL() { sudokuData = new List<List<string>>() { new L...
namespace DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.EmbeddedContentItemsGraphSyncer { public interface IBagPartEmbeddedContentItemsGraphSyncer : IEmbeddedContentItemsGraphSyncer { } }
using NUnit.Framework; namespace CS.Sandbox.Db { [TestFixture] class SQLiteMemoryTest { } }
using System; namespace SIEI_Entites { public class RegistrationEntites { } }
using gView.Framework.Data; using gView.Framework.Geometry; using gView.Framework.OGC.GML; using System; using System.IO; using System.Text; using System.Threading.Tasks; using System.Xml; namespace gView.Interoperability.OGC.Dataset.GML { internal class GMLFile { private Dataset _gmlDataset = null; ...
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; namespace Storyblok.Sdk.Content.Types { public class Tag { public string Name { get; set; } [JsonProperty(PropertyName = "taggings_count")] public int Taggings { get; set; } } }
 using Xamarin.Forms; namespace RRExpress.Express.Views { public partial class MyOrderDetailView : ContentView { public MyOrderDetailView() { InitializeComponent(); } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Euler_Logic.Problems.AdventOfCode.Y2022 { public class Problem18 : AdventOfCodeBase { public override string ProblemName => "Advent of Code 2022: 18"; public override stri...
using System.Collections.Generic; namespace Euler_Logic.Problems.AdventOfCode.Y2017 { public class Problem19 : AdventOfCodeBase { private Dictionary<int, Dictionary<int, enumGridType>> _grid; private Dictionary<int, Dictionary<int, char>> _letters; private char[] _pickupLetters; pr...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace com.bigbraintank.autoadmin.angular { //var loginApp = angular.module('loginApp', ['ngStorage']); public class Application : Generator { private Lis...
// Code generated by Microsoft (R) AutoRest Code Generator 0.9.7.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. 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 Sy...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net.Mime; using System.Reflection; using System.Text; using System.Threading.Tasks; using CommandLineParser.Arguments; using CommandLineParser.Exceptions; nam...
using AlgorithmProblems.Arrays.ArraysHelper; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AlgorithmProblems.Sorting { /// <summary> /// This uses insertion sort, but is more performant. /// /// We will partition the orig...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; public class SubmitScore : MenuAction { public HiscoreTextbox hiScore; public void TakeAction() { hiScore.SubmitHiScore(); } }
using Cs_Notas.Dominio.Entities; using Cs_Notas.Dominio.Interfaces.Repositorios; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cs_Notas.Infra.Data.Repositorios { public class RepositorioEscrituras: RepositorioBase<Escrituras>, IReposi...
namespace Sentry.Internal; internal static class Json { public static T Parse<T>(byte[] json, Func<JsonElement, T> factory) { using var jsonDocument = JsonDocument.Parse(json); return factory.Invoke(jsonDocument.RootElement); } public static T Parse<T>(string json, Func<JsonElement, T>...
using System; using System.Collections.Generic; namespace CompiledValidators { /// <summary> /// Represents a validator with static or validator-specific error messages. /// </summary> public class ErrorMessageValidatorInfo : ValidatorInfo { private readonly Func<string> _errorMessageFactor...
using System.Collections.Generic; namespace BattleEngine.Engine { public class BattleCommandsProvider { private List<BattleEngineCommand> _collection; public BattleCommandsProvider() { _collection = new List<BattleEngineCommand>(); } public BattleCommandsP...
using System; using System.Net.Http; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; namespace WeChatRedPacketSample { public class WeChatClient : IWeChatClient { static readonly string _WeChatRedPacketApiEndpoint = "https://api.mch.weixin.qq.com/m...
/* * Class that represents the Scene card of a Set. * Copyright (c) Yulo Leake 2016 */ using System; using System.Collections.Generic; using Deadwood.Model.Rooms; namespace Deadwood.Model { class Scene { public readonly string name; public readonly string desc; public readonly in...
using System; using System.Linq; using System.Collections.Generic; using System.Text; namespace BridgeProject { static public class ClassBuilder { static public object CreateInstance(Type type) { // data: if (type == typeof(IntData)) return new IntData()...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using kata_payslip_v2.DataObjects; using kata_payslip_v2.Interfaces; using Microsoft.VisualBasic.FileIO; namespace kata_payslip_v2 { public class CsvFileInputHandler : IInputHandler { private string FilePath { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LightingBook.Tests.Api.Dto.GetItinerary.Request.Hotel { public class Location { public string Code { get; set; } public string Name { get; set; } public string ...
using System; using Framework.Core.Common; using OpenQA.Selenium; using Tests.Pages.Van.SocialOrg; namespace Tests.Pages.TaskMaster { public class Badges : SocialOrgNav { public Badges (Driver driver) : base(driver){} public IWebElement AddBadge { get { return _driver.FindElement(B...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class StrategyTile : MonoBehaviour { private static readonly IDictionary<string, Color> TypeToColor = new Dictionary<string, Color>() { { "Bridge", new Color(0.5f, 0, 0f) }, { "Grass", new Color(0.9f, 0.6f, 0...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace neuros.Neurons { public class RNeuron : Neuron { double alpha = 1.5; public RNeuron(int m) : base(m) { } protected override double Activator(d...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Les8Exercise4 { //Ронжин Л. //4. *Используя полученные знания и класс TrueFalse в качестве шаблона, разработать собственную утилиту //хранения данных(Например: Дни рождени...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class GuideBook : MonoBehaviour { private static GuideBook Instances; [SerializeField] private List<Sprite> images; // slot in image for up to 24 for the guidebook private Image thisImage; //put ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BinaryAdder { class Program { public static void Main(string[] args) { Add("00", "0"); //Add your 2 binary values here } public...
using System; using System.Collections.Generic; using System.Windows; using System.Windows.Input; using System.ComponentModel; using System.Windows.Controls; using System.Windows.Media; using TraceWizard.Entities; using TraceWizard.Services; using TraceWizard.Reporters; namespace TraceWizard.TwApp { public class...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using socket.io; using System.Text; public class JsonTest : MonoBehaviour { // Use this for initialization void Start () { var socket = Socket.Connect("http://ec2-52-78-8-84.ap-northeast-2.compute.amazonaws.com:3000...