text
stringlengths
13
6.01M
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace online_knjizara.ViewModels { public class KorisnikPrikazVM { public int ID { get; set; } public string Ime { get; set; } public string Prezime { get; set; } public string ...
// -------------------------------------------------------------------------------------------------------------- // <copyright file="LoginRequestParam.cs" company="Tiny开源团队"> // Copyright (c) 2017-2018 Tiny. All rights reserved. // </copyright> // <site>http://www.lxking.cn</site> // <last-editor>ArcherTrist...
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 MySql.Data.MySqlClient; using System.Reflection; namespace scaner { public class Info { StatusStrip status; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CharacterFactory : MonoBehaviour { public enum CharactersType { Player, Enemy1, Enemy2, Enemy3 } [SerializeField] public CharacterController enemy1Prefab; [SerializeFiel...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WDB { public partial class Form1 : Form { SqlConnection sqlConnection; ...
using Domen; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SystemOperations.OblikLekaSO { public class FindObliciSO : SystemOperationBase { protected override object ExecuteSO(IEntity entity) { OblikLek...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerAttack : MonoBehaviour { Animator anim; bool canAttack = true; public float attackDelay = .5f; // Start is called before the first frame update void Start() { anim = GetCompo...
namespace Triton.Game.Mapping { using ns26; using System; using Triton.Game; using Triton.Game.Mono; [Attribute38("FatigueSpellController")] public class FatigueSpellController : SpellController { public FatigueSpellController(IntPtr address) : this(address, "FatigueSpellController...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class UniverseState : MonoBehaviour { private static GameObject emptyLayerPrefab; private static GameObject EmptyLayerPrefab { get { if (emptyLayerPrefab == null) { ...
using AutoMapper; using CustomerAgenda.Api.ViewModels; using CustomerAgenda.Business.Models; namespace CustomerAgenda.Api.Configurations { public class AutoMapperConfig : Profile { public AutoMapperConfig() { CreateMap<Customer, CustomerViewModel>().ReverseMap(); Create...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LookAtSLegs : MonoBehaviour { private GameObject player; private Vector3 playerPosition; private Vector3 legOffset; // Use this for initialization void Start () { player = GameObject.Find("Player"); ...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using AutoMapper; using LuizalabsWishesManager.Domains.Models; using LuizalabsWishesManager.ViewModels; using LuizalabsWishesManager.Services; using Microsoft.AspNetCore.Mvc; namespace LuizalabsWishesMan...
using CourseWork.Entity; using System; using System.Collections.Generic; using System.Linq; using System.Media; using System.Text; using System.Threading.Tasks; using System.Windows.Forms.DataVisualization.Charting; using Microsoft.Office.Interop.Excel; using System.Windows.Forms; namespace OfficeClasses { public...
using System; namespace Test { class HelloWorld { static void Main(string[] args) { Console.WriteLine("Hello Stranger!"); Console.WriteLine("Please enter your name:"); string name = Console.ReadLine(); bool inputForName = true; wh...
 using System; using Abp.Application.Services.Dto; namespace eForm.EFlight.Dtos { public class JobTitleDto : EntityDto { public string Name { get; set; } public string Code { get; set; } } }
using UnityEngine; using System.Collections; /// <summary> /// This sample demonstrates how to use the two-fingers Pinch and Rotation gesture events to control the scale and orientation of a rectangle on the screen /// </summary> public class PinchRotation : MonoBehaviour { public Transform target; public...
using System.Text; namespace ProBikeSS16.Workplaces { class WP_8 : Workplace { static int order_d7_1_p1 = 0; static int order_d7_2_p1 = 0; static int order_d7_3_p1 = 0; static int order_d7_1_p2 = 0; static int order_d7_2_p2 = 0; static int order_d7_3_p2 = 0; ...
namespace AlphabetArrayAndStringAsArray { using System; public class AlphabetArrayAndStringAsArray { /// <summary> /// Write a program that creates an array containing all letters from the alphabet (A-Z). /// Read a word from the console and print the index of each of its ...
using System; using System.ComponentModel.DataAnnotations; using XMLApiProject.Services.Models.PaymentService.Entities; using XMLApiProject.Services.Models.PaymentService.XML.RequestService.Responses; namespace XMLApiProject.Services.Models.PaymentService.XML.RequestService.Request { public class VoidOrRefundRequ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Basket : MonoBehaviour { private Text scoreText; private int count = 0; // Use this for initialization void Start () { scoreText = GameObject.Find("Canvas").GetComponentInChi...
using System; using UnityEngine.Events; namespace Helpers { [Serializable] public class ScriptableEvent { public string eventName; public UnityEvent unityEvent; } }
using ALM.Empresa.Interfaz.Controllers; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace ALM.Empresa.Interfaz { public class CustomAuthorizeAttribute : AuthorizeAttribute { public InformacionUsuarioLogueado.P...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using EntidadesCompartidas; using Logica.interfaces; using Persistencia; namespace Logica.clasesDeTrabajo { internal class LogicaUsuario : ILogicaUsuario { private static LogicaUsuario _...
using System; using System.Linq; using SubSonic.Extensions; using System.Collections.Generic; using SubSonic.SqlGeneration.Schema; namespace Pes.Core { public enum CloudSortOrder { Ascending, Descending, Random } public partial class Tag { public st...
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; using System.Data; namespace YiXiangLibrary { public partial class d_bingli_select : System.Web.UI.Page { protected void Page_Load(o...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace GuardarImagenBaseDatos.GuardarImagen { public partial class ListarImagenes : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Co3 { class Employee { readonly string name, secondname; string posada; int exp; public Employee(string name, string secondname) { ...
using UnityEngine; namespace Voxelizer.Rendering { /// <summary> /// Encapsulate common resources related to shaders for /// voxelization creation and visualization /// </summary> [CreateAssetMenu(menuName = "Voxelizer/VoxelizationResources")] public class VoxelizationResources : ScriptableObj...
using System; namespace CSharp.DesignPatterns.Builder { class Program { static void Main(string[] args) { //Builder Design Pattern bir Creational'dır //Creational bir nesnenin oluşmasını sağlayan paterndir. //Kompleks yapıda bir objemiz var ise. ...
/* * Bungie.Net API * * These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. * * OpenAPI spec version: 2.1.1 * Contact: support@bungie.com * Generated by: https://github.com...
/** File Created May 26th 2017 - File name = MouseLook.cs Author: Gabriel Gaudreau Project: ShootingRangeGame **This script is based on an answer found in Unity3d Forums.** */ using UnityEngine; [AddComponentMenu("Camera-Control/Mouse Look")] public class MouseLook : MonoBehaviour { public enum Axes { XANDY, X, ...
using Publicon.Core.Entities.Concrete; using System.Collections.Generic; using System.Threading.Tasks; namespace Publicon.Core.Repositories.Abstract { public interface ICategoryRepository : IGenericRepository<Category>, IRepository { //new Task<Category> GetByIdAsync(Guid id); Task<bool> Exist...
using UnityEngine; using System.Collections; public class Spawnpoint : MonoBehaviour { /* Denne klassen holder på selve spawnpointet og de forskjellige funksjonen spawnpointet har */ //Har tre objekter, flamme , varsellys og spawnpoint public GameObject flamme; public GameObject varselLys; public GameObject s...
/********************************************************************************** Simple Smart Types Lite https://github.com/dgakh/SSTypes ----------------------- The MIT License (MIT) Copyright (c) 2016 Dmitriy Gakh ( dmgakh@gmail.com ). Permission is hereby granted, free of charge, to any person obtaining a co...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ArticleSubmitTool.Domain; using ArticleSubmitTool.Models; using ArticleSubmitTool.Models.InstantArticles; using ArticleSubmitTool.Shared; using ArticleSubmitTool.Shared.Helpers; using ArticleSubmit...
using System.IO; using System.Linq; using System.Net; using System.Text; using System.Text.RegularExpressions; using CloneDeploy_ApiCalls; using CloneDeploy_Common; using CloneDeploy_Entities.DTOs; using log4net; namespace CloneDeploy_Services.Workflows { public class DefaultBootMenu { private const s...
namespace StudentClass { using System; using System.Linq; using System.Text; /*Define a class Student, which contains data about a student – first, middle and last name, SSN, permanent address, mobile phone e-mail, course, specialty, university, faculty. Use an enumeration for the specialti...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.IO; using System.Net.Http; using System.Threading.Tasks; using InfiniteMeals.Meals.Model; using Newtonsoft.Json.Linq; using Xamarin.Forms; using InfiniteMeals.Information; using Plugin.LatestVer...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.ComponentModel; namespace SKT.MES.Web.Controls { [ToolboxData("<{0}:DropDownGroup runat=server></{0}:DropDownGroup>")] public class DropDownGroup : DropDownLi...
 namespace MFW.LALLib { public enum ErrorNumberEnum { UNKNOWN = -1, //(-1), PLCM_SAMPLE_OK, //(0), /*sample code error number representing OK*/ /*SDK error number*/ PLCM_MFW_ERR_INVALID_HANDLE, ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Entidade { [Serializable] public class EAssociado { public EAssociado() { tipoAssociado = new ETipoAssociado(); } public int identificador { get; ...
using System.Collections.Generic; using Microsoft.OpenApi.Models; namespace Peppy.Swagger { public class SecurityOptions { public SecurityOptions() { Name = "Bearer"; OpenApiSecurityScheme = new OpenApiSecurityScheme { Description = "JWT Bea...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BLL_DAL { public partial class SANPHAM { private string _TENLSP; public string TENLSP { get { return _TENLSP; } set { _TENLSP = value; ...
using System.Linq; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ModelBinding; namespace BuildingBlocks.Mvc { public static class ModelStateExtensions { public static BadRequestObjectResult GenerateBadRequestFromExceptions( this ModelStateDictionary modelState ) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace XMLSample { class MyXHandler { private string _Path; private XmlDocument XDoc = new XmlDocument(); public MyXHandler(string path) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Business.Abstract; using Business.Service; using Domain.Entity; using PresentationMVC.Models; using Business.Common; namespace PresentationMVC.Controllers { public class StaffController : ...
using System; using System.Collections.Generic; using System.Net; using Microsoft.Win32; namespace Luminous { public static class Miscellaneous { public static string GetLocalGuid() { var location = @"SOFTWARE\Microsoft\Cryptography"; var name = "MachineGuid"; ...
using CrazyPost.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace CrazyPost.Repository { public interface ICommentRepository { Task Add(Comment item); Task<IEnumerable<Comment>> GetAll(); Task<Comment> Find(int id); Task Remove(int id); T...
using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Umbraco.Core { /// <summary> /// Utility methods for the <see cref="Guid"/> struct. /// </summary> internal static class GuidUtils { /// <summary> /// Combines two guid instances ut...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ViewProject.ViewModels.Common; namespace ViewProject.ViewModels { public class HomeViewModel : BaseViewModel { #region Variables private ListeOffreViewModel _listeOffreVie...
using System; namespace Covid_19_Arkanoid.Controlador { public class NoLivesException: Exception { public NoLivesException(string message) : base(message) { } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; using System.Web.Configuration; namespace CIS484Projects { public partial class WebForm1 ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HangMan { public class HardCodedWordGenerator : IWordGenerator { private string[] words = new string[10]; public HardCodedWordGenerator() { ...
using Sunny.Lib; using Sunny.Lib.CustomeAttribute; using Xunit; using System; using System.Collections.Generic; using System.Linq; using System.IO; using TestCommon; namespace Sunny.Lib.Test { /// <summary> ///This is a test class for ConvertHelperTest and is intended ///to contain all ConvertHelperTest U...
using CallLogSystem.Common; using Model; using Repository.Implement; using Repository.Interface; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace CallLogSystem.Controllers { public class AccountController : Controller { IAccountReposi...
using FatCat.Nes.OpCodes.AddressingModes; namespace FatCat.Nes.OpCodes.Branching { public abstract class BranchOpCode : OpCode { protected abstract CpuFlag Flag { get; } protected abstract bool FlagState { get; } protected BranchOpCode(ICpu cpu, IAddressMode addressMode) : base(cpu, addressMode) { } publi...
using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; namespace ECommerceSite.Controllers { [Route("products")] [ApiController] public class ProductsController : ControllerBase { [HttpGet] public IEnumerable<Product> Get() { return GetProducts(); ...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using OpenQA.Selenium.IE; using OpenQA.Selenium.Support; using OpenQA.Selenium.Chrome; namespace UnitTestSelenium { [TestClass] public class UnitTest1 { private const string IE_DR...
using System; using System.Net; using System.Net.Mail; using System.Windows.Forms; using EsploraPulse.Static; namespace EsploraPulse.View { /// <summary> /// This class represents a form used for sending an email. /// </summary> /// <author>Jonathan Walker</author> /// <version>11/28/2015</version...
using iCopy.Model.Options; using iCopy.Web.Helper; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System; using System.IO; using System.Linq; using System.Net; using System.Security.Claims; using System.Threading.Task...
using ACBr.Net.Sat; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PDV.VIEW.FRENTECAIXA.MFe.Emissao { public class RetornoMFe { public bool Enviado { get; set; } public string Resposta { get; set; } publi...
using System.Web; using System.Web.Optimization; namespace App.Server { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new Script...
using System; using System.Collections.Generic; using System.Text; namespace Checkout.Payment.Gateway.Seedwork.Extensions { public interface ITryResult<T> { bool Success { get; } string Message { get; } public T Result { get; } } }
using Logic.Buildings; using Logic.Resource; using NUnit.Framework; using System; namespace UnitTest4X { [TestFixture] public class SpaceBuildingsTest { [TestCase] public void HabitatBuilderOneTurnProgress_NotEnoughResources_NoProgress() { HabitatBuilder habitatBuilder = new Habita...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FTUEManager : MonoBehaviour { public static FTUEManager Instance; public List<FTUEStep> _steps; // Start is called before the first frame update void Awake() { Instance = this; } private vo...
using System; namespace console_game { public class NeutralSpace : LevelSpace { public NeutralSpace(string prompt) : base(prompt) { } override public bool HasEnemies() { return false; } public override bool HasFriendlies() ...
using System; using System.Threading.Tasks; namespace PmSoft.Caching { /// <summary> /// 缓存服务接口 /// </summary> public interface ICacheService { /// <summary> /// 添加到缓存 /// </summary> /// <param name="cacheKey"></param> /// <param name="value"></param> ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using DAL; namespace BLL { public class BLL_CTHD { DAL_CTHD cthddal = new DAL_CTHD(); //phương thức này gọi phương thức sv_select() ở lớp CTHD_DAL (tầng DAL) ...
using System; using System.Data; using System.Collections.Generic; using System.Text; using Npgsql; using NpgsqlTypes; using CGCN.Framework; using CGCN.DataAccess; namespace QTHT.DataAccess { /// <summary> /// Mô tả thông tin cho bảng log /// Cung cấp các hàm xử lý, thao tác với bảng log /// Người ...
using System; namespace TypicalInterviewQuestions { //Write a function to print nth number in Fibonacci series? public class FibonacciPrint { public int PrintNthElementInSequence(int nthElement) { if (nthElement < 0) throw new ArgumentException("Fibonacci Element must be a posi...
namespace E13_CheckABitAtGivenPosition { using System; public class CheckABitAtGivenPosition { public static void Main(string[] args) { // Write a Boolean expression that returns if the bit at // position p (counting from 0, starting from the right) in ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum BoundsTest { // Center of the screen center, // On Screen onScreen, // Off Screen offScreen } public class Utilities : MonoBehaviour { //============================= Bounds Functions =============...
using Particles.Engine.Controls; 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.Media.Animation; namespace Particles.Engine.Emitters { public abstract class Emitter : Cont...
using Moq; using MvcTurbine.GoogleSiteMap.Models; using MvcTurbine.GoogleSiteMap.Serialization; using NUnit.Framework; using Should; namespace MvcTurbine.GoogleSiteMap.Tests.Serialization { [TestFixture] public class GoogleUrlSetSerializerTests { [Test] public void Result_shoul...
using System; using System.Runtime.InteropServices; namespace OverCR.StatX.Hooks.WinAPI { class Kernel32 { [DllImport("kernel32.dll")] internal static extern IntPtr GetModuleHandle(string moduleName); } }
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // // ReSharper disable once CheckNamespace using System; using System.Web.UI; using DotNetNuke.Entities.Users; using DotNetNuke.Web.Client; using DotNetNuke...
namespace TipsAndTricksLibrary.Tests.Extensions { using System.Collections.Generic; using JetBrains.Annotations; using TipsAndTricksLibrary.Extensions; using Xunit; public class ArrayExtensionsTests { [UsedImplicitly] public static IEnumerable<object[]> UpperBoundTestsData; ...
using System.Security.Cryptography; using Microsoft.Extensions.DependencyInjection; using Services; namespace ConsoleApp { class Program { static void Main(string[] args) { var services = new ServiceCollection(); RegisterServices(services); var serviceProvider = service...
using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; public class FlashText : MonoBehaviour { TextMeshProUGUI text; private void Awake() { text = GetComponent<TextMeshProUGUI>(); StartCoroutine(TextFlash()); } private IEnumerator TextFlash()...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class UIController : MonoBehaviour { [SerializeField] private GameObject killButton = null; [SerializeField] private GameObject makeBestButton = null; [SerializeField] private GameObject selectedAgentIcon =...
using UnityEngine; using System.Collections; public class DropMovement : MonoBehaviour{ ParticleSystem drops; ParticleSystem.Particle[] particles; //ParticleSystem.VelocityOverLifetimeModule velocity; //ParticleSystem.ForceOverLifetimeModule force; //public Transform receiver; void Awake(){ drops = GetCompon...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AsyncDelegates { public enum ExamplesEnumeration { AsyncAction, EndInvoke, FuncAsync, WaitForAsync, IsComplited, } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XmlCitac.Class { public class Osobe { public string email { get; set; } public string prezimeime { get; set; } public string adresa { get; set; } public...
using System; using Server.Items; namespace Server.Items { public class CosmicOil : Item, ICommodity { int ICommodity.DescriptionNumber { get { return LabelNumber; } } bool ICommodity.IsDeedable { get { return true; } } [Constructable] public CosmicOil() : this( 1 ) { } [Constructable]...
using System; using UIKit; using CoreImage; using CoreGraphics; using System.Drawing; using Ts.Core.iOS; namespace Ts.Core.Utilities { public static class BlurViewUtil { private static float _blurRadius = 5f; public static UIImage _imgBlur1; public static UIImage _imgBlur2; public static float BlurRadius { ...
using innovation4austria.dataaccess; using log4net; using System; using System.Data; using System.Diagnostics; using System.Linq; namespace innovation4austria.logic { public class RollenVerwaltung { private static readonly ILog log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMetho...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="HttpNotFoundException.cs" company=""> // // </copyright> // <summary> // The http not found exception. // </summary> // ------------------------------------------------------...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UIKit; using Xamarin.Forms; namespace OMIKAS { public partial class MainForm : ContentPage { /// <summary> /// Konstruktor klasy, tworzy okno z użytkownikiem oraz iloscia jego danych ...
using System; using System.Globalization; using Xamarin.Forms; namespace Workout.Converters { /// <summary> /// Class that converts bpm values which are lower than or equal to 0 to "--" string. /// </summary> public class BpmValueConverter : IValueConverter { #region methods /// <...
using System; using System.ComponentModel; using System.Drawing; using System.IO; using System.Management; using System.Net; using System.Windows.Forms; namespace Image_RGB { // Token: 0x02000003 RID: 3 public partial class Form2 : Form { // Token: 0x06000002 RID: 2 RVA: 0x000020DC File Offset: 0x00...
using System; using System.Collections.Generic; namespace OmniSharp.Extensions.JsonRpc { public interface IHandlersManager { IDisposable Add(IJsonRpcHandler handler, JsonRpcHandlerOptions? options = null); IDisposable Add(string method, IJsonRpcHandler handler, JsonRpcHandlerOptions? options = ...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Game { /// <summary> /// Used as a container to hold the board tile and shogi piece GameObjects /// </summary> public class BoardTile { /** * Data members for tile and piece and the Member p...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace QuickCollab.Models { public class SessionRegistration { public string SessionId { get; set; } public string Password { get; set; } } }
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Boarding.cs" company="CGI"> // Copyright (c) CGI. All rights reserved. // </copyright> // ---------------------------------------------------------------------------------------...
using System.Linq; namespace CS.Data { public static class CategoryFilter { public static IQueryable<Category> WithCategoryId (this IQueryable<Category> qry, int id) { return qry.Where(c => c.CategoryId == id); } public static IQueryable<Category> WithC...
using System; namespace AgentStoryComponents { public static class config { // LOCAL - DEV public static string db = "AgentStoryEvolution"; public static string dbUser = "AgentStorydbo"; public static string dbPwd = "jy1met2"; public static string dbIP = "127...
using System; using System.Text.RegularExpressions; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CTDLGT.Stack___Queue { public class StackNode<T> { class Node { // Định nghĩa phần tử của danh sách là No...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CanvasController : MonoBehaviour { public List<GameObject> UIitems; void OnEnable(){ foreach(GameObject item in UIitems){ item.SetActive(true); } } void OnDisable(){ foreach(GameObject item in UIitems){ item...
using System; using System.Runtime.Caching; namespace Yeasca.Metier { public static class CacheUtilisateur { private const string _cléSessions = Sessions<SessionUtilisateur>.INDEX_SESSION_CACHE; public static void initialiserLeCacheUtilisateur() { if (!MemoryCache.Default....
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace quadratic_eqn { class Program { static void Main(string[] args) { double a; double b; double c; ...