text
stringlengths
13
6.01M
using System.Collections; using System.Collections.Generic; using UnityEngine; public abstract class Entity : MonoBehaviour { protected float damageReduction; protected float maxHealth; public Health Health { get; private set; } public HealthBar HealthBar { get; set; } public PhotonView PhotonVi...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using Photon.Pun; public class BoardManager : MonoBehaviour { [SerializeField] Camera PlayerCamera; [SerializeField] GameObject Controller; [Header("Player 1")] public GameObject...
using System; using System.CodeDom; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using DHTChord.Server; using System.IO; using System.Threading; using DHTChord.Logger; using DHTChord.NodeInstance; using DHTChord.Node; namespace Cli...
using DAL; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BUS { public class t_nhomdoituong { KetNoiDBDataContext db = new KetNoiDBDataContext(); public void moi(string id, string ten) { nhomdoi...
using SuicideAlpha; using SuicideWeb.Models; using System.Linq; using System.Net; using System.Web.Mvc; using VkNet; using DuoVia.FuzzyStrings; using System.Collections.Generic; namespace SuicideWeb.Controllers { public class ScanController : Controller { private DataBaseContext db = new DataBaseConte...
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// GameSettingData for test scene; /// </summary> public class TSGameSettingData : GameSettingDataBase { }
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Xml; using InvoiceClient.Helper; using InvoiceClient.Properties; using Model.Schema.TXN; using Utility; using Model.Schema.EIVO; namespace InvoiceClient.Agent { public class...
using Newtonsoft.Json; namespace CoinBot.Clients.Kraken { public class KrakenPair { public string PairId { get; set; } [JsonProperty("base")] public string BaseCurrency { get; set; } [JsonProperty("quote")] public string QuoteCurrency { get; set; } } }
using System; namespace CSExercises { public class ExH3 { //Write a function (static method) that would take in an integer and //return the hexadecimal. Print out the Hex of all numbers 1 to 100 and //compare your answer with that of the built in function. public static...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Indexers { /// <summary> /// Klasa pomocnicza /// </summary> public class Customer { private List<Address> Adresses = new List<Address>(); public Customer()...
using System; namespace Denomination { class Program { static void Main(string[] args) { Console.WriteLine("\n------------------------------------\n "); Console.WriteLine("\n ------- Denomination ------"); Console.WriteLine("\n--------------------------...
using System; using System.Runtime.InteropServices; /*[StructLayout(LayoutKind.Sequential, Pack = 1)] public struct UnsafeStructToByteArray { public static readonly int SIZE = Marshal.SizeOf(typeof(PlayerData)); public unsafe bool UnsafeCopyTo(byte[] array, int offset = 0) { var t = this; ...
// Copyright 2021 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applica...
using ICSharpCode.NRefactory.CSharp; using System; using System.Text; namespace AlienEngine.ASL { public abstract partial class ASLShader { internal sealed partial class GLSLVisitor { public override StringBuilder VisitArrayInitializerExpression(ArrayInitializerExpression arrayIniti...
namespace Bindable.Linq.Tests.Unit.Iterators { internal class SelectIteratorTests {} }
using EP.CrudModalDDD.Application.ViewModels; using System; using System.Collections.Generic; namespace EP.CrudModalDDD.Application.Interfaces { public interface ICidadeAppService: IDisposable { CidadeViewModel Adicionar(CidadeViewModel cidadeViewModel); CidadeViewModel ObterPorId(Guid id); ...
/* * This is the main class. * This is the entry point and all the objets and method calls are done here. */ using System; using System.Collections.Generic; namespace CSBasic { /// <summary> /// This is a the main class used that is the entrey point /// This is xml style documention and a good practice t...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Accounting.Entity; using System.Data.SqlClient; using System.Data; using Accounting.Utility; namespace Accounting.DataAccess { public class DaExportBill { public DaExportBill() { } public int SaveUpdate...
namespace E03_MatrixClass { using System; public class MatrixClassMain { public static void Main(string[] args) { //test Matrix Console.WriteLine("Test \"Matrix\""); Matrix<int> matrix = new Matrix<int>(); Matrix<double> matrix1 = new Matrix<...
using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Kers.Models.Repositories; using Kers.Models.Entities.KERScore; using Kers.Models.Entities.KERSmain; using Kers.Models.Abstract; using Microsoft.AspN...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KOKR { enum Pole { Green, Red, Can, //mozna klinąć Cant //nie można i niekolorowe } enum BoolCheck { Win, Loose, Nu...
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using System.Windows.Media.Imaging; using System.Collections....
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using MooshakPP.Utilities; namespace MooshakPP.Handlers { public class CustomHandlerAttribute : HandleErrorAttribute { public override void OnException(ExceptionContext filterContext) { ...
using System.Text.RegularExpressions; using WebServiceTestTools.Contract.Model.Common; namespace WebServiceTestTools.Contract.Model.Soa2 { public class Soa2Request : BaseRequest { public Soa2RequestHead Head { get; set; } private string requestUrl; public string RequestUrl { ...
using System; public class DiselEngine :IEngine { public override String Engine() { return string.Format("Your vehicle is running with Disel"); } }
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace SistemaWebVuelos.Validations { public class CheckFecha : ValidationAttribute { public CheckFecha() { ErrorMessage = "La fecha es menor a la fe...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; using UnityEngine.UI; public class Unidad : MonoBehaviour { public Sprite foto; public string nombre; public int vitalidad = 150; public NavMeshAgent agent{ get ; private set;} Animator anim; //variables from a...
using UnityEngine; using System.Collections; public class Control : MonoBehaviour { private int dsize = 40; //database private Database db; //array of cards Deck deck; public Hand referencetoHand; public Turn turn; public Colors color; public ShowMessages message; public ...
using System.IO; namespace TNBase { public class ResourceManager { private readonly string resourceDirectory; public ResourceManager(string resourceDirectory) { this.resourceDirectory = resourceDirectory; } public string ListenersImportTemplatePath => Path...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Resize : MonoBehaviour { public GameObject window; private const int speed = 20; private const int minWidth = 260; private const int maxWidth = 1170; private const int minHeight = 250;...
namespace Plus.Communication.Packets.Outgoing.Rooms.Polls { internal class PollOfferComposer : MessageComposer { public PollOfferComposer() : base(1074) { } public override void Compose(ServerPacket packet) { packet.WriteInteger(111141...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Exercise2 { public partial class Form1 : Form { St...
namespace Game.ConsoleUI.Game.Services { using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using global::Game.ConsoleUI.Game.Models; using global::Game.ConsoleUI.Interfaces.Services; using Infrastructure.Interfaces; using Serilog; ...
using System.Collections.Generic; using System.Linq; using LAB19CreateAnAPI.Data; using Microsoft.AspNetCore.Mvc; // For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 namespace LAB19_CreateAnAPI.Controllers { [Route("api/todolist")] [ApiControll...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data;//sirve para acceder a las clases y metodos con ADO.NET para acceso a datos using System.Data.SqlClient;//sirve para conectarse a base de datos sqlserver namespace Almacen { public class Conexion ...
#define outputDebugInfo using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; using System.Text; /* * Reference / 参考来源: * 01. 网络上关于 APIHook 的易语言源码 * 02. http://www.ownedcore.com/forums/world-of-warcraft/worl...
using System.Collections.Generic; using LearningEnglishWeb.Models; using Newtonsoft.Json; namespace LearningEnglishWeb.Areas.Training.Models.Shared { public class QuestionWithOptions : Question { [JsonConstructor] protected QuestionWithOptions() { } public QuestionWith...
using ReactiveUI; using ReactiveUI.Fody.Helpers; using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Windows.Controls; using System.Windows.Input; using TableTopCrucible.Core.Models.Sources; using TableTopCrucible.Core.WPF.Services; using TableTopCrucible.Core....
using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using System.Text.Json; using System.Threading; using LogsSearchServer.Extensions; using LogsSearchServer.Filters; using LogsSearchServer.Packer; using NetCom; using NetCom.Extensions; using NetCom.Helpers; using NetComM...
using System; using System.Collections.Generic; using Master.Contract; using Master.DataFactory; namespace Master.BusinessFactory { public class GSTRateBO { private GSTRateDAL gstrateDAL; public GSTRateBO() { gstrateDAL = new GSTRateDAL(); } public List<GSTR...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BasicSwitch : BaseSwitch { [SerializeField] bool turnOn = false; [SerializeField] AudioManager SFX = null; public override void Activate() { if (turnOn) { EnableObjects(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //Task 7 namespace Hexadecimal_to_Decimal { class Program { static void Main(string[] args) { Console.Write("Enter hexadecimal num: "); string number = C...
using System; using System.Threading; using System.Threading.Tasks; namespace Alpaca.Markets { public sealed partial class AlpacaTradingClient { /// <summary> /// Liquidate an open position at market price using Alpaca REST API endpoint. /// </summary> /// <param name="symbol">...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CliPerformanceAnalyzer { #region - Performance Data Model public class DataSeries { public String TargetName { get; set; } public IEnumerable<Data> Values { get; se...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Gomoku { public class IllegalMoveException : Exception { public IllegalMoveException() : base("Illegal Move") { } public IllegalMoveExcep...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CareerCup150.Chapter9_SortingSearch { public class _09_04BigDataSort { /* * If you have a 2 GB file with one string per line, which sorting algorithm would you use to sort the file and why? ...
using System; using Bitcoin.BitcoinUtilities; using Bitcoin.Blox.Network; using System.IO; namespace Bitcoin.Blox.Protocol_Messages { public class Ping : Message { private ulong _nonce; public Ping(byte[] payload, P2PNetworkParameters netParams) : base(payload, 0, true, netParams) { } public Ping(P2P...
namespace ConsoleApp { using Components.Core.Swagger; using Components.DataAccess.Sql; using Components.User; using Components.Value; using ConsoleApp.Errors; using ConsoleApp.User.Automapper; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; ...
using System.Collections.Generic; using IVeraControl.Model; using UpnpModels.Model.UpnpDevice.Base; using UpnpModels.Model.UpnpService; namespace UpnpModels.Model.UpnpDevice { public class HumiditySensor1 : UpnpDeviceBase, IUpnpDevice { public string DeviceUrn => "urn:schemas-micasaverde-com:device:Hu...
using System.Threading.Tasks; namespace RoutingSlipWebApp.Services { public interface IService { Task RunAsync(); } }
namespace Validation { using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Globalization; using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; [CompilerGenerated, DebuggerNonUserCode, Ge...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TeaseAI_CE.Settings { [Serializable] public class Domme { public enum Level { Gentle, Lenient, Tease, Rough, Sadistic } public enum Apathy { Caut...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using HackerNewsAppCore; using NewHackerNewsAppInfrastructure.Models; namespace NewHackerNewsApp.Controllers { [Route("api/[controller]")] public class ArticleController : Controller...
using System; using Microsoft.Practices.Prism.ViewModel; namespace Torshify.Radio.Framework { public class ToastData : NotificationObject { #region Constructors public ToastData() { Icon = AppIcons.InformationWithCircle; DisplayTime = 2500; } #...
// 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // #see https://github.com/NuGet/NuGet.S...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using IdentityServer4.AccessTokenValidation; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace MvcGoogleMap_Demos.Models { public class Locations { public int ID { get; set; } [Required(ErrorMessage = "*First Name and Last Name Required")] ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Diagnostics; namespace GraphNodeIsConnected { class Program { static void Main(string[] args) { var graph = new Graph(); var a = new Node("a"...
// LE TON NANG - 20194339 using System; using System.Windows.Forms; using DTO; namespace GUI { public partial class frmThongTinChiTietGianHang : Form { public frmThongTinChiTietGianHang(bool LoaiGianHang, GianHangCaoCapDTO gianHangCaoCap, GianHangTieuChuanDTO gianHangTieuChuan) { I...
using System; namespace yocto { public interface IChildContainer : IContainer, IDisposable { IContainer Parent { get; } } }
using JoushuaMath; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace JoushuaMathTests { [TestClass] public class JMultiThreadTest { [TestMethod] public void DoMyMultiThreadTest() { JMultiThread jMultiThread = new JMultiThread(); jMultiThread.DoMy...
//------------------------------------------------------------------------------ // The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License. // You may obtain a copy of the License at http://www.nopCommerce.com/Li...
namespace Triton.Game.Mapping { using ns25; using ns26; using System; using System.Collections.Generic; using Triton.Game; using Triton.Game.Mono; [Attribute38("InputManager")] public class InputManager : MonoBehaviour { public InputManager(IntPtr address) : this(address, "...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Odev5GameDemo.Abstract; using Odev5GameDemo.Entities; namespace Odev5GameDemo.Concrete { public class GameManager:IGameService { public void Buy(Person person, Game game) {...
namespace GdNet.Common.Services { /// <summary> /// Simple file service /// </summary> public interface IFileService { /// <summary> /// Save the text into a file that is translated from virtual path /// </summary> OperationResult SaveFile(string virtualFilePath, stri...
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.IO; using System.Data.SqlClient; using System.Configuration; public partial class viewwindows : System.Web.UI.Page { string str = Configuration...
using DEMO_DDD.DOMAIN.Entidades; using DEMO_DDD.DOMAIN.Interfaces.Repositories; using DEMO_DDD.INFRA.DATA.Contexto; using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DEMO_DDD.INFRA.DATA.Repositories { /// <summary> /// Classe de r...
using Microsoft.EntityFrameworkCore; using Modelo; namespace Persistencia { public class EFContext : DbContext { public DbSet<Cliente> Clientes { get; set; } public DbSet<Animal> Animais { get; set; } public DbSet<Consulta> Consultas { get; set; } public DbSet<ConsultaMedicamen...
using System; using Windows.UI.Xaml.Navigation; namespace Uwp.Xaml.Navigation.Navigation { public interface INavigationService { void Navigate(Type sourcePageType, object context); void Navigate(Type sourcePageType); NavigatedEventHandler Navigated { get; set; } } public interface INavigationServiceParen...
namespace HH.RulesEngine.Core { using System.Collections.Generic; using HH.RulesEngine.Core.Interfaces; public static class RulesEngine { public static T ApplyRules<T>(this T obj, List<IRule<T>> rules) where T : class { foreach (var rule in rules) { ...
namespace Frontend.Core.Model.Paths.Interfaces { public interface IAlternativePath { string Path { get; set; } bool Exists { get; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CollectorScript : MonoBehaviour { private float width = 0f; void Awake() { width = GameObject.Find("BG").GetComponent<BoxCollider2D>().size.x; } void OnTriggerEnter2D(Collider2D collider...
public enum EEntityCategory { Player, Enemy, }
namespace DefineClass { using System; public class Display { private const double MaxScreenSize = 10; private const double MinScreenSize = 1; private const int MinNumberOfColors = 2; private double size; private int numberOfColors; // Constructors pub...
using NUnit.Framework; using System.Collections.Generic; using Lab1; namespace Lab1test { public class Tests { [Test] public void Test1() { var x = 0; for (var i = 0; i <= 10; i++) { RandomNumberGenerator rng = new RandomNumberGenerato...
using NUnit.Framework; namespace Logs.Models.Tests.UserTests { [TestFixture] public class ConstructorTests { [TestCase("username", "email", "name")] [TestCase("other-username", "other-email", "other-name")] public void TestConstructor_ShouldSetUsernameCorrectly(string username, str...
// // 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.IO; using System.Web; using System.Web.Configuration; using DotNetNuke.ComponentModel; using DotNetNuke.Providers.AspNetClientC...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Stundenplan.Models; namespace Stundenplan.Services { public class MockDataStore : IDataStore<Lesson> { private readonly List<Lesson> items; public MockDataStore(DateTime date) { this.items = new List<Les...
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.Reflection; using System.Diagnostics; using HSoft.SQL; using Obout.ComboBox; using HSoft.ClientManager.Web; public par...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class spaceSpawn : MonoBehaviour { public GameObject[] asteroids; public float spawnMinimum; void Start () { StartCoroutine(spawnAsteroid()); } IEnumerator spawnAsteroid() { int enemyPick...
namespace InheritanceDiner.Models { abstract class Employee { public string Name { get; set; } public string Id { get; set; } public void ClockIn() { } public virtual void Discount() { System.Console.WriteLine("A 5% Discount!!"); } ...
using Newtonsoft.Json; using stottle_shop_api.Filters.Models; using System.Net; using tests.Extensions; using tests.TestingFixtures; using Xunit; namespace tests.Server { public class Filters : IClassFixture<FiltersTestingFixture> { private readonly FiltersTestingFixture _fixture; public Filte...
// Copyright 2020 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applica...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WebApplication1.Models { public class Transaction { public int TransactionID { get; set; } public int? RelatedTransactionID { get; set; } public int? WalletID { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Algorithms.SortingAlgorithms { public class QuickSort { private int _arrayLength; private int[] _arrayToSort; private Random _randomGenerator = new Random(); ...
using System.Threading.Tasks; using DemoDotNet.Calculos.Core; using MediatR; using Microsoft.AspNetCore.Mvc; namespace DemoDotNet.Calculos.Api.Controllers { [ApiController] public class ShowMeTheCodeController : ControllerBase { private readonly IMediator _mediator; public ShowMeTheCodeCo...
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using System.Net.Http; using System.Threading.Tasks; namespace Crt.HttpClients { public interface IRouterApi { public Task<string> GetRouteAsync(string criteria, string points, bool roundTrip); } public class RouterA...
using System; using System.Collections.Generic; namespace OdmNet.Domains { public partial class OrderStatus { public OrderStatus() { Orders = new HashSet<Orders>(); } public int Id { get; set; } public string Descriotions { get; set; } public DateTi...
using NetworkToolkit.Http.Primitives; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; using Xunit; namespace NetworkToolkit.Tests.Http { public sealed class TestHeadersSink : Dictionary<string, List<string>>, IHttpHeadersSink { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AddRooms : MonoBehaviour { private RoomTemplates Templates; [Header("Varification")] public Collider2D[] colliders; public float radius; // Start is called before the first frame update void Start() ...
//Problem 8. Extract sentences //Write a program that extracts from a given text all sentences containing given word. using System; using System.Collections.Generic; using System.Linq; namespace Problem08ExtractSentences { class ExtractSentences { static void Main() { Console.Wri...
using System; using System.Collections.Generic; using System.Numerics; using System.Text; namespace Encryption_Algorithms { class ElGamalAlgorithm { public int _keySize { get; set; } public BigInteger pValue { get; set; } public BigInteger kValue { get; set; } public BigInteger...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Sandbox.ConsoleApp.Configuration; using Sandbox.Resources; namespace Sandbox.ConsoleApp { public class Program { public static void Main(string[] args) { var config = SandboxConfiguration.ConfigurationRo...
using server.Utilities; namespace server.Dtos { public class UserToUpdateDto { public string FName { get; set; } public string LName { get; set; } public string Email { get; set; } public string Phone { get; set; } public long BDay { get; set; } public long LastSeen...
using System; using System.Collections.Generic; using System.Text; namespace DAL.Enums { public enum UserRelationStatus { Pending = 1, Accepted = 2, Declined = 3, Blocked = 4 } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameState : MonoBehaviour { public void SavePlayerPosition() { PlayerPrefs.SetFloat("Player", transform.position.x); PlayerPrefs.SetFloat("Player", transform.position.y); PlayerPrefs.SetFloat("Player", transform.positio...
using System; using System.Collections.Generic; using System.Text; namespace OCP.Files.Cache { /** * check the storage backends for updates and change the cache accordingly * * @since 9.0.0 */ public interface IWatcher { //const CHECK_NEVER = 0; // never check the underlying fi...
using System; using System.Collections.Generic; using System.Text; namespace BusinessLogic.Operations { public class HERE_TrafficAnalytics { public static string _fx_GetToSpeedDataByLinkIds(BusinessEntities.Entities.HERE_TrafficAnalyticsRequests.ToSpeedDataByLinkIds toSpeedDataByLinkIds, LoggingFramew...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class DatasetObjectController : MonoBehaviour { public string status = "None"; private bool selected = false; public List<List<Vector4>> JoinedObjectsList = new List<List<Vector4>>(); // Use this for in...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Globalization; //Problem 7. Sort 3 Numbers with Nested Ifs //Write a program that enters 3 real numbers and prints them sorted in descending order. //Use nested if statements. Don’t use arr...