text
stringlengths
13
6.01M
using System.Collections.Generic; using Plus.Communication.Packets.Outgoing.Catalog; using Plus.HabboHotel.GameClients; using Plus.HabboHotel.Rooms; namespace Plus.Communication.Packets.Incoming.Catalog { internal class GetCatalogRoomPromotionEvent : IPacketEvent { public void Parse(GameClien...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Data.Core; using LearningEnglishWeb.Areas.Training.Models; using LearningEnglishWeb.Areas.Training.Services; namespace LearningEnglishWeb.Areas.Training.Infrastructure.Factories.Abstractions { public abstract class TrainingFa...
using System; using System.Numerics; namespace DigitSum { class Program { private static object DigitSum(BigInteger longNumber) { string text = longNumber.ToString(); var sum = 0; foreach (char c in text) { sum += c - '0'; ...
// // commercio.sdk - Sdk for Commercio Network // // Riccardo Costacurta // Sep. 11, 2020 // BlockIt s.r.l. // /// Allows to easily create a CommercioDocReceipt /// and perform common related operations // using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Threading.T...
namespace IronMan.Weapons { public class WeaponsAssembly { } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using LSKYGuestAccountControl.Model; using LSKYGuestAccountControl.Repositories; using LSKYGuestAccountControl.Static; namespace LSKYGuestAccountControl.Login { pu...
using System; using System.Diagnostics; using System.Net.Http; using System.Text; using System.Threading.Tasks; using AppProgramming2.Models; using Newtonsoft.Json.Linq; using Xamarin.Essentials; namespace AppProgramming2.Services { public class WeatherServices { public string GetWeather(double lat, d...
using Autofac; using System.Reflection; using System.Linq; namespace Student.API.Modules { public class ServiceModule : Autofac.Module { // Load Services Assembly protected override void Load(ContainerBuilder builder) { builder .RegisterAssemblyTypes(Assembl...
namespace Triton.Game.Mapping { using ns25; using ns26; using System; using System.Collections.Generic; using Triton.Game; using Triton.Game.Mono; [Attribute38("BouncingBlade")] public class BouncingBlade : SuperSpell { public BouncingBlade(IntPtr address) : this(address, "...
using System; using System.Collections.Generic; using System.Linq; using SubSonic.Extensions; namespace Pes.Core { public partial class Pupils { public static Pupils GetPupilByID(int idAccount) { return Single(p=>p.AccountID==idAccount); } public stat...
using ProConstructionsManagment.Desktop.Commands; using ProConstructionsManagment.Desktop.Managers; using ProConstructionsManagment.Desktop.Models; using ProConstructionsManagment.Desktop.Services; using ProConstructionsManagment.Desktop.Views.Base; using Serilog; using System; using System.Threading.Tasks; using Syst...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class Framework : MonoBehaviour { public enum Composition { juxtaposition, superposition, mix }; public string ensemblePath; public int embeddingDim; public Composition compType; public int ensembleDim; public int dataDim; ...
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using SprintFour.Utilities; namespace SprintFour.Background { public class BackgroundImageCollection : DrawableGameComponent { //list of background layers, their posiitons, and the degree of their parallax effects //paralla...
// Copyright 2020 Google Inc. All Rights Reserved. // // 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 required by applica...
using System; // Definición clase ReservaEN namespace LePapeoGenNHibernate.EN.LePapeo { public partial class ReservaEN { /** * Atributo registrado */ private LePapeoGenNHibernate.EN.LePapeo.RegistradoEN registrado; /** * Atributo restaurante */ private LePapeoGenNHibernate.EN.LePapeo.RestauranteEN restaurante; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleUI { class InputProcessor { public void ProcessInput(IEnumerable<ConsoleWindowBase> WindowList) { var active = WindowList.FirstOrDefault(x => x.Active); if (active != ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace testavimoSavarankikas2 { public class Program { public static string ApverstiEilute(string eilute) { string rezultatas = ""; for (int i = 0; i ...
using System.Windows; using CRVCManager.DataModels; namespace CRVCManager { /// <summary> /// Interaction logic for InvoiceViewer.xaml /// </summary> public partial class InvoiceViewer : Window { public InvoiceViewer(InvoiceDocument currentDocument) { InitializeComponent(); } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class FinalMessage : MonoBehaviour { public static int finalTextStep = 0; public static Transform finalTextField; public static Transform finalImageField; public static void setFinalText() { final...
using RestSharp; using System.Configuration; namespace EmerchantpayPaymentSpecFlow.Utils { public static class RequestFactory { public static IRestRequest GenerateRequest(string resource, string json, Method method) { IRestRequest request = new RestRequest(resource, DataFormat.Jso...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using BrainDuelsLib.model.entities; using BrainDuelsLib.web; using System.Runtime.InteropServices; public class Utils { public static string FBLoginPrefix = "!!FB!!"; public static string GetFBIdFromL...
/* * Copyright © 2019 GGG KILLER <gggkiller2@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the “Software”), to deal in the Software without * restriction, including without limitation the rights to use, copy, modif...
using System; using System.Text.Json; using System.Threading.Tasks; using Amazon.Lambda.Core; using Amazon.Lambda.SQSEvents; using Checkout.Payment.Processor.Application.Interfaces; using Checkout.Payment.Processor.Application.Models; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; ...
using BrighterFutures.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BrighterFutures.Models { public class CashFlowTransactions { public List<CashFlowTransaction> cashflowTransaction { get; set; } public double TotalAmoun...
using System; using System.Collections.Generic; namespace SheMediaConverterClean.Infra.Data.Models { public partial class VAkteVerpacken { public int? LfdNr { get; set; } public string TeilBelegBezeichnung { get; set; } public int TeilBelegPapieraktenStatus { get; set; } public...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Simon.Pattern.Bridge { /// <summary> /// Bridge Pattern /// 将抽象部分与它的实现部分分离,使他们都可以独立的变化 /// </summary> public class BridgeDemo { public static void Run() { ...
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using MusicPlayer.Core.Models; using MusicPlayer.ViewModels.Interfaces; namespace MusicPlayer.ViewModels { public partial class SongsViewModel { private Point startMousePosition; public void SongsListItem_OnMou...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Shield : MonoBehaviour { [SerializeField] Vector3 initialPosition; [SerializeField] Quaternion initialRotation; public bool isGrabed; public bool isThrown; public bool isDamaged; float waitTimeToDamage...
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// This script is for the character customization scene. /// Player will use mouse to select next/previous buttons and iterate through customization options. /// Handles changes of a single sprite (examples: weapon, hair, fa...
using EFCoreDemo.Entity; using EFCoreDemo.service; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; namespace EFCoreDemo { ...
using System; namespace Nmli.CollectionAgnostic { public interface ITest<AT> { void Mul(int n, AT a, AT b, AT y); } /// <summary> /// Vector math library functions for a generic array type /// </summary> /// <typeparam name="AT">Generic array type (eg pointer, ...
using System; using System.Collections.Generic; using System.Linq; using UserStorageServices.Validation; namespace UserStorageServices.Repositories { public class UserMemoryRepository : MarshalByRefObject, IUserRepository { private readonly UserValidator userValidator; public UserMemoryReposit...
using System.Collections.Generic; using DataAccess.Repositories.Interfaces; using VendingMachineDomain.Exceptions; using VendingMachineDomain.Models; using System.Linq; using LiteDB; namespace DataAccess.Repositories { public class LiteDBRepository : IProductRepository { private readonly ILiteCollecti...
using Android.App; using Android.Widget; using Android.OS; using Android.Support.V7.App; using Android.Graphics; using System.Net; namespace TheCatApi { [Activity(Theme = "@style/AppTheme", MainLauncher = true, ScreenOrientation = Android.Content.PM.ScreenOrientation.Portrait)] public class MainActivity : App...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Framework.Remote.Mobile { public partial class CxClientSectionMetadata { public CxClientSectionMetadata(Metadata.CxSlSectionMetadata sectionMetadata) { if (sectionMetadata == nul...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Sword : MonoBehaviour { Collider mCollider; private float dmgRate = 1.67f; private float nextAttack = 0.0f; private void Start() { mCollider = GetComponent<Collider>(); } private void Updat...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class imageCollection : MonoBehaviour { public Sprite[] daduImage; //simpan all sprite private Image displayImage; public GameObject rollButton; // Start is called before the first frame u...
using JoggingDating.Services; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Template10.Mvvm; using Windows.UI.Xaml.Navigation; namespace JoggingDating.ViewModels { class FriendPageViewModel : ViewModelBase { public FriendPageV...
using System; using System.Collections.Generic; using System.Linq; namespace Dojo { public class WordChains { private readonly List<string> dictionary; public WordChains(List<string> dictionary) { this.dictionary = dictionary; } public List<...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SmsCenter { public static class ServicePrefix { public const string Timetable = "расп"; public const string Informer = "."; public const string Register = "рег"; } }
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; using System.Globalization; namespace DBManager { public partial class frmGenerateFormCode : BlueForm { internal string ...
using System; using System.Collections.Generic; using System.Text; using System.Linq; namespace HackerRank_HomeCode { public class LuckBalance { public void findLuckBalance() { string[] nk = Console.ReadLine().Split(' '); int n = Convert.ToInt32(nk[0]); //ma...
using Glimpse.AspNet.Extensibility; using Glimpse.Core.Extensibility; using Glimpse.Core.Tab.Assist; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace FlexLabs.Glimpse.Linq2Sql { public class PluginCore : AspNetTab, ITabLayout { public override string Name ...
namespace Triton.Game.Mapping { using ns26; using System; [Attribute38("HistoryChildCard")] public class HistoryChildCard : HistoryItem { public HistoryChildCard(IntPtr address) : this(address, "HistoryChildCard") { } public HistoryChildCard(IntPtr address, string ...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.Owin.Security; using Microsoft.AspNet.Identity.Owin; u...
namespace Sandlet.Site.Landing { using System.ComponentModel.DataAnnotations; using System.Diagnostics.CodeAnalysis; [SuppressMessage("", "SA1649", Justification = "View model for a view follows special file naming convention.")] public class LandingViewModel { public bool Show { get; private set; } ...
using JKMWindowsService.MoveManager; using Moq; using Xunit; namespace JKMWindowsService.UnitTest { public class MoveDetailsTest { readonly MoveDetails moveDetails; readonly Mock<Utility.IAPIHelper> mockApiHelper; readonly MockData.MoveData mockData = new MockData.MoveData(); p...
//遊戲邏輯控制腳本 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using System; using UnityEngine.SceneManagement; using UnityEngine.Events; public class GameController : MonoBehaviour { //-----------變數宣告------------------------------------------------ private st...
// ReSharper disable ArrangeTypeModifiers using Microsoft.AspNetCore.Blazor; namespace BlazorUtils.Interfaces.EventArgs { public class LMTEventArgs : UIEventArgs { public bool IsPrevented { private set; get; } public void PreventDefault() { IsPrevented = true; } ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.Host.Executors; using Microsoft.Azure.WebJobs.Host.Protocols; using M...
using DevExpress.XtraBars; 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; namespace PMQL { public partial class TrangChu : DevExpress.XtraBars.FluentDesignSystem.Flu...
/// <summary> /// Scribble.rs ♯ namespace /// </summary> namespace ScribblersSharp { /// <summary> /// An interface that represents a lobby view /// </summary> public interface ILobbyView : IValidable { /// <summary> /// Lobby ID /// </summary> string LobbyID { get; ...
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Threading; public class BitmapEncoder { public static void WriteBitmap(Stream stream, int width, int height, byte[] imageData) { using (BinaryWriter bw = new BinaryWriter(stream))...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; u...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CheckoutBusinessLogic { public class RequirementsOperation : IOperation { public String Execute(String url, String teamName) { CheckoutServicePr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WebApiDAL.Entity; using WebApiDAL.Model; namespace WebApiDAL.ServiceManager { public interface ISeeker { Boolean BuildProfile(Tbl_SeekerProfile ProfileDetails, out string ErMsg); ...
using NutritionalResearchBusiness.Enums; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NutritionalResearchBusiness.Dtos { public class InvestigationAnswerOutputDto { /// <summary> /// 答案Id /// </summary> public Guid Id { get; se...
namespace RPNCalculatorLib { using System; [System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct)] public class MathOperatorAttribute : Attribute { public string MathOperator { get; private set; } public MathOperatorAttribute(stri...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AboutClose : MonoBehaviour { public void OnClick() { GameObject master = GameObject.Find("MainScreen"); GameObject startPanel = master.transform.Find("StartPanel").gameObject; GameObject aboutPa...
using System; using System.Collections.Generic; using System.Linq; using AlternateLife.MongoMigration.Tests.SampleMigrations; using AlternateLife.MongoMigration.DatabaseModels; using AlternateLife.MongoMigration.Interfaces; using MongoDB.Driver; using Moq; using NUnit.Framework; namespace AlternateLife.MongoMigration...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { /* JS 傳值 */ form1.InnerHtml = ""; Label...
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 System.Configuration; using System.Data.SqlClient; using System.IO; using System.Collections.ObjectModel; namespace solution1 {...
using ProjeCv.Models; using ProjeCv.Models.Entity; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Data.Entity; namespace ProjeCv.Controllers { public class AwardController : Controller { // GET: Award DatabaseContext conte...
using System.Text.RegularExpressions; namespace Labs.WPF.TorrentDownload.Model { public class ShowInfo { #region Constructor public ShowInfo(string fileFullPath) { this.ProcessFileFullPath(fileFullPath); } #endregion #region Fields privat...
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO.Compression; namespace SW2ExplorerWV { public class HOGPFile { public class FileEntry { public string name; public UInt32...
using Blogg.Migrations; using Blogg.Models; using Microsoft.Owin; using Owin; using System.Data.Entity; [assembly: OwinStartupAttribute(typeof(Blogg.Startup))] namespace Blogg { public partial class Startup { public void Configuration(IAppBuilder app) { Database.SetInitializer( ...
namespace E18_RemoveElementsFromArray { using System; using System.Collections.Generic; using System.Linq; public class RemoveElementsFromArray { public static void Main(string[] args) { // Write a program that reads an array of integers and // removes from...
using UnityEngine; using System.Collections; using System.Collections.Generic; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using UnityEngine.UI; using UnityEngine.EventSystems; public class shop : MonoBehaviour { gameData data; public GUIContent scrollView; float w; float h; // Use thi...
using ShadowAPI.Services; namespace ShadowAPI.Models { public enum Metatype : byte { Human, Elf, Dwarf, Orc, Troll } class MyClass { public void bla() { Metatype.Dwarf.GetName(); } } }
using System; using System.Collections; using System.Collections.Generic; namespace CoreComponents.Items { public class RestrictedQueue<T> : IEnumerable<T>, ICloneable<RestrictedQueue<T>> { public event EventInfoHandler<T> MaximumReached; public event EventInfoHandler<T> Enqueued; publ...
using System; namespace BreakAway.Models { public class PagingInfo { public PagingInfo(int currentPageIndex, int totalItems, int pageSize) { CurrentPageIndex = currentPageIndex; TotalItems = totalItems; TotalPages = (int)Math.Ceiling((double)totalItems / page...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DAL; using DTO; using System.Data; namespace BUS { public class BUS_BookingRoom { Data da = new Data(); public DataTable show_BookingRoom() { string sql...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xadrez.PecasXadrez; using Xadrez.TabuleiroEntities; using Xadrez.TabuleiroEntities.XadrezExceptions; namespace Xadrez { class Program { static void Main(string[] args) { ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using talnet.Models; namespace talnet.Controllers { [ApiController] [Route("api/[controller]")] public class Produc...
using System; using System.Collections.Generic; namespace SANTI_WEB.Models { public partial class ProductsSuccessStories { public int PkProductsSuccessStories { get; set; } public string Description { get; set; } public string Language { get; set; } public int? FkProducts { get...
namespace QRCodeLeitor.Carousel { internal class prop { } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using Sasarman_Andra_Proiect1.Data; using Sasarman_Andra_Proiect1.Mo...
using UnityEngine; using System.Collections; using UnityEditor; using xy3d.tstd.lib.battleHeroTools; public class CreateDamageNumPrefab { [MenuItem("zhangwenxin/构造伤害数字prefab")] public static void Start() { Vector3[] vertices; Vector3[] normals; Vector2[] uvs; Vector4[] tangen...
using System; using SQLite; namespace Practical_Assignment { public class objTaskSet { public objTaskSet() { } /// <summary> /// Object contining basic information about the project /// </summary> /// <param name="dueDate">Date the project must be completed by</param> /// <param name="estimatedHour...
using Microsoft.Owin; using Owin; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; [assembly: OwinStartupAttribute(typeof(DoE.Lsm.Web.Startup))] namespace DoE.Lsm.Web { public partial class Startup { public void Configuration(IAppBuilder app) { Con...
using System; using System.Collections.Generic; namespace AppLayer.DrawingComponents { public class ClassDiagramFactory { private static ClassDiagramFactory _instance; private static readonly object MyLock = new object(); private ClassDiagramFactory() { } public static ClassD...
using SQLite.Net.Attributes; using SQLiteNetExtensions.Attributes; namespace AnimeViewer.Models { public class Episode { [PrimaryKey] [AutoIncrement] public int Id { get; set; } [ForeignKey(typeof(Anime))] public int AnimeId { get; set; } [ManyToOne] p...
using SkillsGardenApi.Models; using SkillsGardenApi.Utils; using SkillsGardenDTO; using System; namespace SkillsGardenApiTests.Factory { public static class UserFactory { public static User CreateNormalUser(int id = 1, string email = "pete@mail.com") { byte[] salt = EncryptionUtil....
using Blazing.Dialog; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Blazing.Sample.Pages { public partial class ConfirmationDialog { DialogAccess<bool> dialog = new DialogAccess<bool>(); string message; async Task ShowAsy...
using System; using System.Collections.Generic; using System.IO; using System.Windows.Forms; namespace ToyTwoToolbox { public class F_Save : F_Base { public FileProcessor.FileTypes FileType { get; } = FileProcessor.FileTypes.Save; /// <summary> /// Used when a file name isnt provided ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class chatsend : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { lblname.Text = Session["se_name"].ToString()...
using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; public class DataManager : MonoBehaviour { public static DataManager Instance; public static string nickname; public static string score_nickname; public static int score; private void Awake() { ...
// // 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 InconsistentNaming using System; namespace Dnn.ExportImport.Dto.Roles { public class ExportRoleSetting : BasicExportImportDto ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace d02_statements { class DemoLoop { internal void testFOR() { Console.Write("nhap 1 so nguyen N >=0: "); int n = int.Parse(Console.ReadLine().Trim...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Moonmile.HtmlDom { /// <summary> /// HTML attribute class /// </summary> public class HtmlAttr { public string Key { get; set; } public string Value { get; set; } public HtmlAttr() { } public HtmlAttr(st...
namespace Game.ConsoleUI.Infrastructure { using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using global::Game.ConsoleUI.Game.Services; using Helpers; using Interfaces; using Microsoft.Extensions.Options; using Serilog; public class ...
using mTransport.Models; 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 Syst...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Score : MonoBehaviour { public static int PlayerScore1 = 0; public static int PlayerScore2 = 0; public Text Scoretext1; public Text Scoretext2; private void Start() {...
using Microsoft.Extensions.DependencyInjection; using System; namespace Hybrid.Dependency { /// <summary> /// Lazy延迟加载解析器 /// </summary> internal class Lazier<T> : Lazy<T> where T : class { /// <summary> /// 初始化一个<see cref="Lazier{T}"/>类型的新实例 /// </summary> public ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IntegrationQueryTest.cs" company="CGI"> // Copyright (c) CGI. All rights reserved. // </copyright> // ---------------------------------------------------------------------------...
/* * Copyright (c) The Game Learner * https://connect.unity.com/u/rishabh-jain-1-1-1 * https://www.linkedin.com/in/rishabh-jain-266081b7/ * * created on - #CREATIONDATE# */ using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(Collider))] public class LazerTur...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SelectionMode.cs" company="CGI"> // Copyright (c) CGI. All rights reserved. // </copyright> // ----------------------------------------------------------------------------------...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Rotator : MonoBehaviour { // Script for camera to follow the player in a Third Person Perspective without rolling with the player void Update () { transform.Rotate(new Vector3(15, 30, 45) * Time.deltaTime); ...
using UnityEngine; public class ShopEvent : MonoBehaviour { private bool hasOpened = false; public ShopTemplate shop; public GameObject shopUIPrefab; private ShopUI activeShopUI; public void Update() { if (!hasOpened) { Canvas canvas = FindObjectOfType<Canvas>(); if (activeShopUI != null) { ...
using System; using Sitecore.Data.Items; namespace Aqueduct.SitecoreLib.DataAccess { public class ConcreteTypeNeededEventArgs : EventArgs { public Type ConcreteType { get; set; } public Item Item { get; private set; } public ConcreteTypeNeededEventArgs(Item item) { ...