text
stringlengths
13
6.01M
namespace Ach.Fulfillment.Scheduler.Common { using System; using System.Diagnostics.Contracts; using Microsoft.Practices.ServiceLocation; using Quartz; using Quartz.Spi; internal class JobFactory : IJobFactory { #region Constants and Fields private readonly...
using Discord; using OrbCore.ContentStructures; using OrbCore.Logger; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrbCore.ContentTools { internal static class DirectMessageTools { public static DirectMessageContent CreateDir...
using System; using System.Linq; using System.Collections.Generic; using System.Threading.Tasks; using Aquamonix.Mobile.Lib.Domain; using Aquamonix.Mobile.Lib.Domain.Requests; using Aquamonix.Mobile.Lib.Domain.Responses; using Aquamonix.Mobile.Lib.Database; using Aquamonix.Mobile.Lib.Utilities; namespace Aquamonix.Mo...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BoogieLight : MonoBehaviour { public bool active = true; private Material material; private Color color; void Start() { material = GetComponent<MeshRenderer>().material; color = material.G...
namespace ConsoleApplication1.Models { public class MakelaarPartialViewModel { public string Naam { get; set; } public int Positie { get; set; } public int TotaalAantalObjecten { get; set; } } }
/*------------------------------------------------------------------------------------------------------------- * Programa: Ejercicio 13 * Autor: Douglas W. Jurado Peña * Versión: DAM 2018/2019 * Descripción: Haz un programa que tenga un fichero en el que vaya guardando los datos: Nombre usuario, fecha...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Dropbox.Api; using Dropbox.Api.Files; using Dropbox.Api.Sharing; using System.IO; namespace PrinterTimerControl { public class DropboxConnection //1.0 build 25022016 { public Dropb...
using System.Linq; using System.Security.Claims; using NUnit.Framework; using SFA.DAS.ProviderCommitments.Web.Authentication; using SFA.DAS.ProviderCommitments.Web.Extensions; namespace SFA.DAS.ProviderCommitments.Web.UnitTests.Extensions { [TestFixture] class ServiceClaimExtensionsTests { [TestCa...
using System; using System.Collections.Generic; using System.Text; namespace ReqresTestTask.Models { class UserList { public int Page { get; set; } public int PerPage { get; set; } public int Total { get; set; } public int TotalPages { get; set; } public List<UserData> ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using EasyDev.Presentation; using SQMS.Services; using EasyDev.BL; using EasyDev.SQMS; using System.Data; using EasyDev.Util; using SQMS.Application.Views.Common; na...
// Copyright (c) 2019 Jennifer Messerly // This code is licensed under MIT license (see LICENSE for details) using Kingmaker.Blueprints; using Kingmaker.Blueprints.Classes.Spells; using Kingmaker.ElementsSystem; using Kingmaker.EntitySystem.Stats; using Kingmaker.Enums.Damage; using Kingmaker.RuleSystem; using Kingmak...
using System; using HTB.Database; using System.Collections; using System.Net; using System.IO; using System.Text; using HTBUtilities; using Google.Api.Maps.Service.Geocoding; using Google.Api.Maps.Service; using System.Data; using System.Threading; namespace HTB.v2.intranetx { public partial class GetGegnerLatAnd...
using System; using BlueSky.CommandBase; using BSky.Lifetime.Interfaces; using BSky.Lifetime; using BlueSky.Windows; using Microsoft.Practices.Unity; using BSky.Statistics.Common; using System.Windows; using BSky.RecentFileHandler; using BSky.Interfaces.Interfaces; using BSky.ConfService.Intf.Interfaces; namespace Bl...
using Funding.Common.Constants; using System.ComponentModel.DataAnnotations; namespace Funding.Web.Models.ProjectViewModels { public class DonateViewModel { [Required(ErrorMessage = ProjectConst.DonateMessageRequired)] public string Message { get; set; } [Range(ProjectCons...
using System.Windows.Controls; namespace WPF.NewClientl.UI.Dialogs { /// <summary> /// SiginStatisticsDialog.xaml 的交互逻辑 /// </summary> public partial class MeetingTopicFilesDialog : UserControl { public MeetingTopicFilesDialog() { InitializeComponent(); ...
 using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Util; using Android.Views; using Android.Widget; namespace MoodleStats.Droid { public class dialog_createAccount : DialogFragment {...
using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; public class PlayerScorePanel : MonoBehaviour { public TextMeshProUGUI username; public TextMeshProUGUI score; public void SetScore(int _score) { this.score.text = _score.ToString(); } public ...
namespace DChild.Databases { public enum AccessoryType { Necklace = 1, Ring, _COUNT } }
using System.ComponentModel; namespace RimDev.AspNetCore.FeatureFlags.Tests { [Description("Test feature description.")] public class TestFeature : Feature { } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Profiling2.Domain.Prf.Documentation; namespace Profiling2.Web.Mvc.Areas.Documents.Controllers.ViewModels { public class DocumentationFileViewModel { public int Id { get; set; } publ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ControllerPosition : MonoBehaviour { // access two Vive controllers private SteamVR_TrackedObject trackedObject; private SteamVR_Controller.Device device; // create variable to hold controllers' vertical posi...
using System; class PlayWithIntDoubleAndString { private static void Main() { while (true) { ConsoleKeyInfo lsKey; Console.WriteLine("Please choose a type :"); Console.WriteLine("1 --> int"); Console.WriteLine("2 --> double"); Console...
using System; using System.Collections.Generic; using System.Configuration; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Xml; /// <summary> /// Samli...
using System.Security.Cryptography; using System.Text; namespace Infrastructure.Encryption { /// <summary> /// Collection of encryption methods /// </summary> public class DefaultEncryptor : IEncryptor { public string Md5Encrypt(string phrase) { var bytes = Encoding.UT...
using DotNetty.Buffers; using DotNetty.Transport.Channels; using System; using System.IO; using System.Text; using Microsoft.Extensions.Configuration; namespace NLogServer { public class NLogHandler : ChannelHandlerAdapter { private static StreamWriter sw; private static DateTime fileDate; ...
public class Solution { public string ConvertToTitle(int n) { StringBuilder sb = new StringBuilder(); while (n > 0) { int curr = n % 26; if (curr == 0) { sb.Insert(0, 'Z'); n -= 26; } else sb.Insert(0, (Char)(Convert.ToU...
namespace FullTraversal { using System.Collections.Generic; using System.IO; using System.Linq; public class Startup { public static void Main() { string sourcePath = @"D:\Vsichki Startupi\Softuni\C# Advanced 2\Streams"; string destinationPath = @"D:\Vsichk...
using System.Threading; namespace VendingMachine.App { public class Machine { private const int TotalCapacity = 25; private Can[] _inventory = new Can[TotalCapacity]; private int _pointer = 0; public int Capacity { get { return _inventory.Leng...
using TY.SPIMS.Entities; using TY.SPIMS.POCOs; using TY.SPIMS.Utilities; namespace TY.SPIMS.Controllers.Interfaces { public interface IPurchaseCounterController { void Delete(int id); CounterPurchas FetchCounterById(int id); SortableBindingList<PurchaseCounterDisplayModel> FetchPurchas...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace Research.TradingOrder.PurchaseCostCalculation { #region 【订单】调用采购 查底价 public class OrderBriefInfoWithProductsInput { [JsonProperty("orderNo")] public string OrderNo { get; set; } [J...
// Copyright 2013-2015 Serilog Contributors // // 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 applicable law or...
using UnityEngine; using System.Collections; public class NewBehaviourScript : MonoBehaviour { //For this, your GameObject this script is attached to would have a //Transform Component, a Mesh Filter Component, and a Mesh Renderer //component. You will also need to assign your texture atlas / material ...
 namespace DFC.ServiceTaxonomy.JobProfiles.DataTransfer.Models.ServiceBus { public class RegistrationItem : InfoDataItem { } }
namespace ElevatorKata { public class LiftArrivedEvent { public LiftArrivedEvent(Floor floor, Direction direction) { Direction = direction; Floor = floor; } public Floor Floor { get; private set; } public Direction Direction { get; private set; }...
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Fram...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using WebCalcMVC.Models; namespace WebCalcMVC.Controllers { public class HomeController : Controller { // GET: Home [HttpGet] public ActionResult Index() { Us...
using System; using System.Windows.Threading; namespace Waterskibaan { public class Game { public readonly Waterskibaan _waterskibaan = new Waterskibaan(); private readonly WachtrijInstructie _wachtrijInstrucie = new WachtrijInstructie(); private readonly InstructieGroep _instructieGro...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace transport.Models.ApplicationModels { public class Kontrahent { [Key] [DatabaseGenerated(Da...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ActivateScope : MonoBehaviour { public Animator animator; // Update is called once per frame void Update () { GetComponent<Canvas> ().enabled = animator.GetBool ("Scope"); } }
using System; using System.Threading.Tasks; using CRUD_Razor_2_1.Models; using CRUD_Razor_2_1.Pages.BookList; using Microsoft.EntityFrameworkCore; //using Microsoft.EntityFrameworkCore. using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Options; using Moq; using Xunit; using System.Collections.Gen...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Health : MonoBehaviour { public float _hp; public bool _Dead; private float _maxHP; private bool _Invincible; private Rigidbody2D _Rb; private void Awake() { _Rb = GetComponent<Rigidbody...
namespace Olive.Web.MVC.ViewModels.Administration { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections.ObjectModel; using Olive.Data; using Olive.Data.Uow; using System.Windows; using System.ComponentModel; usi...
using System; using System.IO; using System.Reflection; using System.Text; using System.Windows.Forms; namespace MoviesUpdater { static class Program { ///// <summary> ///// Tests for access to the cache path used by the updater to copy files for updating. ///// </summary> ///// <param name="path">The cache...
namespace MySurveys.Web.Areas.Administration.ViewModels { using System.ComponentModel.DataAnnotations; using System.Web.Mvc; using AutoMapper; using Base; using Models; using MvcTemplate.Web.Infrastructure.Mapping; public class SurveyViewModel : AdministrationViewModel, IMapFrom<Survey>, I...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Data.SqlClient; using System.Web.UI.WebControls; public partial class Assignments_Assignment2_Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using System; public class Actor : MonoBehaviour { public Bone[] Bones = new Bone[0]; public bool DrawSkeleton = true; public bool DrawVelocities = true; public bool DrawTransforms = true; public bool TargetRoot = t...
using System; using com.Sconit.Entity.BIL; using com.Sconit.Entity.ORD; using System.Collections.Generic; using com.Sconit.Entity.VIEW; using com.Sconit.Entity.FMS; namespace com.Sconit.Service { public interface IFacilityMgr { void CreateFacilityMaster(FacilityMaster facilityMaster); void Ge...
namespace TelegramBot { /// <summary> /// Класс хранит токен телеграмм-бота /// </summary> public static class BotCredentials { public static readonly string BotToken = "Здесь мог бы быть Ваш токен;)"; } }
// ----------------------------------------------------------------------- // <copyright file="ApiStatusCode.cs" company="Andrey Kurdiumov"> // Copyright (c) Andrey Kurdiumov. All rights reserved. // </copyright> // ----------------------------------------------------------------------- namespace Dub.Web.Core { /...
namespace iRunes.Controllers { public class CreateTrackAlbumVewModel { public string AlbumId { get; set; } } }
using AurelienRibon.Ui.SyntaxHighlightBox; using ProgFrog.Interface.Data; using ProgFrog.Interface.Model; using ProgFrog.Interface.TaskRunning; using ProgFrog.Interface.TaskRunning.ResultsChecking; using ProgFrog.Interface.TaskRunning.Runners; using System; using System.Collections.ObjectModel; using System.Threading....
using System.Collections.Generic; using Tomelt.ContentManagement; using Tomelt.ContentManagement.MetaData; using Tomelt.ContentManagement.MetaData.Builders; using Tomelt.ContentManagement.MetaData.Models; using Tomelt.ContentManagement.ViewModels; using Tomelt.Layouts.Helpers; namespace Tomelt.Layouts.Settings { ...
using System; using System.Collections.Generic; using System.Linq; using Infrastructure.Encryption; using WebGrease.Css.Extensions; namespace Web.ViewModels.User { public class DisplayUserViewModel { public DisplayUserViewModel(Domain.Users.User user, IEncryptor encryptor) { UserId...
using System; using System.Threading.Tasks; using Microsoft.Owin.Security.Infrastructure; using Ricky.Infrastructure.Core; using Ricky.Infrastructure.Core.ObjectContainer; using VnStyle.Services.Business; using VnStyle.Services.Data.Domain.Memberships; namespace VnStyle.Web.Infrastructure.Security.Providers { /// ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JustRipeFarm.ClassEntity { public class BoxStorage { private int id; private int storingJob_id; private int product_id; private int box_id; priv...
using System.Collections.Generic; using TheMapToScrum.Back.BLL.Interfaces; using TheMapToScrum.Back.BLL.Mapping; using TheMapToScrum.Back.DAL.Entities; using TheMapToScrum.Back.DTO; using TheMapToScrum.Back.Repositories.Contract; namespace TheMapToScrum.Back.BLL { public class ProductOwnerLogic : IProductOwnerLog...
public interface IThirdPartyTransfer { void PerformThirdPartyTransfer(BankAccount bankAccount,VMThirdPartyTransfer vmThirdPartyTransfer); }
using CC.Web.Model.System; using System; using System.Collections.Generic; using System.Text; namespace CC.Web.Model { public class Article : BaseModel { /// <summary> /// 标题 /// </summary> public string Title { get; set; } /// <summary> /// 内容 /// </su...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class Vista_Diseno_brearCrumbs_previo : System.Web.UI.UserControl { #region Variable private string sResultado = ""; #endregion #region ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Data.Models { public class RefreshToken { public string Token { get; set; } = Guid.NewGuid().ToString(); public DateTime Expires { get; set; } public string Use...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FluidSimulation : MonoBehaviour { public int N = 16; public int iter = 4; public Fluid fluid; public FilterMode filtermode = FilterMode.Point; public Texture2D tex; public float viscosity = 0.0002f; ...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpawnManager : MonoBehaviour { public GameObject goodBall; public GameObject currentBall; public GameAction changeBall; public void SpawnBall() { var newBall = Instantiate(goodBall, g...
namespace rm.Models { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class Lapm { [Key] [DatabaseGenerated(DatabaseGeneratedOpti...
using FeriaVirtual.Application.Services.Signin.Queries; namespace Application.Test.Users { public class SigninMother { public static SigninQuery GetValidSigninQuery() => new("user.test", "a55d3ef664c94df0c32f44bc299d3e4180df61e8"); public static SigninQuery GetNullSigninQuery() =>...
// File Prologue // Name: Darren Moody // CS 1400 Section 005 // Project: CS1400 Project 5 // Date: 10/19/2013 // // I declare that the following code was written by me or provided // by the instructor for this project. I understand that copying source // code from any other source constitutes cheating, and that I...
using System.Collections.Generic; namespace MusicAPI.Models { public interface IMusicBrainzModel { IEnumerable<MusicBrainzModel.MusicBrainzAlbum> Albums { get; set; } string Name { get; set; } IEnumerable<MusicBrainzModel.MusicBrainzWikiDataInfo> Relations { get; set; } string...
namespace Shimakaze.Toolkit.Csf.Data { public static class OverAll { public static string GetResource(this string key) => Properties.Resource.ResourceManager.GetString(key); } }
using UnityEngine; using System.Collections; public class FruitgameController : MonoBehaviour { private GameController gc; public int time; private bool gameOver; public GameObject enemies1; public GameObject enemies2; public GameObject enemies3; public GameObject enemies4; private int enemyTotal1; privat...
using System; namespace Sind.Web.Cadastros { public partial class Cadastros : System.Web.UI.MasterPage { protected void Page_Load(object sender, EventArgs e) { } } }
using OpenTK.Graphics.OpenGL; using System; using System.Drawing; using System.Drawing.Imaging; namespace Glib { /// <summary> /// Obsahuje 2D textůru. /// </summary> public class Texture2D { private int id; /// <summary> /// Konstruktor. /// </summary> ///...
using UnityEngine; using System.Collections; using System.Reflection; using UnityEditor; [CustomEditor(typeof(GenerationScript))] public class GenerationEditor : Editor { string tag; public override void OnInspectorGUI() { DrawDefaultInspector(); GenerationScript generation_script = (GenerationScript)t...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MyCube : MonoBehaviour { public float speed = 3f; public float jumpPower = 5f; Rigidbody rigidbody; Vector3 movement; float horizentalMove; float verticalMove; bool isJumping; private void A...
using System; using UnityEngine; public class Tank : MonoBehaviour { private Transform bodyTransform; //bodyオブジェクトのTransformコンポーネント情報 private Transform tarrotTransform; //tarrotオブジェクトのTransformコンポーネント情報 void Start() { bodyTransform = GameObject.Find("Body").GetComponent<Transform>(); //Bodyオブジ...
using UnityEngine; public class Spawner : MonoBehaviour { [Header("Configurables")] [SerializeField] private string poolObjectToSpawn = string.Empty; [SerializeField] private float adjustmentAngle = 0f; [SerializeField] private float spawnAreaRange = 3f; [SerializeField] private Vector3 spawnA...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FileManager { public interface IOperation { string Invoker(string action, string filePath); int GetCommands { get; } } }
using System; using System.Collections.Generic; namespace Zesty.Core.Entities { public class Domain { public Guid Id { get; set; } public Guid ParentDomainId { get; set; } public string Name { get; set; } public List<Domain> Childs { get; set; } } }
using ArquiteturaLimpaMVC.Aplicacao.DTOs; using ArquiteturaLimpaMVC.Aplicacao.Interfaces; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; namespace ArquiteturaLimpaMVC.WebUI.Controllers { [Authorize] public class CategoriasController : Controller { ...
namespace Calculator { partial class ArithmeticParser { } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HomeWorkOOP3_2 { class Program { static void Main(string[] args) { Ship ship = new Ship(100, 10, "1999") {Port="NSK",People=20}; Console.Write(...
using System; using System.Collections.Generic; using Uintra.Core.Feed.Models; namespace Uintra.Features.CentralFeed { public class CentralFeedItemComparer : IComparer<IFeedItem> { private readonly DateTime _currentDate; public CentralFeedItemComparer() { _currentDate = Da...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class SampleGameManager : MonoBehaviour { public static SampleGameManager instance; private void Awake() { if (instance == null) { ins...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Dontebot { class Program { static void Main(string[] args) { MinunBotti bot = new MinunBotti(); } } }
using UnityEngine; using UnityEngine.UI; public class VisualToken : MonoBehaviour { [SerializeField] Sprite[] typeSprites; Token sourceToken; System.Action<VisualToken> onClickCallback; public Token Source { get => sourceToken; } public void Setup(Token source, System.Action<VisualToken> onClickD...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using ISE.UILibrary; using ISE.SM.Client.Common.Presenter; using ISE.Framework.Utility.Utils; using ISE.S...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BitClassroom.DAL.Models { public class Survey { public int Id { get; set; } [Display(Name="Report Title")] [Require...
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; using Core.BIZ; using Core.DAL; using System.Globalization; namespace WinForm.Views { public partial...
using MongoDB.Bson.Serialization.Attributes; using Newtonsoft.Json; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; namespace Entities { public class Label { [BsonId] public int LabelId { get; set; } [BsonElement("description")] public strin...
using Business.Abstract; using Entities.Concreate; using Microsoft.AspNetCore.Mvc; namespace WebAPI.Controllers { [Route("api/[controller]")] [ApiController] public class CustomersController : ControllerBase { readonly ICustomerService _customerService; public CustomersController(ICus...
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.Med...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using feedback.Models; using System.Net.Mail; namespace feedback { public partial class MainPage : ContentPage { public MainPage() { InitializeCo...
using System.Collections.Generic; using Autofac; using Tests.Pages.ActionID; using Framework.Core.Common; using NUnit.Framework; using Tests.Pages.Oberon.CommunicationCenter; using OpenQA.Selenium; namespace Tests.Projects.Oberon.CommunicationCenter { public class AddToEmailList : BaseTest { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Integer.Domain.Paroquia; using System.Web.Mvc; using Foolproof; using System.ComponentModel.DataAnnotations; using Integer.Domain.Agenda; namespace Integer.Api.Models { public class ReservaDeLocalModel { [Requir...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ControlAvatar : MonoBehaviour { private bool der = false; private bool izq = false; public GameObject objPanel; // Use this for initialization void Start () { } // Update is called once per frame void U...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerMov : MonoBehaviour { public Rigidbody rb; public KeyCode moveR; public KeyCode moveL; public float forward_velociy; private float side_velocity = 0f ; private float timeLeft = 0.25f...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; public class GenericActionOnTriggerScript : MonoBehaviour { // public GameObject trailerCamera; public UnityEvent Actions; private void OnCollisionEnter(Collision other) { Actions.Invoke(); } private v...
using Ghostpunch.OnlyDown.Common.ViewModels; using Ghostpunch.OnlyDown.Game.Views; using Lean; using UnityEngine; namespace Ghostpunch.OnlyDown.Game.ViewModels { public class PlayerViewModel : ViewModelBase<PlayerView> { [Inject] public PlayerDigSignal PlayerDig { get; set; } private ...
namespace Sentry.Testing; public sealed class Waiter<T> : IDisposable { private readonly TaskCompletionSource<object> _taskCompletionSource = new(); private readonly CancellationTokenSource _cancellationTokenSource = new(); public Waiter(Action<EventHandler<T>> callback) { _cancellationTokenSo...
using Volo.Abp.Modularity; namespace powerDg.KMS { [DependsOn( typeof(KMSApplicationModule), typeof(KMSDomainTestModule) )] public class KMSApplicationTestModule : AbpModule { } }
using UnityEditor; using UnityAtoms.Editor; namespace UnityAtoms.BaseAtoms.Editor { /// <summary> /// Variable Inspector of type `bool`. Inherits from `AtomVariableEditor` /// </summary> [CustomEditor(typeof(BoolVariable))] public sealed class BoolVariableEditor : AtomVariableEditor<bool, BoolPair>...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class HeroCombatManager : MonoBehaviour { public float attackSpeed = 2.5f; public float timeSinceAttacked; public bool isAttacking; public bool isShooting; public bool isCasting; public bool isDead; pub...