text
stringlengths
13
6.01M
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using API.DTOs; using API.Entities; using API.Interfaces; using AutoMapper; using Microsoft.EntityFrameworkCore; namespace API.Data { public class TripsRepository : ITripsRepository { private readonly DataContext _contex...
using System; using System.IO; namespace No8.Solution.Printers { public class CanonPrinter : Printer { public CanonPrinter(string model) : base(model) { } public override string Name => "Canon"; protected override void PrintEmulation(FileStream stream) { using (st...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Data; public partial class Presentation_Sermons_Archive_Default : System.Web.UI.Page { #region Declarations DataSet dsSermon...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace OnlineExamSytem.Models { public class Exam { [Key] public int ExamID { get; set; } public stri...
// -------------------------------- // <copyright file="Special.cs" > // © 2013 KarzPlus Inc. // </copyright> // <author>JOrtega</author> // <summary> // Special Entity Layer Object. // </summary> // --------------------------------- using System; using KarzPlus.Entities.Common; namespace KarzP...
using System; using System.IO; using System.Text; using UnityEngine; using UnityEngine.UI; namespace RecordSaveAudio { [RequireComponent(typeof(AudioSource))] public class RecordSaveAudio : MonoBehaviour { #region Constants & Static Variables /// <summary> /// Audio Source to stor...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ClassBase : MonoBehaviour { //Stats public float health, defense; //Body components //public RuntimeAnimatorController player; //Attack system public Transform attackPoint; public float attackRang...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; using System.Diagnostics; using Microsoft.Kinect; namespace Stuba.BioSandbox { public struct Coordinates2D { public int X; public int Y; public int Width; ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.SessionState; using Common; using Model.Domain.Common; using Model.Domain.Cost; using MODEL.COST; using System.Data; /// <summary> ///ExpenseUseDataHandler 的摘要说明 /// </summary> public class ExpenseUseDa...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Windows.Forms; using Relocation.Data; using Relocation.Com; using Relocation.Com.Tools; using Relocation.UI.Interface; using Relocation.Base; namespace Relocation.UI { public partial class Ho...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace SynchWebService.Entity { public class HrEmployeeITEMEntity: AppHdr { /// <summary> /// 构造函数,不生成主键 /// </summary> public HrEmployeeITEMEntity() : this(false) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TheLivingRoom { class TriggerPoint { public TriggerPoint() { TriggerSound = null; setID(); } public TriggerPoin...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Behaviors.Properties; namespace Behaviors.Selenium { internal class Workspace { private readonly SeleniumContext _context; public Workspace(SeleniumContext context) { _context = contex...
using QuanLyQuanCafe.DAO; using QuanLyQuanCafe.DTO; 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 QuanLyQuanCafe { public partial class ...
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace Assets.Scripts { public class Player : MonoBehaviour { public int Health = 100; public static bool IsDead = false; public static int Score = 100; public int KillCount = 0; public In...
using System; namespace RO { public static class CoreEventSingleton<T> where T : CoreEvent, new() { public static readonly T Me = Activator.CreateInstance<T>(); } }
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using MySQL.Data.EntityFrameworkCore.Extensions; namespace MyConsole { public class Demo { public int Key { get; set; } public int? Id { get; set; } } public class Context : DbContext ...
using RestSharp; namespace CloneDeploy_ApiCalls { public class BaseAPI { protected readonly RestRequest Request; protected readonly string Resource; public BaseAPI(string resource) { Request = new RestRequest(); Resource = resource; } } }
using System; using System.Collections.Generic; using PortioningMachine; using PortioningMachine.ItemProviders; using PortioningMachine.SystemComponents; using PortioningMachine.Logger; namespace ProgramController { class Program { static void Main(string[] args) { IControlUn...
using System.Diagnostics; using System.Linq; using Chushka.Data; using Microsoft.AspNetCore.Mvc; using Chushka.ViewModels; namespace Chushka.Controllers { public class HomeController : BaseController { public IActionResult Index() { if (this.User.Identity.IsAuthenticated) ...
using System; using System.Collections.Generic; using System.Globalization; using System.Net.NetworkInformation; using System.Text; namespace ExtMeth.Extensions { static class DateTimeExtensions { public static string ElapsedTime(this DateTime thisObj) { TimeSpan duration = DateTim...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Exercice3 { class Program { static void Main(string[] args) { Console.Write("****calculatrice v2 (V1.0, 07 / 07 / 2016) ****"); Console.WriteLin...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ParkingLotSimulation { public enum VehicleType { TwoWheelers, FourWheelers, HeavyVehicles }; public class ParkingLotSimulater { public ParkingLot ParkingLot { get; set; } ...
using System; using System.Collections.Generic; using System.Windows; using System.Windows.Media; using SimpleVisioModels; using SimpleVisioBL; using SimpleVisioDataAccess; namespace SimpleVisioService { public class ShapeService : IShapeService { ISimpleVisio simpleVisio; ISimpleVisioSaver sa...
using System; using Xunit; namespace IoUring.Tests { public class RingSupportTest { [Fact] public void SmokeTest() { Assert.True(Ring.IsSupported); using var r = new Ring(8); foreach (var i in Enum.GetValues(typeof(RingOperation))) { ...
using System; using System.Net; 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.Xml.Linq; using System.Linq; using Syste...
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration; using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling; using Microsoft.Practices.EnterpriseLibrary.Logging; namespace ExceptionHandlingFramework { /// <summary> /// Calss to manage the exception raised in the code /// </summary> ...
using System.Collections; using System.Collections.Generic; using UnityEngine; [ExecuteInEditMode] public class xAxisLock : MonoBehaviour { public Transform verticalScale; public void xLock() { transform.localScale = new Vector3(0.05f / verticalScale.localScale.x ,transform.localScale.y, 1); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Assignment_Part_A { class AssignmentsPerStudent { public Student student; public List<Assignment> assignmentsStudent = new List<Assignment>(); ...
using System; using System.Collections.Generic; using System.Text; using System.Net; using System.IO; using System.Threading; namespace Jatsz.MiniHttpServer { public class MiniHttpServer { private int _numOfProcessThread = 1; private int _listenPort = 8080; private Diction...
using Lykke.Service.SmsSender.Core.Domain.SmsRepository; using ProtoBuf; namespace Lykke.Service.SmsSender.Sagas.Events { [ProtoContract] public class SmsMessageDeliveryFailed { [ProtoMember(1)] public SmsMessage Message { get; set; } } }
using System; using Service; using MKModel; using System.Collections.ObjectModel; using ReDefNet; namespace MKService.Updates { internal interface IUpdatableGame : IUpdatable, IGameModel, IQueryResponse { new Guid User1Id { get; set; } new Guid User2Id { get; set; } new Guid Id{ get; s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HCL.Academy.Model { public class ExternalUserRequest:RequestBase { public int Id { get; set; } public int EmployeeId { get; set; } public string UserName ...
using System.Linq; /******************************************/ /* */ /* Copyright (c) 2018 monitor1394 */ /* https://github.com/monitor1394 */ /* */ /******************************************/ using System.Collections.Gene...
using System.Collections.Generic; using System.Linq; using Amesc.Data.Contexts; using Amesc.Dominio.Pessoas; using Microsoft.EntityFrameworkCore; namespace Amesc.Data.Repositorios { public class PessoaRepositorio : RepositorioBase<Pessoa>, IPessoaRepositorio { public PessoaRepositorio(ApplicationDbCon...
using Microsoft.Bot.Builder; using System.Threading; using System.Threading.Tasks; namespace PizzaBot.Bots { /// <summary> /// Bot that echos back a user's responses on each turn /// </summary> public class EchoBot : IBot { //The IBot interface is provided by the Microsoft.Bot.Builder pack...
using UnityEngine; namespace UnityUIPlayables { public class RectTransformAnimationMixer : AnimationMixer<RectTransform, RectTransformAnimationBehaviour> { private readonly RectTransformPositionMixer _positionMixer = new RectTransformPositionMixer(); private readonly RectTransformRotationMixer...
using System; using System.Collections.Generic; using System.Data; using System.Data.OleDb; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.VisualBasic; using System.IO; using System.Data.SqlClient; namespace Student_Management.DAL { class DataAccess { private OleDb...
using KRF.Core.Entities.Product; using KRF.Core.Entities.Sales; using KRF.Core.Entities.ValueList; using System.Collections.Generic; namespace KRF.Core.DTO.Sales { /// <summary> /// This class does not have database table. This class acts as a container for below products classes /// </summary> public...
using System.Collections.Generic; using System.Linq; using AutoMapper; using Umbraco.Web.Models.ContentEditing; namespace Umbraco.Web.Models.Mapping { internal class PropertyGroupDisplayResolver<TSource, TPropertyTypeSource, TPropertyTypeDestination> where TSource : ContentTypeSave<TPropertyTypeSource> ...
using System.Collections.Generic; namespace HangmanGame.App.Options { public class GameOptions { public string WordAssociationsUrlTemplate { get; set; } public string WordAssociationsApiKey { get; set; } public IReadOnlyCollection<string> Categories { get; set; } public int ...
// 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.Text; using System.Threading.Tasks; using Thoughtworks_BattleShip.Interface; namespace Thoughtworks_Battleship { public sealed class ConsoleLogger : ILogger { private static ConsoleLogger _instace; private Console...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; //General MenuControl public class MenuControl : MonoBehaviour { public GameObject Mainmenu; public GameObject Practicemenu; public GameObject TestMenu; public void ButtonSc...
using log4net; using log4net.Config; using log4net.Repository; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Depende...
using UnityEngine; using Minigame5; using System.Collections; using System.Collections.Generic; public class MiniGame5_Manager : MiniGameSingleton<MiniGame5_Manager> { #region variables /// <summary> /// Лэйбл для отображения оставшегося времени /// </summary> public UILabel labelTime...
using System; using TestProject.Data; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using TestProject.Models.Ratings; namespace TestProject.Controllers { public class RatingsController : Controller { private readonly RatingsContext _dbContext; ...
using UnityEngine; using System.Collections; public class playbuttonhandler : MonoBehaviour { bool allowed;//specifies when the player's touch input will be allowed float mytimer=1.52f;//it will be allowed after 1.52 seconds bool touchallowed;//this is used to allow only 1 raycast per touch (to increase performanc...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using nagp.sample.library; using nagp.sample.library.DTO; namespace nagp.console.app { class Program { static void Main(string[] args) { Console.WriteLi...
using System.Text.Json.Serialization; using PlatformRacing3.Server.Game.Communication.Messages.Incoming.Json; namespace PlatformRacing3.Server.Game.Communication.Messages.Outgoing.Json; internal sealed class JsonMatchOwnerOutgoingMessage : JsonPacket { private protected override string InternalType => "matchOwner";...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace Registration_File { class Program { static void Main(string[] args) { while(true) { ...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Shooter : MonoBehaviour { [SerializeField] Projectile projectile; [SerializeField] GameObject gun; AttackerSpawner myLaneSpawner; Animator animator; void Start() { SetLaneSpawner...
using Core.Base; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Data.Infrastructure { public abstract class EntityConfiguration<TEntity> : IEntityTypeConfiguration<TEntity> where TEntity : BaseEntity { public abstract void Configure(EntityTypeBuild...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using RetailClientApp.Models.ViewModel; using RetailClientApp.Models; using Microsoft.AspNetCore.Http; using RetailClientApp.Provider; namespa...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Projectile : MonoBehaviour { public bool enemy; public GameObject impactEffect; public Vector3 aimAt; public float flySpeed; public float impactDamage; public Rigidbody theRB; // Start is called b...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Business.Helper; using eIVOGo.Module.Base; using Model.DataEntity; using Model.InvoiceManagement; using Model.Locale; using Model.Security.Mem...
using System; using Grpc.Core; using Grpc.Reflection; using Grpc.Reflection.V1Alpha; namespace ProtoHub { class Program { static void Main(string[] args) { try { var reflectionServiceImpl = new ReflectionServiceImpl(ProtoHubService.Descripto...
using System; using System.Collections.Generic; using System.Text; namespace CLI.FileTypeSession { static class FileValidator { public static bool IsNullOrEmptyPath(string path) => String.IsNullOrEmpty(path) ? true : false; public static bool IsValid(string path) => System.IO.File.Exist...
/* * Bungie.Net API * * These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. * * OpenAPI spec version: 2.1.1 * Contact: support@bungie.com * Generated by: https://github.com...
using NUnit.Framework; using P10Gen.Core.Model; namespace G10Gen.Core.Tests { public class CombinationColorTest { [Test] public void Ctor_Aufgabe_Get() { Assert.AreEqual(Aufgabe.Color, new CombinationColor(0).Aufgabe); } [TestCase(0, ExpectedResult = 0)] ...
using System; using System.Text.RegularExpressions; namespace LabSeven { class Program { static void Main(string[] args) { Console.WriteLine("Welcome to the Grand Circus Data Entry Terminal!"); Console.WriteLine("#################################################"); ...
// Accord Statistics Library // The Accord.NET Framework // http://accord-framework.net // // Copyright © César Souza, 2009-2015 // cesarsouza at gmail.com // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published ...
using UnityEngine; namespace UnityExtensions.AI.Sensors { [RequireComponent(typeof(SphereCollider))] public abstract class ASensor : MonoBehaviour { #region Attributes protected bool m_otherDetected; protected SphereCollider m_collider; #endregion Attributes #re...
 namespace KRF.Core.Entities.MISC { public enum ValueListType { Territory = 1, JobType = 2, AddressType = 3, LeadSource = 4, CustomerType = 5, RoofType = 6, RoofPitch = 7, UnitOfMeasure = 8, Manufacturer = 9, Category = 10, ...
using System; using ComputerBuilderClasses.Contracts; using ComputerBuilderClasses.SystemComponents; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ComputerBuilderTests.CPUTests { [TestClass] public class SquareNumberTests { [TestMethod] public void SquareNumberShouldReturnP...
using LuaInterface; using SLua; using System; using System.Collections; using UnityEngine; public class Lua_UnityEngine_MonoBehaviour : LuaObject { [MonoPInvokeCallback(typeof(LuaCSFunction))] public static int constructor(IntPtr l) { int result; try { MonoBehaviour o = new MonoBehaviour(); LuaObject.pu...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Playables; using UnityEngine.EventSystems; using Spine.Unity; public class Cajas : MonoBehaviour { public GameObject Cofre; public int abiertas; public GameObject otra; public int deb1; public int d...
using System; using System.Collections.Generic; namespace API_GiangVien.Models { public partial class Lichlamviec { public int MaLlv { get; set; } public int MaGv { get; set; } public DateTime? NgayBd { get; set; } public DateTime? NgayKt { get; set; } public string Con...
using System; using UnityEngine; [System.Serializable] [CreateAssetMenu] public class CurrencyItemData : BaseItemData { }
using UnityEngine; using UnityEngine.UI; using System.Collections; using System; public class CountdownDisplayManager : IDisplayManager { public Text conferenceTitleText; public Text speakerNameText; public RawImage userImageContainer; public string conferenceTitle; public string speakerName; public Sprite use...
using System; using System.Collections.Generic; using System.Threading.Tasks; using API.Dtos; namespace API.Services { public interface IUserService { Task<UserToReturn> GetAsync(int id); Task<IEnumerable<UserToReturn>> GetAllAsync(); Task<IEnumerable<UserToReturn>> GetAllUsersAsync(...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using PowerShapeDotNet.Enums; using PowerShapeDotNet.Macros; namespace PowerShapeDotNet.Objects { /// <summary> /// class for PCurve Type Objects /// </summary> public class PSDNObjectPCurve : PSDNObjectBase { ...
using System.Collections.Generic; using System.Linq; using Plus.HabboHotel.Achievements; using Plus.HabboHotel.GameClients; using Plus.HabboHotel.Users; namespace Plus.Communication.Packets.Outgoing.GameCenter { internal class GameAchievementListComposer : MessageComposer { public Habbo Habb...
/** * Created 25/11/2020 * By: Omer Farkhand * Last Modified DD/MM/YYYY * By: Aswad Mirza * * Contributors: Aswad Mirza, Omer Farkand */ using System.Collections.Generic; using UnityEngine; /* * EnemyGenerator instantiates enemies on the spawn point objects placed in the level. * Also handles trap room en...
 using System; namespace ContactManager.Business { public class Persoon : Contact { public DateTime? GeboorteDatum { get; set; } public override string ToString() { return $"{GeboorteDatum:MM/dd/yyyy}"; } } }
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // #region Usings using System; using System.Threading; #endregion namespace DotNetNuke.Collections.Internal { internal class ReaderWriterSlimLock : I...
using UnityEngine; namespace syscrawl.Common.Utils { public static class RandomUtils { public static Vector3 RandomVectorBetweenRange( Vector3 minimum, Vector3 maximum) { var x = Random.Range(minimum.x, maximum.x + 1); var y = Random.Range(minimum.y, maximu...
namespace Timesheet.DataAccess.csv { public class CsvSettings { public CsvSettings(char delimeter, string path) { Delimeter = delimeter; Path = path; } public char Delimeter { get; } public string Path { get; } } }
using System; using Server.Items; namespace Server.Items { public class PhoenixCasterLantern : MetalKiteShield { public override SetItem SetID{ get{ return SetItem.PhoenixCaster; } } public override int Pieces{ get{ return 14; } } [Constructable] public PhoenixCasterLantern() : base() { It...
using UnityEngine; public class AudioRPC : MonoBehaviour { public AudioClip marco; public AudioClip polo; [PunRPC] void Marco() { Debug.Log("Marco"); this.GetComponent<AudioSource>().clip = marco; this.GetComponent<AudioSource>().Play(); } [PunRPC] void...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LINQ_operations { public class Apple { public int Id { get; set; } public string SortName { get; set; } public double Size { get; set; } } public class...
 using System.Collections.Generic; using System.Data; using System.Linq; using Dapper; using DataStore.Dal.Pager; using DataStore.Entity; using DataStore.Pager; namespace DataStore.Dal { public partial interface IRoleService { void Delete(List<long> idList); void Delete(long id); ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CannonBallManager : MonoBehaviour { public IsACannonBall[] cannonBalls; // store all the game cannonballs public IsABigFucknFish[] fishs; // store all the fishes (see you and thanks for the fishes!) public static ...
namespace Plus.Communication.Packets.Outgoing.Handshake { internal class SetUniqueIdComposer : MessageComposer { public string UniqueId { get; } public SetUniqueIdComposer(string id) : base(ServerPacketHeader.SetUniqueIdMessageComposer) { UniqueId = id;...
namespace LinkedList { using System; class LinkedList<T> : ICloneable { public T Value { get; set; } public LinkedList<T> NextNode { get; set; } public LinkedList(T value, LinkedList<T> nextNode = null) { this.Value = value; this.NextNod...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Spawn : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } private void OnTriggerEnter(Collider other) { if(other.gameObject.t...
//------------------------------------------------------------------------------ // 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/Lic...
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 System.Threading; using System.Diagnostics; using System.Net; using System.IO; using System.Reflect...
#region Copyright Syncfusion Inc. 2001-2015. // Copyright Syncfusion Inc. 2001-2015. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // licensing@syncfusion.com. Any infringement will be prosecuted under // a...
using UnityEngine; using System.Collections; using UnityEditor; public class SOPixelPerfectMenu : ScriptableObject { [MenuItem ("Tools/SO/Add SOPixelPerfect scripts")] static void AddSOPixelPerfectTextMesh() { GameObject go = Selection.activeGameObject; if(go!=null){ ClearSelection(); go.AddComponent<SOPi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace N2_Estrutura { class VendasPorData { public DateTime Data { get; set; } public double Total { get; set; } } }
using Newtonsoft.Json; using RabbitMQ.Client; using RabbitMQ.Client.Events; using RabbitMQ.Client.Exceptions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ServicoDeRecebimentoDeEntregas.RabbitMQ { public class Consumer { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DropExplosion : MonoBehaviour { float destroyTime = 1.4f; void Update() { destroyTime -= Time.deltaTime; if (destroyTime < 0) Destroy(gameObject); } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class healthBarScript : MonoBehaviour { private playerHealth healthScript; // Start is called before the first frame update void Start() { healthScript = GameObject.FindGameObjectWithTag("player").GetCompone...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Touch_Movement : MonoBehaviour { private static bool _useTouch; public static bool UseTouch { get { return _useTouch; } set { _useTouch = value; SetObject(); } } public LayerMask Mask; [SerializeFi...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="InvertBooleanConverter.cs" company="Soloplan GmbH"> // Copyright (c) Soloplan GmbH. All rights reserved. // Licensed under the MIT License. See License-file in the project roo...
namespace CarDealer.Services.Interfaces { using Models.Cars; using System.Collections.Generic; public interface ICarServices { ICollection<CarByMake> AllCarsByMakes(string make); ICollection<CarByMake> All(); void Create(string make, string model, long travelledDistance, IEnu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.SqlClient; //Biblioteca de conexão com SQLServer namespace Persistencia { class Conexao { public SqlConnection cn = new SqlConnection(); //Construtor da...
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 Dice_random { public partial class Form1 : Form { Random randon = new Random(...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PassingArgumentsSDK { // ******************************************* // Passing Reference-Type Arguments // ******************************************* public class ObjectWithP...