text
stringlengths
13
6.01M
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 System.Windows.Media.Imaging;...
using gufi.webAPI.Domains; using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace gufi.webAPI.Interfaces { interface IUsuarioRepository { /// <summary> /// Busca um usuário específico /// </summary> ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Life : MonoBehaviour { //生命值变量 protected float mMaxHp;//最大生命值 protected float mCurrentHp;//当前生命值 protected bool mIsDead = false;//是否死亡 //移动部分 [SerializeField] protected bool mCanMove;//是否可以移动 ...
public class Skill : ModifiedStat { private bool _known; public Skill(){ _known = false; ExpToLevel = 25; LevelModifier = 1.1f; } public bool Known{ get{ return _known; } set{ _known = value; } } } public enum SkillName{ stab, slash, parry, throwing, kick, jump_kick, spin_slash, whirlwind...
using Plus.HabboHotel.Users.Messenger; namespace Plus.Communication.Packets.Outgoing.Messenger { internal class InstantMessageErrorComposer : MessageComposer { public MessengerMessageErrors Error { get; } public int Target { get; } public InstantMessageErrorComposer(Messenger...
using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; public partial class UCLeftControl : System.Web.UI.UserControl { protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPo...
// // Copyright 2010, 2020 Carbonfrost Systems, Inc. (https://carbonfrost.com) // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // ...
using Biblioteca.Models; 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 Biblioteca { public partial class Biblioteca : Form { ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace examen_assurance { public partial class Form1 : Form { public...
using CriticalPath.Data; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CriticalPath.Web.Models { public class SizingStandardVM : SizingStandardDTO { public SizingStandardVM() { } public SizingStandardVM(SizingStand...
using System.Collections; using System.Collections.Generic; using UnityEngine; ////////////////////////////////////////////////////////////////// //Created by: Daniel McCluskey //Project: CT6024 - AI //Repo: https://github.com/danielmccluskey/CT6024-AI //Script Purpose: Makes the spy collect intel //////////...
using CheckMySymptoms.Forms.View; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace CheckMySymptoms.Flow.ScreenSettings.Views { abstract public class ScreenSettingsBase { abstract public ViewType ViewType { get; } public I...
using System.Collections.Generic; using AutoMapper; using Umbraco.Core.Models; using Umbraco.Core.Models.ContentEditing; using Umbraco.Web.ContentApps; using Umbraco.Web.Models.ContentEditing; namespace Umbraco.Web.Models.Mapping { // injected into ContentMapperProfile, // maps ContentApps when mapping IConte...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Web; using System.Xml.Linq; using Newtonsoft.Json; using Umbraco.Core.Composing; using Umbraco.Core.Models; using Umbraco.Core.PropertyEditors; using Umbraco.Core.Strings; namespace Umbraco.Core.Services { ...
#region License /* Copyright (c) 2009 - 2013 Fatjon Sakiqi 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, ...
using System; using System.Collections.Generic; namespace words { class Program { static void Main(string[] args) { // create a dictionary with key value pairs to represent words (key) and its definition (value) // Dictionary<string, string> wordsAndDefinitions = new Dictionary<strin...
using System; using NUnit.Framework; namespace Radex.Tsp.UnitTest { [TestFixture] public class TspTests { [Test] public void Run_GeneticAlgorithm_Against_Nodes() { var file = "Nodes.xml"; var list = new NodeList(file); Algorithm alg = new Geneti...
using System; using System.Collections.Generic; using System.Text; namespace Xamarin.ToDoITem { class TasksClass { public string Task { get; set; } } }
// GIMP# - A C# wrapper around the GIMP Library // Copyright (C) 2004-2011 Maurits Rijk // // ReadPixelIterator.cs // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; using DevExpress.XtraEditors; using DevExpress.Data.Filtering; using System.Globalization; using prjQLNK.QLNK; using DevExpress.XtraGri...
using Microsoft.AspNetCore.Identity; namespace Blog.Api.Models { public class ApplicationRole:IdentityRole<int>,IBaseEntity { } }
using Chushka.Data; using SIS.MvcFramework; namespace Chushka.Controllers { public abstract class BaseController : Controller { protected BaseController() { this.Db = new ApplicationDbContext(); } public ApplicationDbContext Db { get; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class PauseMenuManager : MonoBehaviour { public static bool isGamePaused; private void Start() { isGamePaused = false; foreach (Transform child in transform...
public static class PosExt { public static void Enlarged(this BinaryWriter bw, string text) { bw.Write(AsciiControlChars.Escape); bw.Write((byte)33); bw.Write((byte)32); bw.Write(text); bw.Write(AsciiControlChars.Newline); } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public enum Product { FIRE_PLACE, LAMP, MIRROR, PERFUME, WASHER, BEER, BEER_BOTTLE, CANDLE, FISHBOWL, FRUITBASKET, GLASSES, GREEN_BOTTLE, JAR1, JAR2, MAGNIFYING_GLASS, MILK_BOTTLE, SNOW_GLOBE,...
using System; using Whale.DAL.Models; namespace Whale.Shared.Models.Notification { public class NotificationDTO { public Guid Id { get; set; } public DateTimeOffset CreatedAt { get; set; } public NotificationTypeEnum NotificationType { get; set; } public string Options { get; s...
using System.Collections.Generic; using Common.Geometry; using OpenTK; namespace OcTreeLibrary { public class OcTreeItem { public OcTreeItem(BoundingVolume volume) { Volume = volume; Objects = new List<IOctreeItem>(); Children = new OcTreeItem[8]; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public interface ILookable { Transform GetTransform(); float GetMinimumLookDistance(); float GetMinimumLookAngle(); }
using System.Collections.Generic; using System.Linq; using LAB19CreateAnAPI.Data; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; // For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 namespace LAB19_CreateAnAPI.Controllers { [Ro...
using System.Collections.Generic; namespace Contoso.Forms.View.Common { public class SelectView { public string FieldName { get; set; } public string SourceMember { get; set; } } }
using System; using System.Collections.Generic; using UnityEngine; namespace Dcl { public class DclEntity { public const string TAG_ENTITY = "entity"; public const string TAG_BOX = "box"; public const string TAG_SPHERE = "sphere"; public const string TAG_PLANE = "plane"; ...
using BlueSportApp.Services.Category; using BlueSportApp.Services.Store; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BlueSportApp.Controllers { public class StoreController : Controll...
using POS_SP.Models; using System; namespace POS_SP.Services { public interface IStockService { void StockMaintain(DateTime dateTime, SalesDetail salesDetail); void AddStockDetail(string remarks, SalesDetail salesDetail); void StockMaintain(DateTime dateTime, PurchaseDetail purchaseDe...
using Microsoft.EntityFrameworkCore.Migrations; namespace TrashCollectorApp.Data.Migrations { public partial class V29 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DeleteData( table: "AspNetRoles", ke...
using ChuanGoing.Base.Interface.Event; using System.Threading; using System.Threading.Tasks; namespace ChuanGoing.Domain.Modles.Customers.Events { public class CustomerCreatedEventHandler : IEventHandler<CustomerCreatedEvent> { public bool CanHandle(IEvent @event) => @event.GetType().Equal...
using UnityEngine; using System.Collections; public class HealthBar : MonoBehaviour { public PlayerBattleAgent player; public float max; public float cur; // Use this for initialization void Start () { } // Update is called once per frame void Update () { transform.localScale = new Vector3...
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Threading; using EPiServer.Web.Hosting; using HansKindberg.EPiServer.Events.Remote.Communication.ConsoleApplication.Business.IoC; using HansKindberg.Extensions; using HansKindberg.Initialization...
using GraphQLSampleSubscriptionsDemoAPI.Models; using HotChocolate; using HotChocolate.Subscriptions; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GraphQLSampleSubscriptionsDemoAPI.Core { public class MutationObjectType { public async Task<...
using System; namespace Mosa.External.x86.Drawing { public class Image { public int[] RawData; public int Width; public int Height; } }
using System; namespace Simplist.Cqrs.Core { public class Burner { public string Smoke(string target) { if (target == null) throw new ArgumentNullException(nameof(target)); return target + " smoked"; } } }
using SearchEngineP.Model; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace SearchEngineP { public class Searcher { //public static Dictionary<string, int> relevantDocsOfQuery; ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using SoftwareSalgado.App_Code.Persistencia; using System.Data; namespace SoftwareSalgado.Paginas { public partial class Listar : System.Web.UI.Page { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ClasesAbstractas; using Excepciones; namespace ClasesInstanciables { public sealed class Alumno:Universitario { public enum EEstadoCuenta { AlDia,Deudor,Becado} #region at...
using System.Collections.Generic; namespace Frontend.Core.Common.Proxies { public interface IFileProxy { bool Exists(string path); IEnumerable<string> ExistsMany(IEnumerable<string> paths); void Copy(string sourceFileName, string destFileName, bool overwrite); void Wri...
using UnityEngine; #if UNITY_EDITOR using UnityEditor; [CustomEditor(typeof(NumberSlideAnimation))] [CanEditMultipleObjects] public class NumberSlideAnimationEditor : Editor { public override void OnInspectorGUI() { DrawDefaultInspector(); var obj = (NumberSlideAnimation)target; GUILayout.Space(10); GUIL...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class InvisibleTrigger : MonoBehaviour { //[SerializeField] GameObject plane; Collider planeCol; MeshRenderer planeMesh; // Start is called before the first frame update void Start() { planeMesh = th...
namespace Utilities.NET.Extensions { public static class NullbaleExtensions { public static bool HasNoValue<T>(this T? source) where T : struct => !source.HasValue; } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BookManageSystem.Model; namespace BookManageSystem.Service { public class BookService { BookManageSystem.dao.BookDao bookDao = new BookManageSystem.dao.BookDao(); public in...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LibEqmtDriver.NA { class Topaz : NetworkAnalyzerAbstract { readonly int _intTimeOut = 10000; public Topaz(string address = "TCPIP0::localhost::hislip0::instr") ...
using System; public class Program { public static void Main() { var firstBoat = char.Parse(Console.ReadLine()); var secondBoat = char.Parse(Console.ReadLine()); var stringsCount = int.Parse(Console.ReadLine()); var firstBoatMoves = 0; var secondBoatMoves = 0; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MeraAdda.Models { public interface IDbContext { IQueryable<CityPlace> CityPlaces { get; } IQueryable<Review> Reviews { get; } int SaveChanges(); T Attach<T>(T entity) where T : class...
using System.Collections.Generic; using Musher.EchoNest.Models; namespace Musher.EchoNest.Responses { public class ArtistTermsResponse : BaseResponse { public List<Term> Terms { get; set; } } }
namespace GetSetGo.Migrations { using System; using System.Data.Entity.Migrations; public partial class PopulateVehicleTypes : DbMigration { public override void Up() { Sql("INSERT INTO VehicleTypes VALUES(1,'Bike')"); Sql("INSERT INTO VehicleTypes VALUES(2,'...
using System.Collections.Generic; using System.Linq; using WMN.Shared.Kernel.Translations; namespace WMN.Videos.Core.Model { public class Video { public string Id { get; set; } public string YouTubeVideoId { get; set; } public int? VotesUp { get; set; } public int? VotesDown { get; set; } public List<Vid...
using System; using System.Numerics; using System.Collections.Generic; namespace Problem3 { class Problem3 { static void Main() { checked { List<ulong> values = new List<ulong>(); ulong sum = 0; ulong loops = 1; ...
namespace MXQHLibrary { public class UserToken { /// <summary> /// Session /// </summary> public string LoginKey { get; set; } /// <summary> /// 操作的功能 /// </summary> public string FunNo { get; set; } } }
using System.Collections.Generic; using UnityEngine; namespace FIMSpace.Jiggling { /// <summary> /// FM: Class with methods which calculating variables helpful to create animations like jiggling /// </summary> public abstract class FJiggling_Base : MonoBehaviour, UnityEngine.EventSystems.IDropHandler,...
// +----------------------------+ // | C# Important commands | // | G.Raf v1.0 | // +----------------------------+ // Datentypen bool x; //1 Bit 0/1; true/false; byte x; //8 Bit 0-255; sbyte x; //8 Bit 127-(-128); ushort x; //16 Bit 0-65535 short x; //16 Bit 32767-(-32768) uint x; UInt16...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace productsapi.Models { [Table("product")] public class Product { [Key] public Guid id { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class Joystick : MonoBehaviour, IPointerDownHandler, IPointerUpHandler { public Rigidbody rb; public float sidewaysForce = 600f; public void OnPointerDown(PointerEventData date) { ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace CMS_Tools { public partial class CreateJson_Chart : System.Web.UI.Page { List<chartData> json = new List<chartData>(); pro...
using System; using System.Collections.Generic; using Pubquiz.Domain.ViewModels; using Pubquiz.Persistence; // ReSharper disable UnusedAutoPropertyAccessor.Global // ReSharper disable AutoPropertyCanBeMadeGetOnly.Global // ReSharper disable MemberCanBePrivate.Global namespace Pubquiz.Domain.Models { public class ...
using Common.Message; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.ServiceModel; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace Manager.HyperV { class Program { static void Main(string[] args) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace liteCMS.Entity.Ventas { [Serializable] public class eContacto { public int codigoContacto { set; get; } public string codigoCliente { set; get; } public string nombre { set; get; } ...
using System; using System.Collections; using System.Collections.Generic; namespace FackerProgram { public class CollectionsGenerator { private Random _rand; private BaseGenerator _baseGenerator; public CollectionsGenerator() { _rand = new Random(); _ba...
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace CarSelector.Tests.Services { using CarSelector.Tests.Utils; [TestClass] public class SimpleRNGTestFixture { [TestMethod] public void CanGenerateRandomNumber() { SimpleRNG.SetSeedFromSystemTime(); ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpawnToRandomizer : MonoBehaviour { [SerializeField] List<GameObject> shufflers; private void OnTriggerEnter(Collider other) { if (other.gameObject.tag == "Grabbable") { // pick random shuffle...
// 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 System; using System.Collections.Generic; namespace Microsoft.EntityFrameworkCore.Metadata.Internal { /// <summary> /// This is an in...
namespace ETLBox.DataFlow { /// <summary> /// The type of resource you are using for a streaming source or destination. /// E.g. you can read Json data from a file or via http from a web service. /// </summary> public enum ResourceType { Unspecified = 0, Http = 1, File =...
namespace ObjectPrinting.Tests { public class TestingDouble { public double Value { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using Webcorp.Model; using ReactiveUI; public static class ReactiveExtensions { // // Résumé : // RaiseAndSetIfChanged fully implements a Setter fo...
using System; using System.Buffers; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; namespace NetFabric.Hyperlinq { public static par...
using System; using System.Collections.Generic; using System.Linq; using Gomoku.Commands.Classes; namespace Gomoku.Commands { public enum ECommand : byte { UNKNOWN, ABOUT, BEGIN, BOARD, END, INFO, START, TURN, ERROR } public ...
using PDV.DAO.Atributos; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PDV.DAO.Entidades { public class Tabela { [CampoTabela("ID")] [MaxLength(18)] public decimal ID { get; set; } [CampoTabela("No...
using System.Collections; using PurificationPioneer.Global; using PurificationPioneer.Network.ProtoGen; using PurificationPioneer.Scriptable; using PurificationPioneer.Utility; using ReadyGamerOne.MemorySystem; using ReadyGamerOne.Script; using ReadyGamerOne.Utility; using UnityEngine; using UnityEngine.UI; namespace...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ColliderRaycaster : MonoBehaviour { public static RaycastHit2D[] CircleCastAll(Vector2 origin, float radius, Vector2 direction, float distance, int layerMask, out RayData rayData) { rayData = new RayData(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ShadowAPI.Models { public abstract class NamedEntity : BaseEntity { public string Name { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using Task4; namespace Task4Tests { public class TestComparer<T> : IComparer<T> where T : IComparable { public int Compare(T first, T second) => first.CompareTo(se...
using System; using System.Collections.Generic; using System.Linq; namespace MiHomeLibrary.Devices { public class TokenKeeperService : ITokenKeeper { private readonly List<GatewayToken> _tokens = new List<GatewayToken>(); private static readonly object Locker = new object(); public st...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Infnet.Engesoft.SysBank.Model.Dominio { public class OrdemJudicial { public string _numeroOrdem { get; set; } public DateTime _data { get; set; } public ContaCorrente _conta { get...
using System; using UnityEngine; using System.Collections.Generic; public class ShopDialog : BaseDialog { [SerializeField] private StaticInventory _shopCashier; [SerializeField] private DynamicInventory _weaponInventory; [SerializeField] private DynamicInventory _itemInventory; public const string DIALOG_I...
using System.Collections.Generic; using SuppaCompiler.CodeAnalysis.Binding; namespace SuppaCompiler.CodeAnalysis { public class CompileResult { public BoundExpression BoundExpression { get; } public IEnumerable<Diagnostic> Diagnostics { get; } public CompileResult(BoundExpression boun...
using GmailImap.DAL.Model; using NHibernate; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NHibernate.Linq; namespace GmailImap.DAL { public class NhTransactionRepository : ITransactionRepository { public ICollection<Transacti...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class Player : MonoBehaviour { const float JUMP_VELOCITY = 10.0f; const float KIRI_JET_JUMP_VELOCITY = 15.0f; const float WALK_VELOCITY = 7.0f; const float DAMAGE_VELOCITY_X = 7.0f;...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AudioManager : MonoBehaviour { public AudioClip[] ostList = new AudioClip[5]; public AudioClip[] sfxList = new AudioClip[5]; public AudioSource BG; public AudioSource SFX; public enum BGList { ...
using System; using Android.App; using Android.Content; using Android.Gms.Common; using Android.Graphics; using Android.OS; using Android.Support.V4.App; namespace FCMPushNotifications.Droid { public class AndroidNotificationManager { private const string channelId = "fcmpushnotifications_channel_id...
using Contoso.Common.Configuration.ExpansionDescriptors; using Contoso.Common.Configuration.ExpressionDescriptors; namespace Contoso.Bsl.Business.Requests { public class GetEntityRequest : BaseRequest { public FilterLambdaOperatorDescriptor Filter { get; set; } public SelectExpandDefinitionDes...
namespace Bridge.InfoShopItems { using Bridge.Renderers; using System; public class Movie : InfoShopItem { public Movie(IRenderer renderer) : base(renderer) { } public string Title { get; set; } public string Director { get; set; } public st...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Events { public class SMSSender { //własna implementacja eventu. On będzie odbiorcą eventu. //musi mieć taką samą liczbę argumetów i nazwę co publisher. public ...
using Microsoft.AspNetCore.Mvc; using Microsoft.Data.SqlClient; using WebDataDemo.Dtos; namespace WebDataDemo.Option_02_ADONET_Sprocs; [Route("api/v02/[controller]")] [ApiController] [ApiExplorerSettings(GroupName = "2. Authors - ADO.NET SPROCS")] public class AuthorsController : ControllerBase { private readonly ...
using Assets.Scripts.RobinsonCrusoe_Game.GameAttributes.Food; using Assets.Scripts.RobinsonCrusoe_Game.GameAttributes.Inventions_and_Terrain; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Assets.Scripts.RobinsonCrusoe_Game.Cards.Gathering...
using System.Windows.Controls; using WMagic; using WMaper.Misc.View.Ware; namespace WMaper.Misc.View { public sealed partial class Atlas : UserControl { #region 变量 // 瓦片层 private Scene tile; // 叠加层 private Scene pile; // 注记层 private Scene note; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DD_Lever : DD_Obstacle { private bool mCanActivate = false; private bool mLeverState = false; //true = on, false = off DD_Lever() { Debug.Log("Lever Created"); SetObstacleType(ObstacleType.lever); addObstacle(); } ...
using NodeGraph.ViewModel; using System; using System.Windows.Media; namespace NodeGraph.Model { [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)] public class NodePropertyPortAttribute : NodePortAttribute { public Type ValueType; public Type ViewModelType = typeof(NodePrope...
using System; using System.Drawing; using System.IO; using System.Windows.Forms; namespace _2048WinFormsApp { public partial class MainForm : Form { private User user; private int mapSize = 4; private Label[,] labelsMap; private static Random random = new Random(); priv...
using DocumentFormat.OpenXml; using DocumentFormat.OpenXml.Drawing; using DocumentFormat.OpenXml.Drawing.Charts; using DocumentFormat.OpenXml.Drawing.Spreadsheet; using DocumentFormat.OpenXml.Packaging; using DocumentFormat.OpenXml.Spreadsheet; using GalaSoft.MvvmLight.CommandWpf; using Microsoft.Win32; using Newtonso...
using System; namespace Xamarin.Forms.Platform.Tizen { /// <summary> /// Renderer of a Layout. /// </summary> public class LayoutRenderer : ViewRenderer<Layout, Native.Canvas> { bool _layoutUpdatedRegistered = false; public void RegisterOnLayoutUpdated() { if (!_layoutUpdatedRegistered) { Control...
using System; using System.Linq; using System.Runtime.InteropServices; using System.Security; namespace Utilities.NET.Extensions { /// <summary> Secure string utilities. </summary> public static class SecureStringExtensions { /// <summary> A SecureString extension method that converts a secureStri...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.EntityFrameworkCore.Metadata.Internal; using OfficeOpenXml; using TanoApp.Ap...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Uxnet.Web.Module.Helper { public partial class AutoCompleteDataField : System.Web.UI.UserControl { protected void Page_Load(object sender, EventArgs e) ...