text
stringlengths
13
6.01M
using System.Diagnostics; using Xunit; namespace Nabbix.Tests { public class WindowsPerformanceCountersTests { [Fact] public void MethodName_StateUnderTest_ExpectedBehavior() { PerformanceCounter counterA = WindowsPerformanceCounters.ParseCounter( @"perf_cou...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using BUS; using DevExpress.XtraEditors; using DAL; using DevExpress.Mvvm.Native; namespace GUI { pu...
using UnityEngine; namespace UnityUIPlayables { public class CanvasGroupAnimationMixer : AnimationMixer<CanvasGroup, CanvasGroupAnimationBehaviour> { private readonly CanvasGroupAlphaMixer _alphaMixer = new CanvasGroupAlphaMixer(); public override void SetupFrame(CanvasGroup binding) {...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace MyCore { public class PanelHUD : UIBase { List<HUD> m_hudList = new List<HUD>(); GameObject m_prefabHUD; protected override void Start() { base.Start(); GameEvent...
using TMPro; using UnityEngine; public class UIManager_Game : UIManager { [Header("Components")] [SerializeField] private Animator pauseBtn = null; [SerializeField] private TextMeshProUGUI textLevelNum = null; [SerializeField] private GameObject textLastLevel = null; private void Awake...
using System.Collections.Generic; using BitcoinLib.RPC.RequestResponse; using Newtonsoft.Json; namespace blocknet_xrouter.Controllers.ViewModels { public class SpvCommandViewModel:BaseXRouterServiceViewModel { public string Command { get; set; } } }
using DEMO_DDD.DOMAIN.Entidades; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace DEMO_DDD.DOMAIN.Interfaces.Services { public interface IClienteService : IServiceBase<Cliente> { IEnumerable<Cliente> ObterClientesEspeciais(IEnumerable<Cliente> c...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel; using SQLite; using SQLitePCL; using Xamarin.Forms; using Xamarin.Forms.Xaml; using Test2project; using Test2project.Data; namespace Test2project.profile { [XamlCompila...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Web; namespace HttpRequestClient { public class HttpRequestClient { public void HttpSendMessage() { ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.EntityFrameworkCore.TestModels.TransportationModel; using Microsoft.EntityFrameworkCore.TestUtilities; using Xunit.Abstractions; namesp...
using service_practice.Models; using System.Collections.Generic; using System; using service_practice.Repositories; using Microsoft.AspNetCore.Http; using System.Threading.Tasks; namespace service_practice.Services { public class PostsService { private readonly PostRepository _repo; public PostsService(Po...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class PlayerController : MonoBehaviour { public float speed; public float jumpForce; public Transform feet; Collider2D groundCheckColi; int jumpCount = 1; float horizontal; int flipX ...
using UnityEngine; [RequireComponent(typeof(Camera))] public class CameraColorBehaviour : MonoBehaviour { [SerializeField] public Frequency frequency; private Camera _camera = null; private Color _color = new Color(0.5f, 0.5f, 0.5f, 1f); public void Start() { _camera = GetComponent<Came...
using BookStore.BLL; using BookStore.Model; using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows...
using UnityEngine; using System; public class ScoreKeeper : MonoBehaviour { private GUIStyle style; private int perfects = 0; private int goods = 0; private int misses = 0; private int currCombo = 0; private int bestCombo = 0; private int currBonus = 0; private bool isBonus = false; void Start() { sty...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO; namespace WindowsFormsApplication1 { public partial class Form3 : Form { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Webshop.Models; namespace Webshop.Controllers { public class HomeController : Controller { public ActionResult Index() { Products products = (Products)HttpContext.Applic...
// ----------------------------------------------------------------------- // Copyright (c) David Kean. All rights reserved. // ----------------------------------------------------------------------- extern alias pcl; using System.Security.Cryptography; using System.Security.Cryptography.Adaptation; using Microsoft.Vi...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using E_Learning.Data; using E_Learning.Models; using Microsoft.EntityFrameworkCore.Metadata.Internal; namespa...
using System; using System.Collections.Generic; using System.Text; using Prism.Mvvm; namespace Discovery.Core.Model { /// <summary> /// 表示用户的联系方式 /// </summary> public class ContactInfo : BindableBase { /// <summary> /// 邮箱 /// </summary> private string _email = Str...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; using System.Collections; using System.Windows.Forms; using NUnit.Framework; using NUnit.Util; using NUnit.Util.ArxNet; using NUnit.UiKit; using NUnit.UiKit.ArxNet; using Com.Utility.UnitTest;...
using Beamore.DAL.Contents.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Linq.Expressions; using Beamore.DAL.Contents; using System.Data.Entity; namespace Beamore.DAL.Repositories { public class EventSubcriberRepo : IReposi...
using UnityEngine; using System.Collections; public class Logo : MonoBehaviour { GUITexture logo; float speed = 0.5f; Color c; bool direct; void Start () { logo = GetComponent<GUITexture>(); direct = false; c = logo.color; c.a = 0.0f; logo.color = c; } void Update () { if (direct) { c =...
using FluentScheduler; using Ninject; namespace Payment.Service.Ninject { public class JobFactory : IJobFactory { private IKernel Kernel { get; } public JobFactory(IKernel kernel) { Kernel = kernel; } public IJob GetJobInstance<T>() where T : IJob ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SmallHouseManagerModel { public class BaseInfoModel { /// <summary> /// 编号 /// </summary> public int ID { get; set; } /// <summary> /// 小区名 ///...
namespace Triton.Game.Mapping { using ns26; using System; using Triton.Game; using Triton.Game.Mono; [Attribute38("RewardUtils")] public class RewardUtils : MonoClass { public RewardUtils(IntPtr address) : this(address, "RewardUtils") { } public RewardUtils...
using LuaInterface; using System.Text; using UnityEngine; public class AccessingLuaVariables : MonoBehaviour { private string script = @" luanet.load_assembly( 'Assembly-CSharp' ) Type = luanet.import_type( 'System.Type' ) luanet.load_assembly('UnityEngine') GameObject = luanet.import_type( 'UnityEngine.Gam...
//------------------------------------------------------------------------------ // The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License. // You may obtain a copy of the License at http://www.nopCommerce.com/Lic...
using FindRemoveSensitiveData.Helpers; using System; using FindRemoveSensitiveData.Models; using System.Linq; using System.Threading.Tasks; namespace FindRemoveSensitiveData { class Program { static async Task Main(string[] args) { var answers = await JsonHelper.ReadFileAsync<Answe...
using System; using System.Threading; using System.Threading.Tasks; namespace TaskTest.CancelationToken { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); //SimpleCancellationToken(); SimpleCancellationTokenTimeElapse(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Entidades { /// <summary> /// La clase Persona no deberá permitir que se instancien elementos de este tipo. /// </summary> public abstract class Persona { private s...
//------------------------------------------------------------------- //版权所有:版权所有(C) 2010,Wakaoyun //系统名称: //作 者:dengqibin //邮箱地址:wakaoyun@gmail.com //创建日期:9/8/2010 11:26:52 AM //功能说明:数据库访问基类 //------------------------------------------------------------------- //修改 人: //修改时间: //修改内容: //-----------------...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; 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.Medi...
using Microsoft.VisualBasic; using System; using System.Windows.Forms; namespace TNBase { public class PrintPreviewDialogSelectPrinter : PrintPreviewDialog { private Timer focusTimer; private System.ComponentModel.IContainer components; private void myPrintPreview_Shown(object sender, ...
using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading.Tasks; using System.Windows; namespace WpfReduxSample.Reduxed { public interface IActionDispatcher { void Dispatch(object action); } public sealed class NullDispatcher : IActionDispatcher { ...
namespace SGDE.DataEFCoreMySQL.Repositories { #region Using using Domain.Entities; using Microsoft.EntityFrameworkCore; using SGDE.Domain.Repositories; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; #end...
using System; using System.Diagnostics; using Android.App; using Android.Util; namespace MCCForms.Droid { public enum DeviceType { Phone, Tablet} public class DeviceTypeHelper { public static DeviceType GetDeviceType() { DisplayMetrics displayMetrics = Application.Context.Resources.DisplayMetrics; dou...
using DomainModels.Layer; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace StoredVehicles.Controllers { public class VozilaController : Controller { [HttpGet] [Route("api/vozila")] public ActionResult GetV...
using Logging.Core.DataAccess; using Logging.DataAccess.Abstract; using Logging.DataAccess.Concrete.Context; using Logging.Entities; using System; using System.Collections.Generic; using System.Text; namespace Logging.DataAccess.Concrete { public class CourseExamDal : EntityRepositoryBase<CourseExam, OnlineExamin...
using MessageBoardBackend.Models; using MessageBoardBackend.MyModels; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MessageBoardBackend { public class ApiContext:DbContext { public static string CON...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Pacu : MonoBehaviour { public GameObject[] sounds = new GameObject[2]; public GameObject[] explosions = new GameObject[2]; public GameObject enemyBullet; public int health = 50; // Bullet spawn point ...
namespace Enrollment.Data.Entities { public class Admissions : BaseDataClass { #region Properties public int UserId { get; set; } public virtual User User { get; set; } public string EnteringStatus { get; set; } public string EnrollmentTerm { get; set; } publ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CommonLetterCounter { public class CommonLetterCalculator { public static int CommonLetterCount(string word1, string word2) { int counter = 0; D...
using YouTubePlaylistsSystem.Data.Models; namespace YouTubePlaylistsSystem.Data.Services { public interface IUsersServices { User GetById(int id); User GetCurrentUser(string name); } }
namespace TLF.Framework.Config { /////////////////////////////////////////////////////////////////////////////////////////////// // Database Type and Database Setting /////////////////////////////////////////////////////////////////////////////////////////////// #region :: DatabaseType :: 데이터베이스 타입 ...
using Newtonsoft.Json; using System.Collections.Generic; using System.ComponentModel; using System.IO; namespace OverCR.StatX.Config { public class Settings { private bool IsWritingSettings { get; set; } private Queue<PendingWriteInfo> PendingUpdates { get; } private string FileName {...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO.Ports; using System.Threading; using System.IO; namespace WindowsFormsApplication1 { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Sbidu.Models { public class UserAuctionProduct { public int Id { get; set; } public int? Bid { get; set; } public bool IsFavorit { get; set; } public DateTime AddDate { ge...
using Logs.Services.Contracts; using Logs.Web.Areas.Users.Controllers; using Logs.Web.Infrastructure.Factories; using Moq; using NUnit.Framework; using System; namespace Logs.Web.Tests.Controllers.Users.NutritionControllerTests { [TestFixture] public class ConstructorTests { [Test] public ...
using NameSearch.Repository.Interfaces; namespace NameSearch.Repository.Tests.Mocks { /// <summary> /// Loads Database with Initialization Data for Unit Tests /// </summary> public static class InitialDataBuilder { /// <summary> /// Builds this instance. /// </summary> ...
namespace ETModel { public class UserGateActorIdComponent : Component { public long ActorId { get; set; } } }
using System; using MilkBot.Core.Logging.Formatters; namespace MilkBot.Core.Logging.Handlers { public class ConsoleLoggerHandler : ILoggerHandler { private readonly ILoggerFormatter _loggerFormatter; public ConsoleLoggerHandler() : this(new DefaultLoggerFormatter()) { } public Consol...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PESWeb.Accounts.Interface { public interface ILogin { void DisplayMessage(string message); } }
//////////////////////////////////////////////////////////////////////////// // Copyright 2016 : Vladimir Novick https://www.linkedin.com/in/vladimirnovick/ // // NO WARRANTIES ARE EXTENDED. USE AT YOUR OWN RISK. // // To contact the author with suggestions or comments, use :vlad.novick@gmail.com // /...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AnswerEdit.cs" company="CGI"> // Copyright (c) CGI. All rights reserved. // </copyright> // -------------------------------------------------------------------------------------...
namespace ScriptCs.CompileOnlyOption { using System; using System.Collections.Generic; using ScriptCs.Contracts; using ILog = Common.Logging.ILog; public class CompileOnlyOptionFilePreProcessor : FilePreProcessor { private const string CompileOnlyArgumentName = "compile-only"; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Patterns.Strategy.Interfaces { interface IFlyable { void Fly(); } public class NoFly : IFlyable { public void Fly() { Console.WriteLine(...
using System.Collections.Generic; using Iterator.Duckling; using Iterator.Iterators.Duckling; namespace Iterator.Menus.Duckling { public class DuckMenu : IMenu { List<MenuItem> menuItems; public DuckMenu() { menuItems = new List<MenuItem>(); addItem("Usual Duck...
using System.ComponentModel; namespace Payroll.Common { public enum Gender { [Description(nameof(Resource.Masc))] MASC = 0, [Description(nameof(Resource.Fem))] FEM = 1 } public enum DayOfWeek { [Description(nameof(Resource.Sunday))] SUNDAY = 1, ...
namespace Architecture.Services.SaveLoad { public interface ILoadService<TValue, in TKey> { TValue Load(TKey loadId); void Load(out TValue value, TKey loadId); bool TryLoad(TKey loadId, out TValue value); } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class LoreApresentation : MonoBehaviour { public int SceneIndex; public string[] lore; public Text loreTextOnUI; public static int i; void Update() { //Text...
using System; namespace StratCorp.CorpSMS.Entities { public class DeliveryReportEntity { public int DeliveryReportId { get; set; } public int MessageId { get; set; } public long ChangeId { get; set; } public long SentId { get; set; } public string Status { get; set;...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using ZiZhuJY.Common.Extensions; namespace ZiZhuJY.Common.Tests { [TestClass] public class StringExtensionsTest { [TestMethod] public void SubStrTests() { Assert.AreEqual("Test", "Test".Substr(0, 4)); ...
using BusinessLaag.models; using System; using System.Collections.Generic; using System.Text; namespace BusinessLaag.irepositories { public interface IContinentRepo { void Add(Continent continent); void DeleteById(int id); List<Continent> GetAllContinents(); Continent GetById(i...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace IssueLog_Api.ViewModels { public class UserRegistrationModel { public string Email { get; set; } public string Password { get; set; } public string FName { get; set; } public string ...
using System; using System.Collections.Generic; namespace SheMediaConverterClean.Infra.Data.Models { public partial class VBelegTypBarcode { public int? BelegTypId { get; set; } public int BelegTypBarcodeId { get; set; } public string BarcodeTyp { get; set; } public string Barc...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AdventureGameWithCSharp { class ToolStore : NormalLoc { public ToolStore(Player player) : base (player, "Magaza") { } override public bool getLocation() { Console.WriteL...
using System.Net; using System.Net.Http; using System.Web.Http; using ScriptClient.Services; namespace ScriptClient.Controllers { public class ExecuteCommandController : ApiController { ExecuteCommandEngine eng = new ExecuteCommandEngine(); [HttpPost] public IHttpActionResult SelectWi...
namespace FacultyV3.Core.Models.Enums { public enum Gender { PUBLISH, UNPUBLISH } }
using System; using System.Linq; using Sys = System; using System.Collections.Generic; namespace Common.Console { public static partial class ConsoleExt { public static void WriteAsciiBox(params string[] lines) { WriteAsciiBox(new AsciiBoxOptions(), lines); } public static void WriteAsci...
using System.Windows; using System.Windows.Media; namespace Proyecto.Vistas { /// <summary> /// Lógica de interacción para Dashboard.xaml /// </summary> public partial class Dashboard : Window { string user; string type; public Dashboard(string username, string typeuser) ...
using System.Collections.Generic; using PmSoft; namespace PetaPoco { /// <summary> /// 扩展的同步方法 /// </summary> public interface IExtend { /// <summary> /// 是否繁忙中 /// </summary> bool IsBustling { get; } /// <summary> /// 执行多个SQL /// </summary>...
using System; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace OmniSharp.Extensions.JsonRpc.Serialization.Converters { internal class EnumLikeStringConverter : JsonConverter<IEnumLikeString?> { public override void WriteJson(JsonWriter writer, IEnumLikeString? value, JsonSerializer serializ...
using BlackJackDudekGueguen.Model; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using Windows.Security.Cryptography; using Windows.Security.Cryptography.Core; using Window...
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(Rigidbody))] public class WakeupMaterialBehaviour : MonoBehaviour { public Material awakeMaterial = null; public Material asleepMaterial = null; private Rigidbody _rigidbody = null; private MeshRe...
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(CharacterController))] public class FirstPersonInteraction : MonoBehaviour { public float walkSpeed = 10; public float jumpSpeed = 5; internal IPlayerInteraction interact; public float mousespeed =...
using System; namespace rklib { public class Class1 { } }
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace POS_SP.Models { public class PurchaseDetail { public int Id { get; set; } [Required, Display(Name = "Purchase No.")] public int PurchaseId { get; set; } [Required, Displ...
using CoreFrameWork.ElasticSearch.Options; using CoreFrameWork.Modularity; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace CoreFrameWork.ElasticSearch { /// <summary> /// 核心ElasticSearch模块 /// </summary> public class CoreElasticSearchModule : CoreMod...
using LuaInterface; using SLua; using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering; public class Lua_UnityEngine_Renderer : LuaObject { [MonoPInvokeCallback(typeof(LuaCSFunction))] public static int constructor(IntPtr l) { int result; try { Renderer o = new Rende...
// Copyright (C) 2014 Kazuhiro Fujieda <fujieda@users.osdn.me> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless r...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyController : MonoBehaviour { private PlayerManager playerManager; private HealthManagerPlayer healthManagerPlayer; private HealthManager healthManager; public float speed; private bool walking = true; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using PlayMaker; public class LoadOnStartup : MonoBehaviour { public UnityEvent OnStartup; public PlayMakerFSM AppFlow; private void Start() { if (AppFlow.FsmVariables.GetFsmBool("startup...
using Shared.Classes; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SyncService.Services { public interface ISyncronisationService { Task TestReady(TestReadyMessage testName); Task RunAction(TestReadyMessage test, IEnumerable<string>...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace QualificationExaming.Entity { /// <summary> /// 试卷表 /// </summary> public class Exam { /// <summary> /// 试卷id /// </summary> public int Exam...
namespace SchoolSystem.Core { using System; using Common; using Contracts; public class Engine { private const string TerminationCommand = "End"; private IInterfaceProvider interfaceProvider; private IParser parser; private IDataBase db; public Engine(IInt...
using FluentNHibernate.Cfg; using FluentNHibernate.Cfg.Db; using FluentNHibernate.Conventions.Helpers; using NHibernate; using NHibernate.Context; using NHibernate.Tool.hbm2ddl; namespace Psub.DataAccess { public class NHibernateHelper { private static ISessionFactory _sessionFactory; private ...
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace EWF.Entity { [Table("TBL_SYS_SYSCONFIG")] public class SYS_Config : IEntity { /// <summary> /// /// </summary> [Key] public Int32 SYSID { get;...
using UnityEngine; using System.Collections; using UnityEditor; using UMA; namespace UMAEditor { [CustomEditor(typeof(OverlayData))] public class OverlayInspector : Editor { [MenuItem("Assets/Create/UMA Overlay")] public static void CreateOverlayMenuItem() { CustomAssetUtility.CreateAsset...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO; namespace MYNOTEPAD { public partial class Form1 : Form { public Form1...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Tap : MonoBehaviour { public ParticleSystem particleSystem; public bool opened; void OnCollisionEnter(Collision collision) { Debug.Log($"colliding, state {opened}"); Switch(); // should be invoked by hand in VR } ...
namespace _6.BirthdayCelebrations.Models { public interface IId { string Id { get; } } }
/* * App: SuchiVille * File: Drink.cs * Developed by: Alex Andriishyn, Anthony Scinocco, Sam Parathuvayalil Sunny, Lyka Sunesara * Purpose: Drink model */ using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace RestaurantApp.Models { public class Drink { public Drink(...
using System; using UnityEngine; public class MonoSingleton<T> : MonoBehaviour where T : class { public const string GameObjectName = "Singletons"; private static T _instance; private static GameObject _parent; private static bool _isRunning = true; private static bool _isInstantiating ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; using UnityEngine.PostProcessing; public class scrPlayer : MonoBehaviour { [Header("Heal")] public bool healUnlocked; public float cooldownHeal; float currentCooldown...
namespace ACO { public class Error { public string Message { get; set; } public string Details { get; set; } public Error(string message, string details = "") { Message = message; Details = details; } } }
using System; using FFImageLoading.Transformations; using Foundation; using Kit.Forms.Services; using Kit.Forms.Services.Interfaces; using UIKit; using Xamarin.Forms; namespace Kit.iOS.Services { public abstract class AppDelegate<T> : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate, IUpdateW...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MySql.Data.MySqlClient; using System.Data; namespace WpfApp1 { class DATABASE { public MySqlConnection con = new MySqlConnection("SERVER = localhost; PORT = 3306; USERNAME = root...
using System; using System.Collections.Generic; using System.Text; namespace Jieshai.Core { public class InvestmentCreateInfo { public string Name { set; get; } public Investor Investor { set; get; } public float Money { set; get; } public DateTime InvestDate { set; get; } ...
// // 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 System; using System.Web.UI; using System.Web.UI.WebControls; using Telerik.Web.UI; #endregion namespace DotNetNuke.Web.UI.WebCon...