text
stringlengths
13
6.01M
//using NuGet.Protocol.Core.Types; //using System.Threading; //using System.Threading.Tasks; //using Xunit; //namespace Client.V3Test //{ // public class V3TotalsStatsResourceTests : TestBase // { // [Fact] // public async Task GetTotalStatsHasExpectedProperties() // { // var res...
using System; using System.Collections.Generic; using System.Globalization; using Microsoft.Xna.Framework; using Xunit; namespace MonoGame.Extended.Tests.Primitives { public class CircleFTests { [Fact] public void CircCircIntersectionDiagonalCircleTest() { var circle = new Circle...
using System; namespace Ex2 { class Program { static void Main(string[] args) { int lastNumber, greatestNumber; string myNumber; greatestNumber = 0; for (int i = 1; i <= 5; i++) { Console.WriteLine($"Introduce number ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FundoScript : MonoBehaviour { float larguraImagem; float alturaImagem; float alturaTela; float larguraTela; void Start () { SpriteRenderer grafico = GetComponent<SpriteRenderer> (); // larguraImagem = grafico.sprit...
using System; using System.Collections.Generic; using System.Text; namespace ApplicationCore.Entities.Basket { class Product { } }
using UnityEngine; using System.Collections; using UnityEngine.UI; using System.IO; using System.Collections.Generic; public class lvlHandle : MonoBehaviour { public int lvl; public string[] data; public GameObject B_perso; public GameObject layout; public Text test; public List<Sprite> I...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NHibernate; using NHibernate.Linq; using TestInheritance.DomainModels; namespace TestInheritance { class Program { static void Main(string[] args) { using (v...
using CapstoneTravelApp.DatabaseTables; using CapstoneTravelApp.HelperFolders; using SQLite; using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace CapstoneTravelApp.EntertainmentFolder { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class EditEntertainmentPage : ContentPage { ...
using System; using System.Linq; using System.Text; namespace ReverseIntString.Classes { public class ReverseTypes { public int ReverseIntegers(int input) { int a = input; int b; int rev = 0; while (a != 0) { b = a % 1...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Add3d : MonoBehaviour { private Material material; [Range(0, 1)]public float intensity; void Awake() { material = new Material(Shader.Find("Hidden/3d")); } void OnRenderImage(RenderTexture sou...
using OmniSharp.Extensions.JsonRpc.Server; using OmniSharp.Extensions.JsonRpc.Server.Messages; namespace OmniSharp.Extensions.JsonRpc { public class ContentModified : RpcError { public ContentModified(string method) : base(null, method, new ErrorMessage(ErrorCodes.ContentModified, "Content Modified")) ...
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace EWF.Entity { [Table("ST_RSVRFSR_B")] public class SYS_ST_RSVRFSR_B : IEntity { /// <summary> /// /// </summary> [Key] public String STCD { get;...
using System.Runtime.Serialization; namespace Wholesaler { [DataContract] public class LineItem { [DataMember] public string Unit { get; set; } [DataMember] public double Amount { get; set; } [DataMember] public int Id { get; set; } } }
using SolitaireV1.RearEnd.Card; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SolitaireV1.RearEnd.CardDeck { public interface ICardDeck { byte DeckCount { get; set; } IEnumerable<IPlayerCard> CardSet { get; } ...
/* Copyright (c) 2010, Direct Project All rights reserved. Authors: Umesh Madan umeshma@microsoft.com John Theisen jtheisen@kryptiq.com Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redist...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class Prologue : MonoBehaviour { public GameObject akariObject; public GameObject yukariObject; public GameObject speechWindowLeft; public GameObject speechWin...
using PatientJournalClassLib.Models; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; namespace PatientJournalApplication.Pages { /// <summary> /// Interaction logic for PagePatient.xaml /// </summary> public partial class PagePatient : Page { int id; ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace TableroControl.Controllers { public class HomeController : Controller { public IList<AreaVM> _areas; public IActionResult Index(...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEditor; using UnityEditor.ProjectWindowCallback; using UnityEngine; using UnityEngine.Experimental.Rendering; namespace MZ.LWD { public class LWDAsset : RenderPipelineAsset { public bool SupportDynamicBatc...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BasicAnimCon : MonoBehaviour { public Animator anim; [SerializeField] private KeyCode runKey; [SerializeField] private KeyCode backKey; [SerializeField] private KeyCode jumpKey; [SerializeField] private Ke...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TourParser { /// <summary> /// 从页面提取需要分析的内容。 /// </summary> public class TargetContentParserSimple:ITargetContentParser { public IList<string> Parse(string rawHtml) { ...
using System; namespace Shape { /// <summary> /// Прямоугольник /// </summary> public class Rectangle : IShape { /// <summary> /// Длина /// </summary> private double _length; /// <summary> /// Ширина /// </summary> private double _wi...
using System; using System.Globalization; using System.Windows.Data; using System.Windows.Media; using Tai_Shi_Xuan_Ji_Yi.Classes; namespace Tai_Shi_Xuan_Ji_Yi.Converters { class CConverterBancStateToColor : IValueConverter { public object Convert(object value, Type targetType, object parameter, Cultu...
using FlooringMastery.Models; using FlooringMastery.Models.Responses; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FlooringMastery.UI { public class ConsoleIO { public static void DisplayOrderDetails(OrderLookupResponse r...
using UnityEngine; using System.Collections; public class MineCourier : CustomMob { public GameObject Target; public int BearedPrice = 100; public override int DestructionPrice { get { return m_destructionPrice; } } int m_destructionPrice = 0; protected override void Start() ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Persistencia.interfaces; using Persistencia; namespace Persistencia { public class FabricaPersistencia { public static IPersistenciaEmpleado GetPersistenciaEmpleado() { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace POTM { public class ScoreManager : MonoBehaviour { private static bool m_ShuttingDown = false; private static object m_Lock = new object(); private static ScoreManager m_Instance; /// <su...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Panacea.Interop { public interface IProcessInteropChannel:IDisposable { event EventHandler<Exception> Error; event EventHandler Closed; void Start(); ...
using System; namespace Xunit.IocExtentions.Attributes { [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] public class DependencyAttribute : Attribute { private readonly Type _baseType; private readonly Type _implementedByType; public DependencyAttribute(Type baseTy...
using FluentNHibernate.Mapping; using Modelos.Admin; using NHibernate.Mapping; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Modelos.Mappings.Admin { class UsuarioMapping:ClassMap<Usuario> { public UsuarioMapping() ...
 using System.Collections.Generic; public class TreeIterator { // Keep Track of the traversed parents in order to iterate // through the rest of their children later. private Stack<TreeNode> _parents; public enum Traversal { PRE_ORDER, POST_ORDER }; private Traversal _iterationMethod; /// <...
using Microsoft.EntityFrameworkCore.Migrations; namespace TrashCollectorApp.Data.Migrations { public partial class V30 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DeleteData( table: "AspNetRoles", ke...
using MongoDB.Bson; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Domain.Entities { public class AdminModelEntity : IEntity { public AdminModelEntity() { CreatedDate = DateTime.UtcNow.ToString(); ...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using Shop.Data.DataModels; namespace Shop.Data.Repozitory { public class TransactionRepository : ITransactionRepository { private const s...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Text; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using DevExpress.XtraEditors; using Vendo.Properties; using Vendo.UcBase; namespace Vendo { public p...
namespace GSDS { using UnityEngine; using System.Collections; public struct DebugEventArgs { public bool isDebugOn; } public delegate void DebugEventHandler(object sender, DebugEventArgs e); public class DebugEvents : MonoBehaviour { public event DebugEventHandler DebugOn; public virtual void OnDeb...
using System.Collections; using System.Collections.Generic; using UnityEngine; using Assets.Scripts.Models; using Assets.Scripts.Interfaces; using UnityEngine.UI; namespace Assets.Scripts.Managers { public class ObjectStorage : IObjectStorage { IDictionary<string, GameObject> _prefabs; public ...
using System; using System.Linq; using Toppler.Core; using Toppler.Tests.Integration.Fixtures; using Xunit; namespace Toppler.Tests.Integration { [Collection("RedisServer")] public class MultiEventSourceTest { public MultiEventSourceTest(RedisServerFixture redisServer) { redisS...
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum TagNames { StickyPlatform, ExitDoor, DeathZone, CollectableItem, Key, WinDoor, SourceDoor, DestinationDoor, magicKey }
using CONSULS_SYSTEM.DATA; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Data.SqlClient; using System.IO; using System.Linq; using S...
using UnityEngine; using UnityEngine.UI; using System.Collections; using System.Collections.Generic; public class TrophyGroup : MonoBehaviour { List<Image> m_ImageList = new List<Image>(); void Awake() { for (int i = 1; i <= 6; i++) { m_ImageList.Add(transform.Fi...
using System.Linq; using FluentAssertions; using Unity.Interception.Serilog.Tests.Support; using Xunit; namespace Unity.Interception.Serilog.Tests { public class LogsShouldNotBeEnrichedWithNullData : TestBase { public LogsShouldNotBeEnrichedWithNullData() { GivenThereExistsAContaine...
using System; using DG.Tweening; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; namespace Game.Graphics.UI.Screen { public class ScreenScaler : MonoBehaviour, IPointerUpHandler, IPointerDownHandler { [SerializeField] private Slider _slider; private CanvasScaler[] _canv...
using System.Collections; using UnityEngine; namespace TLP.UI { [RequireComponent(typeof(CanvasGroup))] [RequireComponent(typeof(RectTransform))] public class AnimatedPanel : MonoBehaviour { [HideInInspector] /// <summary>Show/hide animation progress, from 0 (hidden) to 1 (fully active...
using System; using System.ComponentModel.DataAnnotations; namespace NTShop.Web.Models { public class FeedbackViewModel { public int ID { get; set; } [MaxLength(150, ErrorMessage = "Tên không quá 100 kí tự")] [Required] public string Name { get; set; } [MaxLength(250,...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class ClientSideLoop : MonoBehaviour { public static void UpdateClient() { ManageGame();//Handle game logic, what little needs to happen on the client-side ObjFuncs.UpdateObjsLocally();//Handles objs locally. } public sta...
using Android.App; using Android.Widget; using Android.OS; using Locky.Shared; using System; using Microsoft.WindowsAzure.MobileServices; namespace Locky.Droid { [Activity(Label = "Locky.Droid", MainLauncher = true, Icon = "@mipmap/icon")] public class MainActivity : Activity { int count = 1; ...
// Copyright (c) Adriano Ueda. All rights reserved. namespace FxCopDemo.Tests { using FxCopDemo; using Xunit; public class IEmptyInterfaceTests { /// <summary> /// Tests if mock class implements interface. /// </summary> [Fact] public void TestsIfObjectImplemen...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace irc_client.connection.requests { public interface IRequest { string RequestString { get; } RequestType Type { get; } } }
using System; using System.Windows.Forms; using SiscomSoft.Controller; using SiscomSoft.Controller.Helpers; using SiscomSoft.Models; namespace SiscomSoft_Desktop.Views { public partial class FrmMenuMain : Form { #region VARIABLES public static UsuarioHelper uHelper; #endregion ...
using System.Windows; using HandyControl.Data; namespace HandyControl.Controls { public class TransferItem : SelectableItem { public static readonly DependencyProperty IsTransferredProperty = DependencyProperty.Register( "IsTransferred", typeof(bool), typeof(TransferItem), new PropertyMeta...
using LuaInterface; using SLua; using System; using UnityEngine; public class Lua_UnityEngine_ParticlePhysicsExtensions : LuaObject { [MonoPInvokeCallback(typeof(LuaCSFunction))] public static int GetSafeCollisionEventSize_s(IntPtr l) { int result; try { ParticleSystem particleSystem; LuaObject.checkTyp...
using System; using System.Collections.Generic; using System.Text; namespace Shapes { class Triangle : Shape { public double Side1 { get; set; } public double Side2 { get; set; } public double Side3 { get; set; } } }
using System; using System.Windows.Controls; using WMagic; using WMaper.Meta; using WMaper.Meta.Radio; namespace WMaper.Base { /// <summary> /// 图层抽象类 /// </summary> public abstract class Layer { #region 变量 // 图层标识 private string index; // 图层分组 private stri...
using System; namespace Crowswood.CbusLogger { internal class GridConnectMessageEventArgs : EventArgs { public string Message { get; set; } public byte[] Payload { get; set; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class NormalBrick : MonoBehaviour, IBrick { public int score; public void Destroy() { ScoreManager.instance.AddScore(score); BrickManager.instance.bricks.Remove(this); Destroy(gameObject); } ...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Kavics.ApiExplorer { public class ApiMember { public string Representation { get; } public string Name { get; } public bool IsField { get; private set; } public bool IsPropert...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ContactManagementApp.Models; using System.Net.Http; using System.Net.Http.Headers; namespace ContactManagementApp.Services { public class NodeJsContactWebServices : IContactWebServices { ...
 using Prospects.Cross.Infrastructure.Interfaces; using System.Threading.Tasks; using Prospects.Cross.Infrastructure.Enumerations; using System; using Prospects.Cross.Views; namespace Prospects.Cross.Services { public class NavigationService : INavigationService { async public Task Navigate(PageTypes viewName) ...
using Everest.Entities; using System.Threading.Tasks; namespace Everest.Repository.Interfaces { public interface IAnuncioDetalleRepository { Task<AnuncioDetalleEntity> ConsultarAnuncioDetallePorAnuncioAsync(int id); Task<int> CrearAnuncioDetalleAsync(AnuncioDetalleEntity entity); ...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using Microsoft.Phone.Cont...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityStandardAssets.CrossPlatformInput; public class HorizontalMovement : MonoBehaviour { public float speed = 1f; public float rotateSpeed = 1f; float rotation = 0; // Update is called once per frame void U...
using System.Data.SqlClient; using MongoDB.Bson; using Mssql2Mongo.models; namespace Mssql2Mongo { internal class ZorgTogEenzijdigTarief : Tarief { public ZorgTogEenzijdigTarief(SqlDataReader reader2) { Uzovi = (short)reader2[nameof(Uzovi)]; } public override BsonDocu...
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace MediaManager.DAL.DBEntities { [Table("DomainContent")] public class DomainContent { [Key, Column(Order = 0)] [ForeignKey("Domain")] public int DomainId { get; set; }...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class DetailHUDController : MonoBehaviour { public Text fullName; public Person trackerPerson; public void UpdateIDCard() { fullName.text = "John Doe"; } }
using System; using System.Net.Http; using System.Text.Json; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Api.Enroll.Helpers; using Api.Enroll.Interfaces; namespace Api.Enroll.Services { public class UsersService : IUsersService { private readonly IHttpClientFactory _httpCli...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Scheduler.Data; using Scheduler.Models; using Scheduler.ViewModels; using System; using System.IO; using System.Linq; namespace Scheduler.Controllers { [Authorize(Roles = "Admin")] public class Ad...
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 NorthCoast { public partial class LocationAdd : ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using WebDBSchema.Models; using WebInv.Server.Data; namespace WebInv.Server.Controllers { [Route("api/[controller]"...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace lab2 { class Aircraft : Equipment,IAction { public virtual void WriteToFile() { try { using (StreamWriter SW = new StreamWr...
namespace Vega.Controllers { using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using AutoMapper; using Data; using Data.Models; using Resources; public class MakesController : BaseController {...
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 PersonelOrganizer.Util; namespace PersonelOrganizer { public partial class MainForm : Form { publi...
using Newtonsoft.Json; using NameSearch.Models.Domain.Api.Response.Interfaces; namespace NameSearch.Models.Domain.Api.Response { /// <summary> /// A Phone /// </summary> /// <remarks> /// See also https://pro.whitepages.com/developer/documentation/find-person-api/ /// </remarks> [JsonObje...
using Shunxi.Business.Enums; namespace Shunxi.Business.Models.devices { public class Gas : BaseDevice { public override TargetDeviceTypeEnum DeviceType => TargetDeviceTypeEnum.Gas; private double _concentration = 0; public double Concentration { get { return _conce...
using System; namespace Odev4 { class Program { static void Main(string[] args) { MyDictionary<int, string> myDictionary = new MyDictionary<int, string>(); myDictionary.Add(3, "Alper"); myDictionary.Add(34, "Nevzat"); myDictionary.Add(26, "Kaan")...
#region Usings #endregion Usings namespace CoreModel.Interfaces.Interfaces { public interface IBoy : IDancer { } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace Pitstop { public class LUD_ExploreWheelWithMouseAngle : MonoBehaviour { public Button[] buttons = new Button[12]; public float angle; public Vector2 origin; ...
namespace Plus.Communication.Packets.Outgoing.Rooms.Polls.Questions { internal class QuestionParserComposer : MessageComposer { public QuestionParserComposer() : base(ServerPacketHeader.QuestionParserMessageComposer) { } public override void Compose(ServerP...
using System; using System.Reflection; using System.Collections.Generic; namespace ShCore.Extender { /// <summary> /// Phương thức mở rộng cho MemberInfo /// </summary> public static class MemberInfoExtender { /// <summary> /// Lấy thông tin Attribute của MemberInfo /// </su...
using System; using System.Collections.Generic; using System.Threading; using cn.bmob.io; using cn.bmob.response; using System.Text; using System.Collections; using System.Net; using System.IO; using System.Diagnostics; using cn.bmob.http; using cn.bmob.Extensions; using cn.bmob.config; using cn.bmob.exception; using ...
using UnityEditor; using UnityEngine; namespace HT.Framework { [CustomEditor(typeof(MousePosition))] internal sealed class MousePositionInspector : HTFEditor<MousePosition> { protected override bool IsEnableRuntimeData { get { return false; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace exercice_8 { class Program { static void Main(string[] args) { string saisie; int nombre; int reste; Console.Write("**...
using OmniSharp.Extensions.DebugAdapter.Server; namespace Dap.Tests.Integration.Fixtures { public sealed class DefaultServer : IConfigureDebugAdapterServerOptions { public void Configure(DebugAdapterServerOptions options) { } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace somme_d_un_intervalle { class Program { static void Main(string[] args) { int n1; int n2; int somme; Console.Write("***...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Web.Services; /// <summary> /// Summary description for wsAutoComplete /// </summary> [WebService(Namespace = "http://tempuri.org/")] [WebServiceBi...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace Idealize.VO { public class Resposta { [Required] [Display(Name = "Resposta")] public int idResposta { get; set; } [Required] [Display(Name = "Quest...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Task03_StudentsАndCourses { public partial class Index : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) ...
using EWF.Data; using EWF.Data.Repository; using EWF.IRepository; using EWF.Util.Options; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Text; using Dapper; using EWF.Util; using System.Dynamic; using EWF.IRepository.SysManage; using System.Data; using EWF.Util.Data; ...
using LuaInterface; using SLua; using System; public class Lua_DUTaskType : LuaObject { [MonoPInvokeCallback(typeof(LuaCSFunction))] public static int constructor(IntPtr l) { int result; try { DUTaskType o = new DUTaskType(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; }...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System.Collections.Generic; using System.IO; using System.Management.Automation; using System.Management.Automation.Host; using System.Management.Automatio...
using System; using System.Collections; using Xunit; public class TD_SerializedBoards : TheoryData<string, int, int, int[]> { public TD_SerializedBoards() { Add(@"2, 2, 0, 1, 2, 3", 2, 2, new int[] { 0, 1, 2, 3}); Add(...
using UnityEngine; public class obstacle_rotation : MonoBehaviour { public enum Direction { clockwise = 0, counterclockwise = 1 } [Header("Rotate Around:")] [Space] public bool x_asix = false; public bool y_asix = true; public bool z_asix = false; [Space] pub...
using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using UnityEngine.EventSystems; #if UNITY_EDITOR using UnityEditor; #endif namespace TLP.UI { /// <summary> /// Manages UI Windows. Only one window and one popup may active at any time! /// </summary> public class WindowMa...
using System.Linq; namespace DB { public partial class DataBase { public static Patient getPatient(int number) // возвращает пациента из базы по номеру int nubmer { return patients.ElementAt(number); } public static int getPatientsCount() // возвращает количес...
using System.Collections.Generic; using System.Threading.Tasks; namespace Caliburn.Light { /// <summary> /// Used to gather the results from multiple child elements which may or may not prevent closing. /// </summary> /// <typeparam name="T">The type of child element.</typeparam> public interface ...
using Core.Utilities.Results; using Entities.Concrete; using System; using System.Collections.Generic; using System.Text; namespace Bussiness.Abstract { public interface IBinaService { IDataResult<List<Bina>> GetAll(); IDataResult<Bina> GetById(int id); IResult Add(Bina bina); IRes...
using AutoMapper; using Enrollment.Bsl.Business.Requests; using Enrollment.Bsl.Business.Responses; using Enrollment.Common.Utils; using Enrollment.Data; using Enrollment.Domain; using LogicBuilder.Data; using LogicBuilder.Domain; using LogicBuilder.EntityFrameworkCore.SqlServer.Repositories; using LogicBuilder.Express...
using System; using System.Text.RegularExpressions; using System.Linq; public class Program { public static void Main() { var email = Console.ReadLine(); var matches = Regex.Matches(email, @"(?<left>.*?)@(?<right>.*)"); var left = GetSideSum("left", matches); var right = GetSid...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using ApplicationVersionTracking.Data; using Microsoft.Entity...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RevolutionCAD.Placement { public class IterShaffer { public static List<StepPlacementLog> Place(Matrix<int> R, out string errMsg) { // если в методе произош...