text
stringlengths
13
6.01M
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class WriteLog : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (Session["user"] == null) Response.Redir...
using System; using System.Collections.Generic; using System.Collections; using System.Collections.Specialized; namespace LeetCodeTests { public abstract class Problem_0021 { /* Merge two sorted linked lists and return it as a new list.The new list should be made by splicing together the nodes of the first two li...
using System; namespace ApartmentApps.Api { public interface ITimeZone { DateTime Now { get; } DateTime Today { get; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using IRAP.Global; using IRAPShared; namespace IRAP.Entity.MDM.Tables { /// <summary> /// T216 一般属性 /// </summary> [IRAPDB(TableName = "IRAPMDM..GenAttr_ProcessOperation")] public class GenAttr_Pro...
namespace Tsutsuji.Updater.Screens { public enum UpdaterType { /// <summary> Applies the updater and installer if used for the first time. </summary> First, /// <summary> Only applies the updater as if the user has used it more than once. </summary> Update } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public static class GlobalData { private static int timePoint = 0; private static int questionNumber; private static float startPosition = -3.48f; private static string lastScene = "HomeExt"; private static bo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OcTur.DTO { /// <summary> /// O usuário DTO armazena as informações referentes ao usuário como Nome, /// Data de Nascimento, Senha de Usuário, Nome de Usuário e Foto de Usuário. ...
using System.Linq.Expressions; using ApartmentApps.Data; using ApartmentApps.Data.Repository; using Korzh.EasyQuery.Db; using Microsoft.AspNet.Identity; using Ninject; namespace ApartmentApps.Portal.Controllers { public class BuildingService : StandardCrudService<Building> { public BuildingService(IKer...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ChatApp { //now can be serialized [Serializable] //avoid referencing & instead copy to avoid struct Packet //problems with color changing when sending a...
using Microsoft.EntityFrameworkCore; namespace DataLibrary { public partial class AppDbContext : DbContext { public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) { } protected override void OnModelCreating(ModelBuilder modelBuilder) {...
// Copyright (c) 2020, mParticle, Inc // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
using System.Collections; using System.Threading; using UnityEngine; public class TimerEventArgs { public Timer timer; public TimerEventArgs(Timer timer) { this.timer = timer; } } public class Timer : MonoBehaviour { public LifeTime lifeTime; public int Day { get { ...
using System; using System.Collections.Generic; using System.Text; namespace NetCore.Service { public class Query { public string FieldName { get; set; } public string Value { get; set; } } }
using Alabo.Cloud.Shop.Favorites.Domain.Entities; using Alabo.Domains.Repositories; using MongoDB.Bson; namespace Alabo.Cloud.Shop.Favorites.Domain.Repositories { public interface IFavoriteRepository : IRepository<Favorite, ObjectId> { } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using TestWebApp.Database; namespace TestWebApp.Controllers { public class HomeController : Controller { protected readonly BloggingContext _dbContext; public HomeC...
namespace WinAppDriver.Handlers { using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Windows.Forms; [Route("GET", "/session/:sessionId/screenshot")] internal class ScreenshotHandler : IHandler ...
using NUnit.Framework; using System; using System.Collections.Generic; using System.Text; namespace MergeSort { public class FrogJumpService { public void ConsoleRun() { //Int var line = string.Empty; while (line.ToLower() != "exit") { ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TP.Entities { public class User { [Ke...
using UnityEngine; namespace AudioVisualizer { public class SpectrumDataVisualator : MonoBehaviour { [SerializeField] private SpectrumDataProvider m_Provider; [SerializeField] private GameObject m_CubePrefab; [SerializeField] private float m_MaxScale; ...
using System; using System.Collections.Generic; using System.Dynamic; using System.IO; using System.Linq; namespace dotLua { public class Lua : DynamicObject, IDisposable { private readonly ILuaState _luaState; public Lua() : this(new LuaState()) { } inter...
using Tomelt.Environment.Extensions.Models; namespace Tomelt.Data.Migration { public interface IDataMigration : IDependency { Feature Feature { get; } } }
using System.ComponentModel; using PropertyChanged; namespace MyStore.Models { public class LoginModel : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; public bool closeWindow { get; set; } public string appVersion { get; set; } public string...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EBS.Domain.Entity { public class SaleOrderItem:BaseEntity { public int SaleOrderId { get; set; } /// <summary> /// SKU编码 /// </summary> public in...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using DevExpress.XtraBars; using System.Threading; using System.Data.SqlClient; using System....
using System; using Grasshopper.Kernel; using Pterodactyl; using Xunit; namespace UnitTestsGH { public class TestPieChartToolGhHelper { public static PieChartToolGH TestObject { get { PieChartToolGH testObject = new PieChartToolGH(); retu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Word = DocumentFormat.OpenXml.Wordprocessing; using DocGen.ObjectModel; using DocumentFormat.OpenXml; namespace DocGen.OOXML { class ElementFactory { /// <summary> /// Returns formatted OOX...
using FluentNHibernate.Mapping; using Infrastructure.Translations; namespace Data.Mappings { public class TranslationMap : ClassMap<Translation> { public TranslationMap() { Table("Translations"); Id(x => x.Id); Map(x => x.Culture) .Access.C...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; using System.Windows.Forms; using VirusTotalNET; using VirusTotalNET.Objects; using VirusTotalNET.ResponseCodes; using VirusTotalNET.Results; namespace VirusTotalGUI { public partial cla...
using System; using UnityEngine; public class Window : MonoBehaviour { public Action onEndShowAnimation; public Action onEndHideAnimation; public Action onClickCloseButton; [SerializeField] private Animator _animator; private int _showHash = Animator.StringToHash("ShowAnimation"); private in...
using UnityEngine; using UI; using System.Collections; using System.Collections.Generic; public class WorkspaceDockAttachment : BaseAttachment { public float m_carouselRadius = 1.0f; public float m_arcSize = Mathf.PI / 2; public float m_minAngle = Mathf.PI * 0.1f; public float m_volumetricYOffset = 0.0f; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Engine.Interfaces; using Engine.Items; using Engine.Quests; namespace Engine.Characters { public class Player : LivingCreature, IHeal { public int Gold { get; set; } public...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading; using System.Threading.Tasks; using Thingy.WebServerLite.Api; namespace Thingy.WebServerLite { public class WebServerResponse : IWebServerResponse { ...
using System; using System.IO; using Avalonia; using Avalonia.Platform; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Gui.Tabs { public class LegalIssuesViewModel : TextResourceViewModelBase { public LegalIssuesViewModel(Global global) : base(global, "Legal Issues", new Uri("resm:WalletWasabi.Gui.Asset...
// The MIT License (MIT) // Copyright (c) 2015 Intis Telecom // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, ...
// Code generated by Microsoft (R) AutoRest Code Generator 0.9.7.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. using System; using System.Collections.Generic; using System.Linq; using ApartmentApps.Client.Models; using Microsoft.Rest; using Newtonsoft.Json.Linq; namespace Apa...
using System; namespace Vlc.DotNet.Core { /// <summary> /// The event that is emited on a libvlc <c>AudioDevice</c> event /// </summary> public class VlcMediaPlayerAudioDeviceEventArgs : EventArgs { /// <summary> /// The constructor /// </summary> /// <param name="a...
using kindergarden.Filters; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace kindergarden.Controllers { [LoginCheck] [RoleCheck(RoleName ="teacher")] public class TeacherUserController : Controller { private readonly KinderModel...
using Fbtc.Domain.Entities; using System.Collections.Generic; namespace Fbtc.Application.Interfaces { public interface IUnidadeFederacaoApplication { IEnumerable<UnidadeFederacao> GetAll(); IEnumerable<UnidadeFederacao> GetDisponiveis(int atcId); IEnumerable<UnidadeFederacao> GetUtil...
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 Hackathon_5_Advance { public partial class Form1 : Form { Dictionary<int, stri...
namespace Uintra.Features.Media.Strategies.Preset { public static class PresetStrategies { public static CentralFeedPresetStrategy ForCentralFeed = new CentralFeedPresetStrategy(); public static ActivityDetailsPresetStrategy ForActivityDetails = new ActivityDetailsPresetStrategy(); publ...
using Epam.Shops.Entities; using Epam.Shops.Entities.Enums; using System; using System.Collections.Generic; namespace Epam.Shops.DAL.Interfaces { public interface IUserDAO { bool Add(User newUser); bool Remove(Guid id); bool Update(User user); User GetByEmail(string email); ...
using Aps.Repositories; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; namespace Aps.Controllers { [ApiController] [Route("[controller]")] public class PaisesController : ControllerBase { private readonly PaisesRepo _repo; public PaisesController(PaisesRepo repo) ...
using System; using System.Globalization; using System.Windows.Data; namespace MainTool.WPF.Converters { public class NumberSubtractionConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { double v = 0; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StaticExampleApp { static class Training { public static int Id { get; set; } public static string Name { get; set; } public static string SessionName { get; se...
using System; using System.ComponentModel.DataAnnotations; namespace com.Sconit.Entity.TMS { [Serializable] public partial class TransportFlowRoute : EntityBase, IAuditable { #region O/R Mapping Properties public Int32 Id { get; set; } [Display(Name = "TransportFlowMaster_Code", Resou...
using System.Collections.Generic; using Profiling2.Domain.Contracts.Queries.Stats; using SharpArch.NHibernate; using System; using Profiling2.Domain.Scr; namespace Profiling2.Infrastructure.Queries.Stats { public class ScreeningCountsQuery : NHibernateQuery, IScreeningCountsQuery { // SELECT YEAR(h.Dat...
 namespace Sfa.Poc.ResultsAndCertification.Dfe.Models { public class TqProviderDetails { public int Id { get; set; } public int AwardingOrganisationId { get; set; } public int ProviderId { get; set; } public int RouteId { get; set; } public int PathwayId { get; set; } ...
using System.ComponentModel.DataAnnotations; namespace Pobs.Web.Models.Questions { public class ReportModel { [Required] public string Reason { get; set; } } }
using SciVacancies.Domain.Aggregates; using System; using CommonDomain.Persistence; using MediatR; namespace SciVacancies.WebApp.Commands { public class CreateOrganizationCommandHandler : IRequestHandler<CreateOrganizationCommand, Guid> { private readonly IRepository _repository; public Cre...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ManageDomain { public enum SystemPermissionKey { None, [PermissionKey("", "员工管理", "")] Manager, [PermissionKey("manager.add", "添加员工", "员工管理")] Manager_Add, [Permiss...
using BO; using SiteWeb.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Tools; namespace SiteWeb.Controllers { public class WarriorController : Controller { private static List<Warrior> warriors = new List<Warrior>...
 using System; using System.Collections.Generic; using System.Linq; using MultiplayerEmotes.Framework.Network; using StardewModdingAPI; using StardewValley; using StardewValley.Buildings; using StardewValley.Network; namespace MultiplayerEmotes.Extensions { public static class MultiplayerExtension { public stati...
namespace Reacher.Notification.Pushover { public interface INotificationPushoverService { void Send(string title, string message); } }
using System; namespace wof { public class Word { private string word; public Word() { word = WordBank.GetWord().ToUpper(); } public override string ToString() { return word; } public bool DisplayWord() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WebCrawler { public abstract class HandlerBase { public Requester req { get; set; } public abstract void Start(); public MissionHandleResult Completed() ...
using System; using System.Drawing; using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; namespace Vanara.PInvoke { public static partial class Ole32 { /// <summary> /// <para> /// Represents information about the effects of a drag-and-drop operation. The <c>DoDragDrop</c> func...
using System; using System.Linq; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace BridgeProject { public partial class DB_FoldersManagerForm : Form { public DB_FoldersManagerForm() {...
// ----------------------------------------------------------------------- // <copyright file="EventHandelExtensions.cs" company="AnoriSoft"> // Copyright (c) AnoriSoft. All rights reserved. // </copyright> // ----------------------------------------------------------------------- namespace Anori.Extensions { usi...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BaseEnemy : MonoBehaviour, BaseCharacter { private string _name; private string _description; private string _characterName; private float _characterHealth; private List<Sprite> _characterImages; privat...
using System; using System.Collections.Generic; namespace Algorithms.LeetCode { public class FindLongestPathTask { public int FindLongestPath(bool[][] matrix) { var maxPath = 0; // Error: forgot j++ part // for (int j = 0; j < matrix[0].Length) f...
using System; using System.Collections.Generic; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace GameProject { public static class SpriteRenderer { public static List<Sprite> Sprites = new List<Sprite>(); public static void DrawSprites(Sprite...
using RealEstate.Models; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; using System.Web.Mvc; namespace RealEstate.Controllers { public class PropertyController : Controller { RealEstateEntities db = new RealEstateEntities(); BL bl = new B...
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.Audio; using TMPro; [RequireComponent(typeof(AudioSource))] public class CarSoundHandler : MonoBehaviour { [Tooltip("The name/id of the sound from SoundAssets that the engine of this car should make.")...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Shooting : MonoBehaviour { [SerializeField] private Movement_Camera _Camera; [SerializeField] private GameObject _PlayerObject; [SerializeField] private Transform _ShootPos; [SerializeField] private ObjectPool...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Kingdee.BOS.Core.DynamicForm.PlugIn.Args { public static class BeginSetStatusTransactionArgsExtension { public static BeginSetStatusTransactionArgs AsBeginSetStatusTransactionArgs(this BeginOperationTransac...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using AcessoBancoDados; using DTO; namespace Negocios { public class TCCNegocios { AcessoDadosSqlServer acessoDadosSqlServer = new AcessoDadosSqlServer(); pu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; using Nito.HashAlgorithms; namespace UnitTests { public class CRC16UnitTests { [Fact] public void CRC16_Default_ChecksumVerification() { var calculator = new CRC16(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Mail; using System.Text; using NLog; namespace Booking.Data { public static class Mailer { private static Logger logger = LogManager.GetCurrentClassLogger(); private readonly static string _A...
#if NET6_0_OR_GREATER using System; using System.Collections.Generic; using System.Globalization; namespace NStandard { public static class DateOnlyEx { /// <summary> /// Gets a System.DateOnly object that is set to the current date on this computer. /// </summary> /// <returns...
using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using System; using System.Collections; using System.Reflection; using System.Xml; using Telerik.OpenAccess; namespace Telerik.OpenAccess.Tools { public sealed class OpenAccessProperties : Task { private bool help; private ITaskItem projFile; ...
using System.Collections.Generic; using Profiling2.Domain.Prf.Events; using Profiling2.Domain.Prf.Persons; using Profiling2.Domain.Prf.Suggestions; using SharpArch.Domain.DomainModel; namespace Profiling2.Infrastructure.Suggestions { public class EventRelationshipSuggestions : BaseSuggestions { public...
using System.Linq; using System.Web.Mvc; using System.Web.Routing; namespace Pe.Stracon.Politicas.Presentacion { /// <summary> /// Controlador que muestra la configuración de la ruta /// </summary> /// <remarks> /// Creación: GMD 20150430 <br /> /// Modificación: <br /> /// </r...
using UnityEngine; using System.Collections; public class PointClickCity : MonoBehaviour { Vector3 spot; // Use this for initialization void Start () { spot = transform.position; } // Update is called once per frame void Update () { Ray ray = Camera.main.ScreenPointToRay( Input.mousePosition ); Raycas...
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 PersonasPhone.Entidades; using PersonasPhone.BLL; using System.Linq.Expressions; using PersonasPhon...
using System; using System.Collections.Generic; using System.Linq; using System.Web; /// <summary> /// Description résumée de ModuleRepository /// </summary> public class ModuleRepository { protected TypeModuleRepository typeModuleRepository; protected ComposantRepository composantRepository; public Modu...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Z.Framework.Common; namespace Z.Framework.DAL { public class BasicOperation { DbEntity.zEntity Db = new DbEntity.zEntity(); ResultInfo rst = new ResultInf...
namespace TPMDocs.Models { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("sbyt.tbContractCategories")] public partial class tbContractCategory { ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WorkProgramsSequelApp { public partial class MainForm : Form ...
// // Copyright (c) Christopher Kyle Horton. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using System.Collections.Generic; namespace FileFilters { /// <summary> /// A class used to construct file filter strings. /// <...
using Microsoft.AspNetCore.Diagnostics; using NetSix.Errors; using NetSix.Services; var builder = WebApplication.CreateBuilder(args); builder.Services.AddHttpContextAccessor(); builder.Services.AddSingleton<IUsersService, UsersService>(); var app = builder.Build(); app.UseExceptionHandler("/error"); app.MapGet("us...
using System; using System.Linq; // ReSharper disable once CheckNamespace namespace Microsoft.AspNetCore.Http { public static class HttpContextExtensions { public static string? GetCorrelationId(this HttpContext context) { if (context == null) { throw ne...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _08.Maximum_Sum { class MaximalSum { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int[] numbers = new int[n]; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Menui : MonoBehaviour { private FPScontroller fpsController; private Canvas menui; void Start() { menui = GetComponent<Canvas>(); fpsController = FindObjectOfType<FPScontroller>(); } pub...
using ClaimDi.DataAccess.Object.API; using System.IO; using System.ServiceModel; using System.ServiceModel.Web; namespace Claimdi.WCF.Consumer { // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ITask" in both code and config file together. [ServiceContract] pu...
using UnityEngine; using UnityEngine.Events; public class Player : MonoBehaviour { public Transform cam; public float speed = 5f; public float jumpForce = 0.1f; public float gravityMultiplier = 0.1f; public float maxHP; public float HP; private float xRot = 0; private float yRot = 0...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using MOTHER3; using Extensions; namespace MOTHER3Funland { public partial class frmTownMapEditor : M3Form { ...
/**************************************************************************************** * Wakaka Studio 2017 * Author: iLYuSha Dawa-mumu Wakaka Kocmocovich Kocmocki KocmocA * Project:: 0escape Medieval - Round Table * Tools: Unity 5/C# + Arduino/C++ * Last Updated: 2017/07/29 *********************************...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JDWinService.Model { //物料基础信息修改-工程部 public class JD_IcItemPrjBGApply_Log { /// <summary> /// /// </summary> public int ItemID { get; set; } /// <summary> ...
using Microsoft.Win32; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows; using Syst...
using System; namespace _2._Weaponsmith { class Program { static void Main(string[] args) { string[] weaponName = Console.ReadLine() .Split("|", StringSplitOptions.RemoveEmptyEntries); string command = Console.ReadLine(); whil...
using System; using System.Collections.Generic; using System.Linq; using BashSoft.Exceptions; using BashSoft.Static_data; namespace BashSoft.Models { public class Student { private string _userName; private readonly Dictionary<string, Course> _enrroledCourses; private readonly Dictiona...
using AutoMapper; namespace Uintra.Infrastructure.Extensions { public static class AutoMapperExtensions { public static TDestination Map<TDestination>(this object obj) => Mapper.Map<TDestination>(obj); public static TDestination Map<TSource, TDestination>(this TSource src, TDesti...
using LHRLA.DAL; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace LHRLA.LHRLA.DAL.DataAccessClasses { public class SectionDataAccess { #region Insert public bool AddSection(tbl_Section row) { try { u...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraMovement : MonoBehaviour { public bool Stay; public bool SmoothFollow; Vector3 currentVelocity; [Range(0,1)] public float smoothTime; // Lower value = Faster result; public float maxSpeed = 10; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Dominio.Validations.Results; using Dominio.Validations; namespace Dominio { public class Modelo<T> where T : Modelo<T>, new() { protected ModelValidator<T> _validator; protected virtual Mod...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Step_140b { class Program { static void Main(string[] args) { List<Employee> listEmployees = new List<Employee>() { new Employee...
using UnityEngine; using System.Collections; using UnityEngine.UI; public class DocuWriterComplex : MonoBehaviour { public WindowBase window; int challengeLvl; //stuff to activate/deactivate public GameObject[] challenge1; public GameObject[] challenge2; public GameObject[] challenge3; /...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace BookARoom.Model.BLL { public class CustomerTypeClass { //Fält för hantering och validering av bokningsuppgifter [Required(ErrorMessage = "Krav! Ange kundt...
using MyBlog.WebApi.Framework.DTOs; namespace MyBlog.WebApi.DTOs.Blogs { public class BlogCommentForUpdateDto : BaseRequestDto { public string CommentText { get; set; } } }
using NfePlusAlpha.Domain.Entities; using NfePlusAlpha.Infra.Data.Context; using NfePlusAlpha.Infra.Data.Retorno; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NfePlusAlpha.Infra.Data.Classes { public class C...