text
stringlengths
13
6.01M
using System; using System.Linq; using System.Text.Json; using System.Threading.Tasks; using JsonLibrary.FromClient; using Microsoft.AspNetCore.SignalR; namespace SnakeMultiplayer.Services; public class LobbyHub : Hub { string PlayerName { get => GetContextItemOrDefault<string>("PlayerName"); ...
using System; using System.Collections.Generic; using System.Text; namespace Library.DataStorage.Contracts { public abstract class RepositoryUpdateException : Exception { public DateTime Timestamp { get; } = DateTime.UtcNow; public RepositoryUpdateException(string msg, Exception inner) : base...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using LoginForm.com.admin; using LoginForm.com.database; using System.Diagnostics; using LoginForm.com.ca...
namespace ConsoleApp1 { class Constants { public static string loadBLNCIP = "10.105.26.185"; //public static int loadBlncPort = 12000; // Danish public static int loadBlncPort = 11000; // Rafay // } }
using System.Collections.Generic; using TenmoServer.Models; namespace TenmoServer.DAO { public interface ITransferDAO { List<Transfer> GetTransfers(int user_id); decimal TransferMoney(Transfer transfer); int RequestMoney(Transfer transfer); } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CogumeloBoom : MonoBehaviour { private void OnCollisionEnter(Collision collision) { //Destroy(gameObject); gameObject.SetActive(false); //colocar particulas de explosão } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Triangle : MonoBehaviour { public Transform table; public Transform [] Balls; private float kof=1.4f;//коефіціент відстані між кульками // Start is called before the first frame update void Start() { ...
using System; using System.Runtime.Serialization; namespace MoodleObjects { [DataContract] public class MoodleEvent:Moodle { [DataMember] public int userID { get; set; } [DataMember] public int courseID { get; set; } [DataMember] public string action {get;set;} ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class BGMsetting : MonoBehaviour { public AudioClip music; public static AudioSource BGM; public Slider slider; private static BGMsetting instance=null; public Dropdown BGMchoice; static ...
using ControleEstacionamento.Repository.Base; using ControleEstacionamento.Domain.Entities; namespace ControleEstacionamento.Repository.Respositories.Interfaces { public interface IMovimentacaoVeiculoRepository : ICrudRepository<MovimentacaoVeiculo, int> { } }
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class Admin_Categories : System.Web.UI.Page { private DataClassesDataContext db = new DataClassesDataContext(); ...
using UnityEngine; using System.Collections; using System; public class JumpNode : Node { public enum Direction { Left, Right }; public Direction jumpDirection; [Tooltip("Used to check whether to jump. If the player is above this height, make the enemy jump.")] public float heightOfPlatformAbove = ...
using UnityEngine; using UnityEngine.Events; [RequireComponent(typeof(Collider2D))] [RequireComponent(typeof(Rigidbody2D))] public class Health : MonoBehaviour { [SerializeField] private int _maxHealth = 1; public UnityEvent onDead { get; } = new UnityEvent(); private float health { get; set; } private void Aw...
using System; using System.Windows.Input; using VideoStream.ViewModels; namespace VideoStream.Commands { public class Minimize:ICommand { MainPageViewModel MainPageVM; public Minimize(MainPageViewModel mainPageVM) { MainPageVM = mainPageVM; } public event E...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace IPTables.Net.NfTables.DataTypes { class NfIntervalType : INfDataType { } }
using Cs_Gerencial.Aplicacao.Interfaces; using Cs_Gerencial.Dominio.Entities; using Cs_Notas.Aplicacao.Interfaces; using Cs_Notas.Dominio.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; us...
using BattleEngine.Actions; using BattleEngine.Actors.Buildings; using BattleEngine.Actors.Units; using BattleEngine.Components.Buildings; using BattleEngine.Engine; using BattleEngine.Output; namespace BattleEngine.Commands { public class BattleUnitAttackCommand : BattleEngineCommand { public BattleU...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
using System; using System.Collections.Generic; using Xunit; using Moq; using OrganizatorServer.Services; using OrganizatorServer.Models; using OrganizatorServer.Controllers; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System.Linq; namespace UnitTests { public class TodosServiceT...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.Linq; using System.Data.Linq.Mapping; namespace Kingdee.CAPP.Solidworks.RoutingPlugIn { [Table(Name = "ProcessFileRouting")] public class ProcessFileRouting { [Column(IsPrimaryKey=true)] ...
using A4CoreBlog.Common; using A4CoreBlog.Data; using A4CoreBlog.Data.Infrastructure; using A4CoreBlog.Data.Infrastructure.Mapping; using A4CoreBlog.Data.Models; using A4CoreBlog.Data.Seed; using A4CoreBlog.Data.Services.Contracts; using A4CoreBlog.Data.Services.Implementations; using A4CoreBlog.Data.UnitOfWork; using ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using PROnline.Models.Manage; using PROnline.Src; namespace PROnline.Controllers.Manage { public class ConfigController : Controller { // // GET: /Config/ public A...
namespace BettingSystem.Application.Games.Matches.Queries.Search { using System.Collections.Generic; using Common; public class SearchMatchesResponseModel { internal SearchMatchesResponseModel(IEnumerable<MatchResponseModel> matches) => this.Matches = matches; public IEnum...
using System.Collections.Generic; using System.Text.Json.Serialization; namespace SujaySarma.Sdk.Azure.MarketplaceCatalog { /// <summary> /// An item in a group within a marketplace catalog (e.g.: CatalogEntry.Groups["recommended"].Items). /// </summary> public class GroupItem { /// <summa...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; using MoveCarHackathonEdition.Data_Access_Layer; using MoveCarHackathonEdition.Events; using MoveCarHackathonEdition.Logs; using MoveCarHackathonEdition.MySqlNS; using MoveCarHackathonEdition.Send_Mail_and_SMS; namespace...
namespace CustomerApp.Dtos { using System.Runtime.Serialization; [DataContract(Name = "CustomerSummary")] public class CustomerSummaryDto { [DataMember] public int Id { get; set; } [DataMember(EmitDefaultValue = false)] public string Status { get; set; } [Data...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Nest; namespace DB { public class CustomersCRUD { ElasticClient client; public CustomersCRUD() { ConnectionSettings settings = new ConnectionSettings(n...
namespace DesignPatterns.Builder.FluentBuilder { public class EmployeePositionBuilder<T>: EmployeeInfoBuilder<EmployeePositionBuilder<T>> where T: EmployeePositionBuilder<T> { public T AtPosition(string position) { employee.Position = position; return (T)this; ...
using System; using System.Drawing; namespace SharpMap.UI.Helpers { public class GraphicsHelper { /// <summary> /// Draws selection rectangle, can be used for zoom, query /// </summary> /// <param name="graphics"></param> /// <param name="color"></param> /// <pa...
using UnityEngine; using System.Collections; public interface IState { /// <summary> /// This is the first event that will call when state start. /// </summary> IEnumerator OnBegin(); /// <summary> /// OnUpdate is called every frame. /// It is just like the "Update" of "MonoB...
using Microsoft.VisualStudio.TestTools.UnitTesting; using AgileContent.API.Controllers; using AgileContent.Core; using System; using Microsoft.AspNetCore.Mvc; namespace AgileContent.Tests { [TestClass()] public class AgileContentTests { Sibling _sibling; CdnConverterController _apiCDNContr...
using Alabo.Domains.Entities.Core; using System; using System.Linq; using System.Linq.Expressions; namespace Alabo.Domains.Query { /// <summary> /// Class ExpressionQuery. This class cannot be inherited. /// </summary> public sealed class ExpressionQuery<TEntity> : IPredicateQuery<TEntity>, IOrde...
using Sparda.Contracts; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Telerik.OpenAccess.Metadata; namespace Sparda.Core.Services { public class Column : IColumn { #region • Fields • private bool isFK = false; ...
using System.Threading.Tasks; namespace HCore.Amqp.Processor { public interface IAMQPMessageProcessor { Task<bool> ProcessMessageAsync(string address, string messageBodyJson); } }
using System; using System.Collections; using System.Html; using System.Net; using System.Serialization; using System.Runtime.CompilerServices; using jQueryApi; using FamFunScript.Shared; using FamFunScript.Shared.Facebook; using FamFunScript.Shared.Google; using FamFunScript.Shared.Html; using FamFunActivities; names...
namespace SFA.DAS.ProviderCommitments.Web.Models.Apprentice.Edit { public class ConfirmEditApprenticeshipViewModel : BaseEdit { public BaseEdit OriginalApprenticeship { get; set; } public bool? ConfirmChanges { get; set; } public bool ReturnToChangeOption { get; set; } public b...
using Citycykler.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace CityCykler.AdminPanel { public partial class information : System.Web.UI.Page { DataLinqD...
#if false using System; namespace NStandard.Reference { [Flags] public enum GACFolders { All = Shared | SDK | NuGet | Reserved | Packs, Shared = 1, SDK = 2, NuGet = 4, Reserved = 8, Packs = 16, } } #endif
namespace Serilog.PerformanceTests.Support; class NoOpMessageTemplateParser : IMessageTemplateParser { public static readonly NoOpMessageTemplateParser Instance = new(); static readonly MessageTemplate ConstTemplate = new("text", Enumerable.Empty<MessageTemplateToken>()); public MessageTemplate Parse(str...
/* MockDrink.cs * Author: Agustin Rodriguez */ using System; using System.Collections.Generic; using System.Text; namespace DinoDiner.Menu { /// <summary> /// this class implements a mock drink item for order tests /// </summary> public class MockDrink : Drink { /// <summary> ///...
using BLL.DLib; using DLib.DAL; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class Controls_LibCmsForm_FieldInput : System.Web.UI.Page { #region vars public int FieldID { get { return Reque...
using System; using System.Collections.Generic; using System.Text; namespace Bucket_Opdracht_Version2.Interfaces { interface IContainer { } }
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 ProjetGl.Models; namespace ProjetGl.Controllers { [Authorize] public class BacklogsController : Controller { private Appli...
using Assets.Gamelogic.Utils; using Improbable; using Improbable.Core; using Improbable.Unity; using Improbable.Unity.CodeGeneration; using Improbable.Unity.Visualizer; using UnityEngine; namespace Assets.Gamelogic.Player { //[WorkerType(WorkerPlatform.UnityClient)] public class Interaction : MonoBehaviour ...
using DAL.Controllers; using DAL.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace SHOeP.Orders { public partial class OrderSummary : System.Web.UI.Page { protected void Page_Load(object sender, ...
namespace DelftTools.Utils.Validation { public class Validator { public static IValidationResults Validate(object target) { if (target is IValidatable) { return new ValidationResults((IValidatable)target); } // Or throw an error or...
using Uintra.Core.Activity; using Uintra.Core.Member.Entities; using Uintra.Core.Member.Services; using Uintra.Features.Groups.Services; using Uintra.Features.LinkPreview.Services; using Uintra.Features.Location.Services; using Uintra.Features.Media.Intranet.Services.Contracts; using Uintra.Features.Permissions.Interf...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IMP.Core.Domain.Commoon { public class Address : BaseEntity { public string FirstName { get; set; } public string LastName { get; set; } public string Email {...
using System; namespace UnityAtoms.BaseAtoms { /// <summary> /// Event Reference of type `FloatPair`. Inherits from `AtomEventReference&lt;FloatPair, FloatVariable, FloatPairEvent, FloatVariableInstancer, FloatPairEventInstancer&gt;`. /// </summary> [Serializable] public sealed class FloatPairEvent...
using System.CodeDom; namespace IronAHK.Scripting { internal class CodeBlock { public enum BlockType { None, Expect, Within }; public enum BlockKind { Dummy, IfElse, Function, Label, Loop }; private CodeLine line; private string method; private CodeStatementCollection statements; private ...
namespace Parliament.ProcedureEditor.Web.Models { public class SolrTreaty { public int Id { get; set; } public string Title { get; set; } public string Prefix { get; set; } public int? Number { get; set; } public string WebUrl { get; set; } public string Citation...
using Crystal.Plot2D.Charts; using System; using System.Windows.Controls; using System.Windows.Controls.Primitives; namespace Crystal.Plot2D { public abstract class PlotterScrollBar : IPlotterElement { protected PlotterScrollBar() { scrollBar.Scroll += OnScroll; } private void OnScroll(obje...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace POSServices.WebApiSunfishModel { public class RESULT { public int POSITION_ID { get; set; } public string AREA { get; set; } public string STORE_CODE { get; set; } public ...
using System; using System.Threading; using Framework.Core.Common; using Tests.Pages.Van.Main.Events; using NUnit.Framework; using OpenQA.Selenium; using Tests.Pages.Van.Main.List.OrganizationCreateAlistPage; namespace Tests.Pages.Van.Main.Common.DefaultPage { public class CampaignDefaultPage : DefaultP...
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 Attendance { public partial class frm_RepSet : Form { public int User_ID; ...
using System.Collections.Generic; using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces; using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.ContentItemVersions; using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.Contexts; using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.Helpers; usin...
using PaperPlane.API.ProtocolSchema.Base; using PaperPlane.API.ProtocolStack.Transport; using System; using System.Collections.Generic; using System.Text; namespace PaperPlane.API.ProtocolStack.Application.Model { internal class SessionMessage { public PacketHandle Packet { get; } public IEnum...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using ComponentFactory.Krypton.Toolkit; using System.Diagnostics; namespace AC.ExtendedRenderer.Toolkit.CalendarLibrary { public partial c...
using System; using System.Collections.Generic; using System.Linq; namespace EPI.HashTables { /// <summary> /// Write a function that takes two array of strings and returns the indices of the starting and ending /// index of the shortest subarray that sequentially covers the set (i.e. contains all strings in the s...
using System; using System.Collections.Generic; namespace CS_Naval_War { public class Board { public enum direcEnum{ North, South, East, West,} public Dictionary<int, Boat> boatPlace = new Dictionary<int, Boat>(); public HashSet<direcEnum> direcList = new HashSet<direcEnum>(); p...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class FadeTBController : MonoBehaviour { public GameObject blackOutSquare; // Update is called once per frame void Update() { if (Input.GetKeyDown(KeyCode.A)) { Star...
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(GenericSwipeMaskUIScript))] public class ResetSwipeScript : ResetTransition { private GenericSwipeMaskUIScript swipeScript; protected override void Start(){ swipeScript = GetComponent<GenericSwipeMaskUIScript...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StardewMods.ToolUpgradeDeliveryService.Framework { /// <summary>The parsed mod configuration.</summary> internal class ModConfig { /// <summary> /// Indicates wheth...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MassEffect.Interfaces; namespace MassEffect.Engine.Commands { public class SystemReportCommand:Command { public SystemReportCommand(IGameEngine gameEngine) : base(gameE...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BaseThreat { public int threat; public BaseHero hero; public GameObject heroObject; }
namespace BattleEngine.Output { public class BuildingCreateEvent : OutputEvent { public int objectId; public int buildingId; public int level; public int ownerId; public double x; public double y; public int units; public BuildingCreateEvent() ...
using System; using System.Collections.Generic; namespace ZenfolioCandidateTest { class Program { private static string QuitCommand = "quit"; static void Main(string[] args) { try { HandleInputSequenceNumbers handleInputNumber = new H...
namespace iPhoneController.Configuration { using System; using System.Collections.Generic; using System.IO; using Newtonsoft.Json; using iPhoneController.Diagnostics; public class Config { private static readonly IEventLogger _logger = EventLogger.GetLogger("CONFIG"); #r...
using System; using Csla; using PhuLiNet.Business.Common.Languages.Provider; using PhuLiNet.Business.Common.Security; namespace PhuLiNet.Business.Common.Languages { public class UserLanguage { public static Language Get() { var manorIdentity = ApplicationContext.User.Ide...
using System; namespace CC.Mobile.Routing { public enum NavigationType{ Home, Back, Forward } }
using Cs_Gerencial.Aplicacao.Interaces; 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.Me...
// // Copyright (c) Autodesk, Inc. All rights reserved. // // This computer source code and related instructions and comments are the // unpublished confidential and proprietary information of Autodesk, Inc. // and are protected under Federal copyright and state trade secret law. // They may not be disclosed to, copi...
using PopulationFitness.Models.Genes.BitSet; using System; namespace PopulationFitness.Models.Genes.Ridge { public class Schwefel220Genes : NormalizingBitSetGenes { public Schwefel220Genes(Config config) : base(config, 10.0) { } protected override double CalculateNormalization...
using System; using System.Linq; namespace Asp_webform_sinav { public partial class Aktorler : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { using (EntityModel Database = new EntityModel()) { Tekrar1.DataSource = Database.Ac...
using Common.Presentation; using Entity; using SessionSettings; using System; using System.Windows.Forms; namespace AirMaster { public partial class AMFailedForm : SkinnableFormBase { #region Private Fields private string mConnectionString = String.Empty; private string mUserName = String.Empty; #endregion ...
using System.Collections.Generic; using System.Threading.Tasks; using LTDemoData.Models; namespace LTDemoData { public interface IWebServiceData { Task<IEnumerable<Album>> GetAlbums(); Task<IEnumerable<Photo>> GetPhotos(int albumId); } }
using Puppeteer.Core.Action; using Puppeteer.Core.External; using Puppeteer.Core.Helper; using Puppeteer.Core.Planning; using Puppeteer.Core.Sensor; using Puppeteer.Core.WorldState; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace Puppeteer.Core { public class Agent<TKey, TValue> : M...
using System; using System.Collections.Generic; using System.Text; namespace NewsProject.Shared.Models { public class NewsRating { public int Id { get; set; } public int Rate { get; set; } public DateTime RatingDate { get; set; } public int NewsId { get; set; } public N...
using System.ComponentModel.Composition; using System.Diagnostics; using System.IO; using Microsoft.Win32; using SharpCraft.Framework; class AutoRegExt { [Import] SharpCraftEnvironment CurrentEnvironment; [Export(typeof(InitializeDelegate))] public void Initialize() { try { WEPath...
using System; using System.Globalization; using Witsml.Data; using Witsml.Data.Measures; using Witsml.Extensions; using WitsmlExplorer.Api.Models; namespace WitsmlExplorer.Api.Query { public static class WellboreQueries { public static WitsmlWellbores GetAllWitsmlWellbores() { retur...
using System.Text; using System.Threading.Tasks; using HtmlAgilityPack; using NeuroLinker.ResponseWrappers; namespace NeuroLinker.Interfaces.Helpers { /// <summary> /// Retrieves a web page from a URL and load it into an <see cref="HtmlDocument"/> /// </summary> public interface IPageRetriever { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Asulatina.Controllers { public class SiteController : Controller { // // GET: /Site/ public ActionResult Index() { return View("Home"); } ...
using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.ModelConfiguration; namespace HospitalSystem.Models.Mapping { public class approve_recordMap : EntityTypeConfiguration<approve_record> { public approve_recordMap() { // Primary Key thi...
namespace LeadChina.CCDMonitor.Web.Models.Dto { /// <summary> /// /// </summary> public class SurveyInputDto { /// <summary> /// 当前页码 /// </summary> public int PageIndex { get; set; } /// <summary> /// 问题编号 /// </summary> public strin...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using V50_IDOMBackOffice.AspxArea.MasterData.Models; using V50_IDOMBackOffice.AspxArea.MasterData.Repositorys; namespace V50_IDOMBackOffice.AspxArea.MasterData.Controllers { public class BackOfficeContactController { ...
using System; using System.Collections.Generic; using System.Text; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; namespace Ecommerce.Data { public class ApplicationDbContext : IdentityDbContext<IdentityUser> { public ...
using EBS.Domain.ValueObject; using System; using System.Collections.Generic; namespace EBS.Domain.Entity { public class SaleOrder:BaseEntity { public SaleOrder() { this.Items = new List<SaleOrderItem>(); this.CreatedOn = DateTime.Now; this.UpdatedOn = DateTi...
using System; using System.Linq; using DataAccessLayer.EfStructures.Context; using Xunit; namespace DataAccessLayerTests.A_QueryingData.F_AggregatesAndProjections { public class AggregateTests : IDisposable { private readonly AdventureWorksContext _context; public AggregateTests() { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ControllerManager : MonoBehaviour { [SerializeField] private GameObject camera; int a; [SerializeField] private GameObject menu_panel; // メニューパネル void Start() { } // Update is called onc...
using SpeedSlidingTrainer.Core.Model.State; namespace SpeedSlidingTrainer.Core.Services.BoardSolver { internal sealed class SimplifiedBoardState { private readonly int[] values; private readonly int eye; private SimplifiedBoardState(int width, int height, int[] values, int eye) ...
using System; namespace Knight_Game { class Program { static void Main(string[] args) { var n = int.Parse(Console.ReadLine()); var matrix = new char[n, n]; for (int row = 0; row < n; row++) { var input = Console.ReadLine().ToCharA...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SolidPrinciples.SingleResponsibility { class EmailService { public bool ValidateEmail(string email) { return email.Contains("@"); } ...
// Copyright (c) 2018 FiiiLab Technology Ltd // Distributed under the MIT software license, see the accompanying // file LICENSE or or http://www.opensource.org/licenses/mit-license.php. using FiiiCoin.Wallet.Win.Biz.Services; namespace FiiiCoin.Wallet.Win.Biz.Monitor { public class AmountMonitor : ServiceMonitor...
using AutoMapper; using Uintra.Core.Activity.Models.Headers; using Uintra.Features.Location.Models; using Uintra.Features.Location.Sql; namespace Uintra.Core.Activity.AutoMapperProfiles { public class ActivityAutoMapperProfile : Profile { public ActivityAutoMapperProfile() { CreateMap<IntranetActivityItem...
using System.Threading.Tasks; using Iris.Infrastructure.Contracts; using Iris.Infrastructure.Contracts.Services; using Iris.Infrastructure.Models; namespace Iris.Core { internal class MouseService : IMouseService { public event MousePositionUpdateEventHandler MousePositionChanged; public Mous...
using Caliburn.Micro; using Caliburn.Micro.Xamarin.Forms; using Newtonsoft.Json; using RRExpress.Api.V1; using RRExpress.AppCommon; using RRExpress.Common; using RRExpress.ViewModels; using RRExpress.Views; using System.Collections.Generic; using System.Linq; using System.Net.NetworkInformation; using System.Reflectio...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FlashLight : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { updateFlashlight(); } private void updateFlashlight() { //i...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Snow { //Creates a ToolStripMenuItem which displays the added Favourites in a dropDown menu public class FavouritesToolStrip : ToolStripMenuItem { ...
using Microsoft.AspNetCore.SignalR; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace App.Game.Hubs { public class GameHub : Hub { public async Task Send(string text) { await Clients.All.SendAsync("receive", text); } ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using MobilePhoneRetailer.DataLayer; namespace MobilePhoneRetailer { public abstract class Product { public abstract int ProductID { get; set; } public abstract double Price { get; set; } public abstra...