text
stringlengths
13
6.01M
namespace MikeGrayCodes.BuildingBlocks.Domain.Exceptions { public class DomainException : BaseException { public DomainException() { } public DomainException(string message) : base(message) { } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class StreetLightController : MonoBehaviour { public Light light; public float brightness; private DayCycleController script; private const byte OFF = 0; // Start is called before the first frame update void...
using System; using System.Collections.Generic; using System.Linq; using ILogging; using ServiceDeskSVC.DataAccess.Models; namespace ServiceDeskSVC.DataAccess.Repositories { public class AssetManagerSoftwareTypeRepository:IAssetManagerSoftwareAssetTypeRepository { private readonly Serv...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TestNameSpace { class TestClass1 { int[] ArrInt1 = new int[3]; string[] ArrString1 = new string[3]; float[] ArrFloat1= new float[3]; double[] ArrDouble1 = new double[3]; int...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class firstimersummon : MonoBehaviour { public GameObject[] story; public GameObject next; public int position; // Use this for initialization void Start () { } // Update is called once per frame v...
using UnityEngine; namespace Assets.Scripts.Controllers { public class WallPlacementItemController : GroundPlacementItemController { public Vector3 DefaultRotation; protected override void UpdatePosition() { Vector3 pos = transform.position; var hitRay = Camera...
// // FileDialog.cs: File system dialogs for open and save // // TODO: // * Add directory selector // * Implement subclasses // * Figure out why message text does not show // * Remove the extra space when message does not show // * Use a line separator to show the file listing, so we can use same colors as ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace DATN_Hoa_Yambi.Controllers { public class CPTController : Controller { // GET: CPT public ActionResult Index() { if (Session["User"] != null) { ...
namespace iSukces.Code.Typescript { public class TsMethodArgument { public TsMethodArgument() { } public TsMethodArgument(string name, string type) { Name = name; Type = type; } public string GetTsCode() { var...
using NUnit.Framework; using System; using System.Linq; using Vanara.InteropServices; using static Vanara.PInvoke.AdvApi32; using static Vanara.PInvoke.Authz; using static Vanara.PInvoke.Kernel32; namespace Vanara.PInvoke.Tests { [TestFixture] public class AuthzTests { public static SafeAUTHZ_AUDIT_EVENT_HANDLE ...
using NUnit.Framework; using TeamCityChangeNotifier.XmlParsers; namespace TeamCityChangeNotifier.Tests.XmlParsers { [TestFixture] public class DateParserTests { [Test] public void TestParse() { var date = DateParser.Parse("20150218T114435+0000"); Assert.That(date.Year, Is.EqualTo(2015)); ...
namespace Sentry.Reflection; /// <summary> /// Extension methods to <see cref="Assembly"/>. /// </summary> [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("Should not be public. This method will be removed in version 4.")] public static class AssemblyExtensions { /// <summary> /// Get the assemblies Na...
using UnityEngine; using System.Collections; public class InteractionBehaviourCS : MonoBehaviour { // PLACE THIS ON ANY ITEM THAT CAN DENCREASE THE HORROR METER OR THE PLAYER CAN INTERACT WITH void Clicked() { this.SendMessage("PlayAudioOne"); } }
using AngularJSAuthentication.API.Models; using Microsoft.AspNet.Identity; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; namespace AngularJSAuthentication.API.Controllers { [RoutePrefix("api/Account"...
using System.Collections.Generic; namespace IrsMonkeyApi.Models.Dto { public class ItemProductDto { public string Name { get; set; } public double Price { get; set; } public string Description { get; set; } public List<UpsaleProduct> AdditionalProducts = new List<UpsaleProduct>(...
// The MIT License (MIT) // // Copyright (c) 2014-2018, Institute for Software & Systems Engineering // Copyright (c) 2018, Pascal Pfeil // // 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 Softwa...
using System.Collections; using UnityEngine; public class Annie : MonoBehaviour { public static Bill bill; public static Cody cody; public Material orange; // Start is called before the first frame update void Start() { bill = GameObject.FindWithTag("tagB").GetComponent<Bill>(); ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Clase1.Ejercicio2.Vial.csv { /// <summary> /// Recorrer el archivo vial.csv, tomar cada linea, separar los campos y mostrarlos por pantalla. /// Instanciar un ob...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ArkSavegameToolkitNet.Property { public class PropertyText : PropertyBase<string> { public PropertyText(string name, string typeName, string value) : base(name, typeName, 0, va...
using GalaSoft.MvvmLight; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Wpf.Dao; using Wpf.Model; namespace Wpf.ViewModel { class CoverViewModel : ViewModelBase { CoverDao coverDao = new C...
//using System; //using System.Collections.Generic; //using System.Text; //using DashBoard.Business.DTOs.Domains; //using DashBoard.Business.DTOs.Logs; //using DashBoard.Business.Services; //using DashBoard.Web.Controllers; //using Microsoft.AspNetCore.Mvc; //using Moq; //using Xunit; //namespace Controllers.Tests //...
namespace ExceptionHandling { public class Calculator { public static float Divide(params int[] numbers) { var result = numbers[0]; for (var i = 1; i < numbers.Length; i++) { result /= numbers[i]; } return result; ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace BookARoom.Model.BLL { public class Customer { //Fält för hantering och validering av bokningsuppgifter [Range(0, Int32.MaxValue, ErrorMessage = "Kundnumme...
using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; using UnityEngine.UI; public class Handler : MonoBehaviour { public static bool isPause; public static bool isTuto; // Use this for initialization private ArrayList itemList; private int numOfItem; //private usingitem ...
namespace EqualityGeneratorSample { public class VerySimpleClass { public string FirstName { get; set; } public string LastName { get; set; } } }
using System; using System.Collections.Generic; using System.Data.Entity.ModelConfiguration; using System.Linq; using System.Text; using System.Threading.Tasks; using Welic.Dominio.Models.Marketplaces.Entityes; namespace Infra.Mapeamentos { public class MappingSettingDictionary : EntityTypeConfiguration<SettingDi...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using WebsiteManagerPanel.Commands.UsersInsertCommand; using WebsiteManagerPanel.Data.Entities.Base; using WebsiteManagerPanel.Framework.Interfaces; namespace WebsiteManagerPanel.Data.Entities { public partial class U...
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 System.Net; using System.Net.Sockets; using System.IO; using System.Threading; namespace DrawSome...
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; namespace Euler_Logic.Problems { public class Problem80 : ProblemBase { public override string ProblemName { get { return "80: Square root digital expansi...
using System; using System.Runtime.InteropServices; using Vlc.DotNet.Core.Interops; using Vlc.DotNet.Core.Interops.Signatures; namespace Vlc.DotNet.Core { public sealed partial class VlcMediaPlayer { private EventCallback myOnMediaPlayerAudioDeviceInternalEventCallback; public event EventHandl...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; using System.Web.Script.Services; using BLL; using Sircc4.Clases; using Entidades; using Entidades.Vistas; using ByA; namespace Sircc4.Servicios { /// <summary> /// Summary description for wsDatosBa...
using System; using System.IO; using System.Net.NetworkInformation; using System.Text; using System.Threading; namespace InternetMonitor { internal class Program { private static string _internetStateNow = "starting monitor"; private static string _internetStatePrev; private static Dat...
namespace TaskMaster.Helpers { /// <summary> /// Names of routes. /// </summary> public static class RouteNames { public const string EmployeeListRouteName = "EmployeesList"; public const string AddEmployeePageRouteName = "AddEmployeePage"; public const string AddEmployeeEnd...
namespace MetodosAbstratosCsharp.Entities { class PessoaJuridica : Pessoa { public int Funcionarios { get; set; } public PessoaJuridica(string nome, double rendaAnual, int funcionarios) : base(nome, rendaAnual) { Funcionarios = funcionarios; Nome = nome; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace IRAP.OPC.Entity { public class TIRAPOPCTagValueItem { public string KepServerAddress { get; set; } public string KepServerName { get; set; } public string TagName { get; set; } ...
using System; using System.Collections.Generic; using System.Text; using VendingMachine.Domain.Business.Contracts.Business; using VendingMachine.Domain.Models; using VendingMachine.Repository.Repositories; namespace VendingMachine.Domain.Business { public class VoorraadService : IVoorraadService { pri...
using BelajarAPI.Context; using BelajarAPI.Migrations; using BelajarAPI.Models; using BelajarAPI.Repository; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Description; namespace Bel...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Unidade_9 { class SequenciaAleatoria { public static Random randi = new Random(); static void Main11(string[] args) { int[] Numeros = n...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data.Linq.Mapping; using System.Data.Linq; namespace SimpleLinqExample { // This is a simple class with LINQ mappings [Table(Name = "Customer")] public class clsCustomerEntity { [Column(DbType...
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 stpwomenssoccer2.CustomFilters; using stpwomenssoccer2.Models; namespace stpwomenssoccer2.Controllers { public class EventsController : C...
using System.Windows; using System.Windows.Controls; namespace ServiceCenter.View.Catalog { public partial class PageBranchAdd : Page { public PageBranchAdd() { InitializeComponent(); } private void btnCancel_Click(object sender, RoutedEventArgs e) { ...
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; namespace OnlineQuiz.Models { public partial class CoreDbContext : DbContext { public CoreDbContext() { } public CoreDbContext(DbContextOptions<CoreDbContext> options) ...
using FeriaVirtual.Application.Users.Commands.ChangeStatus; using FeriaVirtual.Domain.Models.Users; using FeriaVirtual.Domain.Models.Users.Interfaces; using FeriaVirtual.Domain.SeedWork.Commands; using FeriaVirtual.Domain.SeedWork.Events; using System.Threading.Tasks; namespace FeriaVirtual.Application.Services.Users...
using NUnit.Framework; using OpenQA.Selenium; using OpenQA.Selenium.Support.UI; namespace Training { [TestFixture] public class Test : Base { [Test] public void NewTest() { driver.Navigate().GoToUrl("http://google.com"); //wait.Until(ExpectedConditions.ElementExists(By.Id("lst-ib"))); driver.FindEl...
using Loja.Daos; using Loja.Services; using System.Linq; using System.Threading.Tasks; using System.Web.Mvc; namespace Loja.Controllers { public class CarrinhoController : Controller { public async Task<ActionResult> Index() { var produtos = await new ProdutosDao().Listar(); ...
using ParrisConnection.DataLayer.Dtos; using System.ComponentModel.DataAnnotations; namespace ParrisConnection.DataLayer.Entities.Profile { public class Quote : IQuote { public int Id { get; set; } public string UserId { get; set; } [StringLength(255)] public string Name { get;...
using System; using System.Collections.Generic; 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 BigHatchDummy : ModProjectile ...
using System; using System.Windows.Forms; // Token: 0x02000002 RID: 2 public class GClass0 : ProgressBar { // Token: 0x17000001 RID: 1 // (get) Token: 0x06000005 RID: 5 RVA: 0x000020D4 File Offset: 0x000002D4 protected override CreateParams CreateParams { get { CreateParams createParams = base.CreateParams...
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Web; namespace GDS.Query { public class UserInfoQuery : BaseQuery { public UserInfoQuery() { } public UserInfoQuery(NameValueCollection queryParams) ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using ListCoreApp.Data; using ListCoreApp.Models; using Microsoft.CodeAnalysis; using ListCoreApp.Requests; using ListCo...
namespace TripDestination.Web.MVC.Areas.Admin.Controllers { using Common.Infrastructure.Mapping; using Kendo.Mvc.Extensions; using Kendo.Mvc.UI; using MVC.Controllers; using Services.Data.Contracts; using System.Web.Mvc; using ViewModels; public class ViewAdminController : BaseControll...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Recursion1 { class Reucrsion { static void Main(string[] args) { //MultiplesOfThreeRecursive(0); //MultiplesOfThreeItterative(); Co...
using System; using AMTDll.Models; namespace AMTDll { public interface IServicesValidation { bool Validation(MaintenanceTypeEnum maintenanceType, VehicleTypeEnum vehicleType); } }
using Sparda.Core.Services; using System; using System.CodeDom.Compiler; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Hosting; using Telerik.OpenAccess; using Telerik.OpenAccess.Metadata; using Telerik.OpenAccess.Metadata.Relati...
 using Ardalis.Specification; using WritingPlatformCore.Entities; namespace WritingPlatformCore.Specifications { public class CatalogFilterSpecification : Specification<CatalogItem> { public CatalogFilterSpecification(int? ganreId, int? languageId) { Query.Where(i => (!ganreId.HasV...
using PayRentAndUse_V3.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Security; namespace PayRentAndUse_V3.Controllers { public class AdminController : Controller { // GET: Admin private ApplicationDbContext _...
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Threading.Tasks; using M220N; using M220N.Controllers; using M220N.Models; using M220N.Repositories; using MongoDB.Driver; using NUnit.Framework; namespace M220NTests { internal class UsersRepositoryTests { ...
using Microsoft.ServiceBus.Messaging; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ControlData { public class ReadingSourceFactory { public static async Task StartAsync(string readingSourceName, Action<IReading> reading)...
using Microsoft.Owin; using Owin; [assembly: OwinStartupAttribute(typeof(PornSite.Startup))] namespace PornSite { public partial class Startup { public void Configuration(IAppBuilder app) { ConfigureAuth(app); } } }
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 System.IO; namespace Sistema_de_Vendas { public partial class Frm_CadFuncionarios : Form ...
using System; using OpenQA.Selenium; using OpenQA.Selenium.Support.UI; using OpenQA.Selenium.Support.PageObjects; using System.Collections.Generic; namespace Training { internal class CartPage : Page { public CartPage(IWebDriver driver, WebDriverWait wait) : base(driver, wait) { PageFactory.InitElement...
using System.Configuration; namespace AadInformation { internal class Settings { public const string ResourceUrl = "https://graph.windows.net"; public static string TenantId => ConfigurationManager.AppSettings["TenantId"]; public static string TenantName => ConfigurationManager.AppSett...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.ModelConfiguration; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Anywhere2Go.DataAccess.AccountEntity { public ...
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 CefSharp; using CefSharp.WinForms; using System.IO; using System.Threading; using System.Runtime.In...
using System; using System.Collections.Generic; using System.Text; namespace cs_pp1 { class IntegralResult { public double value; static object locker = new object(); IntegralResult() { this.value = 0; } public void add(double x) { ...
using System; using RDotNet; using System.Linq; namespace RinCSharp { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } public class LearnR { // initializes engine, an R engine that can run R code public REngine engine; public LearnR() // Con...
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace AdventurousContacts.Models { [MetadataType(typeof(Contact_Metadata))] public partial class Contact { } public class Contact_Metadata ...
using System; using System.Collections.Generic; using System.Text; namespace Course.GetHashCode_Equals { class Client { public string Nome { get; set; } public string Email { get; set; } // Vamos customizar a lógica para saber quando é que um Client é igual a um outro Client p...
using System; using System.Collections.Generic; using System.Text; namespace Entities.Models { /// <summary> /// 文章表实体 /// </summary> public class Article { public int Id { get; set; } public string Title { get; set; } public string Describe { get; set; } public ...
namespace NETTRASH.BOT.Telegram.Core.Data { public class CallbackQuery { #region Public properties public string id { get; set; } public User from { get; set; } public Message message { get; set; } public string inline_message_id { get; set; } public strin...
using System; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using System.IO; using System.Text; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; using System.Net; using System.Globalization; using System.Linq; namespace tellick_admin.Cli...
namespace P10InfernoInfinity.Factories { using System; using Interfaces; using Interfaces.Factories; using Models.Weapons.WeaponLevels; public class WeaponLevelFactory : IWeaponLevelFactory { public IWeaponLevelable CreateWeaponLevel(string type) { switch (type) ...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class LaunchMenu : MonoBehaviour { public PlayersManagerOld manager; //DEBUG public UILabel noOfShips; private List<GameObject> ListOfShips = null; public void UpdateListOfShips( List<GameObject> ships ){ ListOfShips = sh...
using EddiDataDefinitions; using System; using System.Collections.Generic; using Utilities; namespace EddiEvents { [PublicAPI] public class ModuleInfoEvent : Event { public const string NAME = "Module info"; public const string DESCRIPTION = "Triggered when a ModulesInfo.json file is gener...
using System; namespace Leprechaun.Adapters { public interface IItemFieldValueAdapter { string Value { get; } Guid FieldId { get; } } }
using Aspose.Words; using Profiling2.Domain.Contracts.Export.Profiling; using Profiling2.Domain.Contracts.Tasks; using Profiling2.Domain.Extensions; using Profiling2.Domain.Prf.Actions; using Profiling2.Domain.Prf.Events; using Profiling2.Domain.Prf.Responsibility; using System; using System.Collections.Generic; using...
using System; using System.Collections.Generic; using System.Linq; using ApplicationServices.Command; using ApplicationServices.DTO; using ApplicationServices.Services.Interfaces; using DomainModel.Entity.Cart; using DomainModel.Entity.product; using DomainModel.StatePattern.OrderState; using Infrostructure.Enums; usi...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; [CustomEditor(typeof(StickerList))] public class StickerListEditor : Editor { static GameObject parentObject = null; public override void OnInspectorGUI() { DrawDefaultInspector(); StickerL...
using System; using StickFigure.Helpers; namespace StickFigure { #if WINDOWS || LINUX /// <summary> /// The main class. /// </summary> public static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static...
using System; namespace iPadPos { public class BuyInvoice : Invoice { public bool IsOnAccount { get; set; } } }
using UnityEngine; using UnityEngine.UI; using TMPro; public class LocationSlot : MonoBehaviour { // location type public SetupManager.LocationType myLocationType; // location index [HideInInspector] public int locationIndex, locationSubIndex; // position type public enum PositionType { Top,...
using System; using System.ComponentModel; namespace CODE.Framework.Core.Utilities.Csv { public partial class CachedCsvReader { /// <summary> /// Represents a CSV field property descriptor. /// </summary> private class CsvPropertyDescriptor : PropertyDescriptor { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PathState : IState { private Stack<Vector3> path; private Vector3 destination; private Vector3 current; private Vector3 goal; private Transform transform; private Enemy parent; public void Ent...
using SocketLite.Logs; using SocketLite.Net; using System; using System.Net.Sockets; using System.Windows.Forms; namespace SocketLite.Server { class TcpServerLogger : Logger { private RichTextBox rtbLog; private RequestInfo request; private AsyncTcpServer tcpServer; private Tcp...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using xKnight.Models; namespace xKnight.Attacking { public class AttackManager { #region Fields private int _crawlId; private int _numberOfThreads; #endregion #regio...
using System; using System.IO; namespace CursoCsharp.Api { class ExemploDirectoryInfo { public static void Executar() { var dirProjeto = @"~/source/repos/CursoCsharp/CursoCsharp".ParseHome(); var dirInfo = new DirectoryInfo(dirProjeto); Console.WriteLine("...
using System; using System.Collections.Generic; using System.Text; namespace MySingleton { class PublicEagerSingleton { public readonly static PublicEagerSingleton instance = new PublicEagerSingleton(); private PublicEagerSingleton() { } } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; using CreamBell_DMS_WebApps.App_Code; using Microsoft.Reporting.WebForms; using Elmah; namespace CreamBell_DMS_WebApps { public...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; using System.Web.Mvc; namespace WebApplication1.Models { public class FinanceModel { public int id { get; set; } [Display(Name = "Emp Name")] [Required(Erro...
namespace Dixin.Tests { using System; using System.IO; using Dixin.Common; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] public static class TestAssembly { [AssemblyInitialize] public static void Initialize (TestContext testContext) => AppDom...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class isoCameraZoom : MonoBehaviour { Vector3 touchStart; public float zoomOutMin; public float zoomOutMax; public int doubleTouchCnt; public AppandroidCallback4FDPlayer _callback; public isoFdPlayerC...
using System.Collections.Generic; namespace DFC.ServiceTaxonomy.Events.Configuration { public class EventGridConfiguration { /// <summary> /// Used effectively as a global publish events or not feature toggle /// </summary> public bool PublishEvents { get; set; } public...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Text.Json; 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.Win...
using System; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Markup; namespace Inventory.Converters { public class BoolToTextConverter : IValueConverter { public string TrueText { get; set; } public string FalseText { get; set; } public object Convert(object value, Type targetType...
using System; using System.ComponentModel.DataAnnotations; namespace Uintra.Core.Member.Models.Dto { public class UpdateMemberDto { public Guid Id { get; set; } [Required(AllowEmptyStrings = false, ErrorMessage = "First name is empty")] [StringLength(50, MinimumLength = 1, ErrorMessag...
using System.Collections; using System.Collections.Generic; using UnityEngine; abstract public class MyEntity : MonoBehaviour { // Use this for initialization protected virtual void Start () { Debug.Log ("MyEntity Start()"); } // Update is called once per frame void Update () { } }
//----------------------------------------------------------------------- // <copyright file="IDocumentReader.cs" company="4Deep Technologies LLC"> // Copyright (c) 4Deep Technologies LLC. All rights reserved. // <author>Darren Ford</author> // <date>Thursday, April 30, 2015 3:00:44 PM</date> // </copyright> //-...
using UnityEngine; using System.Collections; using UnityEngine.UI; public class HealthModifier : MonoBehaviour { public Text healthTargetText; // Update is called once per frame void Update () { if (Input.GetKeyDown (KeyCode.F)) { StatsManager.health++; Debug.Log (StatsManager.health); healthTargetText...
using System.Collections.Generic; using Profiling2.Domain.Prf.Events; using Profiling2.Domain.Prf.Persons; namespace Profiling2.Domain.Contracts.Queries.Suggestions { public interface IPersonNameSuggestionsQuery { IList<Event> GetEventsByLastName(Person p); IList<Event> GetEventsByFirstName(P...
using System; namespace TsFromCsGenerator.Tests.Content { public class OuterClass { public string StringProp { get; set; } public class InnerClass { public string StringProp { get; set; } } } }