text
stringlengths
13
6.01M
using UnityEngine; using System.Collections; using Infated.Tools; namespace Infated.CoreEngine { /// <summary> /// Add this component to a Character and it'll be able to go up and down ladders. /// Animator parameters : LadderClimbing (bool), LadderClimbingSpeed (float) /// </summary> [AddComponentMen...
// 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.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Management.Automation; using System.Text; using System.Collections; using System.Net.Mail; using System.Xml.Linq; using System.Xml; public partial class ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; namespace CarParkingSystem.Models { public class Bill { [Key] public int Id { get; set; } public int CheckInId { get; set; } public virtual CheckIn...
using FacultyV3.Core.Interfaces; using FacultyV3.Core.Interfaces.IServices; using FacultyV3.Core.Models.Entities; using PagedList; using System; using System.Collections.Generic; using System.Linq; using System.Data.Entity; namespace FacultyV3.Core.Services { public class CategoryMenuService : ICategoryMenuService...
using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; namespace dynamic_configuration_parser { [Serializable] public class DynamicConfiguration : DynamicObject, IDynamicMetaObjectProvider { public Dictionary<string, object> Properties { get; private set; } = new ...
using Gym.Lib.Domain; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Gym.Lib.Services.Customers { public class SubscriptionService : BaseService { public SubscriptionService(gymEntities db) : base(db) { } ...
// 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...
using System; using System.Diagnostics.CodeAnalysis; namespace NetFabric.Hyperlinq { [ExcludeFromCodeCoverage] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method, AllowMultiple = true)] public sealed class GeneratorMappingAttribute : Attribute { public st...
using SetApi.Models; using System; using System.Collections.Generic; namespace Set.Api.DTOs { public class WinStateDTO { public Guid GameID { get; set; } public string PlayerName { get; set; } public int GameTime { get; set; } public List<Player> TopScores { get; set; } ...
// // Copyright 2014, 2020 Carbonfrost Systems, Inc. (https://carbonfrost.com) // // 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 // // ...
using Leap; using System; namespace FinalYearProject { public class CustomListener : Listener { public event Action<Hand> OnHandRegistered; public override void OnFrame(Controller controller) { using (var frame = controller.Frame()) { if (!frame...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; using PheonixRt.DataContracts; using PheonixRt.MeshingServiceContracts; namespace PheonixRt.MeshingEngineService { /// <summary> /// service interface for a me...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using PublicService.Framework.Autofac; [assembly: WebActivator.PostApplicationStartMethod(typeof(PublicService.App_Start.AutofacConfigure), "Start")] namespace PublicService.App_Start { public static class AutofacConfigure { pu...
using innovation4austria.dataaccess; using log4net; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace innovation4austria.logic { public class StandortVerwaltung { private static readonly ILog log = LogManager.GetLogger(System.Reflection.M...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using VindiniumCore.PathFinding; namespace VindiniumCore.GameTypes { public class Board : INodeSet { #region Core Properties /// <summary> /// The size of the map...
using System; using System.Collections.Generic; using System.Linq; using SelfCheckout.Kiosk.Controller; using SelfCheckout.Model; using SelfCheckout.Repository; namespace SelfCheckout.Kiosk.View.AdminStation { public class AdminSaleConsole { private readonly IRepository _repository; public Ad...
using System; namespace EFChangeNotify { public class EntityChangeEventArgs<T> : EventArgs { public bool ContinueListening { get; set; } } }
using UnityEngine; using System.Collections; public class FriendlyHealth : MonoBehaviour, IDamagable, ISellable, ISelectable { [SerializeField] private float m_setHealth; private float m_health; [SerializeField] public int m_objValue; [SerializeField] private GameObject m_overlord; pr...
using System.Collections.Concurrent; using PlatformRacing3.Common.Level; using PlatformRacing3.Common.User; using PlatformRacing3.Server.Collections; using PlatformRacing3.Server.Game.Communication.Messages.Outgoing; namespace PlatformRacing3.Server.Game.Client; internal sealed class ClientManager : IDisposable { p...
using System; using System.Collections.Generic; namespace RMAT3.Models { public class PartyEntityRoleLocation { public PartyEntityRoleLocation() { Tasks = new List<EntityTask>(); } public Guid PartyEntityRoleLocationId { get; set; } public strin...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace ProductApplication.Models { public class SaleModel { public IEnumerable<Product> Products { get; set; } public List<SaleItem> SaleItems { get; set; } public decimal totalPayment { get; set; }...
using System; using UnityEngine; namespace RenderHeads.Media.AVProVideo.Demos { public class ChangeAudioTrack : MonoBehaviour { public MediaPlayer _mediaPlayer; public int _trackIndex; private bool _isQueued; private void OnEnable() { this._isQueued = true; } private void Update() { if (thi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.Common; using Microsoft.Practices.EnterpriseLibrary.Common; using Microsoft.Practices.EnterpriseLibrary.Data; using Microsoft.Practices.EnterpriseLibrary.Data.Sql; using Operation.Contra...
namespace Triton.Game.Mapping { using ns26; using System; [Attribute38("CardCrafting_WepSetParent")] public class CardCrafting_WepSetParent : MonoBehaviour { public CardCrafting_WepSetParent(IntPtr address) : this(address, "CardCrafting_WepSetParent") { } public Ca...
using System.Runtime.CompilerServices; using Xamarin.Forms.Internals; [assembly: InternalsVisibleTo("iOSUnitTests")] [assembly: InternalsVisibleTo("Xamarin.Forms.Controls")] [assembly: InternalsVisibleTo("Xamarin.Forms.Core.Design")] [assembly: InternalsVisibleTo("Xamarin.Forms.Core.UnitTests")] [assembly: InternalsVi...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using LePapeo.Models; using LePapeoGenNHibernate.EN.LePapeo; namespace LePapeo.Models { public class AssemblerOpinion { public OpinionViewModel ConvertENToModelUI(OpinionEN opiEN) { OpinionViewMod...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Yeasca.Metier; namespace Yeasca.Requete { public class BusRequete { public static ReponseRequete exécuter(IMessageRequete message) { Type typeDuMessage = trouverLeTypeDuMessage(message...
using System; using System.Collections.Generic; using System.Text; namespace FastSQL.Core { public enum OptionType { Text, TextArea, Sql, Password, Boolean, File, List, Grid } }
using System.Collections.Generic; using UnityEngine; using UnityEditorInternal; using UniGLTF; using VRM; using Esperecyan.UniVRMExtensions.Utilities; namespace Esperecyan.UniVRMExtensions.CopyVRMSettingsComponents { internal class CopyEyeControl { /// <summary> /// 視線制御の設定をコピーします。 /// ...
using PatientInformationSystem.Client.Core.Services; using PatientInformationSystem.Client.Core.Models.APIModels.Authentication; using PatientInformationSystem.Client.WPF.Library.Abstract; namespace PatientInformationSystem.Client.WPF.Library.Commands { public class LoginCommand : BaseCommand { privat...
using System.Threading.Tasks; namespace mlservice.Interface { public interface IKafkaHandler<Tkey, TValue> { Task HandleAsync(Tkey key, TValue value); } }
using System; using System.Collections.Generic; using System.Text; namespace CheeseSystem { public class Ferment : Production { } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using System.Reflection; using System.ComponentModel; using Newtonsoft.Json; namespace api_cms.common { public static class Helper { public static DataTable ToDataTable<T>(this IList<T> data) ...
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Rinsen.IdentityProvider.LocalAccounts; using System; using System.Collections.Generic; using System.Security.Claims; using System.Threading.Tasks; na...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataStructure { public interface IBinaryTree { BinaryTreeNode Root { get; } void Insert(int data); BinaryTreeNode Find(int data); void Remove(int dat...
namespace _5.AppliedArithmetics { using System; using System.Linq; using System.Collections.Generic; public class Startup { public static void Main(string[] args) { var listNumbers = Console.ReadLine() .Split(new char[] {' '}, StringSplitOptions.RemoveEm...
using Logic.Resource; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; namespace Logic.Buildings { [Serializable] public class SystemBuildings : INotifyPropertyChanged { private ObservableCollection<SpaceBuilding> existing; priv...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class move_Li1 : MonoBehaviour { float speed = 10.0f; public float hp; public float maxHP = 10; // Use this for initialization void Start() { hp = maxHP; } // Update is called once per frame...
using Microsoft.AspNetCore.Identity; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace testDemo.Models { public class ApplicationUser : IdentityUser { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Server { public enum ServiceNames { Matchmaking, Ingame } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DTO { public class Card { public string name { get; set; } public string set { get; set; } public string set_code { get; set; } public int id { get; set...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Numero3 { class Program { static void Main(string[] args) { ConsoleKeyInfo tecla; do { Console.WriteLine("Presione t...
using System; using System.Collections.Generic; using System.Text; namespace Library.DomainModels { public static class Operations { public static string Update = "update"; public static string Delete = "delete"; } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace UrTLibrary.Shaders.Directives.ShaderDirectives.Q3Map { public abstract class Q3MapAlphaGen : Q3MapDirective { public override string ToString() { return "q3map_alphaGen"; } } ...
using System.Collections.Generic; using System.Linq; using Faust.PetShopApp.Core.Filtering; using Faust.PetShopApp.Core.IServices; using Faust.PetShopApp.Core.Models; using Faust.PetShopApp.WebApi.Dto; using Microsoft.AspNetCore.Mvc; namespace Faust.PetShopApp.WebApi.Controllers { [ApiController] [Route("[con...
using System.Threading.Tasks; using iCopy.Model.Response; namespace iCopy.SERVICES.IServices { public interface IAuthenticationService { Task<LoginResult> Authenticate(Model.Request.Login login); } }
using Skaitykla.Domains; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Skaitykla.Services.Interfaces { public interface IAuthorService { IEnumerable<Author> GetAuthors(); Task<int> CreateAuthorAsync(string name, string surname); ...
/* *************************************************************** * 프로그램 명 : CameraMove.cs * 작성자 : 이송이 (류서현, 신은지, 최세화, 최은정, 홍예지) * 최조 작성일 : 2019년 12월 04일 * 최종 작성일 : 2019년 12월 13일 * 프로그램 설명 : 선택된 NPC에 카메라를 고정 후 확대하거나, * 고정을 풀고 축소한다. * *************************************************...
 #region Namespace Imports using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Data; #endregion namespace Vasu.Wpf.Controls { /// <summary> ...
namespace E01_SayHello { using System; public class SayHello { public static void Main(string[] args) { // Write a method that asks the user for his // name and prints “Hello, <name>” // Write a program to test this method. // Example: ...
using Microsoft.EntityFrameworkCore; using Nm.Reservation.EntityFrameworkCore; using Volo.Abp.EntityFrameworkCore; namespace Nm.Reservation.Migrations { public class ReservationMigrationsDbContext : AbpDbContext<ReservationMigrationsDbContext> { public ReservationMigrationsDbContext( ...
using Hayalpc.Fatura.CoreApi.Services; using Hayalpc.Fatura.CoreApi.Services.Interfaces; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Hayalpc.Fatura.CoreApi.Extensions { public static class ServiceExtensi...
using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Workforce_Purple_Parrots.Models.ViewModels { public class ComputerFormViewModel { public int Id { get; set; ...
using System.Collections.Generic; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using Kuli.Rendering; using Markdig; using Microsoft.Extensions.Logging; using YamlDotNet.Serialization; namespace Kuli.Importing { public class FragmentImportService { private readonly Fra...
using Application.Common.Models; using System.Threading.Tasks; namespace Application.Common.Interfaces { public interface IIdentityService { Task<CQRSResponse> CreateUserAsync(string username, string email, string password); Task<bool> EmailAvailableAsync(string email); Task<bool> Chec...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Webcorp.unite { public partial class TauxHorraire { public static Currency operator *(TauxHorraire x, Time y) { try { return new Currency(x....
using System.Collections.Generic; using MonoGame.Extended.Entities.Systems; namespace MonoGame.Extended.Entities { public class WorldBuilder { private readonly List<ISystem> _systems = new List<ISystem>(); public WorldBuilder AddSystem(ISystem system) { _systems.Add(system...
using CriticalPath.Data; namespace CriticalPath.Web.Models { public class POImageVM : POImageDTO { public POImageVM() { } public POImageVM(POImage image):base(image) { } protected override void Constructing(POImage image) { base.Constructing(image); if ...
using System; using UnityEngine; using UnityEngine.UI; public class Task : MonoBehaviour { public bool isMonsterTask; public int taskIndex; public int targetAmount; private TaskPanel taskPanel; private Text targetAmountText; private Text currentAmountText; private int cur...
using System.Threading.Tasks; using GaleService.Controllers.Mappers; using GaleService.Controllers.ResourceModels; using GaleService.DomainLayer; using Microsoft.AspNetCore.Mvc; namespace GaleService.Controllers { [Route("api/[controller]")] public class DatabaseController : ControllerBase { // GE...
using System; using UnityEngine; using Candlelight; [Serializable] public struct BarStep : IPropertyBackingFieldCompatible<BarStep> , IComparable { [SerializeField, PropertyBackingField] private Color m_Color; public Color Color { get { return m_Color; } set { m_Color = value; } } ...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Tuna.Helpers; using Tuna.Mocks; using Tuna.Models; using Tuna.Services; namespace Tuna.Controllers { [ApiController] public class Col...
using System; namespace Telephony { public class Program { static void Main(string[] args) { string[] inputNumbers = Console.ReadLine().Split(" "); Smartphone smartphone = new Smartphone(); for (int i = 0; i < inputNumbers.Length; i++) { ...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Data.Common; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace Project_CelineGardier_2NMCT2.model { class ContactType { public ContactType() { } ...
using System; using System.Collections.Generic; using System.Text; namespace HackerRank_HomeCode { public class DesignerPdfViewer { public void FindLetterHeight() { int[] h = Array.ConvertAll(Console.ReadLine().Split(' '), hTemp => Convert.ToInt32(hTemp)); string word =...
using System; using System.IO; using System.Security.Cryptography; using System.Text; namespace notify_service { public static class Tools { public static string md5(string text) { MD5 md5Hash = MD5.Create(); byte[] data = md5Hash.ComputeHash(Encoding.UTF8.GetBytes(text...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using Reverse; namespace demo { class Program { static int Seconds = 1000; // Multiplier for milliseconds static IEnumerable<int> LetMeReallyFuckThisUp() { Thread.Sleep(1 * Seconds);...
using System.IO; using System.Linq; using MyChat; using Newtonsoft.Json; using NUnit.Framework; namespace MindLink.Recruitment.MyChat.Tests { using Microsoft.Extensions.Configuration; using System; /// <summary> /// Tests for the <see cref="ConversationExporter"/>. /// </summary> ...
using System.Collections.Generic; /// <summary> /// Scribble.rs ♯ namespace /// </summary> namespace ScribblersSharp { /// <summary> /// A class that describes lobby views /// </summary> internal class LobbyViews : List<ILobbyView>, ILobbyViews { /// <summary> /// Is connection sec...
namespace Belot.Engine.Players { using System.Collections.Generic; using Belot.Engine.Cards; using Belot.Engine.Game; public class PlayerPlayCardContext : BasePlayerContext { // TODO: Don't disclose the exact type of announce public IEnumerable<Announce> Announces { get; set; } ...
using System.ComponentModel.DataAnnotations; namespace bookstore.ViewModels { public class AddressViewModel { [StringLength(50)] public string Name { get; set; } [StringLength(256)] public string AddressLine1 { get; set; } [StringLength(50)] public string City { ge...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Windows.Forms; namespace DatabaseModelCreator { public partial class Form1 : Form { public Form1() { InitializeComponent(); HideItems(); } #region...
namespace MiddleWare.Host.Actions { using System; using System.Threading.Tasks; using Middleware.Core; public class LogAction : IAction<Transfer> { public async Task Execute(Transfer context, Next<Transfer> next) { Console.WriteLine($"before {context}"); awai...
namespace GaleService.DomainLayer.Managers.Models { /// <summary> /// Base class for ALL Gale response DTOs. /// </summary> public abstract class GaleResponse { } }
using Server.Base.Packets; using Server.Base.Server; using Server.Base.Utils; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Sockets; using System.Threading; namespace Server.Base { /// <summary> /// Creates a new TCP ma...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.GroupPolicy; namespace XpTools { class Program { static void Main(string[] args) { if(args.Length > 0) { ListGroupPolicies(args[0]); } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.EntityFrameworkCore; using SparkAuto.Data; using SparkAuto.Model; usin...
using UnityEngine; using UnityEditor; /// Sorts through an array of objects tagged by the user, /// in order to find the one that is closest to the object that this script is on. ///<summary> ///At what time should the method run? /// </summary> public enum MethodRunTime { Never, OnStart, OnUpdate, OnUserCall } pu...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Tile : MonoBehaviour { public int x; public int y; public bool isMine = false; public bool isRevealed = false; public bool isSecured = false; public ClickTile click; void Start() { thi...
using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Uplift.DataAccess.Data.Repository.IRepository; using Uplift.Models; namespace Uplift.DataAccess.Data.Repository { public class UserRepository : Repository<ApplicationUser>, IUserRe...
using Cubecraft.Data.World; using Cubecraft.Data.World.Blocks; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Column : MonoBehaviour { int size = 0; private Chunk[] chunks = new Chunk[16]; public GameObject chunkPrefab; public World world; public int po...
using Nabbix.Items; using Xunit; namespace Nabbix.Tests { public class BaseTypeHelperTests { [Fact] public void GetFloatValue_SizeExceedsMax_ReturnsMaxAllowedValue() { const string maxZabbixMySqlValue = "990000000000.0000"; const float exceedsMaxSize ...
using System.Linq; using W3ChampionsStatisticService.CommonValueObjects; using W3ChampionsStatisticService.PlayerStats.RaceOnMapVersusRaceStats; namespace WC3ChampionsStatisticService.UnitTests { public static class RaceExtensions { public static WinLoss GetWinLoss(this PlayerRaceOnMapVersusRaceRatio r...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Spawner : MonoBehaviour { public static Spawner instance; public GameObject[] enemysWave1; public GameObject[] enemysWave2; public GameObject[] enemysWave3; public GameObject[] enemysWave4; public Game...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class scrPlayerAnimation : MonoBehaviour { [Header("Player Properties")] Rigidbody playerBody; Transform pivot; [Header("Player Animator")] Animator playerAnimator; SpriteRenderer playerRenderer; [Head...
using System; using System.Reactive; using System.Threading.Tasks; namespace OmniSharp.Extensions.JsonRpc.Testing { public interface ISettler { Task SettleNext(); IObservable<Unit> Settle(); } }
using ServerKinect.Shape; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ServerKinect.HandTracking.Mouse { class CenterOfClusterCursorMode : ICursorMode { public bool HasPoint(HandCollection handData) { return handData.Co...
namespace InteractivePreGeneratedViews.FunctionalTests { using InteractivePreGeneratedViews.Helpers; using System.Data.Entity; using System.Data.Entity.Core.Mapping; using System.Data.Entity.Core.Metadata.Edm; using System.Data.Entity.Infrastructure; using System.Data.SqlClient; usi...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using System.IO; using System.Text; public class GameManager : MonoBehaviour { [SerializeField] private Game game; IList<Question> list; private void Start() { list = ReadJson(); if (...
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.Linq.Expressions; namespace ExpressionsSerialization.ExpressionNodes { public class ParameterExpressionNode : IExpressionNode { public ExpressionType NodeType { get; set; } public Type Type { get; set; } public string Name { get; set; } } }
using System; using System.IO; using System.Reflection; namespace Arch.Data.Common.Util { class AssemblyUtil { public static Type GetTypeFromAssembly(String assemblyName, String typeName) { Type type = null; if (assemblyName == null || typeName == null) ...
using UnityEngine; using System.Collections; public class EnemyBehaviour : MonoBehaviour { public float health = 150f; public GameObject enemyAttack; public float enemyProjectileSpeed = 10f; public float firingRate = 0.5f; private void Update() { // Enemy Attack Pattern float ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Model; namespace Service { public interface IServiceResult { IEnumerable<IMapCell> Sources { get; } int TotalCountOfVisitedCells { get; } } }
var inputStrings = File.ReadAllLines("input.txt"); int RunA(string[] inputs){ int depth = 0, horizontalPos = 0; var splittedInputs = inputs .Select(x=> x.Split(" ", StringSplitOptions.RemoveEmptyEntries)) .ToList(); foreach(var split in splittedInputs){ switch (split[0]) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using IDal; using Model; namespace Dal { public class CatalogRepository : ICatalogRepository, IDisposable { public IQueryable<Catalog> GetList(Entities db, int user_id) { IQueryable<User_Catalog>...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using sfShareLib; using System.ComponentModel.DataAnnotations; using System.Data.Entity; using CDSShareLib.Helper; namespace sfAPIService.Models { public class EquipmentClassModel { public class Format_Detail ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MertricAgentServices.Dto { public class CpuDto:BaseDto { /// <summary> /// % Использования ЦП /// </summary> public double Value { get; set; } /...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.Rendering; using RazorSample.Data; using RazorSampleText.Models; namespace RazorSampleText.Pages.Admin.Calendars { ...