text
stringlengths
13
6.01M
using System.Collections; using System.Collections.Generic; using UnityEngine; using CT.Data; using CT.Data.Instance; using CT.Instance; using UnityEngine.UI; namespace CT.UI.Upgrade { public class TurretUpgradeUI : UpgradeUI<TurretInstanceData> { public Text oldRangeText, newRangeText; public...
 using Microsoft.Data.Sqlite; namespace TNBase.Repository.Migrations { /// <summary> /// Remove deleted listener's personal data for GDPR purposes /// </summary> public class _4_MaskDeletedListeners : SqlMigration { public _4_MaskDeletedListeners(SqliteConnection connection) : base(connect...
using BoatRegistration.Data.Model; using Microsoft.EntityFrameworkCore; namespace BoatRegistration.Data { public class BaseContext : DbContext { public DbSet<Boat> Boats { get; set; } public BaseContext(DbContextOptions<BaseContext> options) : base(options) { th...
using Enrollment.Common.Configuration.Json; using System.Text.Json.Serialization; namespace Enrollment.Common.Configuration.ExpressionDescriptors { [JsonConverter(typeof(DescriptorConverter))] public abstract class OperatorDescriptorBase : IExpressionOperatorDescriptor { public string TypeString =...
using ShCore.DataBase.ADOProvider.Attributes; using ShCore.Extensions; using ShCore.Utility; using ShCore.Web.Inputs; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Document.Entities { /// </summary> [TableInfo(TableName = "[Distri...
using System.Collections; using UnityEngine; class moveCamera : MonoBehaviour { public float lerpTime = 0.3f; public float currentLerpTime = 0; public bool keyHitLeft = false; public bool keyHitRight = false; private Vector3 start, end, left, middle, right; public int counter = 0; private ...
namespace PluginStudy.EntityFramework { using System.Data.Entity; using PluginStudy.Domain.Entity; public partial class PluginStudyDbContext : DbContext { public DbSet<Department> Department { get; set; } public DbSet<StudentInfo> StudentInfo { get; set; } public PluginStudyDb...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Coin : MonoBehaviour { public bool isBig; public int score; private Animator animator; bool isGet; // Start is called before the first frame update void Start() { isGet = false; ani...
using OnlineExaminationSystem.Entities.Concrete; using System; using System.Collections.Generic; using System.Text; namespace OnlineExaminationSystem.Business.Abstract { public interface IUserService { User GetById(int userId); User GetByMail(string email); User GetByName(string firstN...
using System; namespace Viking.AssemblyVersioning { public class GenericSignature : IEquatable<GenericSignature> { public GenericSignature(Type[] signature) { Signature = signature; } private Type[] Signature { get; } public int SingatureLength => Signature.Length; public boo...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace GetSetGo.Models { public class Summary { ApplicationDbContext _context; public Summary() { _context = new ApplicationDbContext(); } public int TotalRentals ...
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "DialogueObject", menuName = "CAS_JAM/DialogueObject", order = 0)] public class DialogueObject : ScriptableObject { [Header("Dialogue")] public List<DialogueSegment> dialogueSegments = new List<Dialogue...
using System; using System.Collections.Generic; using System.Text; namespace TaxCalculatorExample.Core { public class TaxCalculator { public decimal Calculat(ICountryTaxCalculator obj) { decimal taxAmount = obj.CalculateTaxAmount(); return taxAmount; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using FIUChat.DatabaseAccessObject.CommandObjects; using FIUChat.Enums; using MongoDB.Bson; using MongoDB.Driver; namespace FIUChat.DatabaseAccessObject { public class MongoDB { ...
using UnityEngine; using System.Collections; namespace Com.PDev.PCG { public class Launcher : Photon.PunBehaviour { #region Public Var public bool loadDebugRoom = false; [Tooltip("The UI Panel to let the user enter name, connect and play")] public GameObject controlPanel; [Tooltip("The UI Label to in...
using System; using System.Collections.Generic; using System.Text; using OCP.AppFramework.Utility; namespace OCP.BackgroundJob { /** * Simple base class for a one time background job * * @since 15.0.0 */ abstract class QueuedJob : Job { public QueuedJob(ITimeFactory time) : bas...
using LazyCache; using LazyCache.Providers; using Microsoft.Extensions.Caching.Memory; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Visualbean.Pokemon.Pokemon; namespace Visualbean.Pokemon.UnitTest { [TestClass] p...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using UnityEngine.EventSystems; using UnityEngine.UI; public class scrHeavenlyLightningButton : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler { public bool mouseOn; public Text text; // Use...
using System; using System.Windows; using OverCR.StatX.Statistics; using OverCR.StatX.Extensions; using System.Windows.Input; namespace OverCR.StatX { public partial class MainWindow { private MouseTracker MouseTracker { get; set; } private KeyboardTracker KeyboardTracker { get; set; } ...
using System; using System.IO; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Senai.Sistema.Carfel.ProjetoFinalDezoito.Models; using Senai.Sistema.Carfel.ProjetoFinalDezoito.Repositorio; namespace Senai.Sistema.Carfel.ProjetoFinalDezoito.Controllers { public class ComentarioController : Con...
using System; namespace Model.Entities { public class TimesheetEntry { public int Id { get; set; } public DateTime? StartTime { get; set; } public DateTime? EndTime { get; set; } public string Note { get; set; } } }
using UnityEngine; using System.Collections; public class CloudController : MonoBehaviour { public float scrollSpeed = 10f; public float tileSize = 600f; public float initialOffset = 0f; private Vector3 starPosition; // Use this for initialization void Start () { starPosition = transform.position; } //...
using com.sun.tools.@internal.xjc; using OpenQA.Selenium; using OpenQA.Selenium.Support.UI; using System; using System.Collections.Generic; using System.Text; using System.Threading; using MarsQA_1.Helper; using Driver = MarsQA_1.Helper.Driver; using NUnit.Framework; namespace MarsQA_1.Pages { class AddCertificat...
using System.Collections; using System.Collections.Generic; using UnityEngine; /** * Copyright (c) blueback * Released under the MIT License * https://github.com/bluebackblue/fee/blob/master/LICENSE.txt * http://bbbproject.sakura.ne.jp/wordpress/mitlicense * @brief 暗号化。 */ /** NCrypt */ namesp...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Kers.Models.Entities.KERScore; using Kers.Models.Entities.UKCAReporting; using Kers.Models.Abstract; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Bezlebub { public interface Locatable { int x { get; set; } int y { get; set; } } public class StaticLocation : Locatable { public int x {...
namespace TicTacToe { public interface IPlayerReceiver { TicTacState[,] Grid { get; } void MakeTurn(TicTacState state, int coordinateX, int coordinateY); } }
 namespace otus_architecture_lab_8 { public class FileParserTxt : FileParcerBase { #region Methods protected override bool CanParce(string path) { return path.EndsWith(".txt"); } protected override void Parce(string path) { SimpleServic...
using System; namespace ten_guesses { class Program { static void Main(string[] args) { // Set a secret number to 653. // Then program will then loop, // where each loop will ask the user to enter what they think a secret integer is. ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ObjectManipulation : MonoBehaviour { public Camera playerCam; public GameObject selected; public float rotationSpeed; public bool leftClick; public bool rightClick; public float yaw; public float p...
using FluentAssertions; using System; using System.Collections.Generic; using Xunit; namespace TDD_GarbageParser { public class GarbagePaserTest { [Fact] public void ShouldParseSingleWord() { Parse("VIENNA").Should().Contain("VIENNA"); Parse("BOTTLE").Should().C...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Data; using System.Data.OleDb; using System.Collections; using System.Net.Mail; using HSoft.SQL; using Obout.ComboBox; using Obout...
using GlobalDevelopment.SocialNetworks.Facebook.Interfaces; using GlobalDevelopment.SocialNetworks.Facebook.Models; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using System.Web; namesp...
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 Microsoft.VisualStudio.TestTools.UnitTesting; using LeetCodeCSharp; using System.Collections.Generic; namespace LeetCodeCsharpTest { [TestClass] public class Test_002FloodSurrondArea { [TestMethod] public void TestFloodArea() { _002_FloodSurroundArea...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace truckeventsXamPL.Models { public class Evento_Usuario : BaseEntity { public string Id_Usuario { get; set; } = null; public Guid? Id_Evento { get; set; } publi...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; public class BagScript : MonoBehaviour { public Sounds sound; public Slider SliderWheat; public Slider SliderApple; public Slider SliderTomato; public Slider SliderEggplant; publ...
using UnityEngine; using System.Collections; public class examplescene : MonoBehaviour { // Use this for initialization void Start () { RenderSettings.skybox = (Material)Resources.Load("Skybox3"); } // Update is called once per frame void Update () { } void OnGUI() { int x = 50; int y = 50; i...
using D_API.DataContexts; using D_API.Models.Auth; using D_API.Types.Auth; using DiegoG.TelegramBot; using DiegoG.Utilities.Settings; using Serilog; using System.Linq; using System.Threading.Tasks; using System; using System.Collections.Generic; using DiegoG.Utilities.IO; using D_API.Types.Users; namespace D_API.Depe...
using System; namespace NLuaTest.Mock { public class master { public static string read() { return "test-master"; } public static string read(parameter test) { return test.field1; } } }
using System; using System.Collections.Generic; using System.Globalization; using System.Text; using System.Windows.Data; using TableTopCrucible.Core.Helper; namespace TableTopCrucible.Core.WPF.Converters { public class EnumTextConverter : IValueConverter { public object Convert(object value, Type ta...
using PointOfSalesV2.Entities; using System; using System.Collections.Generic; using System.Text; namespace PointOfSalesV2.Repository { public class UnitProductEquivalenceRepository : Repository<UnitProductEquivalence>, IUnitProductEquivalenceRepository { public UnitProductEquivalenceRepository(MainDa...
using AutoMapper; using Contoso.Forms.Configuration; using Contoso.Forms.Configuration.Bindings; using Contoso.Forms.Configuration.Directives; using Contoso.Forms.Configuration.DataForm; using Contoso.Forms.Configuration.ListForm; using Contoso.Forms.Configuration.Navigation; using Contoso.Forms.Configuration.SearchFo...
using System; namespace HomeWork6._4 { class Program { static void Main(string[] args) { } } }
// Copyright (C) 2018 Kazuhiro Fujieda <fujieda@users.osdn.me> // // 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 re...
using Microsoft.EntityFrameworkCore; namespace LogReg.Models { public class HomeContext : DbContext { public HomeContext(DbContextOptions options) : base(options) { } public DbSet<User> Users { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Chess.Pieces { public class King : Piece { public King(Color color, int x, int y) : base(color, x, y) { } protected override IEnumerable<(int X, int Y)> GetPossibleMove...
using UnityEngine; using System.Collections.Generic; public class Unpause : MonoBehaviour { public BattleController controller; public List<HeroController> unitList; public GameObject obj; // Use this for initialization void Start () { } // Update is called once per frame void Update () { } void OnM...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FodyExample6 { class Program { static void Main(string[] args) { Person person = new Person() {FirstName = "Hubert", LastName = "T...
using System; using SixLabors.ImageSharp; using SixLabors.ImageSharp.Processing; namespace ImageResizer { class Program { static void Main(string[] args) { if (args.Length != 2) { ErrorExit("Please follow the run command with an image path and a desired ...
using PNPUCore.Process; using System; using System.Net.Http.Headers; namespace PNPUCore.Controle { interface IControle { string MakeControl(); IProcess GetProcessControle(); void SetProcessControle(IProcess value); string GetLibControle(); string GetTooltipControle();...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // #region Usings using System; using DotNetNuke.Services.Localization; #endregion namespace DotNetNuke.UI.WebControls { [AttributeUsage(AttributeTar...
using CodeOwls.PowerShell.Paths; using CodeOwls.PowerShell.Provider.PathNodeProcessors; using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation; using TreeStore.Model; namespace TreeStore.PsModule.PathNodes { /// <summary> /// Represents an assigned facet property...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AudioTrigger : MonoBehaviour { public string SFXName; private void OnTriggerEnter(Collider other) { if (other.gameObject.tag == "Player") { if (AudioManager.instance.sounds[0].source !=...
using System.Collections.Generic; using System.Text; using TableTopCrucible.Domain.Models.ValueTypes; namespace TableTopCrucible.Data.SaveFile.DataTransferObjects { public class VersionDTO { public int Major { get; set; } public int Minor { get; set; } public int Patch { get; set; } ...
using CodeOwls.PowerShell.Paths; using CodeOwls.PowerShell.Provider.PathNodeProcessors; using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation; using TreeStore.Model; namespace TreeStore.PsModule.PathNodes { public class FacetPropertyNode : LeafNode, IRemoveI...
using MVCApplication.Models; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity; using System.Linq; using System.Web; namespace MVCApplication.Data { public class AppContext: DbContext { public DbSet<Entry> Entries { get; set; }...
namespace E02_MinimumEditDistance { using System; using System.Text; public class Startup { private const double ReplaceCost = 1; private const double DeleteCost = 0.9; private const double InsertCost = 0.8; public static void Main(string[] args) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Exercise8 { /* 8. Write a method that adds two positive integer numbers represented * as arrays of digits (each array element arr[i] contains a digit; * the last digit is kept in arr[0]). Each...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TimedOnOff : MonoBehaviour { // Generalize to if we want a timer for how long something is on or how long it's off. public bool timeOn; public float timer; // Run a timer, which resets if the button gets turned off befor...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CoreDemoModels.DomainModels; using CoreDemoService.SDI; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace CoreDemoWebAPI.Controllers { [Produces("application/json")] public class Hom...
using System; using System.Threading.Tasks; using Executor.Console.Util; namespace Executor.Console.Job { public class RandomDelayJob : VoidJob { private readonly string _name; public RandomDelayJob(string name) { _name = name; } protected override async T...
using AutoMapper; using Football.API.Dto; using Football.API.Dto.QueryParams; using Football.API.Services; using Football.DAL; using Football.DAL.Entities; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System....
using System; using System.Collections.Generic; using System.Windows.Forms; using SharpDX; using SharpDX.Direct3D; using SharpDX.Direct3D11; using SharpDX.DXGI; using SharpDX.DirectInput; using SharpDX.Windows; using Device = SharpDX.Direct3D11.Device; using Keyboard = VoxelEngine.Input.Keyboard; using Mouse = VoxelEn...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.AspNet.Identity; using Microsoft.Owin.Security; using System.Web.Mvc; namespace Heckathon.Models { public class CityViewModel { public List<Models.CityDataModel> CityList = new List<Models.CityDa...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace InternetShop.Models { public class Comment { public string MessageText { get; set; } public string Advantages { set; get; } public string Disadvantages { get; set; } public int Estima...
namespace XShare.WebForms.Controls.YoutubeIfreme { using System; using System.Web.UI; public partial class YouTubeIframe : UserControl { public enum VideoQuality { Small, Medium, Large, Hd720, Hd1080, Highres, ...
using BPiaoBao.AppServices.Contracts.Cashbag; using BPiaoBao.AppServices.DataContracts.Cashbag; using BPiaoBao.Client.UIExt; using GalaSoft.MvvmLight.Command; using GalaSoft.MvvmLight.Threading; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Input;...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; namespace CryptobotUi { partial class Startup { partial void OnConfiguring(IApplicationBuilder app, IWebHostEnvironment env) { } } }
using Ganss.Excel.Exceptions; using NPOI.SS.UserModel; using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Reflection; using System.Text.RegularExpressions; namespace Ganss.Excel { /// <summary> /// Maps a <see cref="Type"/>'s properties to columns in an Exce...
using Crt.Model.Dtos.CodeLookup; using System; using System.Text.Json.Serialization; namespace Crt.Model.Dtos.QtyAccmp { public class QtyAccmpDto { [JsonPropertyName("id")] public decimal QtyAccmpId { get; set; } public decimal ProjectId { get; set; } public decimal FiscalYearL...
using System.ComponentModel.DataAnnotations; using System.Text.Json.Serialization; using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; #nullable disable namespace dk.via.ftc.businesslayer.Models { public class Dispensary { public Dispensary() { ...
namespace Aqueduct.SitecoreLib.Examples.SampleApplication.Business.Domain.Widgets.Social { public class FacebookWidget : BaseWidget { } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Zelo.Common.CustomAttributes; namespace Zelo.DBModel { [Table(Name = "ttopic")] public class Ttopic { [Id(Name = "tpc_id", Strategy = GenerationType.INDENTITY)] public int TpcId{ get; set; } [Column(Name = "t...
/* * Copyright © 2019 GGG KILLER <gggkiller2@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the “Software”), to deal in the Software without * restriction, including without limitation the rights to use, copy, modif...
namespace Plus.Communication.Packets.Outgoing.Rooms.Session { internal class FlatAccessibleComposer : MessageComposer { public string Username { get; } public FlatAccessibleComposer(string username) : base(ServerPacketHeader.FlatAccessibleMessageComposer) { ...
/* In App.xaml: <Application.Resources> <vm:ViewModelLocator xmlns:vm="clr-namespace:BPiaoBao.Client.Account" x:Key="Locator" /> </Application.Resources> In the View: DataContext="{Binding Source={StaticResource Locator}, Path=ViewModelName}" You can also use Blend to do...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ChartingObjects { public abstract class DataPointValue { /// <summary> /// Determines the number of decimal places for rounding purposes. /// </summary> ...
using System; using System.ComponentModel; using System.Data; using DevExpress.XtraEditors.Controls; using TLF.Framework.BaseFrame; using TLF.Framework.Config; namespace TLF.Framework.ControlLibrary { /// <summary> /// /// </summary> /// <remarks> /// 2008-12-17 최초생성 : 황준혁 /// 변경내역 /// ...
using System.Collections.Generic; namespace Contoso.Forms.Configuration.Directives { public class DirectiveDefinitionDescriptor { public string ClassName { get; set; } public string FunctionName { get; set; } public Dictionary<string, DirectiveArgumentDescriptor> Arguments { get; set; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Entities; using ShareTradingModel; using TestingFramework; namespace Entities.Test { public class EntityTest<T>:TestBase { private ShareTradingEntities context; //Write all...
// <copyright> // Copyright 2013 by the Spark Development Network // // 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 b...
using BerlinClock.Classes.TimeDisplay; using BerlinClock.Classes.Utility; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BerlinClock.Classes.Time { class Hours : IBerlinTime { List<ILightDisplay> lightDisplay = new List<ILi...
using SQLite; namespace CapstoneTravelApp.DatabaseTables { public class User_Table { [SQLite.PrimaryKey, SQLite.AutoIncrement] public int UserId { get; set; } [NotNull] [Unique] public string UserName { get; set; } [NotNull] public string Password { g...
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter09.Listing09_22 { using System; using System.IO; public class Program { public static void Search() { using (TemporaryFileStream fileStream1 = new TemporaryFileStream(), fileStream2 = n...
using Alarmy.Common; using System; using System.Collections.Generic; using System.Linq; namespace Alarmy.Core { internal class AlarmService : IAlarmService, IDisposable { private readonly IEqualityComparer<IAlarm> valueComparer; private readonly ITimer timer; private readonly IAlarmRep...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using System.Web; using DotNetNuke.Web.Mvc.Framework.Modules; using DotNetNuke.Web.Mvc.Routing; using Moq; using NUnit.Framework; namespace DotNetNuke.Te...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Microsoft.Azure.WebJobs.Host.Executors; using Microsoft.Azure.WebJobs.Host.FunctionalTests.TestDoubles; using Microsoft.Azure.WebJobs.Host.Loggers; using Microso...
using System.ComponentModel.DataAnnotations; namespace Requestrr.WebApi.Controllers.ChatClients { public class ChatClientsSettingsModel { [Required] public string Client { get; set; } [Required] public string ClientId { get; set; } [Required] public string BotT...
using Microsoft.AspNetCore.Mvc; namespace WebApiSample.Controllers { [ApiExplorerSettings(IgnoreApi = true), Route("")] public class DefaultController : Controller { [HttpGet] public IActionResult Get() => Redirect("swagger"); } }
using FatCat.Nes.OpCodes.Comparing; using JetBrains.Annotations; namespace FatCat.Nes.Tests.OpCodes.Comparing { [UsedImplicitly] public class CompareXRegisterTests : CompareRegisterTests { protected override string ExpectedName => "CPX"; public CompareXRegisterTests() => opCode = new CompareXRegister(cpu, addr...
using Shop.BusinnesLogic.Convesions; using Shop.BusinnesLogic.Models; using Shop.BusinnesLogic.Services; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace Shop.Controllers { public class CategoryClientController : ApiContro...
using System.IO; public class LineReader { protected FileInfo theSourceFile = null; protected StreamReader reader = null; public string text = " "; // assigned to allow first line to be read below public string[] bits; public void AssignFile(string fileName) { theSourceFile = new File...
namespace BlazorUtils.WebTest._0._5.Models { public class Course { public Course(string id, string prof) { Id = id; Prof = prof; } public string Id { get; set; } public string Prof { get; set; } } }
using MedManagerLibrary.Domain; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MedManagerLibrary.Data { public class AdministradoresData { private String conexion; pu...
/* * Copyright 2014 Technische Universität Darmstadt * * 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 appl...
using System; using System.Collections.Generic; namespace LRUCacheV1 { public class LRUCache<T> where T : class { public long Size { get { return _items.Length; } } private LRUItem<T> Newest; private LRUItem<T> Olde...
// Umbraco Inception allows you to specify the 'Allowed child node types' using the classes that create those document types. // We want to keep our document type specifications in separate projects, alongside their associated templates, but this creates // a problem. You can't create a circular reference where Type...
using Microsoft.EntityFrameworkCore; using MisMarcadores.Data.DataAccess; using MisMarcadores.Data.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MisMarcadores.Repository { public class EquiposRepository : GenericRepository<Equipo>, IEquiposRepository ...
using ReturnOfThePioneers.Cards; using ReturnOfThePioneers.Common.Models; using ReturnOfThePioneers.Items; using System.Collections.Generic; namespace ReturnOfThePioneers.Families { public class Family : Entity { public string Server { get; set; } public string AccountId { get; set; } public string Save...