text
stringlengths
13
6.01M
using GesCMS.Core.Entities; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace GesCMS.Application.Common.Interfaces { public interface IApplicationDbContext { public DbSet<Core.Entities...
using System.Drawing; namespace Layout { public class Textbox : Box { /******** Variables ********/ public Anchor textAnchor; public bool boxAdaptive; public string text; public Font font; public Brush textBrush; protected Point textPosition; private int _padding; private static Textbox savedStyl...
using System; using System.Data.Entity; using System.Linq; using ApartmentApps.Api.Modules; using ApartmentApps.Data; namespace ApartmentApps.Api { public class MaintenanceRepository : PropertyRepository<MaitenanceRequest> { private MaintenanceConfig _config; public MaintenanceRepository(IModu...
using System.Collections; using System.Collections.Generic; using UnityEngine; using PriestsAndDevils; // 工厂模式 public class DiskFactory : MonoBehaviour, IActionManager { private List<Disk> toDelete = new List<Disk>(); private List<Disk> toUse = new List<Disk>(); public Color[] colors = {Color.white,Color.ye...
using UnityAtoms.SceneMgmt; namespace UnityAtoms.SceneMgmt { /// <summary> /// Action of type `SceneField`. Inherits from `AtomAction&lt;SceneField&gt;`. /// </summary> [EditorIcon("atom-icon-purple")] public abstract class SceneFieldAction : AtomAction<SceneField> { } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace WebApplicationBlog_DejanSavanovic.Models { public class PocetnaViewModel { public List<SelectListItem> Drzave { get; set; } public List<TopPetBlogovaViewModel> TopPetBlogova { g...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FRCTeam16TargetTracking { public static class GlobalConstants { public static int TargetXPosition = 320; // 640/2 public static int TargetYPosition = 240; // 480/2 } }
using RomashkaBase.ViewModel; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace RomashkaBase.Model { public class Company : BasePropertyChanged { private int _id; private string _name; private ContractStatus _contr...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TargetHealth : MonoBehaviour { public float health = 10f; public void TakeDamage(float amount) { health -= amount; if (health <= 0f) { NPCRadius.passed = true; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BugTracker.Entities { class Venta { public int NroComprobante { get; set; } public DateTime Fecha { get; set; } public int Empleado { get; set; } public...
using System; namespace ConsoleApp2 { class Program { static void Main(string[] args) { Console.WriteLine("Gissa ett hel tal mellan 1 till 101! "); Random random = new Random(); int randomZ = random.Next(1 , 101); int Gissa; ...
namespace Puppeteer.Core.Helper { public class SingletonManager<T> where T : class, new() { public static T Instance { get { lock (INSTANCE_LOCK) { if (m_InstanceValue != null) { return m_InstanceValue; } if (m_InstanceValue == null) { m_InstanceValue = new T()...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LightingBook.Tests.Api.Dto.Dto.GetSettings.AgencyReasonCodes { public class AgencyReasonCodes { public string DisplayName { get; set; } public List<Option> Options { ge...
using TAiMStore.Domain; using TAiMStore.Model.ViewModels; namespace TAiMStore.Model.Repository { public interface IOrderRepository : IRepository<Order> { } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MemberPortal.Models { public class MockDatabaseMember { public int MemberID { get; set; } public string MemberName { get; set; } public string MemberAddress1 { get; set; } ...
namespace DependencyInjectionTest.WithInjection { public interface IAddressObject { string Place { get; set; } int Number { get; set; } string PlaceType { get; set; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace UnityStandardAssets.CrossPlatformInput { public class FloorSelecterActivate : MonoBehaviour { public GameObject _floorSelecterButton; // Use this for initialization void Start() { ...
using System; using System.Collections.Generic; using System.Collections; using System.Collections.Specialized; namespace LeetCodeTests { public abstract class Problem_Empty { /* */ public static void Test() { Solution sol = new Solution(); /* var input = new int[] { 2, 7, 11, 15 }; Console.Wr...
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Newtonsoft.Json.Linq; using ProjectBueno.Game.Spells; using System; using System.IO; using System.Windows.Forms; namespace ProjectBueno.Engine { /// <summary> /// ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ConFutureNce.Models { public class ProgrammeCommitteeMember : UserType { public string EmployeePosition { get; set; } } }
using System; using System.Collections.Generic; using System.Text; namespace DTO { public class MealDto { public int MealCode { get; set; } public string MealName { get; set; } public string Instructions { get; set; } public int? NumberOfDiners { get; set; } public strin...
using UnityEngine; public class CharacterSheet : MonoBehaviour { [SerializeField] protected float _speed; [SerializeField] protected float _jumpForce; public float speed => _speed; public float jumpForce => _jumpForce; }
using Banco.Contas; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Banco.Filtros { class FiltroMesCorrente : Filtro { public FiltroMesCorrente(Filtro f) : base(f) { } public FiltroMesCorrente() : base() { } ...
using Tomelt.Autoroute.Models; namespace Tomelt.Autoroute.Services { public interface IPathResolutionService : IDependency { AutoroutePart GetPath(string path); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ZY.OA.Model.SearchModel { public class RoleSearchParms:BaseParms { public string RoleName { get; set; } public string Remark { get; set; } } }
using System.Collections.Generic; using Proxynet.Models; using UsersLib.Entity; namespace Proxynet.Service.Converters { public class UserDtoConverter : IUserDtoConverter { private readonly IGroupDtoConverter _groupDtoConverter; public UserDtoConverter( IGroupDtoConverter groupDtoConverter ) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DevExpress.Xpf.Map; namespace TrackAnalyzer2 { /// <summary> /// Klasa obsługująca wczytywanie przejadów z plików txt. /// </summary> public class TxtFileGpsReader : IGpsSignalRead...
/*********************************************************************** * Module: UserStrategy.cs * Author: Sladjana Savkovic * Purpose: Definition of the Interface Controller.Users&WorkingTimeController.UserStrategy ***********************************************************************/ using Model.Users; usi...
using System.Collections.Generic; namespace Zesty.Core.Business { class Role { private static IStorage storage = StorageManager.Storage; internal static List<Entities.Role> List() { return storage.GetRoles(); } internal static void Add(Entities.Role role) ...
using DevanshAssociate_API.Models; using DevanshAssociate_API.Models.ENUM; using MagathApi.DAL; using MySql.Data.MySqlClient; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Threading.Tasks; namespace DevanshAssociate_API.DAL { public class...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Text; using Moq; namespace PayByPhoneTwitter.Tests { /// <summary> /// All methods of the Twitter Service that interact with Twitter need to authenticate each /// WebRequest; these tests verify that the authenticator is called ...
using Microsoft.EntityFrameworkCore; using Repository.Models; using System; using System.Collections.Generic; using System.Text; using System.Linq; using ArticlesProject.Repository.Interfaces; using ArticlesProject.DatabaseEntities; using System.Threading.Tasks; namespace ArticlesProject.Repository.Implementations { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Script encargado de detectar si el jugador se acerca al Trigger del objeto para abrir la puerta asignada en <see cref="door"/> /// </summary> public class Door : MonoBehaviour { public GameObject door; public Spri...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using NS_Personal.DAL; using NS_Personal.Basicas; namespace NS_Personal.Forms { public partial class Teste : Form { pu...
using System; using System.Collections.Generic; using System.Windows.Forms; using System.IO; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace digitRecognizerAndroidTrain { class NeuralNetwork { List<NetworkLayer> network; String[] path; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Logs_Aggregator { class Program { static void Main(string[] args) { var logs = new Dictionary<string, Dictionary<string, int>>(); int n = int.P...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ex2 { /*2) Написать программу, принимающую на вход строку — набор чисел, разделенных пробелом, и возвращающую число — сумму всех чисел в строке.Ввести данные с клавиатуры...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace BankAppCore.Models { public partial class Client { [MaxLength(13)] [Key] public string SocialSecurityNumber { get; set; } [Required] ...
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using WebApplication1.Models; namespace WebApplication1 { public class XContext:DbContext { public XContext(DbContextOptions<XContext>options): base(options)...
using NumSharp; using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Tensorflow; using static Tensorflow.Binding; using static SharpCV.Binding; using SharpCV; namespace TensorFlowNET.Examples.ImageProcessing.YOLO { public class Data...
using Dictionary; using System; using System.Collections.Generic; using System.Linq; namespace Problem_01 { class Program { static void Main() { var dragons = new Dictionary<string, SortedDictionary<string, DragonStats>>(); int n = int.Parse(Console.ReadLine...
using Elmah; 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 Microsoft.Reporting.WebForms; namespace CreamBell_DMS_WebApps { public partial class frmAreaMonthMaterialSa...
using Grillisoft.FastCgi.Protocol; namespace Grillisoft.FastCgi.Owin { public class OwinChannel : SimpleFastCgiChannel { Microsoft.Owin.OwinMiddleware pipeline; public OwinChannel(ILowerLayer layer, ILoggerFactory loggerFactory, Microsoft.Owin.OwinMiddleware pipeline) : base(layer...
using System; using System.Collections.Generic; using System.Text; namespace My_News { class Source { public int Id { get; set; } public string Name { get; set; } public string Homepage { get; set; } public string Logo { get; set; } public Source(int id=0, string name=...
using Plugin.Geolocator; using SQLite; using System; using System.Collections.Generic; using TravelApp.Model; using Xamarin.Forms; using Xamarin.Forms.Maps; using Xamarin.Forms.Xaml; namespace TravelApp { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class MapPage : ContentPage { ...
using MoneyWeb.Extensions; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace MoneyWeb.Models { public class OrcamentoModel { public int Id { get; se...
using Discord.Commands; using JhinBot.Enums; using JhinBot.Translator; using System; namespace JhinBot.Utils.Exceptions { public class BotException : Exception { public ICommandContext Context { get; } public string Title { get; } public string ModuleName { get; } public new st...
namespace FKFormBase { public class ErrorItems { public string ControlID { get; set; } public string ValidateType { get; set; } public string ErrorStr { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ToDoListApplication.BusinessLayer.Entities; namespace ToDoListApplication.BusinessLayer.Repositories.Data { public interface IEntityData { } }
using Puppeteer.Core; using Puppeteer.Core.Configuration; using System; using System.Collections.Generic; using UnityEditor.UIElements; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UIElements; namespace Puppeteer.UI { internal class GoalView : PuppeteerView { public GoalView(VisualElement ...
using System; using System.IO; using PacmanServiceLibrary.Model; using PacmanServiceLibrary.Model.Enum; using PacmanServiceLibrary.Service; namespace Pacman { class MainClass { public static void Main(string[] args) { Location current = new Location(); bool inputChoiceM...
using System; using System.Collections.Generic; namespace ServiceDeskSVC.DataAccess.Models { public partial class HelpDesk_TicketDocuments { public int Id { get; set; } public string DocumentPath { get; set; } public int TicketID { get; set; } public virtual HelpDesk_Tickets Hel...
using System; using System.Collections.Generic; namespace Euler_Logic.Problems.AdventOfCode.Y2016 { public class Problem07 : AdventOfCodeBase { public override string ProblemName => "Advent of Code 2016: 7"; public override string GetAnswer() { return Answer1(Input()).ToString(); ...
using Castle.MicroKernel.Registration; using System; using System.Collections.Generic; using System.Linq; using System.Web; using Castle.MicroKernel.SubSystems.Configuration; using Castle.Windsor; using MyFirstGitProject.Interfaces; using MyFirstGitProject.Services; namespace MyFirstGitProject.Interceptor ...
using System.Collections; using System.Collections.Generic; using System.IO; using System.Net.NetworkInformation; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class GameOver : MonoBehaviour { private void Start() { Time.timeScale = 0; } public void QuitButt...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PinchZoom : MonoBehaviour { public float zoomSpeed = .0005f; void Update() { Zoom(); } void Zoom() { if(Input.touchCount == 2) { Touch touchZero = Input.GetTouch(0...
using System; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Host; using Microsoft.Extensions.Logging; using System.Xml; using System.Collections.Generic; using Newtonsoft.Json.Linq; using BrightFuture.OilPrice; using Newtonsoft.Json; using System.Linq; using System.Threading.Tasks; using hap = HtmlAgilit...
#nullable enable using System; using Xunit.Abstractions; using Xunit.Sdk; namespace Microsoft.Maui.TestUtils.DeviceTests.Runners.VisualRunner; public class TestCaseViewModel : ViewModelBase { string? _message; string? _output; TestState _result; RunStatus _runStatus; string? _stackTrace; Tes...
using System; using System.Collections.Generic; using System.Linq; using System.Text; /** * Tên Đề Tài; Phần Mền Quản Lý Biển Số Xe và Vi Phạm Giao Thông(VLNM (Vehicle license number management)) * Ho tên sinh viên: * 1. Phan Nhật Tiến 0812515 * 2. Huỳnh Công Toàn 0812527 * * GVHD. Trần Min...
using System; using System.Collections.Generic; using System.Linq; // ReSharper disable once CheckNamespace namespace Microsoft.OpenApi.Models { public static class OpenApiPathsExtensions { public static List<KeyValuePair<string, OpenApiPathItem>> GetPathsStartingWithSegmentName(this OpenApiPaths urlP...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ZC_IT_TimeTracking.BusinessEntities; using ZC_IT_TimeTracking.DataAccess.Interfaces.GoalRepository; using ZC_IT_TimeTracking.Services.Interfaces; namespace ZC_IT_TimeTracking.Services.GoalRuleServ...
namespace HEnCasa.App.Dominio{ public class SignoVital{ public int Id {get; set;} public string FechaHora {get; set;} public string Dolor {get; set;} public string Temperatura {get; set;} public string Saturacion {get; set;} public string RitmoCardiaco {get;...
using UnityEngine; using System.Collections; using TNet; public class TerminalControl : ShipControl { [SerializeField] protected Terminal shipCore; void Update() { //Resolve Docking Request if( GetInput.Dock() ) { tno.Send( "RequestDock", Target.Host ); } #region...
using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace MonitorLibrary { public class MonitorClass { [DllImport("user32.dll", CharSet = CharSet.Auto)] static extern IntPtr SendMessage(IntPtr hWnd, uint Msg, uint wParam, int...
/* * Created by SharpDevelop. * User: admin * Date: 8/7/2016 * Time: 2:11 PM * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; using System.Configuration; using System.Windows.Forms; namespace Robot { /// <summary> /// Description of GlobalVariables. /// </s...
using System; using System.Collections.Generic; using System.IO; namespace MisskeyDotNet { public class Note { public string Id { get; set; } = ""; public DateTime CreatedAt { get; set; } public string UserId { get; set; } = ""; public User User { get; set; } = null!; ...
namespace Sentry.Internal.Extensions; internal static class StreamExtensions { public static async Task<byte[]> ReadLineAsync( this Stream stream, CancellationToken cancellationToken = default) { // This approach avoids reading one byte at a time. const int size = 128; ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace PartStore.Services { public interface IVansService { IEnumerable<Van> GetVans(); } }
using System; using System.Collections.Generic; using System.Text; namespace ORM.Models { public static class Role { public const string Admin = "Admin"; public const string User = "User"; public const string AdminOrUser = Admin + ", " + User; } }
using Xunit; using Rhino.Mocks.Exceptions; namespace Rhino.Mocks.Tests.FieldsProblem { public class FieldProblem_RepeatsWithGenerate { [Fact] public void RepeatTimes_Fails_When_Called_More_Then_Expected() { var interfaceMock = MockRepository.GenerateStrictMock<IRepeatsWithGenerate>(); interf...
using System; using System.Collections.Generic; using System.Text; namespace Services.Interfaces { public interface IErrorMessageService<T> { string AddSuccessMessage(); string UpdateSuccess(); string CrudFailureFailure(); string BadRequest(Exception ex); string Delete...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Grenade : MonoBehaviour { public GameObject meshObj; public GameObject effectObj; public Rigidbody rigid; void Start() { StartCoroutine(Explosion()); } IEnumerator Explosion() { yield ...
using UnityEngine; using System.Collections; public class SceneLobby : SceneBase { public override void Update() { } public override void Restart() { } public override void Terminate() { UIManager.Instance.CloseUI(eUIType.GameLobby); } public overri...
namespace cyrka.api.domain.projects { public class PaymentsState { public decimal EditorPayment { get; set; } public decimal TranslatorPayment { get; set; } } }
using UnityEngine; using UnityEngine.UI; using System.Collections; public class GameTimer : MonoBehaviour { public static bool stop; public static bool isDone; public static string result; public bool reverse; public enum TimerMode {minutes = 0, seconds = 1}; public TimerMode timerMode = TimerMode.minutes; pu...
using Autofac; using Microsoft.AspNetCore.Identity; using RestDDD.Application; using RestDDD.Application.Interfaces; using RestDDD.Application.Interfaces.Mappers; using RestDDD.Application.Mappers; using RestDDD.Domain.Core.Interfaces.Repositories; using RestDDD.Domain.Core.Interfaces.Services; using RestDDD.Domain.Se...
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Web.Mvc; using System.Web.Routing; using Moq; using Ninject; using SportsStore.Domain.Entities; using SportsStore.Domain.Abstract; using SportsStore.Domain.Concrete; using SportsStore.WebUI.Infrastruc...
using System; namespace EssentialLesson16Task2 { // Задание 2 //Создайте класс Block с 4-мя полями сторон, переопределите в нем методы: //Equals – способный сравнивать блоки между собой, //ToString – возвращающий информацию о полях блока. class Program { static void Main(string[] ...
using UnityEditor; using UnityEditor.EditorTools; using UnityEditor.ShortcutManagement; using UnityEngine; public static class CentredToolManager { public static Quaternion TransformRotation { get => Selection.transforms.Length == 1 ? Selection.activeTransform.rotation : Quaternion.identity; } public static ...
using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Configuration; using Microsoft.Extensions.Options; using Sentry.AspNetCore; // ReSharper disable once CheckNamespace namespace Microsoft.AspNetCore.Hosting; /// <s...
using System; using IoTManager.Model; namespace IoTManager.Utility.Serializers { public class SeveritySerializer { public SeveritySerializer() { this.id = 0; this.severityName = null; this.createTime = null; this.updateTime = null; } ...
using System.Collections.Generic; namespace Compiler.TreeStructure { public class GenericClass : Class { public GenericClass(ClassName name) : base(name) { SelfClassName = name; name.Parent = this; } public GenericClass(Class @class) : base(@class) ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace MeriMudra.Models.ViewModels { public class FeesAndCharge { [Required] public string HeadingText { get; set; } [Required] public List<KeyV...
using System.Collections.Generic; namespace ShoppingListApi.Models.ResponseModels { public class ShoppingList { public int Count{ get; set; } public List<ShoppingListItem> Data { get; set; } } }
using NUnit.Framework; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using OpenQA.Selenium.Interactions; using OpenQA.Selenium.Support.UI; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks...
using Xunit; namespace DotNetCross.Memory.Tests { public class Unsafe_Write_Test { public struct Bgr { public byte B; public byte G; public byte R; } [Fact] public unsafe void Int() { var ptr = stackalloc int[1]; *ptr = 17; Unsafe.Write<int>(...
using UltimateTool.Framework.Configuration; using SFarmer = StardewValley.Farmer; using SObject = StardewValley.Object; namespace UltimateTool.Framework.Tools { internal class SeedTool : BaseTool { private readonly SeedsConfig Config; public SeedTool(SeedsConfig config) { ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Expenses.Data.Models { public class Expenses { public long Id { get; set; } [Required] [Display(Name = "Date")] ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using AspNetAngular.Model; namespace AspNetAngular.Controllers { [Route("api/controllers")] [ApiController] public class JobOrderMonitoring ...
using System; using System.Globalization; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; // ReSharper disable InvertIf namespace Atc.CodeAnalysis.CSharp.SyntaxFactories { public static class SyntaxLiteralExpressionFactory { public static LiteralExpressionSyntax Create...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using V50_IDOMBackOffice.AspxArea.Booking.Models; using V50_IDOMBackOffice.AspxArea.Booking.Controllers; using IdomOffice.Interface.BackOffice.Booking; using V50_IDOMBackOffice.Asp...
using System; using System.Reflection; namespace SciVacancies.WebApp.Infrastructure.Saga { public class SagaFactory : IConstructSagas { public ISaga Build(Type type, Guid id) { ConstructorInfo constructor = type.GetConstructor( BindingFlags.Public | BindingFlags.Non...
// 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; using System.Collections.Generic; using System.Linq; using System.Web; namespace CalculadoraWS.Clases { public class Calcular { public decimal numero1 { get; set; } public decimal numero2 { get; set; } public decimal areacuadrado() { return numero1 * ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; 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.Windows.Navigati...
using System; using System.ComponentModel.Design; using System.Windows.Forms; using Phenix.Core.Windows; namespace Phenix.Services.Client.Security { internal class ReadWriteAuthorizationDesigner : ComponentDesigner { #region 属性 public IDesignerHost DesignerHost { get { return GetService(typeof(...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Level37 : MonoBehaviour { public List<GameObject> solution; public int counter = 0; private void OnDestroy() { ClickListener.ObjClicked -= CheckClick; } private void Start() ...
using System; namespace Jypeli { public partial class FileManager { public event Action<Exception> ReadAccessDenied; public event Action<Exception> WriteAccessDenied; private void OnAccessDenied(Exception e, bool write) { if (!write && ReadAccessDenied != null) ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace Game { /// <summary>This is our training dummy</summary> public class DummyController : MonoBehaviour, IEntity { [SerializeField] private Animator _animator; /// <summary>T...
namespace XH.Core.Context { public interface IWorkContextProvider { IWorkContext GetWorkContext(); } }