text
stringlengths
13
6.01M
using ClearBank.DemoFramework.Types; namespace ClearBank.DemoFramework.Services { public interface IPaymentService { MakePaymentResult MakePayment(MakePaymentRequest request); } }
using System.Collections.Generic; using System.Xml.Linq; namespace TeamCityChangeNotifier.XmlParsers { public class ChangeListXmlParser { private readonly XDocument _buildDoc; public ChangeListXmlParser(string buildXml) { _buildDoc = XDocument.Parse(buildXml); } public List<string> ChangeHrefs() { ...
using gView.Framework.Data; using gView.Framework.UI; using System.Windows.Forms; namespace gView.Plugins.MapTools.Controls { internal class SelectionTOCLayerNode : TreeNode { private ITOCElement _element = null; public SelectionTOCLayerNode(IMapDocument mapDocument, ITOCElement element, bool ...
using UnityEngine; using System.Collections; using UnityEngine.UI; using UnityEngine.EventSystems; /// <summary> /// Script to Pause game /// Handles Menu popping selection and popping up /// </summary> public class pauseScript : MonoBehaviour { public GameObject player; //player object public GameObject pau...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SqlClient; using System.Data; using System.Threading.Tasks; namespace TTN_QLBSach { class DBAcess { private static SqlConnection connection = new SqlConnection(); private static SqlCommand c...
// This file is part of LAdotNET. // // LAdotNET is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // LAdotNET is distributed in t...
using System.Reflection; using NLog; using Sandbox.Game.Entities; using Torch.Managers.PatchManager; namespace DataValidateFix { [PatchShim] public static class MyJumpDrivePatch { private static readonly Logger Log = LogManager.GetCurrentClassLogger(); private static FieldInfo _jumpDistanc...
using System; using System.ComponentModel.DataAnnotations; using com.Sconit.Entity.SYS; //TODO: Add other using statements here namespace com.Sconit.Entity.MD { public partial class UomConversion { #region Non O/R Mapping Properties [Export(ExportName = "UomConversion", ExportSeq = 50)] ...
using System; using System.Collections.Generic; namespace DevExpress.Web.Demos { public static class WeatherInLondon { public static IList<DayWeather> GetWeatherHistory() { IList<DayWeather> weatherHistory = new List<DayWeather>(); weatherHistory.Add(new DayWeather(new DateTime(200...
namespace MundoMascotaRosario.Migrations { using Common; using Models; using System.Collections.Generic; using System.Data.Entity.Migrations; internal sealed class Configuration : DbMigrationsConfiguration<DAL.MMRContext> { public Configuration() { AutomaticMigration...
using gView.Framework.Data; using System.Collections.Generic; namespace gView.Framework.UI { public interface ISelectionEnvironment { List<IDatasetElement> SelectableElements { get; } void AddToSelectableElements(IDatasetElement element); void RemoveFromSelectableElements(IDatasetElem...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class GameManager : MonoBehaviour { private void Start() { SoundManager.Instance.PlayBgm("InGame", true); SoundManager.Instance.SetBGMPitch(1f); GameConstant....
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DebugDrawHelper : MonoBehaviour { // ------------------------------------------------------------------------------------- private static DebugDrawHelper Instance = null; public static void RegisterDrawable(GameObject Ba...
using System; using System.Collections.Generic; using System.Data.Common; using Phenix.Business.Core; using Phenix.Core; using Phenix.Core.Data; namespace Phenix.Business.Tunnel { /// <summary> /// 快速提交业务对象,允许不检查业务规则 /// </summary> [Serializable] public class FastSaveCommand : Csla.CommandBase<FastSaveComma...
using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using System.Threading; using Union.Gateway.Abstractions; namespace Union.Gateway.MsgLogging { public class UnionMsgDownLoggingHostedService : IHostedService { private readonly IUnionMsgReplyConsumer jT808MsgReplyConsumer; priva...
using Nethereum.Contracts; using Nethereum.Hex.HexConvertors.Extensions; using Nethereum.Hex.HexTypes; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Threading.Tasks; namespace SoliditySHA3Miner.NetworkInterface { public class Min...
using System; namespace MarcusW.SharpUtils.Redis { public class RedisTransactionFailedException : Exception { public RedisTransactionFailedException() { } public RedisTransactionFailedException(string message) : base(message) { } public RedisTransactionFailedException(string message, ...
/* * Created : Sony NS * Descript : Helper class to create polygonal vertexes for circles, arcs and polylines. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DxfFileProvider { public class VertexConverter { /// <summary> /// Multiply t...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace task5_Folder_Size { public class task5_Folder_Size { public static void Main() { //var dir = Directory.GetFiles("TestFolder"); ...
using System; using System.Collections.Generic; using System.Linq; namespace Problem_01 { class Program { /* Write a program that keeps information about courses. Each course has a name and registered students. You will be receiving a course name and a student name, until you receive the com...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Data.Entity; using System.Linq; using System.Web; namespace SecuritySite.Models { public partial class UserContext : DbContext { public DbSet<Article> Articles { get; set; } pu...
using System; using System.Collections.Generic; using System.Linq; using AxiDiscountEngine.Model; namespace AxiRepositories.Repositories { public class PromoActionRepository : BaseRepository<CustomPromoAction>, IPromoActionRepository { public CustomPromoAction GetCurrent() { List<C...
namespace TheClickerGame.Common.ClickUpgrades.MarvelousClicker { public class MarvelousClicker : ClickUpgrade { public override string Name => "Marvelous Clicker"; public override string Description => "Morbi semper eget sem id ultricies."; public override decimal Multiplier => 2; ...
using UnityEngine; using System.Collections; public class Field : MonoBehaviour { ForestGenerator forestGenerator; GameObject treeRef; GameObject fireRef; int x; int y; public float fuel; public float temp; Color color; public bool isBurning; public bool burned; void ...
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using WebApplication2; namespace WebApplication2.Controllers { [Authorize(Roles="mem")] public class sdbController : Controller { ...
using System; namespace NStandard { public class Variant { private readonly string _string; public Variant(string str) => _string = str ?? string.Empty; public Variant(char obj) => _string = obj.ToString(); public Variant(byte obj) => _string = obj.ToString(); public ...
using Command.Classes.Technic; namespace Command.Classes.Commands { public class CeilingFanMediumCommand : CeilingFanCommand { public CeilingFanMediumCommand(CeilingFan ceilingFan) { _ceilingFan = ceilingFan; } public override void Execute() { _pr...
using System; using System.Collections.Generic; namespace UHI { public class Comparator { /// <summary> /// Initializes a new instance of the <see cref="UHI.Comparator"/> class. /// </summary> public Comparator() { } /// <summary> /// Gets the differences. /// </summary> /// <returns>The diffe...
using CableMan.ViewModel; using Xamarin.Forms; namespace CableMan.View { public partial class PageLogin : ContentPage { public PageLogin() { InitializeComponent(); //BindingContext = new PageLoginViewModel(); BindingContext = new PageLoginViewModel(ActivityI...
using System; using System.ComponentModel.DataAnnotations; using com.Sconit.Entity.ACC; namespace com.Sconit.Entity.ISS { [Serializable] public partial class IssueLog : EntityBase, IAuditable { #region O/R Mapping Properties //[Display(Name = "Id", ResourceType = typeof(Resources.ISS.IssueLog)...
using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Net; using System.Runtime.InteropServices.WindowsRuntime; using System.Text; using System.Threading.Tasks; using Microsoft.Azure.Devices.Client; using Microsoft.WindowsAzure; using Microsoft.WindowsAzure...
using SuperMario.Commands; using SuperMario.Desktop; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input; using System.Collections.Generic; namespace SuperMario.Controllers { public class GamepadController : IController { readonly IDictionary<Buttons, ICommand> ButtonCommandDictionary; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FrontWallCollider : MonoBehaviour { public GameObject Ball; bool countable = true; public static bool hitFrontWall = false; void Update() { if (Ball.transform.position.x <= -16.5f && countable == ...
using System; using Motherload.Factories; using Motherload.Interfaces; using Motherload.Services; namespace Motherload { /// <summary> /// Classe para inicilizar os serviços DI /// </summary> public class Bootstrap { /// <summary> /// Iniciliza e registra os serviços /// </...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace GroupProject.Models { public class Instructor:User { [Required] public double HourlyRate {...
using ACT.DFAssist.Toolkits; using Newtonsoft.Json; using System.Drawing; namespace ACT.DFAssist { static class Settings { // 태그 public static string TagName = "202106230"; // Machina.FFXIV public static bool UseMachina = true; // 경로 public static string Path { get; set; } // 선택한 페이트 목록 public ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AnimalClinic { class Animal { public string Name { get; set; } public string Breed { get; set; } public int Id { get; set; } public Animal(string name,...
using System; using System.Collections.Generic; namespace Andr3as07.Logging.Formater { public class SimpleTextFormater : ITextFormater { public readonly string TimeFormat; public SimpleTextFormater(string timeFormat = "yyyy-MM-dd HH:mm:ss:fff") { this.TimeFormat = timeFormat; } pu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _034 { class Program { #region Factorials array (0 to 9) private static readonly int[] _factorials = { 1, 1, ...
using Exiled.API.Features; using Exiled.API.Enums; using System; using System.Collections.Generic; namespace CommandsBinds { public class CommandsBindsPlugin : Plugin<Config> { #region Info public override string Name { get; } = "Commands Binds"; public override string Prefix { get; }...
namespace ForumSystem.Web.Controllers { using System; using System.Threading.Tasks; using ForumSystem.Data.Models; using ForumSystem.Services.Data; using ForumSystem.Web.ViewModels.PartialViews; using ForumSystem.Web.ViewModels.Posts; using Microsoft.AspNetCore.Authorization; using Mi...
using Microsoft.EntityFrameworkCore.Internal; using Microsoft.EntityFrameworkCore.Query; using Microsoft.EntityFrameworkCore.Query.Internal; using Remotion.Linq.Parsing.Structure; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using static Micr...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ObjSerDes : MonoBehaviour { public static string serialize(object obj) { return JsonUtility.ToJson(obj); } public static Dictionary<int, string> getRiddles() { // server Riddle Request ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SceneEffect : MonoBehaviour { public float pos = 0; public GameObject[] f; public GameObject[] c; public GameObject[] b; public const float f_speed = 2; public const float c_speed = 1; public const ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Flock : MonoBehaviour { // State [HideInInspector] public Vector3 position; [HideInInspector] public Vector3 forward; public Transform objectToFollow; public Transform objectToAvoid;...
namespace Sila.Models.Database { using System; /// <summary> /// Describes the database model for an assembly or a part. /// </summary> public abstract class AssemblyOrPart : IDatabaseObject { /// <summary> /// The database identifier. /// </summary> public String Id { get; } /// <summary> /// The n...
using UnityEngine; using System.Collections; public class destroyedTally : MonoBehaviour { public int destroyed = 0; TextMesh tMesh; // Use this for initialization void Start () { tMesh = GetComponent<TextMesh>(); tMesh.text = "Destroyed: " + destroyed + "%"; } // Update is called once per frame void U...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ZacharyFaulk_CECS545_P2 { public class DFS { public static void dfs(newCity[] cityArray2, ref List<newCity> dfsStack) { newCity explore; //temp newCity o...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Assistenza.BufDalsi.Data; using Microsoft.AspNetCore.Identity; using Assistenza.BufDalsi.Web.Data; using Assistenza.BufDalsi.Web.Models.CogeneratoreViewModels; using Assistenza.BufDals...
using System; using Automatonymous; using Ntech.Saga.Contracts; namespace Ntech.Saga.Workflow { public class BookingStateMachine : MassTransitStateMachine<BookingSagaState> { public State Submitted { get; private set; } public State Processed { get; private set; } public State Cancell...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace RetenionApp.Services { public interface IStatisticsProvider { } }
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.EntityFrameworkCore; using Xunit; namespace WerkWerk.Test { using Workers; using Data; using Model; using Tasks; public sealed class WorkerTests { [Fact]...
using UnityEngine; using System.Collections; public class SmallShot : Shot { private float damage = 10f; private float speed = 40f; void Start() { GetComponent<Rigidbody>().velocity = speed * transform.forward; } public override void Damage() { base.Damage(); c...
// Inspired by the folks lokinwai and BinaryCats on the Unity Forums // See thread https://forum.unity.com/threads/drawing-a-field-using-multiple-property-drawers.479377/ using System; using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace ScriptableObjectFramework.Attributes { /// <su...
using System; using Autofac; using Autofac.Extensions.DependencyInjection; using AutoMapper; using Communicator.Core.Domain; using Communicator.Infrastructure.Data; using Communicator.Infrastructure.IoC.Modules; using Communicator.Infrastructure.IRepositories; using Communicator.Infrastructure.IServices; using Communi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Giusti.Chat.Model.Dominio { public static class Constantes { public static readonly int PerfilMasterId = 1; public static readonly int EmpresaMasterId = 1; publ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace YouOpine2.Entities { public class Usuario { [Key] public int UserID { get; set; } [MaxLength(15, ErrorMessage = "N...
using System.Linq; namespace A4CoreBlog.Data.Services.Contracts { public interface ISystemImageService { T Get<T>(int id); IQueryable<T> GetCollection<T>(); T AddOrUpdate<T>(T model); } }
using System; using System.Collections.Generic; using System.Collections; using System.Collections.Specialized; namespace LeetCodeTests { public abstract class Problem_0091 { /* 91. Decode Ways A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... '...
namespace AGCompressedAir.Windows.Enums { public enum SearchMode { Search, Cleared } }
/// <summary> /// Summary description for LocationController /// </summary> namespace com.Sconit.Web.Controllers.PRD { using System.Collections; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using System.Web.Routing; using System.Web.Security; using com.Sconit.E...
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SqlServerDataBase.Models { public class EventsDbContecst : DbContext { public EventsDbContecst(DbContextOptions<EventsDbContecst> options) : base(options) { } ...
using Senparc.Core.Models.DataBaseModel; using Senparc.Log; using Senparc.Respository; using System; using System.Collections.Generic; using System.Text; namespace Senparc.Service { public class ProjectMemberService : BaseClientService<ProjectMember> { public ProjectMemberService(ProjectMemberReposito...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Web; namespace Net48MvcRenshu.Models { public class UploadFilesModel { public HttpPostedFileWrapper[] File { get; set; } public string StoredFileJson { get; set; } public string ...
using GardenControlCore.Models; using GardenControlCore.Scheduler; using GardenControlRepositories.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GardenControlServices.Interfaces { public interface IScheduleService...
namespace TreatYourAnimals.Framework { class Profession { public enum Professions { Coopmaster = 2, Shepherd = 3 } } }
using System; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using StarlightRiver.Abilities; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace StarlightRiver.Projectiles.Dummies { class BulbDummy : ModProjectile { public override void Set...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class moveAsteroid : MonoBehaviour { private Vector3 rightTopCameraBorder; private Vector3 leftTopCameraBorder; private Vector3 rightBottomCameraBorder; private Vector3 leftBottomCameraBorder; private Vector3 siz; // Start ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Foundry { public abstract class BaseSpecification<TSubjectUnderTest> { protected static TSubjectUnderTest _subjectUnderTest; } }
// For the next button on the first instruction screen using UnityEngine; using System.Collections; public class Instruct1 : MonoBehaviour { public GUITexture Board; public GUITexture Instruct2; public GUITexture InstructButton; // OnMouseDown is called when object is clicked void OnMouseDown () { guiTextur...
using StardewModdingAPI; using System; namespace LadderLocator { class ModConfig { public SButton ToggleShaftsKey { get; set; } = SButton.OemTilde; public bool ForceShafts { get; set; } = false; } }
using LogicaNegocio; using ProyectoLP2; 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 Formularios { public partial class buscarCliente :...
using System.Threading.Tasks; using SFA.DAS.CommitmentsV2.Shared.Interfaces; using SFA.DAS.ProviderCommitments.Web.Models; namespace SFA.DAS.ProviderCommitments.Web.Mappers.Cohort; public class CreateCohortWithDraftApprenticeshipRequestFromChoosePilotStatusViewModelMapper : IMapper<ChoosePilotStatusViewModel, Create...
using UnityEngine; using System.Collections; using System; using UnityEngine.SceneManagement; public class ExplorationInit : MonoBehaviour { public int monsterCount; public GameObject playerPrefab; public GameObject[] monsterPrefabs; private LevelBuilder m_builder; public event Action O...
using Android.Content; using Android.Net; namespace aairvid.Utils { public static class WifiStatus { public static bool IsWifiEnabled(this Context ctx) { var connectivityManager = (ConnectivityManager)ctx.GetSystemService( Context.ConnectivityService); ...
using System; using System.Collections.Generic; using System.Drawing; using System.Text; namespace App_GIIS { class Snowflake { public Point Coordinate { set; get; } public Color Color { private set; get; } public Point Speed { private set; get; } public int Health { private se...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using KartLib.Reports; using KartObjects; using FastReport; using System.IO; using KartLib; namespace KartSystem { public class DemandReportViewer: BaseReportViewer { public DemandReportV...
namespace P03ImplementAnArrayBasedStack { using System; using System.Collections.Generic; public class EntryPoint { public static void Main() { Stack<int> stack = new Stack<int>(); stack.Push(3); stack.Push(-3453); stack.Push(1123); ...
using System.Collections; using System.Collections.Generic; using UnityEngine; /* * Move game object to the left */ public class MoveLeft : MonoBehaviour { //Public Variables public float speed; //---------------------------------------------------------- void Update () { transform.Translate (Vector2.left *...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace API.Model { [Table("CoursInscrit")] class CoursInscrit { [Required] ...
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 Excel = Microsoft.Office.Interop.Excel; using System.Threading; namespace YouTubePlaylistsMainten...
namespace InoDrive.Domain.Migrations { using System; using System.Data.Entity.Migrations; public partial class ChangeStageType : DbMigration { public override void Up() { AddColumn("dbo.AspNetUsers", "Stage", c => c.Int(nullable: false)); DropColumn("dbo.AspN...
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public class BaseEvent { public int index; //which event to run public float waitTime; //how long before running public string method; //which method from event script to run [System.NonSerialized] p...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http.Formatting; using System.Web.Http; using System.Web.Http.Cors; using Newtonsoft.Json.Converters; using XH.Infrastructure.Web.Filters; namespace XH.APIs.WebAPI { /// <summary> /// Web api config /// </summary> publ...
using System.Collections.Generic; using System.Linq; using Administration.Editors; using DataAccess.Model; using DataAccess.Repository; namespace Administration.ViewModel { public class ShowtimeEditorWindowViewModel { private readonly MovieRepository movieRepository; private readonly ShowtimeR...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CageBehavior : MonoBehaviour { public GameObject cageUnlockedPrefab; public AudioClip cageUnlockedSFX; private void Start() { } private void Update() { } public void UnlockCa...
using System; using System.Collections.Generic; using System.Text; namespace RockPapperScissors { class Scissors: IStrategy { public string Letter => "S"; public bool Wins(IStrategy strategy) { return strategy is Papper; } } }
using UnityEngine; using System; public class SessionData { private static GameData GAME_DATA; public static bool EraseData() { const bool valid = false; try { PlayerPrefs.SetString("data", ""); PlayerPrefs.Save(); } catch (Exception ex) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Euler_Logic.Problems { public class Problem90 : ProblemBase { private List<HashSet<int>> _combos = new List<HashSet<int>>(); private List<int[]> _squares = new List<int[]>(...
using System; using System.ComponentModel; using System.Data.Entity; using System.Data.Entity.ModelConfiguration; using System.Data.Entity.ModelConfiguration.Conventions; using System.Linq; using System.Reflection; using Uintra.Core.Activity.Sql; using Uintra.Core.Updater.Sql; using Uintra.Features.Comments.Sql; using...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using WebUI.Data.Abstract; using WebUI.Entity; namespace WebUI.Controllers { public class PersonalSettingController : Controller { private IPersonalSettingRepository _person...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Threading.Tasks; using ContestsPortal.Domain.DataAccess.Providers.Interfaces; using ContestsPortal.Domain.Models; using Microsoft.AspNet.Identity; namespace ContestsPortal.Domain.DataAccess.Providers { public...
using System; using System.IO; using System.Reflection; using Microsoft.Win32; namespace Pronto.Utility { public class ProjectPaths { private static string appName = "CFTDesktopApp"; const string DB_PATH_NAME = "CFTDatabasePath"; public ProjectPaths(string Name) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data.Entity.Core; using CNWTT.Models.DO; namespace CNWTT.Models.DAO { public class PhoneDAO { private static IList<phone> list = null; private static phone ph = null; //get phone from pro...
using Infrastructure.Factories.Implementations; using Infrastructure.Factories.Interfaces; using Microsoft.VisualStudio.TestTools.UnitTesting; using Model; using Model.Enums; using Model.Interfaces; using Moq; using Resources.Converters; using Services.Interfaces; using Services.Services; using System; using System.Col...
namespace DataLightning.Core.Operators; public class PassThroughUnit<T> : ISubscriber<T>, ISubscribable<T> { private readonly SubscriptionManager<T> _subscriptionManager = new(); public void Push(T value) { _subscriptionManager.NotifySubscribers(value); } public ISubscription Subscribe(I...
namespace BattleEngine.Engine { public class BattleActionEngine { private BattleActionQueue _actionQueue; public BattleActionEngine(BattleActionQueue actionQueue) { _actionQueue = actionQueue; } public void enqueue(BattleAction action) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.IO; public partial class cgk : System.Web.UI.Page { SqlServerDataBase sdb = new SqlSer...
using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Runtime.CompilerServices; namespace DigitalLeap.Domain.Model { public class ContactInformation : DomainModel { [Required] [Display(Name = "Full Name")] public string FullName { get; set; } [...
using System; using Framework.Core.Common; using OpenQA.Selenium; using Tests.Data.Van.Input.Filters; using Tests.Pages.Van.Main.Common; namespace Tests.Pages.Van.Main.VoterBatchPages { public class VoterBatchListPage : VanBasePage { public String Url = "/VoterBatchList.aspx"; #re...