text
stringlengths
13
6.01M
using Microsoft.AspNetCore.Http; using SkillsGardenApi.Services; using System.Net.Http; using System.Threading.Tasks; namespace SkillsGardenApiTests.Mock { public class AzureServiceMock : IAzureService { public bool deleteImageFromBlobStorage(string imageName) { return true; ...
using System.Collections; using System.Collections.Generic; using UnityEngine.SceneManagement; using UnityEngine.UI; using UnityEngine; public class LevelLoader : MonoBehaviour { private static int inventoryCount; void Update() { inventoryCount = Pickup.inventory; } private void OnT...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DAL; namespace BUS { public class t_doituong { KetNoiDBDataContext db = new KetNoiDBDataContext(); public void moi(string id, string ten, string nhom, string loai, string ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using PO.DataService; using System.Data; using System.Data.SqlClient; using PO.Services.Tools; using System.ServiceModel; using PO.Types.Attributes; using PO.Types.DataSets; namespace PO.Services.BusinessObjects { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace AdventCalendar.Day7 { /// <summary> /// --- Day 7: Some Assembly Required --- /// http://adventofcode.com/day/7 /// </summary> public class Day7 { private readonly Regex _...
using System; using System.Collections.Generic; using System.Text; namespace HackerRank_HomeCode { public class LibraryFine { public void FindDue() { //return date string[] d1M1Y1 = Console.ReadLine().Split(' '); int d1 = Convert.ToInt32(d1M1Y1[0]); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Serialization; namespace Framework.Remote.Mobile { public partial class CxSettingsContainer : IExtensibleDataObject { public virtual ExtensionDataObject ExtensionData { get; set; } } }
using AutoMapper; using FirstWebApp.Services; using FirstWebApp.ViewModels; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace FirstWebApp.Controllers { public class Sma...
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using LateOS.Models; using LateOS.Filters; namespace LateOS.Controllers { public class TipoPagoController : Controller { private Lat...
using UnityEngine; using System.Collections; public class Player : MonoBehaviour { private Rigidbody2D _rigidbody2D = null; private float _positionX = 0f, _positionY = 0f; private float _beforePositionX = 0f, _beforePositionY = 0f; float _playerDistanceX = 0f, _playerDistanceY = 0f; public GameObject _DamageEff...
using System; using System.Collections.Generic; using System.Text; using DBStore.Models; using Microsoft.AspNetCore.Mvc.Rendering; namespace DBStore.DataAccess.Data.Repository.IRepository { public interface ICityRepository : IRepository<City> { IEnumerable<SelectListItem> GetCityListForDropDown(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Generally { class Program { static void Main(string[] args) { } } class RulesTactic { /* RULES AND BEST PRACTİS ...
// *** WARNING: this file was generated by pulumigen. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Kubernetes.Types.Ou...
namespace FacultyV3.Core.Interfaces.IServices { using System.Collections.Generic; public partial interface IConfigService { Dictionary<string, string> GetConfig(); } }
using NUnit.Framework; using NUnit.Framework.Constraints; using System; namespace GENNTests { [TestFixture ()] public class TestInput { [Test ()] public void TestInputRandomConstructorSetsOutput () { GENN.Input input = new GENN.Input (); Assert.IsNotNull (input.Output); } [Test ()] public void T...
using System; /* * Write a program, that reads from the console an array of N integers and an integer K, sorts the array and using the method * Array.BinSearch() finds the largest number in the array which is ≤ K. */ class Program { static void Main() { int[] arr = { 2, 3, 5, 1, 56, 23, 5, 1, 78...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace console { public class _012_GrayCode { /// <summary> /// The gray code is a binary numeral system where two successive values differ in only one bit. /// Given a non-negative integer n repre...
using UnityEngine; using System.Collections; public class TennSlokkFakkel : MonoBehaviour { /* Denne Classen tenner og slukker faklene basert på om det er dag eller natt */ //Samler alle faklene i en array private GameObject [] fakler; //Variabel for å holde på fasebyttegraphics skriptet private FasebytteGrap...
using System; class Program { public static void Main() { var a = int.Parse(Console.ReadLine()); var b = int.Parse(Console.ReadLine()); var aa = Math.Max(a, b); var bb = Math.Min(a, b); while (bb != 0) { var rem = bb; bb = aa % bb; ...
namespace CardGame { class Card { public TransmissionDirection Direction { get; init; } public int Index { get; init; } public override string ToString() { return $"{Direction,-5} {Index,2}"; } } }
namespace ShopOnline.Models.EVShop20 { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("Contact")] public partial class Contact { public int ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Collections; using System.Net.Mail; using HSoft.SQL; public partial class Pages_Lead_Email : System.Web.UI.Page { static DataTable _dtEmail =...
using FatCat.Nes.OpCodes; using FluentAssertions; using Xunit; namespace FatCat.Nes.Tests.OpCodes { public class IllegalOpCodeTests : OpCodeTest { protected override string ExpectedName => "XXX"; public IllegalOpCodeTests() => opCode = new IllegalOpCode(cpu, addressMode); [Fact] public void WillDoNothingIn...
using Godot; using Godot.Collections; public class EnemyFire : Enemy { [Export] public string bulletPath = "res://Scenes/Enemies/FireTypes/BulletEnemy.tscn"; [Export] public float fireOffset = 0.1f; private int fireIndex = 0; private Array<Node2D> firePoints; private Timer fireTimer; ...
namespace _05.ConsoleClient { using ConsoleClient.SubstringServiceReference; using System; class Program { static void Main(string[] args) { SubstringServiceClient client = new SubstringServiceClient(); using (client) { var result = c...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Properties_1 { public class Student { public string FirstName { get; } public string LastName { get; } public Student(string firstName, string lastName) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; using System.IO; namespace MDLFileReaderWriter.MDLFile { public class ZStringMarshaler : ICustomMarshaler { static ZStringMarshaler static_instance; public static Int32 ...
using eLearning.Domain; using eLearning.DAL; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Mvc; using RouteAttribute = Microsoft.AspNetCore.Mvc.RouteAttribute; // using RouteAttribute = Microsoft.AspNetCore.Compon...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using SpiritPetMaster; using TMPro; public class Pet01_Controller : Pet { [SerializeField] private Animator animator; private Rigidbody2D rb; private float timerJump = 0.6f; private int Dir = 1; ...
// Copyright 2017-2019 Elringus (Artyom Sovetnikov). All Rights Reserved. using System.IO; using System.Linq; using System.Reflection; using System.Text; using UnityCommon; using UnityEditor; using UnityEditor.Experimental.AssetImporters; using UnityEngine; using UnityEngine.UIElements; namespace Naninovel { [Cu...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Claytondus.Square.Models; namespace Claytondus.Square { /// <summary> /// Square Connect Fee Management API /// </summary> public class SquareFeeClient : SquareClient { private readonly string _locationId; public...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using DriveMgr.IDAL; using System.Data.SqlClient; using System.Data; using DriveMgr.Model; namespace DriveMgr.SQLServerDAL { public class GoodsCategoryDAL:IGoodsCategoryDAL { /// <summary> /// 是否存在该记录 ...
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using System.Windows.Input; using Com2Com.Common; using Com2Com.View; namespace Com2Com.ViewModel { /// <summary> /// This class contains properties that the main View can data bind to. /// <para> /// Use the <strong>mvvminpc</strong> snippet ...
using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using System.Web; using TinyUrlBL; namespace SampleApi.Controllers { [Route("api/[controller]")] [ApiController] public class TinyUrlController : ControllerBase { static Dictionary<string, string> urls = new Dictionary<string, ...
using System; using System.Numerics; namespace TestCS { class MainClass { public static void Main (string[] args) { /* byTwo (5); Console.WriteLine (byTwo (5 + 1)); */ Complex c = Complex.One; Console.WriteLine (c.Real + c.Real / Math.Pow (c.Real, Math.Abs (7))); //result = 2 } /* st...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; using System.Windows.Media.Media3D; using System.Windows.Media.Imaging; namespace advCG.Background { class Plane : Primitive { public Vector3D V12 { get { ret...
using ArkadiumLibrary.ViewModels; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace ArkadiumLibrary.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class BooksPage : ContentPage { public BooksPage() { var bookStore = new BookStore(); ...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Dawnfall.Helper.MapGen { public class MarchingSquare { public readonly MSNode TL, TR, BL, BR; public readonly NodeBase CT, CB, CL, CR; public MarchingSquare(MSNode tl, MSNode tr, MSNode bl, MSNode...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NewsMooseConsole.Interfaces { public interface ICommandController { bool CanExecute(string command); void Execute(string command); } }
using System; using System.Collections.Generic; namespace CatalogDAL.Models { public partial class Entuziast { public Entuziast() { ResursaInregistrare = new HashSet<ResursaInregistrare>(); } public long Id { get; set; } public string Nume { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Caliburn.Micro; namespace Voronov.Nsudotnet.BuildingCompanyIS.UI.ViewModels { public abstract class TypedAttributeValueViewModel : PropertyChangedBase { protected TypedAttributeValueViewModel(...
namespace Bindable.Linq.Samples.MessengerClient.MessengerService { using System; using System.Collections.ObjectModel; using Domain; /// <summary> /// This interface is implemented by classes that communicate to a messenger client. For this sample, /// the only implementation is a simul...
using Lotus.Client.Data.Models; using System; using System.Collections.Generic; using System.Text; namespace Lotus.Client.Data { public class LocalDatabaseRepository : IDatabaseRepository { private readonly LocalDatabaseContext _dataContext; public LocalDatabaseRepository(LocalDatabaseContext ...
using System; namespace Redmanmale.TelegramToRss.Crawler { public class CrawlingConfig { public TimeSpan ChannelCheckPeriod { get; } public TimeSpan ChannelPostDelay { get; } public CrawlingConfig(TimeSpan channelCheckPeriod, TimeSpan channelPostDelay) { ChannelCh...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace VSchool.Data.Entities { public class Class : BaseEntity { public string Label { get; set; } public Branch Branch { get; set; } public Guid BranchID { get; set; } public I...
using System; using UnityEngine; namespace RO { [CustomLuaClass] public class InputInfo { public static readonly InputInfo Global = new InputInfo(); public TouchEventType touchEventType; public int pointerID; public Vector3 touchPoint; public bool beginOnUI; public bool overUI; } }
using System; [Serializable] public class Obstacle { public string name; public float speed; }
using Infnet.Engesoft.SysBank.Model.Contratos; namespace Infnet.Engesoft.SysBank.Model.Dominio { public class Telefone : ITelefone { public string Ddd { get; set; } public string Numero { get; set; } public TipoTelefone TipoTelefone { get; set; } } }
using UnityEngine; using System.Collections; public class FrontDoorInteractionArea : InteractionArea, IEventListener { void Awake() { EventManager.AddListener(this,"DoorOpen"); } void OnDestroy() { EventManager.DetachListener(this,"DoorOpen"); } public override void beginInteraction() { this.interactionT...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; //responsible for representing arrow on UI public class ArrowRepresentation : MonoBehaviour { private ArrowDefinition arrowDefinition; private LineRenderer lineRenderer; public ArrowDefinition GetArrowDefinition(...
using System; using System.Threading.Tasks; using System.IO.Pipes; using System.IO; namespace server { class Program { static async Task Main(string[] args) { using (var pipe = new NamedPipeServerStream("test", PipeDirection.InOut, 1, PipeTransmissionMode.Message, PipeOptions.Async...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class WeaponUI : MonoBehaviour { public GameObject mainweapon; public GameObject pistol; public GameObject sniper; public GameObject cotrl; SwitchWeapons swiwep; // Start is called bef...
using System; using MadScientistLab.Laboratory.Cli; namespace MadScientistLab.Api { public class ResponseMessages : ICommandInterface { public string Message { get; set; } public void DisplayError(string message) { Message = message; } public void DisplayI...
namespace AjLisp { using System; using System.Collections.Generic; using System.Linq; using System.Text; using AjLisp.Language; using Microsoft.VisualBasic.CompilerServices; public static class Numbers { public static object Add(object obj1, object obj2) ...
using FindSelf.Application.Configuration.Commands; using FindSelf.Domain.Repositories; using System.Threading; using System.Threading.Tasks; namespace FindSelf.Application.Users.Transfer { public class UserTransferCommandHandler : ICommandHandler<UserTransferCommand, bool> { private readonly IUserRepo...
using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using processFlow; using xmlIO; namespace processFlowTest { /// <summary> /// The test suite for the processFlow solution /// </summary> [TestClass] public class UnitTest1 { /// <summary...
namespace GetLabourManager.Migrations { using System; using System.Data.Entity.Migrations; public partial class GangAdviceProc : DbMigration { public override void Up() { CreateStoredProcedure("GangAdviceListProc", @"select DateIssued,RequestCode,gor.Descript...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SqlClient; using System.Data; namespace FreeGoods.DAL { public class SQLHelper { public static string strCon = System.Configuration.ConfigurationManager.ConnectionStrings["strCon"].ToString(); ...
namespace SprintFour.Commands { public class NothingPressedCommand : ICommand { public void Execute() { SprintFourGame.GetInstance().Mario.CurrentState.NothingPressed(); } } }
using System; using Android.OS; using Android.Views; using Android.Widget; using StudyEspanol.UI.Screens; using StudyEspanol.UI.Views; namespace StudyEspanol.Droid { public class FlashcardsAspect : Aspect, GestureDetector.IOnGestureListener { public bool IsShowingFront; public CardAspect frontCard; public Car...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CBloodTypeAB : IBloodType { public CBloodTypeAB() { } public static CBloodTypeAB CreateInstance(Vector3 position) { Object tempObject = Resources.Load("Prefabs/blood_dark"); tempObject = Instantia...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using System.Data.SqlClient; using System.Data.Sql; namespace quanlinhahang_offical.classs { class connect { private string cnn = @"Data Source=DESKTOP-IVL2G42\SQLEXPRE...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using Tasks.Services.Domain; using Tasks.Services.Domain.Enums; using Tasks.Web.Models; namespace Tasks.Web.Controllers { [Authorize] public class AccountController : Contro...
using CheckMySymptoms.Flow.ScreenSettings; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CheckMySymptoms.ViewModels { public class SettingsMenuItem : MenuItem { } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DiaxeirisiPoiotitas { class Eidos { private string onoma; private string perigrafi; private int posotitaAlert; public string Onoma ...
using System; using System.Collections.Generic; using System.Web.Mvc; using HCL.Academy.Model; using HCLAcademy.Controllers; using System.Net.Http; using System.Threading.Tasks; using Microsoft.ApplicationInsights; using System.Diagnostics; namespace HCL.Academy.Web.Controllers { public class ChecklistController ...
// when you have a projection that features a nested "to one" relationship, that also has a sub-nested m2m relationship, you // need to force cast to nullable, and use a ternary expression like this: var query = Context.ParametersOfSampledItem .AsNoTracking() .Include(inc => in...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Storage; using Microsoft.EntityFrameworkCore.Update; using Microsoft.EntityFrameworkCor...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using DG.Tweening; public class ScrollController : MonoBehaviour { [SerializeField] private Button moveUp; [SerializeField] private Button moveDown; [SerializeField] private int _startSerialNo; [...
using System; using System.Collections.Generic; using System.Text; namespace OCP.ContactsNs.ContactsMenu { /** * @since 12.0 */ public interface IProvider { /** * @since 12.0 * @param IEntry entry * @return void */ void process(IEntry entry); ...
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Http; using Microsoft.EntityFrameworkCore; using Perpustakaan.Data; using Perpustakaan.Models; using System.Linq; namespace Perpustakaan.Controllers { public class BukuController : Controller { private readonly App...
using System; using System.Collections.Generic; using System.Text; namespace ClassMethodDemo { class CustomerManager { public void CustomerAdd(customer Customer) { Console.WriteLine("Müşteri Adı Soyadı : " + Customer.customerName + " " + Customer.customerSurname); ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using VectorExtension; using TestSimpleRNG; public class SceneryProceduralEditor : MonoBehaviour { //Tree settings public int treeNoiseSeed = 54; public float treeNoiseFrequency = 12f; public float treeNoiseScale = 0.001f;...
using Newtonsoft.Json; using OnlineHealthService.models; using InstagramAPI.models; using System.Data; using System.Data.SqlClient; using System.IO; using System.Net; using System.Text.RegularExpressions; using System.Windows; using System.Windows.Controls; using System.Xml; using System.Xml.Serialization; ...
using System; namespace IMDB.Api.Models.ResponseDto { public class Person : BaseModel { public string FirstName { get; set; } public string LastName { get; set; } } }
using Newtonsoft.Json; namespace CoinBot.Clients.Binance { internal sealed class BinanceProduct { [JsonProperty("symbol")] public string Symbol { get; set; } [JsonProperty("quoteAssetName")] public string QuoteAssetName { get; set; } [JsonProperty("tradedMoney")] public double TradedMoney { get; set; ...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using System; using System.Net; using System.Net.Http; using System.Web.Http.Controllers; namespace DotNetNuke.Web.Api { public class AuthFilterConte...
using System; namespace MCC.NicoLive { public delegate void ChatReceivedEventHandler(object sender, ChatReceivedEventArgs e); public class ChatReceivedEventArgs : EventArgs { public ChatReceivedEventArgs(JsonData data) => ReceiveData = data; public JsonData ReceiveData { get; private set...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Spawner : MonoBehaviour { public GameObject[] prefabs; public float delay = 2.0f; public bool active = true; public Vector2 delayRange = new Vector2(1, 2); // Use this for initialization void Start () { RandomizeDel...
using System.Web.Mvc; using ZiZhuJY.Web.UI.Attributes; namespace ZiZhuJY.Web.UI.Controllers { [Localization] [CompressContent(Order = 9999)] [RemoveWhitespaces(Order = -1)] public class ApplicationFactoryController : Controller { // // GET: /ApplicationFactory/ public Acti...
using DataAccessLayer; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using Ultilities; namespace LogicHandler { public abstract class DataHandler<T> { public DataHandler() { } public DataH...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace BlockchainAppAPI.Models.Configuration { [Table("Widget", Schema="System")] public clas...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace InstagramMVC { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*...
using Automatron.Interfaces.Workflow; using FluentValidation; using System.Runtime.Serialization; namespace Automatron.Tirggers.Loop { public class LoopTriggerSettings : IWorkflowElementSettings { public LoopTriggerSettings() { ValidationRules = LoopTriggerSettingsValidation.Single...
using System; namespace NLuaTest.Mock { public struct TestStruct { public float v; public float val { get { return this.v; } set { this.v = value; } } public TestStruct(float val) { this.v = val; } } }
using System; using System.Collections.Generic; using System.Linq; namespace ExtensionMethodsExample { class Person { public string Name { get; set; } } class Program { static void Main(string[] args) { string filename = @"C:\\Local\\MyPath\\important_file.txt"...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace TrabalhoFerias.Models { public class Venda { public int Notafiscal { get; set; } public string Data { get; set; } public double Total { get; set; } public Funcionario Funcionario { ge...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TargetGround : MonoBehaviour { [SerializeField] Material groundMat; [SerializeField] Material targetMat; private Vector3 centerPosition; public Transform target; private void Awake() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { MyDay myday = new MyDay(); Console.WriteLine("enter day of u"); ...
using Contoso.Domain.Entities; using LogicBuilder.Workflow.Activities.Rules; using System; using System.Collections; using System.Globalization; using System.IO; using System.Linq; using System.Resources; namespace Contoso.XPlatform.Flow.Rules { public class RulesLoader : IRulesLoader { public void Lo...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ExternalEnabledStateCommand.cs" company="Soloplan GmbH"> // Copyright (c) Soloplan GmbH. All rights reserved. // Licensed under the MIT License. See License-file in the project ro...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="EncryptionTest.cs" company="CGI"> // Copyright (c) CGI. All rights reserved. // </copyright> // ---------------------------------------------------------------------------------...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Tachycardia { class Core { public static Core Singleton() { return new Core(); } public Core() { m_config = 0; //!config m_st...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Computer : MonoBehaviour, Interactable { public enum Status { Idle, Selected } public Status currentState = Status.Idle; MouseLook mouse; void Start() { mouse = GameObject.Fin...
using UnityEngine; using System.Collections; //Класс для организации переходов ежду сценами public class SceneSwitcherScr : MonoBehaviour { private int NextScene; //Переменная хранения сцены, к которой осуществляется переход, отрицательное значение - выход из приложения private bool isLoad; //Булева переменная для...
using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; using UnityEngine.Networking; using Newtonsoft.Json; public class Httptest : MonoBehaviour { // Start is called before the first frame update IEnumerator Start() { UnityWebRequest request = ...
using System; using System.ComponentModel; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; //using Plugin.Toast; using Newtonsoft.Json; using Xamarin.Essentials; using Xamarin.Forms; namespace ExpenseTracker.ViewModels { public class ExpIncAccViewModel : INotifyPropertyC...
using System; using Microsoft.Xna.Framework; namespace MonoGame.Extended.Particles { public static class ColorExtensions { public static Color ToRgb(this HslColor c) { var h = c.H; var s = c.S; var l = c.L; if (s == 0f) return ne...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Crow : MonoBehaviour { private Animator pAnimator = null; public bool bIsInAnimaion = false; public float fAnimationTimer = 0; // Use this for initialization void Start () { pAnimator = GetComponent<Animato...
using System; using System.Data.Entity.Validation; using System.Diagnostics; using SubscriptionDataModel.DataModel; namespace SubscriptionLogging { public class SuscriptionMasterLogger { public static void Log(string affectedItem, string message, LogType typelog, EnumLogger typeOfLogging,string sourc...