text
stringlengths
13
6.01M
/// <summary> /// Player controller. /// Arlina Ramrattan /// 300799246 /// Last Modified by: A.R. /// Date last modified: October 22, 2016 /// This program is a 2D top down scroller. The plyer is a green tank and they have to try and avoid the red enemy tanks. They have 5 lives. /// </summary> using UnityEngine; u...
namespace Triton.Game.Mapping { using ns26; using System; using Triton.Game; using Triton.Game.Mono; [Attribute38("DemoMgr")] public class DemoMgr : MonoClass { public DemoMgr(IntPtr address) : this(address, "DemoMgr") { } public DemoMgr(IntPtr address, str...
using Mirror; using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameTimer : MonoBehaviour { // public NetworkManager netManager; // private float timer; // // Start is called before the first frame update // void Start() // { // timer = 0f; // } ////...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class LevelChanger : MonoBehaviour { private Animator anim; private string levelName; // Start is called before the first frame update void Start() { anim = GetComponent...
using UnityEngine; using System.Collections; public class UIMgr : SingletonMonoBefaviour<UIMgr> { string mName = ""; //UIのプレハブを格納する変数 [SerializeField] GameObject MainCanvas; [SerializeField] GameObject TitleCanvas; //現在表示してるUIのゲームオブジェクトを格納する変数 public GameObject UIObject; publi...
using System.Collections.Generic; using MusicPlayer.Core.Models; namespace MusicPlayer.Core.SongFilesManager.Interfaces { public interface IPlaylistFilesManager { List<Playlist> ReadSongsFromFile(); void SaveNewPlaylist(); void UpdatePlaylistName(string oldName, string newName); } }
// Copyright 2017-2019 Elringus (Artyom Sovetnikov). All Rights Reserved. using System.Threading.Tasks; using UnityCommon; using UnityEngine; namespace Naninovel.UI { public class ContinueInputUI : CustomUI, IContinueInputUI { private InputManager inputManager; [SerializeField] private GameO...
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using MISA.BL.Interfaces; using MISA.Common.Entitis; using MISA.CukCuk.Api.Controllers; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MISA.AMIS.Api.Controllers { [Route("api/v1/[controller...
using KnapsackProblem.Common; using System; using System.Collections.Generic; using System.Text; using System.Linq; namespace KnapsackProblem.ConstructiveVersion.Strategies { public class ConstructiveGreedy : ConstructiveStrategy { public override void FreeAll() { } ...
using Assets.Scripts.Enemies.Enums; using Assets.Scripts.Enemies.Interfaces; using UnityEngine; namespace Assets.Scripts.Enemies.CommandAndControl { public class SquadronFactory { EnemyFactory enemyFactory; public SquadronFactory() { enemyFactory = new EnemyFactory(); } ...
using caterapp.Model; using caterapp.Repositories; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; namespace caterapp.Controllers { [Route("api/[controller]")] public class EventController : Controller { private IEventRepository _eventRepository; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Excepciones { public class ArchivosException:Exception { #region constructores public ArchivosException(string menssage):base(menssage) { } #endregion ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Baseball { class Bat { //uses: // delegate void BatCallback(BallEventArgs e); // //*** The easiest way to keep the wrong Ball objects from // chaining themselves onto the...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using IES.JW.Model; namespace IES.Common.Data { /// <summary> /// 通过课程获取课程的相关数据 /// </summary> public class CourseCommonData { /// <summary> /// 获取课程下教学班 ///...
using System; using System.ComponentModel.DataAnnotations; namespace DemoApp.Model.ViewModels { public class Target { public int TargetId { get; set; } public Guid TargetUid { get; set; } [Required] [Display(ResourceType = typeof(ModelResources), Name = "Label_TargetSerialNum...
public class GameConstant { /* CONSTANT */ public static int UNLOCK_SLOT_PRICE = 500; public static int MISSION_LIST = 50; public static int TOTAL_TUTORIAL = 18; /*Screen state*/ public const string LOGO_STATE = "LOGO"; public const string MAIN_MENU = "MAIN_MENU"; public const string STORY = "STORY"; pu...
using Checkout.Payment.Command.Application.Interfaces; using Checkout.Payment.Command.Application.Models; using Checkout.Payment.Command.Domain; using Checkout.Payment.Command.Domain.Models.Enums; using Checkout.Payment.Command.Seedwork.Extensions; using MediatR; using System; using System.Threading.Tasks; namespace ...
using System; using System.Collections.Generic; using System.Text; using ENTITY; //<summary> //Summary description for SalaryPackageInfo //</summary> namespace ENTITY { public class SalaryPackageInfo { public decimal SalaryPackageId { get; se...
using UnityEngine; using System.Collections; [RequireComponent(typeof(tk2dSprite))] public class Leaver : MonoBehaviour { public float speed; private tk2dSprite sprite; void Awake() { sprite = GetComponent<tk2dSprite> (); } public void Leave() { if (this.gameObject.name == "hero"){ sprite.FlipX = fa...
using UnityEngine; using System.Collections; public class resizeelementsforgamescreen : MonoBehaviour { GameObject temp;//use this gameobject to reference the ones to be resized float calculateratio;//variable used to calculate the screen ratio public float scalefactor;//variable used to fix object size based on s...
using ShoppingCartLib.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ShoppingCartLib.Interface { public interface IProductRepository { List<ShoppingCartItem> GetShoppingCartProducts(int shoppingCartId); ProductDetails GetProdu...
using System.Collections; using UnityEngine; using UnityEngine.SceneManagement; [RequireComponent(typeof(AudioSource))] public class VideoSceneTransition : MonoBehaviour { public MovieTexture movie; private Game game; public string level; // Use this for initialization void Start () { l...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using MicroMvvm; using FPModel.Entity; namespace FPViewModel { public class AccountForumViewModel : ObservableObject { #region Members private AccountForum _account; #endregion ...
using UnityEngine; using System.Collections; namespace Ph.Bouncer { public class ColourChanger : MonoBehaviour { public Colour Colour; private tk2dSprite sprite; private tk2dSpriteAnimator spriteAnimator; void Start() { sprite = GetComponent<tk2dSprite>(); spriteAnimator = GetComponent<tk2dSprit...
using System; using System.Collections.Generic; using System.Text; using System.Drawing; using System.Drawing.Imaging; using System.ComponentModel; using System.IO; //using System.Reflection.Metadata; using Pfim; using Pfim.dds; using System.Runtime.InteropServices; namespace P3DColourKey { public class Images { ...
using System; namespace B01_05_ComplexZahlen { class Complex { #region fields // Objektvariable private double a; // Realteil private double b; // Imaginärteil #endregion #region properties public double A { get { return a; } } public double B { get { return...
using Microsoft.Extensions.Configuration; using System; using System.Collections.Generic; using System.IO; using System.Text; namespace Utility { public static class ConfigHelper { /// <summary> /// 读取appsettings.json配置 /// 调用:string str=ConfigHelper.GetAppSettings("ReflectSection:Two:...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConPersApp { class Person { int age; string fname; string lname; string city; public Person() { } public Person(int ...
using System.Collections.Generic; using System.IO; using Frontend.Core.Model.Paths.Interfaces; namespace Frontend.Core.Model.Paths { public class RequiredFile : RequiredItemBase, IRequiredFile { public RequiredFile(string tagName, string friendlyName, string description, IList<IAl...
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text.Json; using WebAppVue.Models.Entity; using WebAppVue.Models.Json; namespace WebAppVue.Models { public class NodeModel : BaseModel { public NodeModel(WebAppContext context) : base(co...
using Sitecore.Data.Items; using Sitecore.Diagnostics; namespace Aqueduct.SitecoreLib.Search.DynamicFields { public class TemplateNameField : BaseDynamicField { public override string ResolveValue(Item item) { Assert.ArgumentNotNull(item, "item"); return item.Template.N...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using QuickGraph; using Microsoft.Pex.Framework; using Microsoft.Pex.Framework.Settings; using Microsoft.Pex.Framework.Exceptions; using Microsoft.VisualStudio.TestTools.UnitTesting; using PexAPIWrapper; using QuickGraph.Interfaces;...
namespace XMLApiProject.Services.Models.PaymentService.XML.RequestService.Responses { public class UpdatePassword { } }
using ScreeningTesterWebSite.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ScreeningTesterWebSite { public interface IFadvWebServiceCaller { String UID { get; set; } String PW { get; set; } ...
using System; [CustomLuaClass] public class UIInputSelectDelegate : UIInput { public delegate void SelectCallback(bool isSelected); public UIInputSelectDelegate.SelectCallback callback; protected override void OnSelect(bool isSelected) { base.OnSelect(isSelected); if (this.callback != null) { this.callb...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Web; namespace WS_PosData_PMKT.Models.Object { [DataContract] public class DataMaterialPlacement { [DataMember] public string IdTypeMaterial { get; set; } [DataMember...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HZGZDL.YZFJKGZXFXY.Common { public class FreqAnalyzer { /// <summary> /// 求复数myComplex.Complex数组的模modul数组 /// </summary> /// <param name="input">复数数组</param> /// <returns>模数组</returns> public static double[] ...
/** 版本信息模板在安装目录下,可自行修改。 * OA_EDUQUESTION.cs * * 功 能: N/A * 类 名: OA_EDUQUESTION * * Ver 变更日期 负责人 变更内容 * ─────────────────────────────────── * V0.01 2014/7/22 15:35:35 N/A 初版 * * Copyright (c) 2012 Maticsoft Corporation. All rights reserved. *┌──────────────────────────────────┐ *│ 此技术信息为本公司机密信息,未...
using System; using System.Linq; using UnityEngine; namespace buildings { public class BuildMarkPlatformCell : MonoBehaviour { public GroundType matchGroundType = GroundType.Ground; private string matchColliderTag; private Color _markColor; private Color _markDeniedColor; ...
using System; using System.Collections.Generic; using System.Text; namespace DBStore.Models.VModels { public class RequestProductVM { public RequestProduct RequestProduct { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; namespace Physics { internal class EventManager { public static void WhatHappensNext(PhysicsObject physicsObject, GridManager gridManager, EventManager eventManager, double endTime) { var couldHits = physicsObject....
using System; using System.Collections.Generic; using System.Configuration; using System.Data.SqlClient; using System.Linq; using System.Web; namespace CountryCityApp.Models { public class CityDBGateway { private static string connectionString = ConfigurationManager.ConnectionStrings["CountryConnectio...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="RoleQuery.cs" company="CGI"> // Copyright (c) CGI. All rights reserved. // </copyright> // --------------------------------------------------------------------------------------...
/********************************************************** CoxlinCore - Copyright (c) 2023 Lindsay Cox / MIT License ****************...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using FlagsToCheckboxBinding; namespace FlagsToCheckboxBinding { public class ViewModel :INotifyPropertyChanged { publ...
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace test10._7 { class SQLHelper { private readonly static string conString = @"Server=LAPTOP-NA9O9SEF;DataBase=Admin_information;Uid=sa;pwd=123456"; ...
using System; using System.Collections.Generic; using System.Drawing; namespace ClassLotto { /* -vergleicht bitweise jedes Element des Wahlarrays mit jedem Element des Losungsarrays, und trägt die Value des Losungsarrays je nach Treffer oder nicht koloriert als String ins Winnerarray ein, -Deklarat...
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace ConsultingManager.Infra.Migrations { public partial class addedcustomersituation : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<Guid>( n...
using UnityEngine; namespace RPG.Stats { public class BaseStats : MonoBehaviour { // config params [Range(1,30)] [SerializeField] int startingLevel = 1; [SerializeField] CharacterClass characterClass; [SerializeField] Progression progression = null; int current...
using System.Collections.Generic; using Microsoft.Xna.Framework; namespace BiPolarTowerDefence.Entities { public class TowerButtonMenu : BaseObject { public List<TowerButton> TowerButtons { get; set; } = new List<TowerButton>(); public Tower Tower { get; set; } public bool Active { get...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class InteractableScript : MonoBehaviour { public Animator anim; void OnTriggerEnter2D(Collider2D cologne) { if (cologne.gameObject.tag == "Player") { anim.SetTrigger("Player"); } ...
using System; using System.Collections.Generic; using System.Text; namespace TestProjects { public class Console { private Synchronizer NewSynchronizer; public Console() { NewSynchronizer = new Synchronizer(); System.Console.WriteLine("Application st...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace DukcapilWS { public class Data_Penduduk { // [JsonProperty("NO_KK")] public string NO_KK { get; set; } //[JsonProperty("NIK")] public string NIK { get; set; } ...
using Microsoft.WindowsAzure.Storage.Table; namespace Microsoft.DataStudio.Solutions.Tables.Entities { public class TemplateEntity : TableEntity { public string DeploymentTemplateLink {get; set;} public string DeploymentParameters {get; set;} public string ResourcesTopology {get; set;}...
using System; using System.Drawing; using System.Windows.Forms; namespace WF_02 { class Program { static void Main(string[] args) { Form form = new Form(); form.Text = "First button"; form.BackColor = Color.Beige; Button button = new Button(); ...
using System; using System.ComponentModel; using System.Collections.Generic; using System.Text; namespace RocketLauncher.ViewModels { public abstract class BaseViewModel : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; protected void Notify(string p...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace StatsMain1 { public abstract class PayOff { public abstract double Do(double spot); public abstract PayOff Clone(); } public class PayOffCall : PayOff { public PayOffCall(PayOffC...
using CDSShareLib.Helper; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Twilio; using Twilio.Rest.Api.V2010.Account; using Twilio.Types; namespace SMSApp.Model { public class TwilioThread...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CFDI.Model { public static class GlobalsVariables { public static bool Peticion { get; set; } public static string Rfc { get; set; } } }
#if CSHARP11_OR_GREATER using System.Threading.Tasks; using Meziantou.Analyzer.Rules; using TestHelper; using Xunit; namespace Meziantou.Analyzer.Test.Rules; public sealed class UseIsPatternInsteadOfSequenceEqualAnalyzerTests { private static ProjectBuilder CreateProjectBuilder() { return new ProjectB...
using KsuMvcApp.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace KsuMvcApp.Controllers { [Authorize] public class UserController : Controller { internal static User CurrentUser { get; set; } public ActionResult PersonalProfile() { ...
namespace Task04_TicTacToe { using System; public class TicTacToeLogic { public const int MaxX = 3; public const int MaxY = 3; public char[,] GameBoard; public TicTacToeLogic() { GameBoard = new char[MaxX, MaxY]; for (int i = 0; i < Gam...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace SimpleApiService.Domain { [Table("account")] public class Account { [Key] [Column("id"...
using System; using System.IO; using BusinessLayer.Validator; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace SortinfApp.UnitTests.Utilities.Validator { /// <summary> /// Represents tests for LocalFileValidator class. /// </summary> /// <owner>Anton Petrenko</owner> [TestClass] ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class GameManager : MonoBehaviour { public GameObject gameOverImage; //게임 오버가 됐을 때 화면에 보여지는 이미지 public GameObject Restarttext; //게임 오버 됐을 때 화면에 띄울 재시작 텍스트 ...
namespace ShCore.Patterns { /// <summary> /// Pattern Chain Generic /// </summary> /// <typeparam name="T"></typeparam> public class Chain<T> { private T handler; /// <summary> /// Xử lý /// </summary> public T Handler { get { return h...
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Logic_Circuit.Parser.Validation.VisitorObjects { /// <summary> /// Checks if there are any loops between this node and the output nodes. /// </summary> public class LoopChecker : Validati...
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using CP.i8n; //------------------------------------------------------------------------------ // // This code was generated by OzzCodeGen. // // Manual changes to this file will be overwrit...
using System; using MvvmCross.Binding.BindingContext; using MvvmCross.iOS.Views; using UIKit; using VictimApplication.Core.ViewModels; namespace VictimApplication.iOS.Views { public partial class EditUserView : MvxViewController<EditUserViewModel> { public EditUserView() : base("EditUserView", null) ...
using System; using System.Collections.Generic; using Acr.UserDialogs; using City_Center.Clases; using Xamarin.Forms; namespace City_Center.Page { public partial class PaginaAceptar : ContentPage { public PaginaAceptar() { InitializeComponent(); NavigationPage.SetTitleI...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DataObject; namespace Service.Interface { public interface IThietBi { int ThemThietBi(ThietBi tb); int XoaThietBi(int maThietBi); int CapNhatThongTinThietBi(ThietBi ...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Threading.Tasks; using Oracle.ManagedDataAccess.Client; using MobileService45.DAL; namespace MobileService45.Controllers { [RoutePrefix("GIAOTIEPVersion1")] public c...
using System; namespace Bubble_Sort { public class BubbleSort { public static void BubbleSortFirst(int[] Array,int n){ int m,i,j; for(i=n-2;i>=0;i--){ for(j=0;j<=i;j++){ if(Array[j]>=Array[j+1]){ m=Array[j];...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class MobileInputManager : MonoBehaviour { public static MobileInputManager instance; [HideInInspector] public bool isGamepadConnected = false; [SerializeField] private ETCTo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DistanceConverter { class Program { static void Main(string[] args) { if (args.Length >= 1 && args[0] == "-tom") { PrintFeetToMeterList(1,10); ...
using System; using System.Collections.Generic; using System.Text; using System.Data; namespace DAL.SYSTEM { /// <summary> /// 实体类 LoginModel /// 编写者: /// 日期:2013/3/15 16:38:09 /// </summary> public class LoginDAL { DBUtility.DBOperator db = DBUtility.DALFactory....
using Kit.Enums; using Kit.Services.Interfaces; using System; using System.ComponentModel; using System.Linq; using System.Linq.Expressions; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Internals; namespace Kit.Forms.Pages { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public static class Scenes { public static int SimulationNumber { get; set; } public static Dictionary<char, string> Rules { get; set; } public static List<Atom> StartingSequence { get; set; }...
using System; using NBTM.Repository.Models; using NBTM.Repository.Interfaces; namespace NBTM.Repository.Repositories { public class SampleLogRepository : GenericRepository<SampleLogEntry>, IDisposable { #region Constructor public SampleLogRepository(SalesApp1Entities context, Logg...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.Graphics; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; namespace XamarinAwesomeBannerSlider.Entities { public class Config { ...
using System.Collections; using System.Collections.Generic; using System.Xml.Serialization; using UnityEngine; using UnityEngine.SceneManagement; using UIFramework; using PUIType; using PEventCenter; public class LoadingManager : MonoSingleton<LoadingManager> { private float loadPercentage; private AsyncOpe...
using System; using System.Diagnostics; using System.Threading.Tasks; using ProtoHub; public class ProtoHubImpl : ProtoHubService.ProtoHubServiceBase { public override async Task<UploadSpecResponse> UploadSpec(UploadSpecRequest request, Grpc.Core.ServerCallContext context) { Process cmd = new Process()...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Infra; namespace console { public class _023_Merge2SortedLinkList { /// <summary> /// Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the node...
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; namespace Racing_Game_AssignS { public partial class Form1 : Form { //global variable ...
using System; using System.Text; using System.Net.Sockets; using System.Collections; using System.Collections.Generic; using UnityEngine; public class test : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame...
#region Copyright, Author Details and Related Context //<notice lastUpdateOn="12/20/2015"> // <solution>KozasAnt</solution> // <assembly>KozasAnt.Smarts</assembly> // <description>A modern take on Koza's connonical "Ant Foraging for Food on a Grid" problem that leverages Roslyn</description> // <copyright...
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; namespace DX_QLVT_DATHANG { public partial class formNhanVien : Form { int vitri = 0; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LockedHack : MonoBehaviour { public GameObject locked; public string thing; // Start is called before the first frame update void Start() { } // Update is called once per frame void...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using FluentAssertions; using FluentValidation.Results; using MeterReading.Logic; using MeterReading.Logic.Facades; using MeterReading.Logic.Validators; using Me...
using Assets.Scripts.Overlay.Action_PopUps.TokenSelector; using Assets.Scripts.RobinsonCrusoe_Game.Characters; using Assets.Scripts.RobinsonCrusoe_Game.GameAttributes; using System.Collections; using System.Collections.Generic; using UnityEngine; public class CleanAction_Processing : MonoBehaviour { public void P...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CareerCup150.Chapter19_Medium { public class _19_08_FrequentOfAWord { /* * Design a method to find the frequency of occurrences of any given word in a book. */ public Dictionary<st...
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using MonoGame.Extended.Shapes; using MonoGame.Extended.Sprites; using MonoGame.Extended.TextureAtlases; namespace Demo.SpaceGame.Entities { public class Meteor : Entity { private const float _radius = 55f / 4f; private read...
/* .-' '--./ / _.---. '-, (__..-` \ \ . | `,.__. ,__.--/ '._/_.'___.-` FREE WILLY */ using Renci.SshNet; namespace Automatisation.Model { public class SSH : BaseModel { #region fields private int _id; private string _description; ...
using UnityEngine; using System.Collections; public class RespawnEnemy : MonoBehaviour { public GameObject RangeGoblin; public GameObject Demon; public GameObject Cyclop; bool RespawnOn; bool StartGame; bool GroupRespawnOn; bool FirstRespawn; public static float RespTimeRGoblin = 10f; pub...
using System.Collections.Generic; using UnityEngine.EventSystems; using UnityEngine.UI; namespace HT.Framework { /// <summary> /// 可绑定的Selectable类型 /// </summary> public sealed class BindableSelectable : BindableType<int> { public static implicit operator int(BindableSelectable bSelectable...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing; namespace SolarSystem { class SpaceObject { private float posX; public float x { get { return posX; } } private float posY; public float y {...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyBody : MonoBehaviour { public Transform rayEmitter; public BoxCollider hitBox; public PlayerDetector playerDetector; public AIManager aiManager; private void Start() { MyEventSystem.instan...
using System; namespace OCP.Authentication.TwoFactorAuth { /** * Marks a 2FA provider as activale by the administrator. This means that an * admin can activate this provider without user interaction. The provider, * therefore, must not require any user-provided configuration. * * @since 15...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using eIDEAS.Data; namespace eIDEAS.Models { public class UnitDivision { public Unit unit { get; set; } public Division division { get; set; } private readonly ApplicationDbContext _contex...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PayRoll.BLL { public abstract class ChangeAffiliationTransaction:ChangeEmployeeTransaction { public ChangeAffiliationTransaction(int empId, PayrollDatabase database) : base(empId, database) ...