text
stringlengths
13
6.01M
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Monster : MonoBehaviour { //public int id; //public float spacing; ////// Use this for initialization ////void Start () { ////} ////// Update is called once per frame ////void Update () { ///...
using System.Collections.Generic; using Newtonsoft.Json.Linq; using OmniSharp.Extensions.LanguageServer.Protocol.Models; using OmniSharp.Extensions.LanguageServer.Protocol.Serialization; namespace OmniSharp.Extensions.LanguageServer.Protocol.Server.Capabilities { /// <summary> /// /// </summary> /// <r...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Library { public class Katalog : IZarzadzaniePozycjami { //private string dzialTematyczny; public List<Pozycja> listaPozycji = new List<Pozycja>(); public string dzialTematyczny { get; priva...
using UnityEngine; using System.Collections; public class EnemyMovement : MonoBehaviour { public float speed; // Control enemy movement speed private Animator myAnimator; // Control animations public bool facingLeft = true; // Check if facing left public bool onWall; // Check if enemy is...
using Prism.Commands; using Prism.Events; using Prism.Mvvm; using Prism.Navigation; using SafetyForAllApp.Messages; using SafetyForAllApp.Model; using SafetyForAllApp.Service.Interfaces; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using Syst...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using Microsoft.AspNet.OData; using Microsoft.AspNetCore.Mvc; using Microsoft.Entity...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace WebService.ViewModel { public class PhieuDatHangVM { public string MaPDH { get; set; } public string MaKH { get; set; } public string MaNV { get; set; } public string MaDV { get; set;...
namespace Triton.Game.Mapping { using ns25; using ns26; using System; using System.Collections.Generic; [Attribute38("Tutorial_02")] public class Tutorial_02 : TutorialEntity { public Tutorial_02(IntPtr address) : this(address, "Tutorial_02") { } public Tut...
using System; public static class Kata { public static string Likes(string[] name) { if(name.Length == 0){ return "no one likes this"; }else if(name.Length == 1){ return name[0] +" likes this"; }else if(name.Length == 2){ return name[0]+" and "+name[1]+"...
using DEMO_DDD.DOMAIN.Entidades; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace DEMO_DDD.INFRA.DATA.Contexto { public class DemoDDDContext : DbContext { public De...
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 CoordControl.Core.Domains; namespace CoordControl.Forms { public interface IFormPlans { ...
using UnityEngine; using System.Collections; using UnityEngine.UI; public class PatientList : MonoBehaviour { public GameObject listItemPrefab; public InputField newPatientName; public InputField newPatientSurname; public GameObject newPatientPanel; public Button selectBtn; public Button upd...
namespace _5.CalculateSequenceWithQueue { using System; using System.Collections.Generic; public class Startup { public static void Main(string[] args) { long number = long.Parse(Console.ReadLine()); Queue<long> queue = new Queue<long>(); queue.Enqu...
using FluentValidation; namespace Application.Discounts.Commands.UpdateDiscountCommands { public class UpdateDiscountCommandValidator : AbstractValidator<UpdateDiscountCommand> { public UpdateDiscountCommandValidator () { RuleFor (e => e.DiscountDto.IdDiscount) .NotEmpty ().With...
using System; using System.Collections.Generic; using System.Text; using Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Persistence.Configuration { class OrderConfiguration : IEntityTypeConfiguration<Order> { public void Configure (En...
using System.Xml.Linq; using PlatformRacing3.Common.Block; using PlatformRacing3.Web.Controllers.DataAccess2.Procedures.Exceptions; using PlatformRacing3.Web.Responses; using PlatformRacing3.Web.Responses.Procedures; namespace PlatformRacing3.Web.Controllers.DataAccess2.Procedures; public class GetBlock2Procedure : ...
using Xamarin.Forms; using App1.Renderers; using App1.Droid.Renderers; using Xamarin.Forms.Platform.Android; [assembly: ExportRenderer(typeof(BoxBorderEntry), typeof(BoxBorderEntryRenderer))] namespace App1.Droid.Renderers { public class BoxBorderEntryRenderer : EntryRenderer { protected override void...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; namespace Tsu { /// <summary> /// The class with the factory methods for the result /// </summary> public static class Result { /// <summary> /// Creates a successful re...
using System; using System.Collections.Generic; namespace SheMediaConverterClean.Infra.Data.Models { public partial class VAusleihlagerort { public string Bezeichnung { get; set; } public int Id { get; set; } public string Gang { get; set; } public string Regal { get; set; } ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using System.Threading; using MediatR; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using OmniSharp.Extensions.JsonRpc; using OmniSharp.Extensions.JsonRpc.Generation; using OmniSharp.Extensions.LanguageServer.Protoc...
using System; using System.Collections.Generic; using System.Text; using Zhouli.DbEntity.Models; namespace Zhouli.BLL.Interface { public interface ISysRaRelatedBLL : IBaseBLL<SysRaRelated> {} }
using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Jobs; using System; using System.Collections.Generic; using System.Collections.Specialized; namespace NetFabric.Hyperlinq.Benchmarks { //[SimpleJob(RuntimeMoniker.Net48, baseline: true)] //[SimpleJob(RuntimeMoniker.NetCoreApp21)] //[SimpleJob(Runtime...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class GoalBehaviour : MonoBehaviour { private bool cleared; // Start is called before the first frame update void Start() { cleared = false; } // Update is called o...
using Everest.Entities; using System.Collections.Generic; using System.Threading.Tasks; namespace Everest.Repository.Interfaces { public interface IAnuncioRepository { Task<List<AnuncioEntity>> ConsultarAnunciosAsync(string idUsuario); Task<AnuncioEntity> ConsultarAsync(int id); ...
using System; using System.Collections.Generic; using System.IO; using System.Reflection; namespace Hik.Sps { /// <summary> /// This class contains general purpose methods to be used by PlugIn system. /// </summary> internal static class SpsHelper { /// <summary> /// Gets an attrib...
// Copyright 2021 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.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace лаба_13 { class AESLog { public static void Writer(string MethodName, string path = "none", string nameFile = "none") { using (StreamWriter...
using System; using System.Collections.Generic; using System.Text; namespace OCP { /** * Interface ICertificate * * @package OCP * @since 8.0.0 */ public interface ICertificate { /** * @return string * @since 8.0.0 */ string getName(); ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; namespace Voronov.Nsudotnet.BuildingCompanyIS.Entities { [Table("bcis.ResourceResults")] public partial class ResourceResult : IEntity { ...
using Dapper; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Dynamic; using System.Linq; using System.Text; using MobileWx.Dal.Model; using Sys.Utility; namespace MobileWx.Dal { public class DalWx : DalBase { public string GetAccessToken() ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace ProjectMFS { public partial class ParticipantActivityView : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) ...
using CommonFrameWork; using Dominio; using System.Collections.Generic; namespace BLL { public class BLLPrefeitura { public IEnumerable<Prefeitura> Listar() { using (var dao = new DAL.DbPrefeitura()) { return dao.Listar(); } } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Door : MonoBehaviour { public int enemyNum; public Vector2 direction; public float distance; public float playerDistance; private GameObject player; private bool inDoor; public Sprite open; public Sprite closed; publ...
using System.Collections.Generic; namespace PaderbornUniversity.SILab.Hip.EventSourcing.Tests { public class Foo : IEntity<int> { public int Id { get; set; } public string Name { get; set; } public int Parent { get; set; } public List<int> Bars { get; set; } public T...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations.Schema; namespace ServiceHost.ModelsDTO { [NotMapped] public class GlobalFeeDTO { public Guid Id { get; set; } public decimal FeePercentace { get; se...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RopeController : MonoBehaviour { //objects that will interact with the rope public Transform whatTheRopeIsConnectedTo; public Transform whatIsHangingFromTheRope; //line render to display the rope private ...
using UnityEngine; using System.Collections; public class GameMaster : MonoBehaviour { public GameObject PlayerCharacter; public Camera MainCamera; public GameObject GameSettings; public float zOffSet; public float yOffSet; public float xRotOffSet; private GameObject pc; private PlayerCharacter pcScript; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ArraysandStrings { public class PalindromePermutation { public void CheckPermutationOfAPalindrome(string str) { Console.WriteLine("===========Check permuta...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Switch : MonoBehaviour { // Start is called before the first frame update public GameObject off; public GameObject on; public GameObject chest; public GameObject door; public bool ison = false; void...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="LogEntryMap.cs" company="CGI"> // Copyright (c) CGI. All rights reserved. // </copyright> // ------------------------------------------------------------------------------------...
using System; using System.Collections.ObjectModel; using System.IO; using System.Windows; using System.Text.RegularExpressions; namespace EasyVideoEdition.Model { /// <summary> /// Every subtitles of a video in srt format /// </summary> class Subtitles : ObjectBase { #region Attributes ...
using Lfs.Web.Api.App_Start; using AutoMapper; using Ninject.Modules; namespace Lfs.Web.Api.NinjectModules { public class AutoMapperModule : NinjectModule { public override void Load() { var mapperConfig = new AutoMapperConfig().Create(); Bind<MapperConfiguration>().To...
using System; using MonoMac.AppKit; using MonoMac.Foundation; using Radish.Models; namespace Radish { [MonoMac.Foundation.Register("FileInformationController")] public partial class FileInformationController : NSViewController { private MediaMetadata MediaMetadata; public FileInformationController(IntPtr h...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace Zelo.Management.Models { public class BaseLoginUserInfo { /// <summary> /// token /// </summary> public String token { ...
using UnityEngine; public enum TypeOwner { Character } public interface IOwner { TypeOwner GetTypeOwner { get; } bool CheckIgnoreObject(Transform obj); GameObject GameObj { get; } IAnchor Anchor { get; } }
using System; using System.Collections.Generic; using System.Data; 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.Win...
using GameLib; using JumpAndRun.API; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace JumpAndRun.Actors { public class MultiplayerPlayer : Actor { public override string Name => "JumpAndRun.MultiplayerRepresentation"; private IndexBuffer _indexBuffer; p...
using Zhouli.DbEntity.Models; using System; using System.Collections.Generic; using System.Text; using System.Linq.Expressions; namespace Zhouli.DAL.Interface { public interface ISysUserDAL : IBaseDAL<SysUser> { /// <summary> /// 获取需要登录的用户所有信息 /// </summary> /// <returns></retu...
namespace Diyseed.Core { public enum EncodingType { Number = 10, // 10 characters (0..9) Alphabet = 26, // 10 characters (a..z) } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Evpro.Domain.Entities; namespace Evpro.Gui.Models { public class CostumeModel { public List<EventModel> Ev { get; set; } public EventModel A { get; set; } public EventModel B { get; set; } ...
using System.Threading; using System.Threading.Tasks; using Micro.Net.Core.Abstractions.Management; namespace Micro.Net.Abstractions { public interface IStartable : IMicroComponent { Task Start(CancellationToken cancellationToken); } }
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; public partial...
using System; using Android.Views; using Android.Views.Animations; using Android.Animation; using Ts.Core.Containers; namespace Ts.Core { public static class AndroidAnimation { public static void Zoom(this View view, bool isIn, long duration = 500, Action animationStart = null, Action animationEnd = null){ f...
using System; using System.Collections.Generic; using System.Linq; using System.Text; 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.Media.Imaging; using System.Windows.Navigati...
using System; using System.IO; using System.Reflection; using Harmony; using SharedCode.Config; using SharedCode.Logging; using SharedCode.Utils; using UnityEngine.SceneManagement; namespace FishOverflowDistributor { /// <summary> /// Contains mod entry point and basic bootstrapping /// </summary> ...
using Plus.HabboHotel.Rooms; namespace Plus.Communication.Packets.Outgoing.Rooms.AI.Bots { internal class OpenBotActionComposer : MessageComposer { public int BotId { get; } public string BotName { get; } public int ActionId { get; } public string BotSpeech { get; } ...
using UnityEngine; using System.Collections; public class CameraControll : MonoBehaviour { private GameObject m_buildTowerHUD; private GameObject m_totemHUD; private GameObject m_upgradeTower; public GameObject m_mainCamera; public GameObject m_villageCamera; public float m_cameraSpeed = 5....
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ToDo.Client.Core.Tasks { public enum ProjectTaskType { Bug, Feature, Task, } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.XR; public class ButtonInput : MonoBehaviour { [SerializeField] private Camera _Cam; [SerializeField] private AudioSource _AudioSource; [SerializeField] private RadioController _RadioController; ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Program.cs" company="my company"> // Test // </copyright> // <summary> // The program. // </summary> // -----------------------------------------------------------------------...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Planning { class PdbPlaner { List<Agent> agents = null; Domain d; Problem p; int countOfLandmarks = 0; List<Action> publicActions = null; PatternDatabase pd = null; ...
// 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 p...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Metani.Models { public class TaniLokasi { public IEnumerable<JenisTani> jenisTani { get; set; } public IEnumerable<Lokasi> lokasi { get; set; } public HasilTani hasilTani { get; set; } } ...
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 UberFrba.Abm_Automovil { public partial class ListadoAutomovil : Form { priva...
using log4net; using System; namespace ClouDeveloper.Log4net.CallerInfo { /// <summary> /// CallerInfoLogHelper /// </summary> public static class CallerInfoLogHelper { /// <summary> /// Obtains the logger. /// </summary> /// <typeparam name="T"></typeparam> ...
using System; using System.Collections.Generic; using System.Globalization; namespace cursoSeccao3Csharp { public class Program { private static void Main(string[] args) { Console.Write("Número da conta: "); int numero = int.Parse(Console.ReadLine()); Consol...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace MyCore { public class CharacterEquipment : MonoBehaviour { [SerializeField] Transform m_backJoint; [SerializeField] Transform m_rightHandJoint; [SerializeField] Transform m_mainWeapon; pub...
namespace Plus.Communication.Packets.Outgoing.Catalog { internal class CatalogItemDiscountComposer : MessageComposer { public CatalogItemDiscountComposer() : base(ServerPacketHeader.CatalogItemDiscountMessageComposer) { } public override void Compose(Server...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations; namespace Equinox.Domain.Models { [Table("AgentGlobalAdminRolesSystem")] public class AgentGlobalAdminRo...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using Zaliczenie.Models; namespace Zaliczenie.Controllers { public class ProductController : ApiController { private List<Product> products = new List<Product>() ...
using LinqToTwitter; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; using personal_site.Models; using personal_site.Services.AuthHandlers; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Configuration; u...
using System; using System.IO; using LordG.Tools.Drive; namespace Tests { class Program { static void Main(string[] args) { Drive.GetDrives getDrives = new Drive.GetDrives(); Drive drive = new Drive(); DriveInfo[] drives = getDrives.AsDriveInfo(); ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using Spine.Unity; using UnityEngine.EventSystems; using UnityEngine.Networking.Types; using UnityEngine.Networking.Match; using Prototype.NetworkLobby; public class cofreLobby : MonoBehaviour { public GameObject Cartas; public int ab...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Newtonsoft.Json; using ERPMVC.Models; using System.Net.Http; using System.Net.Http.Headers; namespace ERPMVC.Controllers { public class StaffController : Controller { public ActionResult In...
using System; using System.Collections.Generic; using System.Text; namespace Contoso.XPlatform.Constants { public struct Platforms { public const string iOS = "iOS"; public const string Android = "Android"; } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Benchmark.Benchmarks { using BenchmarkDotNet.Attributes; /* Unfair comparison, System is not doing Cast Method | ItemType | SizeOfInput | Mean | Error | ...
using System; using System.ComponentModel; using System.Windows.Input; using Xamarin.Forms; namespace TipsAndTricksB.ViewModels { public class TipsAndTricksPageViewModel : INotifyPropertyChanged { public bool IsReadOnly { get; set; } = true; public ICommand ChangeColorCommand { get; set; } ...
using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Security.Cryptography; namespace LostAndFound { public class LoginUserModel : IModel { //private string appPath = @"C:\Users\Dovydas...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ConfigSettings : MonoBehaviour { public List<GameObject> subMenus; public List<GameObject> buttons; // Start is called before the first frame update void Start() ...
using backend.models; namespace backend.services { public class AtualizaQuebraRecordMinimoServico { public int AtualizaQuebraRecordMinimo(Jogo jogo, int quantidadeJogadas, int recordMinimo, int placarMinimo) { if (quantidadeJogadas == 0) { ...
namespace VoxelEngine { public interface IGameTime { float ElapsedTime { get; } } }
using Microsoft.Extensions.DependencyInjection; using MongoDB.Driver; using Serilog.Ui.Core; using System; namespace Serilog.Ui.MongoDbProvider { /// <summary> /// SerilogUI option builder extensions. /// </summary> public static class SerilogUiOptionBuilderExtensions { /// <summary> ...
using BlogProject.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BlogProject.Repositories { public class PostTagRepository : IRepository<PostTag> { private BlogContext db; public PostTagRepository(BlogContext db) { ...
namespace Newtonsoft.Json.Schema { using Newtonsoft.Json; using Newtonsoft.Json.Linq; using ns20; using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; public static class Extensions { public static bool...
using MKModel; using MKViewModel; 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; u...
using System.Collections; using System.Collections.Generic; using UnityEngine; public interface IGameMode { string GetLevelDescription(); void StartGameMode(); void GameModeOver(); void FinishGameMode(); void RestartGameMode(); }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Workflow.Interface { /// <summary> /// this interface tells that the workflow uses a Database Context /// </summary> public interface IDbContextUtilizer { IDbContex...
using Reserva.Infra.Context; using System; using System.Collections.Generic; using System.Text; namespace Reserva.Infra.Transactions { public class Uow : IUow { private readonly ReservaContext _context; public Uow(ReservaContext context) { _context = context; } ...
namespace ConsoleWebServer.Framework { public interface IResponseFactory { HttpResponse CreateResponse(HttpRequest request); } }
using InstagramMVC.DataManagers; using System.Linq; namespace InstagramMVC.Models { /// <summary> /// Класс для экспорта в систему win32 InstagramAppUpdater /// </summary> public class TeleUser : AppUserMin { public bool CAN_USER_TRANSLATE_SHOW { get { ...
/* DotNetMQ - A Complete Message Broker For .NET Copyright (C) 2011 Halil ibrahim KALKAN 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 by the Free Software Foundation; either version 2.1 of the License, or (at your option)...
using Dapper; using EWF.Data; using EWF.Data.Repository; using EWF.IRepository.SysManage; using EWF.Util.Options; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Data; using System.Text; namespace EWF.Repository.SysManage { public partial class SYS_FACEQRepository...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // namespace DotNetNuke.UI.WebControls { /// ----------------------------------------------------------------------------- /// <summary> /// Enum...
/*using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityStandardAssets.CrossPlatformInput; public class MoveScript : MonoBehaviour { public float paddleSpeed = 1f; private Vector3 playerPos = new Vector3(0, -9.5f, 0); float directionX; Rigidbody rb; // Use this ...
using MyBlog.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace MyBlog.Controllers { //Controller for a Form Model. public class HomeController : Controller { public ActionResult Form(Form form) { ...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using Psub.DataService.DTO; using Psub.DataAccess.Abstract; using Psub.DataService.Abstract; using Psub.Domain.Entities; using NHibernate.Linq; namespace Psub.DataService.Concrete { public class RelayDataService : IRela...
/* * Copyright 2016 Open University of the Netherlands * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * This project has received funding from the European Union’s Horizon * 2020 research and innovation programme under ...
#region license // Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com) // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the abo...
namespace Task01_TreeOfNNodes { using System; using System.Linq; internal class Startup { internal static void Main() { Console.WriteLine("N = "); var n = int.Parse(Console.ReadLine()); var nodes = new TreeNode<int>[n]; for (int i = 0; i...
using KekManager.Domain; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace KekManager.Data.Models { public class LearningProgramModel { public int Id { get; set; } [Required] public string Name { get; set; } ...