text
stringlengths
13
6.01M
using ProConstructionsManagment.Desktop.Messages; using ProConstructionsManagment.Desktop.Services; namespace ProConstructionsManagment.Desktop.Managers { public class ShellManager : IShellManager { private readonly IMessengerService _messengerService; public ShellManager(IMessengerService me...
 using System; using UrTLibrary.Server.Queries.Game; namespace UrTLibrary.Server.Logging.Events.ChatCommands { [ChatCommandKey("rcon")] public class RConCommand : ChatCommand { [ChatCommandParameter(ChatCommandParameterType.Sentence)] public string Command { get; set; } public ove...
using AutoMapper; using Core.Interfaces; namespace Core.NUnitTest.Tests.LoadTests { /// <summary> /// Мэппинг тестовой сущности в тестовую ДТО /// </summary> public class BankCardTestEntityProfile : Profile, IDependency { public BankCardTestEntityProfile() { CreateMap<...
using Assets.Components; using UnityEngine; using Assets.FarmSim.I3D; namespace Assets { public class Main : MonoBehaviour { public Entity GenericShape; private I3DImporter _importer; public Entity SpawnEntity(string file, Vector3 position) { Entity part = Instanti...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text.Json.Serialization; namespace dk.via.ftc.businesslayer.Models { public class PurchaseOrder { public PurchaseOrder() { Orderlines = new HashSet<Orderline>(); } [JsonPrope...
using System; using System.Collections.Generic; using System.Text; namespace OCP.Files.Notify { /** * Represents a detected rename change * * @since 12.0.0 */ public interface IRenameChange : IChange { /** * Get the new path of the renamed file relative to the storage root * * @return string * * @si...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Windows.Forms; using YGTool.Arquivo; using YGTool.Compressao; using YGTool.Imagem; using YGTool.Som; using YGTool.Texto; using YGTool.Telas; using System.Drawing; using System.Drawing.Imaging; using System.Text.RegularExpr...
namespace DDDSouthWest.IdentityServer.Framework { internal sealed class UserModelDataMap { public int Id { get; set; } public string SubjectId => EmailAddress; public string GivenName { get; set; } public string FamilyName { get; set; } public string EmailAddress { g...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; namespace YiXiangLibrary { public partial class Insert_Bingli : System.Web.UI.Page { public string did; protected vo...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using ValidationExperiments.Core.Entities; namespace ValidationExperiments.Core.Interfaces { public interface ICourseService { Task<List<Course>> GetCoursesAsync(); Task<Course> GetCourseAsync(int...
using System.Linq; using LosPollosHermanos.Data; using LosPollosHermanos.Infrastructure; using LosPollosHermanos.ServiceContracts; using LosPollosHermanos.Web.Hubs; using Microsoft.AspNet.SignalR; namespace LosPollosHermanos.Web.Infrastructure { public class ProductsService : IProductsService { privat...
using Castle.Core.Logging; using Microsoft.AspNetCore.Mvc; using Nop.Core; using Nop.Core.Domain.Orders; using Nop.Plugin.Payments.CardPay.Models; using Nop.Services.Common; using Nop.Services.Configuration; using Nop.Services.Localization; using Nop.Services.Messages; using Nop.Services.Orders; using Nop.Services.Pay...
using System; using System.Configuration; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using MySql.Data.MySqlClient; namespace gbwebapp { public partial class GBWebForm : System.Web.UI.Page { MySqlConnection connection, po...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Linq; public class SaveDataManager { private static SaveDataManager instance; public static SaveDataManager Instance { get { if (instance == null) { instance = new SaveDataManager (); } return instance...
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; namespace Orbital.Framework { public static class MeshHelper { /// <summary> /// Calculates tangents for a mesh. The mesh must have normals calculated. /// </summary> /// <returns>The tangents.</returns> /// <para...
namespace IoUring { public enum RingOperation : byte { Nop, ReadV, WriteV, Fsync, ReadFixed, WriteFixed, PollAdd, PollRemove, SyncFileRange, SendMsg, RecvMsg, Timeout, TimeoutRemove, Accept, C...
// ===== Enhanced Editor - https://github.com/LucasJoestar/EnhancedEditor ===== // // // Notes: // // ============================================================================ // using System; namespace EnhancedEditor { /// <summary> /// Use this attribute on any class to hide it from the EnhancedSystem p...
using System; using System.Windows.Forms; using TruongDuongKhang_1811546141.ReportGenerator.CrystalReports; using TruongDuongKhang_1811546141.BussinessLayer.Workflow; namespace TruongDuongKhang_1811546141.PresentationLayer { public partial class PrintAccountList : Form { private bool isActive; ...
using MessageLibrary; using Xilium.CefGlue; namespace SharedPluginServer { class WorkerCefJSDialogHandler : CefJSDialogHandler { private CefJSDialogCallback _currentCallback = null; private CefWorker _mainWorker; public WorkerCefJSDialogHandler(CefWorker mainCefWorker) { ...
// Copyright (c) MOSA Project. Licensed under the New BSD License. using Mosa.Compiler.Common; using Mosa.Compiler.Framework.Analysis; using Mosa.Compiler.Framework.Linker; using Mosa.Compiler.Framework.Trace; using Mosa.Compiler.MosaTypeSystem; using System.Collections.Generic; using System.Diagnostics; using static ...
namespace TestCard { using Microsoft.VisualStudio.TestTools.UnitTesting; using Poker; [TestClass] public class TestCard { [TestMethod] public void ToStringShouldPrintFaceAndSuit() { var card = new Card(CardFace.Ace, CardSuit.Clubs); var expectedValue ...
using Orchard.ContentManagement.Records; namespace bookstore.Models { public class BookPartRecord : ContentPartRecord { public virtual string Arthor { get; set; } public virtual string Language { get; set; } public virtual decimal UnitPrice { get; set; } public virtual string S...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; public abstract class Unit { protected string negativeStatError = "A character with a negative stat is impossible."; // Primary Stats public string Name { get { return _...
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; namespace Degree.Services.Utils { public static class FileHelper { public static async Task WriteFile(string filePath, string content) { using (StreamWriter writetext =...
using UnityEngine; using System.Collections; public class DestroyByContact : MonoBehaviour { //Health public int healthBonus = 20; public GameObject explosion; public GameObject playerExplosion; public int scoreValue; private GameController gameController; private PauseMenuManager PauseMe...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace LCode.Models { public class Categoria { public int Categoria_id { get; set; } public string Categoria_nome { get; set; } } }
using Accounting.DataAccess; using Accounting.Utility; using CustomDropDown; using System; using System.Data; using System.Text.RegularExpressions; using System.Web; namespace AccSys.Web.DbControls { public class AccountByLedgerTypeDropDownListChosen : DropDownListChosen { private LedgerTypes _LedgerT...
///<summury> /// 스래드 우선순위 ///</summury> using System; using System.Threading; class Program { public static void doSomething() { Console.WriteLine("{0}", Thread.CurrentThread.Name); } public static void Main() { Thread thread1 = new Thread(new ThreadStart(doSomething)); Th...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using DesiClothing4u.Common.Models; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; namespace DesiCloth...
using System; using System.Collections.Generic; using System.Web.UI.WebControls; public partial class SysManege_UserControls_usBaseList : System.Web.UI.UserControl { PDTech.OA.BLL.SYS_BASE_INFO sysBll = new PDTech.OA.BLL.SYS_BASE_INFO(); public string sysType = ""; public string tTitle = ""; public st...
using System.Collections.Generic; using System.Linq; using MongoDB.Bson.Serialization.Attributes; using MongoDB.Bson.Serialization.Options; namespace ETModel { public class CardComponent : Component { [BsonElement] [BsonDictionaryOptions(DictionaryRepresentation.ArrayOfArrays)] private...
using System; using System.IO; using NUnit.Framework; namespace XorLog.Core.Tests { class RawFileReaderExTest : TestUtil { private RawFileReaderEx _sut; [SetUp] public void Setup() { ConfigureLogger(); _sut = new RawFileReaderEx(); Log.Debu...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.IO; public class AudioEventListener : MonoBehaviour { public string fileName; private string path; private List<float> songTimes; private List<float> beatTimes; void CreateText() { pa...
using System; using Language.Scan; namespace Language.Analyzer { public class SemanticException : Exception { public SemanticException(string message, Lexema location, string reason = null) : base($"{message} at {location.Line}:{location.Symbol}" + (reason != null ? $", {r...
namespace Forum.Server.WebApi { using System.Data.Entity; using Forum.Data; using Forum.Data.Migrations; public class DatabaseConfig { public static void Initialize() { Database.SetInitializer(new MigrateDatabaseToLatestVersion<ForumDbContext, Configuration>()); ...
using System; namespace iQuest.VendingMachine.PresentationLayer.Views.Interfaces { internal interface IReportsView { void TellFileFormat(string format); void CreatedMessage(string option, string reportsFolder); DateTime AskForADate(string dateTime); } }
using FacultyV3.Core.Constants; using FacultyV3.Core.Interfaces; using FacultyV3.Core.Interfaces.IServices; using FacultyV3.Web.Common; using FacultyV3.Web.ViewModels; using System; using System.Web.Mvc; namespace FacultyV3.Web.Areas.Admin.Controllers { public class CountController : BaseController { ...
namespace MyCashFlow.Web.Infrastructure.Automapper { /// <summary> /// Class that implements it declares TO which object will be mapped /// </summary> /// <typeparam name="T">Type of TO object</typeparam> public interface IMapTo<T> { } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Helper { class String { public static string ToTitle(string text) { // Check for empty string. if (string.IsNullOrEmpty(text)) { ...
using System; using System.Collections.Generic; #if! __MonoCS__ using System.Runtime.InteropServices; using Microsoft.Win32.SafeHandles; #endif namespace Buffers.Utilities { #if! __MonoCS__ static class UnmanagedFileIO { public const short FILE_ATTRIBUTE_NORMAL = 0x80; public const uint GENER...
using DapperDB.Dal; using DapperDB.Entities.Principal.Entity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DapperDB.Entities.UserDap { public class DataImportDap: BaseDap { public ImportDataStateEntity DataImport() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Kers.Models.Contexts; using Kers.Models.Data; using Kers.Models.Entities.KERScore; using Kers.Models.Repositories; using Kers.Models.ViewModels; using Microso...
using System.Collections.Generic; namespace Biggy.Interfaces { public interface IDataStore<T> where T : new() { int Add(IEnumerable<T> items); int Add(T item); int Delete(IEnumerable<T> items); int Delete(T item); int DeleteAll(); int Update(IEnumerable<...
using AlienEngine.Core.Game; using AlienEngine.Core.Graphics; using AlienEngine.Core.Graphics.Shaders; using AlienEngine.Core.Graphics.Shaders.Samples; namespace AlienEngine.Shaders { public class DiffuseShaderProgram : ShaderProgram { private static UBO _cameraUBO; private static UBO _lightsU...
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; namespace Simon_Says { public partial class MainScreen : UserControl { public MainScreen...
namespace NotificationAPI.App.MessageBus.Consumers { using MassTransit; using System.Threading.Tasks; using MessageExchangeContract; using NotificationAPI.App.Hubs.Interfaces; public class EventNotificationConsumer : IConsumer<IEventNotificationMessage> { private readonly INotification...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace Zelo.Management.Models { public class CityQueryByProvince:BaseParams { [Required(AllowEmptyStrings = false, ErrorMessage = "province为空")] public String p...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace View.Interfaces { /// <summary> /// Интерфейс игры /// </summary> interface IGame { /// <summary> /// Выдать карту игроку /// </summa...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using DataModel; using WebMarket.Models.ViewModels; namespace WebMarket.Models.Response { public class GetCategorityResponse : Response { public List<ViewCategoritys> Categoritys { get; set; } } }
using System; using System.Collections.Generic; using System.Text; using System.Linq; namespace HackerRank_HomeCode { public class RepeatedString { public void CounttheA() { string s = Console.ReadLine(); //no of repetation of the string long n = Convert.ToI...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
using System; using Rebus.Logging; using Rebus.Messages; using Rebus.Timeout; namespace Rebus.Bus { class TimeoutRequestHandler : IHandleMessages<TimeoutRequest> { static ILog log; static TimeoutRequestHandler() { RebusLoggerFactory.Changed += f => log = f.GetCurrentClassL...
/* DotNetMQ - A Complete Message Broker For .NET Copyright (C) 2011 Halil ibrahim KALKAN This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option)...
using System; using System.Linq; using System.Collections.Generic; using System.Threading.Tasks; using Radzen; using Radzen.Blazor; using Microsoft.AspNetCore.Components; using CryptobotUi.Client.Model; using CryptobotUi.Models.Cryptodb; using CryptobotUi.Client.Model.Extensions; namespace CryptobotUi.Pages { pub...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; using TMPro; public class ButtonStageSelect : MonoBehaviour, ISelectHandler, IDeselectHandler { // Configurable Parameter [SerializeField] string newSceneName = ""; [SerializeField] ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace JOBTIND21.Dominio { public class Anuncio { [Key] [DatabaseGenerated(DatabaseGeneratedOptio...
using System.Collections.Generic; using System.Net.Sockets; public class GameRoom { public string RoomName; private int CountOfGamers; GamerPlace[] Spot; public List<Gamer> Gamers = new List<Gamer>(); public Client RoomOwner; public GameLogic Logic; public GameRoom(Client _Roo...
using Microsoft.VisualStudio.TestTools.UnitTesting; using Tcgv.QuantumSim.Data; namespace Tcgv.QuantumSim.Operations { [TestClass()] public class TeleportationTest { [TestMethod()] public void Teleportation_FalseQubit_Test() { var sender = new Qubit(false); ...
using System; using System.Collections.Generic; using zoologico.Interfaces; using zoologico.Models; namespace zoologico.Models { public class Animais { } }
using LuaInterface; using RO; using SLua; using System; public class Lua_RO_SystemTime : LuaObject { [MonoPInvokeCallback(typeof(LuaCSFunction))] public static int constructor(IntPtr l) { int result; try { SystemTime o = new SystemTime(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); re...
using Xamarin.Forms; /// <summary> /// Color themes. /// App color themes - Belastingdienst, Douane and Toeslagen /// </summary> namespace MCCForms { public static class ColorThemes { public static ColorTheme ThemeBelastingdienst { get { return new ColorTheme { ColorPincodePageTitleH1 = Color.FromR...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProyectoFinalParadigmas { [Serializable] public class usuario_gral { public string nombre, domicilio; public int dni; public long telefono; ...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // namespace DotNetNuke.Services.FileSystem { internal interface IIconController { string IconURL(string key); string IconURL(string...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Excel = Microsoft.Office.Interop.Excel; using Entities; using System.Runtime.InteropServices; using System.Diagnostics; namespace ExcelParserLibrary { public class ExcelParser { pu...
using UnityEngine; using System.Collections; #if UNITY_EDITOR using UnityEditor; #endif [ExecuteInEditMode] public class CustomMeshDefinition : BlockDefenition { public string meshAssetName; public string blockName = "custom block"; public Vector3 positionOffset; public Vector3[] verts = new Vector3...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using Jitter.LinearMath; using OpenTK; namespace Calcifer.Utilities { public static class MathUtils { public static float Clamp(float value, float min, float max) { return Math.Max(Math.M...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Emiliano.Dalesio2C { class Numero { private double _numero; public double getNumero() { return this._numero; } public Numero() ...
using System.Threading.Tasks; using Meziantou.Analyzer.Rules; using TestHelper; using Xunit; namespace Meziantou.Analyzer.Test.Rules; public sealed class UseArrayEmptyAnalyzerTests { private static ProjectBuilder CreateProjectBuilder() { return new ProjectBuilder() .WithAnalyzer<UseArrayE...
using System; namespace Mitheti.Core.Services { //TODO:add stop and start; public interface ISavingService { void Save(string info, int duration, DateTime timestamp); } }
using System.ComponentModel; using System.ComponentModel.DataAnnotations; using VendorsManage.Properties; namespace VendorsManage.Models { #region Models [PropertiesMustMatch("NewPassword", "ConfirmPassword", ErrorMessage = "两次输入的新密码不匹配")] public class ChangePasswordModel { [Req...
namespace Dealership.Engine.Factories { using Common.Enums; using Contracts; using Contracts.Factories; using Models; public class VehicleFactory : IVehicleFactory { public IVehicle CreateVehicle( VehicleType type, string make, string model, ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class IngredientsPickUp : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } private void On...
using System; namespace MsSqlProvider { public class ColumnInfo { public string ColumnName { get; set; } public bool IsNullable { get; set; } public string DataType { get; set; } public int? Length { get; set; } public int? NumericScale { get; set; } public ...
using Alfheim.FuzzyLogic.Rules.Model; using Alfheim.FuzzyLogic.Rules.Services; using Alfheim.FuzzyLogic.Variables.Model; using Alfheim.FuzzyLogic.Variables.Services; using Alfheim.GUI.Services; using Alfheim.GUI.Windows; using MahApps.Metro.Controls; using System; using System.Collections.Generic; using System.Linq; u...
using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Threading.Tasks; using System.Windows.Input; using GitlabManager.Enums; using GitlabManager.Framework; using GitlabManager.Model; using GitlabManager.Notifications; using GitlabManager.Services.Database.Model; using Gitl...
using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.Drawing; using System.Windows.Forms; using Ayende.NHibernateQueryAnalyzer.UserInterface.Controls; using Ayende.NHibernateQueryAnalyzer.UserInterface.Interfaces; using Ayende.NHibernateQueryAnalyzer.Utilities; nam...
using System; using ConsoleTable.Core.Drawer; using ConsoleTable.Settings; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ConsoleTable.Core.Test.Drawer { [TestClass] public class ConsoleTableDrawerTest { [TestMethod] public void Test_Create_Drawer_Valid() { ...
namespace _8.RecursiveFibonacci { using System; public class Startup { private static long[] fibNumbers; public static void Main(string[] args) { int nthNumbers = int.Parse(Console.ReadLine()); fibNumbers = new long[nthNumbers]; long result = Get...
using System.Threading.Tasks; using eForm.Authorization.Users; namespace eForm.WebHooks { public interface IAppWebhookPublisher { Task PublishTestWebhook(); } }
namespace CloneDeploy_Common.DbUpgrades { public class _1400 : IDbScript { public string Get() { return @"delete FROM `images` WHERE `images`.`image_environment` = 'macOS'; delete FROM `admin_settings` where `admin_settings`.`admin_setting_name` like 'Munki%'; delete FROM `admin_s...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace starkdev.spreadrecon.model.Enum { [DefaultValue(Desenvolvimento)] public enum ConectorDataBaseEnum { [EnumM...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PushoverQ { /// <summary> /// The string extensions. /// </summary> public static class StringExtensions { /// <summary> /// Takes the specified number of c...
using System.Collections; using System.Collections.Generic; using UnityEngine; ////////////////////////////////////////////////////////////////// //Created by: Daniel McCluskey //Project: CT6024 - AI //Repo: https://github.com/danielmccluskey/CT6024-AI //Script Purpose: Makes the guard patrol its area //////...
using System; using System.Collections.Generic; using System.Text; namespace TQVaultAE.Domain.Exceptions { /// <summary> /// Raised when game path is not found /// </summary> public class ExGamePathNotFound : ApplicationException { public ExGamePathNotFound() : base() { } public ExGamePathNotFound(string mes...
namespace Mercado.Model { public class Cidade { } }
using MoodCalculatorLibrary; using System; using System.Linq; using System.Windows; using System.Windows.Controls; namespace Mordor_s_Cruel_Plan { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { private string str; ...
using UnityEngine; using System.Collections; public class DroppedPosessions : MonoBehaviour { //Gehört zum gameObject das der Spieler aufsammeln muss um seine Seelen nach einem Tod zurückzuerhalten //ist nur existent in der ersten Runde nach dem Spielertod und wird beim nächsten neu gesetzt mit den dann akkumulier...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Zbor { public partial class ZaZbor : Form { #region Konstruktor public ZaZbor() { InitializeCompone...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Text; using System; using Com.Itrus.Crypto; using Org.BouncyCastle.Math.EC; using Org.BouncyCastle.Math; using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.Crypto.Generators; using Org.BouncyCastle.Utilities.Enco...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace YzkSoftWare.Exceptions { public class NotFoundDatabaseAdptorException : Exception { public NotFoundDatabaseAdptorException(string componentId) : base(string.Format(...
using Enrollment.Bsl.Business.Requests; using Enrollment.Bsl.Flow; using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; namespace Enrollment.Bsl.Controllers { [Produces("application/json")] [Route("api/Person")] public class PersonController : Controller { private readonly IFlowMa...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.IO; using System.Linq; using System.Reflection.PortableExecutable; namespace LinqExamples { class Program { private static int[] intArray = { 11, 22, 33, 44, 55 }; private static int[] int...
using System; using System.Collections.Generic; using System.Text; namespace ElementiRegistro { public class Votazione { public double Valutazione; public DateTime Data { get; private set; } private Studente Studente; public Materia M { get; private set; } pu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ExtensionMethod { static class StringExt { public static string GetFirstTwoChars(this string aString) { return aString.ToCharArray(0, 2).ToString(); ...
using System; using System.Collections.Generic; using System.Linq; using PropertyManager.Interfaces; using PropertyManager.Models; namespace PropertyManager.Data { public class SqlServerDatabaseRepo : ICommanderRepo { private readonly DBContext _context; public SqlServerDatabaseRepo(DBContext...
// ----------------------------------------------------------------------- // Copyright (c) David Kean. All rights reserved. // ----------------------------------------------------------------------- using System; using System.IO; using System.Reflection; using Moq; using System.Runtime.Serialization; namespace Porta...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Deathbox : MonoBehaviour { [SerializeField] private GameObject volleyball; private void OnTriggerEnter2D(Collider2D collision) { volleyball.SetActive(false); //Debug.Log("Restart"); } }
// using System; // using System.Collections.Generic; // using System.Threading; // using System.Threading.Tasks; // using Discord; // using Discord.Commands; // using Discord.WebSocket; // using Requestrr.WebApi.RequestrrBot.ChatClients.Discord; // namespace Requestrr.WebApi // { // public class RequestrrModuleB...
///<summary> /// params 키워드 /// </summary> using System; public class MyClass { public static void UseParams(params int[] list) { for (int i = 0; i < list.Length; i++) { Console.Write(list[i] + " "); } Console.WriteLine(); } static void Main() { ...
using System.Windows.Forms; using ReactiveUI; using Splat; namespace FundManagerDashboard.Client.WindowsForms { public partial class MainForm : Form, IViewFor<IScreen> { public MainForm() { InitializeComponent(); ViewModel = (IScreen)Locator.CurrentMutable.GetService(ty...