text
stringlengths
13
6.01M
using System; using System.IO; namespace Grisaia.Asmodean { /// <summary> /// A special type of stream used to keep track of the last-opened KIFINT archive. /// </summary> public sealed class KifintStream : IDisposable { #region Fields /// <summary> /// Getts the KIFINT archive for the currently open str...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class NewBehaviourScript : MonoBehaviour { public GameObject g1,g2,g3; // Use this for initialization void Start () { g1.SetActive(true); g2.SetActive(false); g3.SetActive(false); } ...
using System; namespace Shelly_Server { class InputOutput { public static void IO(string UserIO) { string Command = UserIO.ToLower(); string CommandPS = Command + " "; // Turn to lower case and handle it switch (Command) ...
using UnityEngine; using System.Collections; using UnityEngine.UI; public class PlayerMovement : MonoBehaviour, KinectGestures.GestureListenerInterface { public float n = 300f; public static bool RunDet = false; public float RunSpeed = 6.0F; static public bool RunAnimFlag = true; private bool Move...
using HooliServices.BuildingBlocks.EventBus.Events; namespace SimpleService.IntegrationEvents.Events { public class BookAddedIntegrationEvent : IntegrationEvent { public int BookId { get; set; } public string Author { get; set; } public string Title { get; set; } publi...
using System; namespace console_game { public enum UserDirections { North, West, East, South } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using System.Data.SqlClient; using System.Configuration; namespace Scan_01 { public static partial class SqlHelper { public readonly static string connStr = Configura...
using System; namespace Aliencube.ConfigurationValueConverter.Configs { /// <summary> /// This specifies the product types. /// </summary> [Flags] public enum ProductTypes { /// <summary> /// Identifies none. /// </summary> None = 0, /// <summary> ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using MvvmTest.xml; namespace MvvmTest { public partial class MvvM_Demo : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { ...
using System; using System.Drawing; using System.Windows.Forms; namespace OpticalCharacterRecognition { public partial class OpticalCharacterRecognition : Form { public OpticalCharacterRecognition() { InitializeComponent(); } private void Form1_Load(ob...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace AdminSchool.Models { public class Sport { public int Id { get; set; } [Required(ErrorMessage ="Please insert again")] [StringLength(50)] p...
using System; using MessagePack; using MessagePack.Resolvers; namespace Share { public static class PackedMessage { [UnityEngine.RuntimeInitializeOnLoadMethod] private static void Register() { StaticCompositeResolver.Instance.Register( MessagePack.Resolvers.G...
using UnityEngine; using System.Collections; //this script manages various game events, setting ships speeds for timing of runs mainly public class GameManager : MonoBehaviour { public GameObject Sador; public GameObject Nell; public GameObject Gelt; public GameObject Cowboy; public GameObject Valkyr; public Gam...
using Discovery.Client.DiscovererHomePage.DataBaseService; using Discovery.Core.Constants; using Discovery.Core.GlobalData; using Discovery.Core.Model; using Microsoft.Win32; using Prism.Commands; using Prism.Mvvm; using Prism.Regions; using System; using System.IO; namespace Discovery.Client.DiscovererHomePage.ViewM...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerBullet : MonoBehaviour { Vector3 dir = Vector3.right;//총알이 날아갈 방향값 string targetTag = "Enemy";//총알이 충돌할 대상 void Start() { Destroy(this.gameObject, 5.0f);//총알이 발사 됐을 때 5초 후 총알을 삭제한다 } void ...
namespace RoboFun { using System; using System.Collections.Generic; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using System.Windows.Shapes; using System.Windows.Threading; /// <summary> /// Interaction logic for MainWindow.xaml /// </summar...
using Ghost.Extensions; using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering; namespace RO { [CustomLuaClass] public class RolePart : MonoBehaviour { [CustomLuaClass] public enum BlendMode { Opaque, Transparent } public Transform[] eps; public Transform[...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Bitcoin.BitcoinUtilities; using Bitcoin.Blox.Network; namespace Bitcoin.Blox.Protocol_Messages { public class GetAddresses : Message { public GetAddresses(P2PNetworkParameters netParams) : bas...
using System.Diagnostics; using System; namespace GameOfLife { class Program { static void Main(string[] args) { Stopwatch stopwatch = new Stopwatch(); GameOfLife gol = new GameOfLife(1000); stopwatch.Start(); gol.Run(100); stopwatch...
using System; using System.Collections.Generic; namespace Lib { public partial class Pet { /// <summary> /// Explicit Impementation of Interface /// </summary> /// <returns></returns> string IPet.GetDetails(){ return $" Pet ID:{id}\n Pet name:{name}\...
using RavenExample.Infrastructure.Entities; namespace RavenExample.Animals { public class Animal : Entity { public Animal(string name, string kind) { Name = name; Kind = kind; } public string Name { get; } public string Kind { get; } } }
using MKModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; namespace MKViewModel { public interface IMageKnightGenerator { IMageKnightModel SelectedMageKnight {get;set;} MageData Mage { get; set...
using MahApps.Metro.Controls; using System.Windows; using System.Windows.Controls; namespace MultiCommentCollector.Helper { public static class TabControlHelper { /// <summary> /// 子ウィンドウのヘッダーサイズを設定 /// </summary> public static void SetHeaderFontSize(DependencyObject element, d...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using System; using System.Text.RegularExpressions; using System.Web; using DotNetNuke.Common; namespace DotNetNuke.HttpModules.Services { public cla...
// Copyright (c) Daniel Crenna & Contributors. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using ActiveLogging; using Microsoft.Extensions.DependencyInjection; namespace ActiveApi { partial class Add { public static IService...
using System; using Android.Bluetooth; using RocketLauncher.Bluetooth.LE; namespace RocketLauncher.Droid.Bluetooth.LE { public class GattCallback : BluetoothGattCallback { public event EventHandler<DeviceConnectionEventArgs> DeviceConnected = delegate {}; public event EventHandler<DeviceConnectionEventArgs> Dev...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microso...
using Plus.HabboHotel.Items; namespace Plus.Communication.Packets.Outgoing.Rooms.Engine { internal class ItemRemoveComposer : MessageComposer { public int ItemId { get; } public int UserId { get; } public ItemRemoveComposer(Item item, int userId) : base(ServerPac...
using System; namespace Emanate.Service.Admin { public partial class ServiceAdminView { private readonly ServiceAdminViewModel viewModel; public ServiceAdminView() { DataContext = viewModel = new ServiceAdminViewModel(); Initialized += ViewInitialize...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace FiveInARowApp.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } public ActionResult About() ...
using SQLite; namespace OPAM.Model { public class Area { /// <summary> /// Default Constructor /// </summary> public Area() { } #region Properties /// <summary> /// To Set the Area Id /// </summary> [PrimaryKey] ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class SDTUIController : Singleton<SDTUIController> { public Canvas MainMenuCanvas; public Canvas InGameCanvas; public List<CanvasGroup> ActiveCanvases; private bool locked; void Awake() ...
using System; namespace Exercise_1 { class Program { static void Main(string[] args) { double USDPLN = 3.11; double EURPLN = 4.18; double GBPPLN = 5.01; double amount; string currency; Console.Write("How much money do yo...
using Model.Custom; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.UI.WebControls; namespace UiCommon { /// <summary> /// Collector usług /// </summary> public class DataController { //public DataControll...
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Windows.Forms; using METIER; using DAO; using System.Text.RegularExpressions; namespace WF { public partial class FLesLapins : Form { private int idGerant; private Gerant lEntraineur; pri...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProBikeSS16 { abstract class PEK { protected char prefix; int quantity = 0; uint id; double price = 0; double stockvalue = 0; public c...
namespace Switch.Packets { using System.Windows.Media; using Identity; public class Packet { private static int packetCounter = 0; public Packet() : this(Brushes.LightBlue, 7, string.Format("{0} {1}", Properties.Resources.Frame, packetCounter)) { packe...
using System; using System.Collections.Generic; using System.Text; namespace GuessNumber { public class ConsoleUserInterface { public void Initialize() { Console.WriteLine("============ Welcome to SecretNumberGame ==============="); } public int ReadANumber() ...
namespace QualityMethods { using System; public class Student { public string FirstName { get; set; } public string LastName { get; set; } public string City { get; set; } public string BornDate { get; set; } public bool IsOlderThan(string bornDate) { ...
using Newtonsoft.Json; using System; using System.Collections.Generic; namespace WebsiteBanHang.Models { public class UserInfo { public UserInfo() { Address = new HashSet<Address>(); Orders = new HashSet<Orders>(); EvaluationQuestions = new HashSet<Evaluatio...
namespace Standard { using System; internal enum WINDOWTHEMEATTRIBUTETYPE : uint { WTA_NONCLIENT = 1 } }
using System; using System.ComponentModel; using System.Windows; using System.Windows.Input; using System.Windows.Markup; using System.Windows.Media; namespace GetLogsClient.Commands { public abstract class CommandBase<T> : MarkupExtension, ICommand where T : class, ICommand, new() { privat...
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FinalliziedProject { class ColorGenerate { private Random rnd = new Random(); public Color generateColor() { ...
using Objects.Geometry; using Speckle.Core.Kits; using Speckle.Core.Models; using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; namespace Objects.BuiltElements { public class Room : Base, IHasArea, IHasVolume, IDisplayMesh { public string name { get; set; } publ...
using System.Collections.Generic; using System.Web; using ShCore.Extensions; using System; namespace ShCore.Web.WebBase { /// <summary> /// Message được dùng để truyền tải nội dung xuống client /// </summary> public class ResponseMessage { private string javaScript = string.Empty; /...
using System; using System.Collections.Generic; using System.Text; namespace SharedCode.Utils { public class SubnauticaItemUtils { } }
namespace Triton.Common.Math { using System; using System.Globalization; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)] public struct Vector2 : IEquatable<Vector2> { public float X; public float Y; ...
using Reception.Contracts.Common; using System; namespace Reception.Contracts.Reception { ///<summary> /// Модель элемента заказа запчастей. /// </summary> public class PartOrderItemDto { ///<summary> /// Идентификатор запчасти. /// </summary> public int Id { get;...
using System; namespace SolucaoSemOrientacaoObj { class Program { static void Main(string[] args) { double a1, b1, c1; double a2, b2, c2; double p1, p2; double area1, area2; Console.WriteLine("Entre com as medidas do triângulo X:"); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNet.Identity; namespace Library.Domain.Infrastructure { public class CustomPasswordValidator : PasswordValidator { public override async Task<IdentityResult...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace DriveMgr.WebUI.admin.StudentsMgr { /// <summary> /// bg_archivesHandler 的摘要说明 /// </summary> public class bg_archivesHandler : IHttpHandler { public void ProcessRequest(HttpContext context) ...
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace iCopy.SERVICES.IServices { public interface IAuthService<TInsert, TUpdate, TResult, TSearch, TKey> { Task<TResult> InsertAsync(TInsert entity); Task<TResult> UpdateAsync(TKey id, TUpdate entity); Ta...
using Logs.Web.Models.Account; using NUnit.Framework; namespace Logs.Web.Tests.ViewModelsTests.Account.RegisterViewModelTests { [TestFixture] public class PropertiesTests { [TestCase("fancy-stron-password-1234")] [TestCase("password")] public void TestConfirmPassword_ShouldSetCorre...
using System; using System.Diagnostics; using System.Text; using System.IO; namespace StringPermutation { class MainClass { public static int Main (string[] args) { if (args == null || args.Length == 0) { Console.WriteLine("args is null"); // Check for null array } else { if (args.Length > 1...
using Enrollment.Spa.Flow.Requests; namespace Enrollment.Spa.Flow.Dialogs { public interface IDialogHandler { void Complete(IFlowManager flowManager, RequestBase request); } }
namespace Builder { internal interface ICarroceria { string MostrarCaracteristicas(); } internal class CarroceriaBasica : ICarroceria { public string MostrarCaracteristicas() { return "Carroceria de metal"; } } internal class CarroceriaEspecial ...
using System; using System.Collections.Generic; using System.Text; namespace Peppy.Mapper { public static class MapperExtendsions { /// <summary> /// 映射到 /// </summary> /// <typeparam name="TSource"></typeparam> /// <typeparam name="TTarget"></typeparam> /// <pa...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class GameController14 : MonoBehaviour { public Text Txt_mecanica; public Text Txt_instruccion; public Text Txt_resultado; public GameObject Tiempo; publi...
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using Tcgv.QuantumSim.Operations; using Tcgv.QuantumSim.Utility; namespace Tcgv.QuantumSim.Data { public class Qstate { Qstate() { posMap = new Dictionary<int, int>(); } publi...
namespace Triton.Game.Mapping { using System; public enum TAG_CARDTYPE { INVALID, GAME, PLAYER, HERO, MINION, SPELL, ENCHANTMENT, WEAPON, ITEM, TOKEN, HERO_POWER } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Dash : Card { // Start is called before the first frame update public override void setCardActive(GameObject myPlayer) { myPlayer.GetComponent<PlayerMove>().canDash = true; isActive = true; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Cubecraft.Net.Protocol.IO; namespace Cubecraft.Net.Protocol.Packets { class ServerUnloadChunkPacket : CubePacket { public int x { get; private set; } public int z { get; pr...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace cataloguehetm.ViewModels { public class PanierViewModel { public List<ArticlePanier> articleP { get; set; } } }
using UnityEngine; using UnityEditor; using NUnit.Framework; using System; public class RoomControllerTests { RoomController testRoomcontroller; [TestFixtureSetUp] public void testSetup(){ testRoomcontroller = new RoomController(); } [Test] public void RoomControllerTest() { try { testRoomcontroller.ca...
namespace Contoso.Parameters.Expressions { public class LessThanBinaryOperatorParameters : BinaryOperatorParameters { public LessThanBinaryOperatorParameters() { } public LessThanBinaryOperatorParameters(IExpressionParameter left, IExpressionParameter right) : base(left, right) { } } }
using Model.Locale; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Model.Schema.TurnKey.D0401 { public static class D0401Extensions { } public partial class DetailsProductItem { public String DataNumber; } ...
using Ninject.Modules; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Webcorp.reactive { public class ReactiveModule : NinjectModule { public override void Load() { Bind<ILoggerFormatter>().To<LoggerFor...
using FluentNHibernate.Mapping; using GW2.Server.Worker.Data.Entities; namespace GW2.Server.Worker.Data.Mappings { public abstract class GwEntityMapper<TEntity> : ClassMap<TEntity> where TEntity:GwEntity { protected GwEntityMapper() { Id(I => I.Id).GeneratedBy.Native(); } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FightingRobot : MonoBehaviour { private AttackingSubject attackingSubject; private PowerSubject powerSubject; private float speed = 1.5f; private float bouncingDistance = 0.5f; private float bouncingDistanceMultiplier = ...
using System; using System.Collections.Generic; namespace NetworkToolkit.Connections { /// <summary> /// A collection of connection properties. /// </summary> public sealed class ConnectionProperties : IConnectionProperties { private readonly Dictionary<Type, object?> _values = new(); ...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel; using System.ServiceModel.Channels; using System.ServiceModel.Dispatcher; using System.Text; using System.Threading.Tasks; namespace WCFConsoleRest { class MessageHandler : IDispatchMessageInspector { ...
using System; using GaleService.DomainLayer.Managers.Models; namespace GaleService.Controllers.ResourceModels { public sealed class ClientResponseResource { public string TimeStamp => DateTime.Now.ToString(); public string StatusCode { get; set; } public string StatusMessage { get; set...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; using Ornithology.Entity; using Ornithology.Data; using Ornithology.Domain; namespace Ornithology.Services { public class PaisServices : IPaisServices { pr...
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/. // VisualNovelToolkit /_/_/_/_/_/_/_/_/_/. // Copyright ©2013 - Sol-tribe. /_/_/_/_/_/_/_/_/_/. //_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/. using UnityEngine; using UnityEditor; using System.Collections; using ViNoToolkit; public class ViNoToolbar...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc.Filters; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using Stripe.Issuing; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using Microsoft.AspN...
using System; using Server; using Server.Items; using Server.Mobiles; namespace Server.Engines.Quests.TheGraveDigger { public class TheGraveDiggerQuest : QuestSystem { private static Type[] m_TypeReferenceTable = new Type[] { typeof( TheGraveDigger.DontOfferConversation ), typeof( TheGraveDi...
using System; using Sample.Domain.Shared; namespace Sample.Domain.V3 { public class Customer { public Guid Id { get; private set; } public FullName Name { get; private set; } public Email Email { get; private set; } public string Phone { get; private set; } public Credi...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace MyCore { //Monobehaviour용 싱글톤 public class MonobehaviourSingleton<T> : MonoBehaviour where T : MonoBehaviour { static T _instance; public static T instance { get { ...
using System.Text.Json.Serialization; using PlatformRacing3.Server.Game.Client; using PlatformRacing3.Server.Game.Communication.Messages.Incoming.Json; namespace PlatformRacing3.Server.Game.Communication.Messages.Outgoing.Json; internal sealed class JsonUserListOutgoingMessage : JsonPacket { private protected overr...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using System.IO; namespace DotNetNuke.Services.FileSystem.Internal { /// <summary> /// Internal class to check file security. /// </summary> ...
using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; namespace EnumComparedByEqualsAnalyzer { [DiagnosticAnalyzer(LanguageNames.CSharp)] public class EnumCo...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System.Threading; using System.Threading.Tasks; using OmniSharp.Extensions.DebugAdapter.Protocol.Models; using OmniSharp.Extensions.DebugAdapter.Protocol.R...
using Requestrr.WebApi.RequestrrBot.DownloadClients.Ombi; using Requestrr.WebApi.RequestrrBot.DownloadClients.Overseerr; using Requestrr.WebApi.RequestrrBot.DownloadClients.Radarr; using Requestrr.WebApi.RequestrrBot.DownloadClients.Sonarr; namespace Requestrr.WebApi.config { public class DownloadClientsSettings ...
using IdentityProvider.Security; using IdentityProvider.Services; using IdentityServer3.Core.Configuration; using IdentityServer3.Core.Services; using Microsoft.Owin; using Owin; [assembly: OwinStartup(typeof(IdentityProvider.Startup))] namespace IdentityProvider { public class Startup { public voi...
namespace Peppy.RabbitMQ { public class PeppyRabbitMQOptions { /// <summary> /// RabbitMQ connection host /// </summary> public string HostName { get; set; } /// <summary> /// RabbitMQ connection port /// </summary> public int Port { get; set; } ...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // #region Usings using DotNetNuke.Common.Lists; using DotNetNuke.Framework; using DotNetNuke.Services.Installer.Packages; #endregion namespace DotNetNuke...
using UnityEngine; using UnityEditor; using HutongGames.PlayMaker.Actions; using HutongGames.PlayMakerEditor; namespace PixelCrushers.DialogueSystem.PlayMaker { [CustomActionEditor(typeof(RunLua))] public class CustomActionEditorRunLua : CustomActionEditor { private LuaScriptWizard luaWizard = null; public ov...
using System.Collections.Generic; namespace SpaceEngineersCalculator.Models { class Ore { public string Name { get; private set; } public List<Refinery> Refineries { get; private set; } public Ore(string name) { this.Name = name; } public void Add...
using System.Threading.Tasks; using Meziantou.Analyzer.Rules; using TestHelper; using Xunit; namespace Meziantou.Analyzer.Test.Rules; public sealed class OptimizeStartsWithAnalyzerTests { private static ProjectBuilder CreateProjectBuilder() { return new ProjectBuilder() .WithAnalyzer<Opti...
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows.Media; using System.Windows.Media.Imaging; namesp...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using PowerString.Data; namespace PowerString.UnitTest { [TestClass] public class UnitTest1 { /*[TestMethod] public void UpdateTest() { Tester tester = new Tester(); tester.TesterId = 4; ...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; using TestTask.Core; namespace TestTask.Infrastructure { public class DatabaseContext : DbContext { public DbSet<User> Users { get; set; } public DbSet<...
using System; using System.Data; using System.Collections.Generic; using System.Text; using CGCN.Framework; using Npgsql; using NpgsqlTypes; using CGCN.DataAccess; namespace PhieuNhapKho.DataAccess { /// <summary> /// Mô tả thông tin cho bảng tblphieunhapkho /// Cung cấp các hàm xử lý, thao tác với bảng tb...
using PDV.DAO.DB.Controller; using System; using System.Data; namespace PDV.CONTROLER.FuncoesRelatorios { public class FuncoesFluxoCaixa { public static DataTable GetDados_FluxoCaixa(decimal IDUsuario, decimal IDFluxoCaixa) { using (SQLQuery oSQL = new SQLQuery()) { ...
using UnityEngine; public class TrajectoryRender : MonoBehaviour { private LineRenderer LineRenderer; void Start() { LineRenderer = GetComponent<LineRenderer>(); } public void ShowTrajectory(Vector2 origin, Vector2 endPoint) { LineRenderer.SetPosition(0, origin); ...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; using System.Web.Mvc; using Web_Site.Classes; using Web_Site.Models; namespace Web_Site.Controllers { public class HomeController : Controller { private ApplicationDbContext db = new Applicat...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FibingerBrankoStambeniObjekt { class StambeniControll { public StambeniObjekt kreirajStambeniObjekt(double duzina, double sirina, double visina, int brojK...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class PlayerCustomPropertiesCleaner : MonoBehaviour { [SerializeField] bool cleanOnAwake; [SerializeField] bool cleanOnDestroy; void Awake () { if ( cleanOnAwake ) ClearProperties(); } vo...
using System; using System.Collections.Generic; using System.Text; namespace QuestomAssets.AssetsChanger { public class BundleMap : Map<string, AssetInfo> { public BundleMap(AssetsFile assetsFile, AssetsObject owner, AssetsReader reader) { Parse(assetsFile, owner, reader); ...
using HotChocolate.AspNetCore.Authorization; using HotChocolate.Types; namespace ServiceDesk.Api.Queries { [ExtendObjectType(Name = "Queries")] public class TestQueries { public string TestQuery() { return "Test response"; } [Authorize] public s...