text
stringlengths
13
6.01M
using System.Drawing; namespace TowerOfHanoi { internal class Settings { internal static Size ScreenSize { get; set; } internal static Color ScreenColor { get; set; } internal static Size PillarSize { get; set; } internal static Color PillarColor { get; set; } interna...
using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; public class PowerupController : MonoBehaviour { public GameController gameController; public GameObject powerupPrefab; public int spawnDelay; public List<Powerup> powerups; public Di...
namespace Powerups { public class SpeedPowerup : PowerupBase { protected override Powerup Powerup => Powerup.Speed; } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using Mono.Data.Sqlite; using System.Data; using System; using System.IO; using UnityEngine.Networking; public class DBManager : MonoBehaviour { private SqliteConnection con2db; private string path2db; //путь public string dbNa...
using System; using System.Collections.Generic; using System.Text; using System.Linq; namespace HackerRank_HomeCode { public class HurdleRace { public void DoseToTake() { string[] nk = Console.ReadLine().Split(' '); //number of hurdles int n = Convert.ToInt32...
namespace ClearSight.Core.Window { /// <summary> /// Interface for window implementations. /// </summary> public interface IWindow { bool Closed { get; } } }
using System.Collections.Generic; using Faust.PetShopApp.Core.Models; namespace Faust.PetShopApp.Core.IServices { public interface IColorService { Color Create(Color color); List<Color> ReadAll(); Color Read(int id); Color Update(Color owner); Color Delete(int id); ...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Eze.Api.Entities; namespace Eze.Api.Repositories { public interface IEzeRepository { //Account CRUD Task<ICollection<Account>> GetAccountsAsync(); Task<Account> GetAccountAsync(Guid id); Task Cre...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; using Nancy.ModelBinding; namespace Nancy.Serialization.Jil.Tests { [TestClass] public class JilBodyDeserializerFixture { ...
 using SwordTestApi.Contracts.Models; using System.Collections.Generic; using SwordTestApi.Contracts; using SwordTestApi.Contracts.Enumerations; namespace SwordTestApi.Services { public class RiskDatasource: IRiskDataSource { private readonly Resource _matt = new Resource { Id = 1, Name = "Matt Sharpe...
using System; using System.Runtime.InteropServices; namespace K4AdotNet.NativeHandles { // Defined in k4atypes.h: // #define K4A_DECLARE_HANDLE(_handle_name_) // /// <summary>Base class for all native handles declared it Sensor SDK.</summary> /// <remarks> /// Handles represent object instance...
namespace Computers.Commands.Info { public class CommandInfo { public string CommandName { get; set; } public int Argument { get; set; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class GameOverScreen : MonoBehaviour { //public static bool GameIsOver = false; public GameObject GameOverMenuUI; public void GameOverPart() { GameOverMenuUI.SetActive(true...
using System; using System.Collections.Generic; using System.Text; namespace PhonemesAndStuff { public class PhoneInWord { public int PhoneInWordIndex { get; } public Word Word { get; } public PhoneInWord(int phoneInWordIndex, Word word) { PhoneInWordIndex = phoneIn...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace Signals { public class App { private IView activeView; private List<Document> documents = new List<Document>(); private MainForm mainForm; private sta...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Program.cs" company=""> // // </copyright> // <summary> // The program. // </summary> // -------------------------------------------------------------------------------------...
using MVCDevTools.Models.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace MVCDevTools.Models { public class ShoppingCart { private IValueCalculator calc; public ShoppingCart(IValueCalculator calc) { this.Calc = calc...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ManageAppleStore_DTO { public class ProductsDTO { private string _StrProductID; private string _StrProductName; private DateTime? _DTYearOfProduct = null; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Common.Console { public abstract class AsciiLineStyle { private int _fullInsideWidth; internal AsciiLineJustification Justification { get; set; } internal int Padding { get; set; } internal int Full...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Chpoi.SuitUp.Entity { public class Parameter { public double bust {get;set;} public double waist{get;set;} public double hips{get;set;} } }
/** *┌──────────────────────────────────────────────────────────────┐ *│ 描 述: *│ 作 者:lw *│ 版 本:1.0 模板代码自动生成 *│ 创建时间:2019-05-23 16:43:42 *└...
using System; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; using Yeasca.Metier; namespace Yeasca.TestsUnitaires.Metier.Outils.Logs { [TestClass] public class TestLog { [TestMethod] public void TestLog_peutLoggerUnMessage() { Log.loguer("pouet", n...
using System; using System.Collections.Generic; class TheSieveOfEratosthenes { static void Main() { //Write a program that finds all prime numbers in the range [1...10 000 000]. //Use the sieve of Eratosthenes algorithm (find it in Wikipedia). int n = 10000; int[...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class UIManagement : MonoBehaviour { [SerializeField] PlayerController2D Player = null; [SerializeField] Canvas PlayerHud = null, PauseHud = null, Settings = null, Dea...
using System; using System.IO; using System.Web; namespace MVCPL.Util.Extensions { public static class HttpPostedFileBaseExtension { public static string ToBase64String(this HttpPostedFileBase image) { return image == null ? null : Convert.ToBase64String(image.ToBytes()); }...
namespace E02_Salaries { using System.Collections.Generic; public class Node { private List<Node> childern; public Node(int nodeId) { this.NodeId = nodeId; this.Salary = 0m; this.childern = new List<Node>(); } public int NodeId ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SS.Service { public class BodyChainHandler : StreamChainHandler { public IEscapeable Escaper { get; set; } public BodyChainHandler(IEscapeable Escaper)...
namespace Components.DataAccess.Sql { using Components.DataAccess.Sql.Accessors; using Components.DataAccess.Sql.Executioner; using Components.DataAccess.Sql.Persistence; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System.Collections.Generic; ...
using System; using System.Collections.Generic; using System.Text; namespace eLearning.Domain { public class Section : BaseClass { public Section() { Students = new List<Student>(); } public string Name { get; set; } public virtual School School { get; set;...
using AutoMapper; using System.Linq; using Microsoft.AspNetCore.Mvc; using ATSBackend.Service.Models; using ATSBackend.Domain.Entities; using Microsoft.AspNetCore.Authorization; using ATSBackend.Application.Interfaces; namespace ATSBackend.Service.Controllers { [Route("api/[controller]")] public class Candida...
using System; using Lidgren.Network; using Microsoft.Pex.Framework; using Microsoft.Pex.Framework.Validation; using Microsoft.VisualStudio.TestTools.UnitTesting; using PexAPIWrapper; using System.Text; using System.Collections; using System.Diagnostics; using System.Globalization; namespace Lidgren.Network { [Pex...
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ViewComponents; using Sbidu.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Sbidu.ViewComponents { public class Us...
namespace BLL.Infrastructure.ComplexRequest { public enum SortingDir { Ascending, Descending } }
using System.Collections; using System.Collections.Generic; using UnityEngine; //Trigger 1 for AICAR 1 in circuit 7 public class c7firsttrig : MonoBehaviour { public circuit7end Trigger; public c7AItrig Trigger1; public GameObject AI2; public void OnTriggerEnter(Collider other) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Depot.Contract; namespace Depot.Contract { public class BookingHeader:IContract { public BookingHeader() { } public Int16 BranchID { get; set; } public string OrderNo { get; set; } public string BookingBLNo {...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Benchmark.Benchmarks { using System.Collections.ObjectModel; using BenchmarkDotNet.Attributes; // TODO: Record results /// <summary> /// BCL only uses IEnumerable //...
using BPiaoBao.AppServices.Contracts.TPos; using BPiaoBao.AppServices.DataContracts.TPos; using BPiaoBao.Client.UIExt; using GalaSoft.MvvmLight.Threading; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace...
using System; using System.Data; using System.Text; using System.Configuration; using System.Diagnostics; using System.Xml.Serialization; using System.Collections.Generic; using Karkas.Core.TypeLibrary; using Karkas.Core.Onaylama; using Karkas.Core.Onaylama.ForPonos; using System.ComponentModel.DataAnnotations; namesp...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="TrayHandlerTests.cs" company="Soloplan GmbH"> // Copyright (c) Soloplan GmbH. All rights reserved. // Licensed under the MIT License. See License-file in the project root for lice...
using Mccole.Geodesy.Extension; using Mccole.Geodesy.Formatter; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; namespace Mccole.Geodesy.UnitTesting { [TestClass] public class DegreeMinuteSecond_Tests { [TestMethod] public void Constructor_Degree_Assert() { ...
using System; using System.Collections.Generic; using UnityEngine; /// <summary> /// Class that manages Several Pool-GameObject- by using the IPoolable interface /// </summary> public static class PoolManager { private static readonly Func<GameObject, GameObject> allocator; private static readonly Action<GameO...
using System.Collections.Generic; using dotNetRogueLootAPI.Domain.Models; namespace dotNetRogueLootAPI.Application.Interfaces { public interface IWeaponTypeRepository { public IEnumerable<WeaponType> GetAllTypes(); public WeaponType GetTypeByName(string name); } }
using System; using System.Collections.Generic; using System.Linq; namespace fes.Models { public class ClaimHeaderTableViewModel { private int m_iFileID; private string m_FileVersion; private string m_DCN; private string m_ClaimType; private ClaimLayoutType ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Raiwan.Classes { class PacketAdmin : Packet { public int PKT = 0; //PACKET TYPE public string CUP = ""; // change user pass public string EUN = ""; // edited us...
using OC.Hooks; using OCP; namespace OC.Authentication.Login { public class PreLoginHookCommand : ALoginCommand { private IUserManager userManager; public PreLoginHookCommand(IUserManager manager) { this.userManager = manager; } public override LoginResult ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media.Media3D; using System.Windows.Media; namespace advCG.Background { class pointLight : Light { static Color color = new Color(1.0f, 1.0f, 1.0f); static d...
using PDV.DAO.Custom; using PDV.DAO.DB.Controller; using PDV.DAO.Entidades; using PDV.DAO.Entidades.PDV; using System.Collections.Generic; namespace PDV.CONTROLER.FuncoesAndroid { public class FuncoesComanda { public static List<Comanda> GetComandas() { using (SQLQuery oSQL = new S...
using BusinessLogic; using Microsoft.VisualStudio.TestTools.UnitTesting; using BusinessLogic.Common; namespace Unit_Tests { /// <summary> ///This is a test class for BusinessLogicHandlerTest and is intended ///to contain all BusinessLogicHandlerTest Unit Tests ///</summary> [TestClass()]...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace TurnerSoftware.SitemapTools.Tests { [TestClass] public class SitemapQueryTests : TestBase { [TestMetho...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: Person.proto #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Co...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ParticleStormDLL.Utils { public class PropertyValue<T> { public T Value { get; set; } public T Max { get; set; } public T Min { get; set; } public T Step { get; set; } publi...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class MainController : MonoBehaviour { [SerializeField] private SoapSelect soapSelect; [SerializeField] private Button statBtn; [SerializeField] private Button soapBuyBtn;...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public enum CARD_TYPE { NONE = 0, MAHJONG, PHOENIX, DRACHE, DASHUND } public enum CARD_COLOR { RED = 0, GREEN, BLACK, BLUE, NONE } public class CardData : MonoBehaviour { ...
namespace DbRestify.Data { public class RowSchema { public string Name { get; internal set; } public bool IsPrimaryKey { get; internal set; } } }
using System; using System.Runtime.InteropServices; using System.Threading; using EnvDTE; using EnvDTE80; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; using task = System.Threading.Tasks.Task; namespace CloseAllTabs { [PackageRegistration(UseManagedResourcesOnly = true, AllowsBa...
using PDV.DAO.Atributos; namespace PDV.DAO.Entidades.Financeiro { public class ContaCobranca { [CampoTabela("IDCONTACOBRANCA")] public decimal IDContaCobranca { get; set; } = -1; [CampoTabela("IDCONTABANCARIA")] public decimal IDContaBancaria { get; set; } [CampoTabel...
using System.Data.Entity.ModelConfiguration; using RMAT3.Models; namespace RMAT3.Data.Mapping { public class AuditSectionTypeMap : EntityTypeConfiguration<AuditSectionType> { public AuditSectionTypeMap() { // Primary Key HasKey(t => t.AuditSectionTypeId); ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Game.Web.UI; using Game.Kernel; using Game.Facade; using Game.Entity.NativeWeb; using Game.Entity.Enum; using Game.Utils; namespace Game.Web.Module.WebManager ...
using LogicBuilder.RulesDirector; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace CheckMySymptoms.Forms.View { public interface IVariableMetadataRepository { ICollection<VariableMetadata> GetMe...
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 PixEdit; namespace PixEditAuto { public partial class PixEditAuto : Form { public ...
using System; namespace Domain.SeedWork { public class AuditableEntity : Entity { public DateTime Created { get; init; } public string? CreatedBy { get; init; } public DateTime? LastModified { get; init; } public string? LastModifiedBy { get; init; } } }
// 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.IO; using Benchmarks.Framework; using Benchmarks.Utility.Helpers; using Microsoft.Extensions.PlatformAbstractions; using Xunit; namespace ...
using System; using System.Collections.Generic; namespace InfiniteMeals.Meals.Model { public class Items { public string item_uid { get; set; } public string created_at { get; set; } public string itm_business_uid { get; set; } public string item_name { get; set; } publ...
namespace SGDE.API.Controllers { #region Using using Domain.Supervisor; using Domain.ViewModels; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; #endregion [Authorize...
// Accord Statistics Library // The Accord.NET Framework // http://accord-framework.net // // Copyright © César Souza, 2009-2015 // cesarsouza at gmail.com // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published ...
namespace ProtocolForge.Interface { public interface IOption { } }
using Domain; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace Application.DTO { public class AddPostDto { [Required(ErrorMessage = "Ovo polje je obavezno")] [MinLength(3, ErrorMessage = "Post name must have at least 3 ch...
namespace ExpVMsape.Migrations { using System; using System.Data.Entity.Migrations; public partial class diasExcep : DbMigration { public override void Up() { CreateTable( "dbo.ExceptionalDays", c => new { ...
namespace WebServiceTestTools.Contract.Model.Mobile { public class MobileResponse : BaseResponse { public string Response { get; set; } } }
using System.Collections.Immutable; using System.Diagnostics.CodeAnalysis; using System.Text; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Operations; namespace Meziantou.Analyzer.Rules; [DiagnosticAnalyzer(LanguageNames.CSharp)] public sealed class OptimizeStr...
using Allegiance.Blazor.NoUiSlider.Models; using Microsoft.AspNetCore.Components; using Microsoft.JSInterop; using System; using System.Dynamic; using System.Globalization; using System.Reflection; using System.Threading; using System.Threading.Tasks; namespace Allegiance.Blazor.NoUiSlider.Components.Single...
using ArcGIS.Core.Geometry; using ArcGIS.Desktop.Core; using ArcGIS.Desktop.Editing; using ArcGIS.Desktop.Editing.Attributes; using ArcGIS.Desktop.Framework.Contracts; using ArcGIS.Desktop.Framework.Dialogs; using ArcGIS.Desktop.Framework.Threading.Tasks; using ArcGIS.Desktop.Mapping; using System; using System.Linq; ...
using System; using Core.Dto; using Core.Internal.Newtsoft.Json.Converters; using Newtonsoft.Json; namespace Core.Demo.Dto { public class TransExitNodeActionDto : EntityDto { /// <summary> /// Даты и время выхода(Время начала подключения) /// </summary> [JsonProperty(PropertyNa...
using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; namespace OCP.Accounts { //public interface IAccount : ISerializable public interface IAccount { // <summary> // Set a property with data // </summary> // <param name="property">...
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.Media.Imaging;...
using System; using Sitecore.Data.Fields; using Sitecore.Search.Crawlers.FieldCrawlers; namespace Aqueduct.SitecoreLib.Search.FieldCrawlers { /// <summary> /// Defines a way to crawle lookup fields. /// </summary> public class LookupFieldCrawler : FieldCrawlerBase { public Looku...
using Microsoft.EntityFrameworkCore; using StudentNetwork.ViewModels; namespace StudentNetwork.Models { public class StudentContext : DbContext { public DbSet<Student> Students { get; set; } public DbSet<Group> Groups { get; set; } public DbSet<Message> Messages { get; set; } publ...
using System; public class Test { public static void Main() { double k = 1.8; Worker w1 = new Worker(); w1.Display(); w1.SetRank(k); w1.Display(); Worker w2 = new Worker("Джон Сноу", 350, 1.1); w2.Display(); Manager m1 = new Manager(); m...
//跨場景的靜態變數 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public static class StaticScript { public static bool pause = false; //暫停狀態 public static int stageNumber; //目前關卡數 //台詞 public static string[] ActorLines(Serif site) { ...
using System; using System.Collections.Generic; using UIKit; namespace JKMIOSApp { public partial class WizardTopViewController : UIViewController { public WizardTopViewController (IntPtr handle) : base (handle) { } public override void ViewWillAppear(bool animated) { base.ViewWillA...
using iQuest.VendingMachine.PresentationLayer.Views.Interfaces; using iQuest.VendingMachine.UseCases.UseCaseList; using Microsoft.VisualStudio.TestTools.UnitTesting; using iQuest.VendingMachine.Payment.Interfaces; using iQuest.VendingMachine.Payment.Services; using iQuest.VendingMachine.Exceptions; using System.Collec...
using Microsoft.EntityFrameworkCore.Migrations; namespace Payroll.Data.Migrations { public partial class CompanyWorkplaceIndex : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<string>( name: "SearchFields", ...
using UnityEngine; using UnityEngine.SceneManagement; public class MainMenu : MonoBehaviour { public string levelToLoad = "Level01"; public int index = 1; public void Play() { SceneManager.LoadScene(levelToLoad); } public void Quit() { Application.Quit(); } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; [CustomEditor(typeof(PlayerMovement))] [CanEditMultipleObjects] public class PlayerMovementEditor : Editor { SerializedProperty useMovementCurve; void OnEnable() { useMovementCurve = serializedObject...
namespace Triton.Game.Mapping { using ns26; using System; using Triton.Game.Mono; [Attribute38("VarKey")] public class VarKey : MonoClass { public VarKey(IntPtr address) : this(address, "VarKey") { } public VarKey(IntPtr address, string className) : base(addres...
using UnityEngine; using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine.UI; public class randommove : MonoBehaviour { Animator devil1run; Animator devil3run; Animator devil4run; public static bool fuelimg; public int worth = 50; public int rageu...
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using RippleES.Serialization.Json; using RipplerAccountTest.AccountAggregate; using RipplerES.CommandHandler; using RipplerES.Repositories.SqlServer; namespace RipplerAccountTest { public class Bootstrapper : BootstrapperBas...
namespace Mosa.External.x86.Drawing { static internal class KnownColorTable { private static int[] colorTable; private static void EnsureColorTable() { if (colorTable == null) InitColorTable(); } private static void InitColorTabl...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Mana : MonoBehaviour { public int maxMP = 1; public int currentMP = 1; public void Increment(int value) { currentMP = Mathf.Clamp(currentMP + value, 0, maxMP); } public void Decrement(int val...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CannonState { public float height = 0.0f; public float horizontalAngle = 0.0f; public float verticalAngle = 45.0f; public float goalXPosition = 50.0f; public float goalYPosition = 0.0f; public float spe...
using System; using Whale.DAL.Abstraction; namespace Whale.DAL.Models { public class Contact : BaseEntity { public Guid FirstMemberId { get; set; } public User FirstMember { get; set; } public Guid SecondMemberId { get; set; } public User SecondMember { get; set; } publ...
// Accord Statistics Library // The Accord.NET Framework // http://accord-framework.net // // Copyright © César Souza, 2009-2015 // cesarsouza at gmail.com // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published ...
using Foundation; using System; using System.Collections.Generic; using System.CodeDom.Compiler; using UIKit; using Locky.Shared; namespace Locky.iOS { partial class PasswordsTableViewController : UITableViewController { List<Password> items; public PasswordsTableViewController (IntPtr handle) : base (hand...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace RockPaperScissorsWebApp.Models { public class GameData { public GameData() { computerGame = new ComputerGame(); playerGame = new PlayerGame(); } public Game co...
using System; using System.Collections.Generic; using System.Text; using Microsoft.AspNetCore.Mvc; namespace PortalFramework { public abstract class BaseController : Controller { public DateTime Now { get; set; } public void DoStuff() { Now = DateTime.Now; ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace EventAPI.Models.Validations { public class DateValidation : RangeAttribute { public DateValidation() : base(typeof(DateTime), DateTime.Now.AddYears(-20).ToShortDateSt...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class main : MonoBehaviour { public int n; public float d, alpha, linkLength, bridgeLength, weight, speed; private float weightOnEachWheel, reactionA, reactionB; public Transform[] leftWheelSel...
using System.Drawing; using System.Windows.Forms; namespace PairsGame.Controls { public partial class Card : Button, ICard { private Image shirtImage; public Image ShirtImage { get => shirtImage; set { shirtImage = value; ...
using iTemplate.Web.Models; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace iTemplate.Web.Areas.Controllers.Api { public class ThemesController : ApiController { // GET api/themes/5 public string GetUrl(int id) ...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.Xrm.Sdk; using XrmMoq; namespace XrmMoqTestPlugin2016.Tests { [TestClass] public class ExamplePlugin3Tests { [TestMethod] [TestCategory("ExampleUnit")] public void Test_plugin_2016_preimage() ...