text
stringlengths
13
6.01M
using UnityEngine; using UnityEditor; namespace Motion.Tools { [CanEditMultipleObjects] [CustomEditor(typeof(BrownianMotion))] public class BrownianMotionEditor : Editor { static readonly GUIContent textPositionNoise = new GUIContent("Position Noise"); static readonly GUIContent textRotationNoise = new GUICon...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Runtime.CompilerServices; using Logic.PlayerClasses; using Logic.Resource; using Logic.SupportClasses; using Logic.Buildings; using Logic.PopulationClasses; namespace Logic.SpaceObjects { ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using EkspozitaPikturave.Models; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages;...
using Prism.Commands; using Prism.Mvvm; using System; using System.Collections.Generic; using System.Linq; namespace LogUrFace.Reporting.ViewModels { public class DTRReportViewModel : BindableBase { private DelegateCommand<DateTime> _viewLogCommand; public DelegateCommand<DateTime> ViewLogCo...
using System; using System.Collections.Generic; using System.Reactive.Linq; using Prism.Windows.Mvvm; using Prism.Windows.Navigation; using System.Threading; using SoSmartTv.VideoService; using SoSmartTv.VideoService.Dto; using SoSmartTv.VideoService.Services; namespace SoSmartTv.VideoPlayer.ViewModels { public clas...
using System; using System.Collections.Generic; using System.Data.OleDb; using System.Text; using System.Threading.Tasks; using dk.via.businesslayer.Data.Services; using dk.via.ftc.businesslayer.Data.Services; using dk.via.ftc.businesslayer.Models; using dk.via.ftc.businesslayer.Persistence; using Microsoft.AspNetCore...
namespace Promact.Oauth.Server.StringLiterals { public class ConsumerApp { public string AlphaNumericString { get; set; } public string CapitalAlphaNumericString { get; set; } } }
using System; [CustomLuaClass] public class VerificationOfLogin : Singleton<VerificationOfLogin> { private string m_cachedAccessToken; private string m_cachedAnyDataForAnySDKLogin; public static VerificationOfLogin Instance { get { return Singleton<VerificationOfLogin>.ins; } } public string CachedAc...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sock5Example { class Program { static void Main(string[] args) { var sock = SocksProxy.ConnectToSocks5Proxy(); } } }
// -------------------------------------------------------------------------------------------------------------- // <copyright file="TinyResult.cs" company="Tiny开源团队"> // Copyright (c) 2017-2018 Tiny. All rights reserved. // </copyright> // <site>http://www.lxking.cn</site> // <last-editor>ArcherTrister</las...
public static class GameTags { public const string Ball = "Ball"; public const string Ship = "Ship"; public const string Enemy = "Enemy"; public const string Frame = "Frame"; public const string EnemyProjectile = "EnemyProjectile"; public const string Striker = "Striker"; }
using System.Collections; using System.Collections.Generic; using UnityEngine; /** * Copyright (c) blueback * Released under the MIT License * https://github.com/bluebackblue/fee/blob/master/LICENSE.txt * http://bbbproject.sakura.ne.jp/wordpress/mitlicense * @brief イベントプレート。ブロックアイテム。 */ /** NEve...
using MrHai.Application; using MrHai.BMS.Controllers.Base; using MrHai.BMS.Models.Work; using MrHai.Core.Models; using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using System.Web; namespace MrHai.BMS.Controllers.Common.Funtion { [Export] public class ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HealthRegen : MonoBehaviour { //==========================| Variables |=============================================== const float duration_untilStart = 2.0f; const float duration_fullRegen = 20.0f; const f...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Dentist.Models; using Kendo.Mvc.UI; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Dentist.Controllers { public class TryController : Controller { // GET: Try pu...
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.Net; using System.IO; using Jil; using System.Security.Cryptography; using Sy...
using DevExpress.Office.Utils; using MetroFramework; using MetroFramework.Forms; using PDV.CONTROLER.Funcoes; using PDV.DAO.Entidades; using PDV.UTIL; using PDV.VIEW.Forms.Cadastro; using PDV.VIEW.Forms.Util; using System; using System.Collections.Generic; using System.Data; using System.Windows.Forms; namespace PDV....
using CleanArch.Application.ViewModels; using CleanArch.Domain.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CleanArch.Application.Interfaces { public interface IProductService { //IEnumerable<ProductViewModel> Get...
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Abstractions; using Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Enums; using Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Extensions; using Microsoft.OpenApi.Models; namespace Microsoft.Azur...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Rotater : MonoBehaviour { private void Update() { this.transform.Rotate(new Vector3(0, Time.deltaTime * 5, 0)); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ORI_uvod { public class FizzBuzz { public static string GetFizzBuzz() { string fbString = ""; // TODO 4: -Implementirati FizzBuzz algoritam return fbString; ...
using JigneshPractical.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JigneshPractical.Repository { public interface IUser_Repository : IDisposable { List<MST_City_List_Get_Result> GetCityList(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; namespace System.IO.Compression { public class HttpZipStream : IDisposable { string httpUrl { get; set; } HttpClient httpClient { get; set; } ...
using UnityEngine; using System.Collections; public class P0_Basic_Particle : MonoBehaviour { public float period = 5; public float speed = 5; public float distance = 5; public float swell_amt = 1; public float rotation_amt = 20; public bool visible; protected Messenger messenger; protected int vertices = ...
using System; using System.Threading.Tasks; namespace Caliburn.Light { /// <summary> /// Provides data for <see cref="Task"/> events. /// </summary> public sealed class TaskEventArgs : EventArgs { /// <summary> /// Initializes a new instance of the <see cref="TaskEventArgs"/> class...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class Splitter : MonoBehaviour { public float coeff; public float Coeff { get { return coeff; } set { if(Activate) { foreach(var c in collided) { CircleCollider2D cc = c.gameObject.GetComponent<Ci...
using Newtonsoft.Json; namespace GaleService.DomainLayer.Managers.Services.Fitbit.ResourceModels { public class FitbitHeartRateResource : FitbitResourceBase { [JsonProperty("activities-heart-intraday")] public ActivitiesHeartIntraday ActivitiesHeartIntraday { get; set; } } public clas...
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Sokoban { public class MapObject { public PictureBox picturebox; protected Point point; public virtual void se...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework; namespace CyberPunkRPG.Guns { class Pistol : InteractiveObject { Rectangle sourceRect; public Pistol(Vecto...
using System; namespace ConstructorInheritance { public class Car:Vehicle { private readonly string registrationNumber; /// <summary> /// to demonstrate hierachy of implementation /// </summary> //public Car() //{ // Console.WriteLine("Car is being i...
using System.Web.Mvc; namespace Psub.DataAccess.Attributes { public class TransactionPerRequest : ActionFilterAttribute { public override void OnActionExecuting(ActionExecutingContext filterContext) { NHibernateHelper.GetCurrentSession().BeginTransaction(); } publi...
using System.Collections.Generic; namespace backendapi { public class Item { public int Id { get; set; } public string Title { get; set; } public List<ItemChild> Children { get; set; } } }
using System; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace Crt.Model.Utils { public static class CsvUtils { public static string ConvertToCsv<T>(T entity, string[] wholeNumberFields) { var csvValue = new StringBuilder(); var fie...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="NullOrDefaultToVisibilityConverter.cs" company="Soloplan GmbH"> // Copyright (c) Soloplan GmbH. All rights reserved. // Licensed under the MIT License. See License-file in the...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Net.NetworkInformation; using System.Runtime.InteropServices;//for StructLayoutAttribute namespace winClient2 { [Seria...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("KazakhSupportPlugin")] [assembly: AssemblyProduct("KazakhSupportPlugin")] [assembly: AssemblyDescription("")] [assembly: AssemblyCompany("NPO Computer")] [assembly: AssemblyCopyright("Copyright © NPO Computer 2018")] [ass...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Exercice_6 { class Program { static void Main(string[] args) { string saisie; int h; int m; int s; Consol...
namespace TrafficControl.DAL.RestSharp.Types { public class Installation { public long Id { get; set; } public string Name { get; set; } public Position Position { get; set; } public int Status { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace ItemEdit.Models.profiles { public class Character { public string _id { get; set; } public string aid { get; set; } public string savage ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.Integration.AspNet.Core; using Microsoft.Bot.Configuration; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Accounting.Entity { public class LCAcceptance { public LCAcceptance() { } #region Fields private int numSlNo; private int numLCID; private DateTime dtacceptDate; pri...
//------------------------------------------------------------------- //版权所有:版权所有(C) 2010,Wakaoyun //系统名称: //作 者:dengqibin //邮箱地址:wakaoyun@gmail.com //创建日期:9/8/2010 11:24:41 AM //功能说明:Sql数据库执行帮助类 //------------------------------------------------------------------- //修改 人: //修改时间: //修改内容: //-------------...
namespace PICSimulator.Model.Commands { public abstract class PICCommand { public readonly string SourceCodeText; // Line in the src file public readonly uint SourceCodeLine; // LineNmbr in the src file public readonly uint Position; public readonly uint Command; protected readonly BinaryFormatParser Par...
#region 版本说明 /***************************************************************************** * * 项 目 : * 作 者 : 李金坪 * 创建时间 : 2014/11/18 13:18:33 * * Copyright (C) 2008 - 鹏业软件公司 * *****************************************************************************/ #endregion /* <!--模块管理--> <compo...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IBApi { partial class ContractDetails { static readonly ConcurrentDictionary<string, ContractDetails> ContractDetailsCache = new ConcurrentDictionary...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using SGDE.Domain.Supervisor; using SGDE.Domain.ViewModels; using System; namespace SGDE.API.Controllers { [Route("api/[controller]")] [ApiController] [Authorize] public class AdvancesControll...
using ProBuilder2.Math; using System; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace ProBuilder2.Common { [Serializable] public class pb_Edge : IEquatable<pb_Edge> { private struct pb_Range { public int min; public int max; public pb_Range(int min, int max) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sample_Reflection { class Program { static void Main(string[] args) { //使用者輸入 System.Console.Write("請輸入您的交通工具類型(1.摩托車;2.汽車):"); int...
using Cappta.Gp.Api.Com.Model; using PDV.VIEW.FRENTECAIXA; using System; using System.Windows.Forms; namespace Cappta.Gp.Api.Com.Sample.Model { public class Notificable { public void CriarMensagemErroJanela(string mensagem) { MessageBox.Show(mensagem, "Erro"); } public string ExibirMensagem(IMensagem me...
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Web; using WebBanHang_FoodHub.Model; namespace WebBanHang_FoodHub.DataUtil { public class DataCategory { SqlConnection conn = null; SqlCommand cmd = null; SqlDataReader dr = nul...
using App.Entity; namespace App.Data { /// <seealso cref="App.Data.BasicDAC{App.Entity.UserBE, App.Data.UserDAC}" /> public class UserDAC : BasicDAC<UserBE, UserDAC> { /// <summary> /// Initializes a new instance of the <see cref="UserDAC"/> class. /// </summary> public Us...
using MCC.Plugin; using MCC.Plugin.Win; using MCC.Utility; using MCC.Utility.Net; using MCC.Utility.Text; using System.Collections; using System.Collections.Generic; using System.Threading.Tasks; using System.Windows; namespace MCC.Youtube { public class Youtube : IPluginSender, ISetting, ILogged { pr...
using Renting.Domain.Apartments; using Renting.Domain.Drafts; namespace Renting.Domain.Offers { public class Offer { public OfferId Id; private Period _period; private OwnerId _ownerId; private Apartment _apartment; private Price _pricePerDay; private Price _depo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Core; namespace Wordlist { class UserInterface { /* public static void Main() { Console.WriteLine("Input command please(split with space)"); ...
using System; using System.Collections.Generic; using Acr.UserDialogs; using City_Center.Clases; using City_Center.Helper; using Xamarin.Forms; namespace City_Center.Page { public partial class DetallePromocion : ContentPage { public DetallePromocion() { InitializeComponent(); ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Jieshai { public class JsonConvertHelper { public static bool TryConvert<T>(string json, out T t) { t = default(T); try { t...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using CsvHelper; using DevExpress.Mvvm.POCO; namespace InsightsAnalyser.Models { public class QueryDataFactory { private readonly string _fileName; public QueryDataFactory(string fileName) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net.Sockets; namespace cMud2 { public partial class MudCommunication { private static MudCommunication Instance; public static MudCommunication GetInstance() { if (Instance ==...
using System; using System.Linq; using MenuSample.Scenes.Core; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Xspace; namespace MenuSample.Scenes { /// <summary> /// Un écran de chargement /// </summary> public class SongInfo : Abstrac...
using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Microsoft.SharePoint; using Waffles; using Waffles.UserControls; public partial class admin_modal_tools : AdminModal { public override void Build() { Modal.Label.A...
using HacktoberfestProject.Web.Extensions.Rules; using Microsoft.AspNetCore.Rewrite; namespace HacktoberfestProject.Web.Extensions { public static class RewriteOptionsExtensions { public static RewriteOptions AddRedirectToApex(this RewriteOptions options) { options.Rules.Add(new RedirectToApexRule())...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; namespace Tivo.Hmo { public class TivoItem { protected TivoItem(XElement element) { if (element == null) throw new ArgumentNullException("elemen...
namespace Triton.Game.Mapping { using ns26; using System; [Attribute38("GeneralStoreHeroesSelectorButton")] public class GeneralStoreHeroesSelectorButton : PegUIElement { public GeneralStoreHeroesSelectorButton(IntPtr address) : this(address, "GeneralStoreHeroesSelectorButton") { ...
using System.Collections.Generic; namespace MonoGame.Extended.Sprites { public class SpriteSheetAnimationCycle { public SpriteSheetAnimationCycle() { Frames = new List<SpriteSheetAnimationFrame>(); } public float FrameDuration { get; set; } = 0.2f; public Li...
using System.Linq; using FluentAssertions; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using OmniSharp.Extensions.JsonRpc; using OmniSharp.Extensions.JsonRpc.Server; using OmniSharp.Extensions.JsonRpc.Server.Messages; using Xunit; namespace JsonRpc.Tests.Server { public class SpecificationReceiverTests ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hwork20 { class Program { delegate double CalcCircle(double r); static void Main(string[] args) { Console.Write("Введите радиус: "); dou...
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 Sudoku_Solver; namespace WindowsFormsApplication1 { public partial class Form1 : Form { privat...
namespace PDV.DAO.Entidades.MDFe { public class AverbacaoSeguradoraMDFe { public decimal IDAverbacaoSeguradoraMDFe { get; set; } public decimal IDSeguradoraMDFe { get; set; } public string NumeroAverbacao { get; set; } public AverbacaoSeguradoraMDFe() { } } }
using System; using System.Collections.Generic; using System.Threading.Tasks; using Currency.Client.Model.Entity; namespace Currency.Client.Model.Service { public interface ICurrencyTableService { Task<List<Rate>> FetchRatesForDateAsync(DateTime dateTime); Task<List<Rate>> FetchRatesForCodeAs...
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Input; using HandyControl.Data; using HandyControl.Interactivity; using HandyControl.Tools; namespace HandyControl.Controls { [TemplatePart(Name = ElementTextBox, Type = typeof(WatermarkTextBox))] ...
namespace FactoryMethodExample { public abstract class CarFactory { public abstract Car MakeCar(); } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HoverText : MonoBehaviour { public Transform PlayerTransform; // Update is called once per frame void Update () { transform.localScale = new Vector3(Mathf.Sign(PlayerTransform.localScale.x)*Mathf.Abs(transform.localScal...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AssignLinkedList { class Program { static void Main(string[] args) { LinkedList<string> ls = new LinkedList<string>(new string[] {"quick","fox...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using JoveZhao.Framework.DDD; namespace BPiaoBao.DomesticTicket.Domain.Models.Insurance { public class InsuranceConfigBuilder : IAggregationBuilder { public InsuranceConfig CreateInsuranceConfig() { r...
using System.Configuration; using System.Collections.Specialized; 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 OpenSSL_WinGui { public ...
namespace RefactorTheFolwIfStatements { using System; public class Matrix { private const int MinRow = 0; private const int MaxRow = 10; private const int MinCol = 0; private const int MaxCol = 10; private int currentRow; private int currentCol; pu...
using System.Collections.Generic; using Shakespokemon.Core; namespace Shakespokemon.Etl.Core { public interface IPokemonSourceRepository { IEnumerable<Pokemon> GetAll(); } }
using WorkerService.Core.Entities.Abstract; using System; using System.Collections.Generic; using System.Text; namespace WorkerService.Entities.Dtos { public class ExamDto : IDto { public string Title { get; set; } public string Information { get; set; } public int NumberOfQuestions { ...
using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace VavilichevGD.GameServices.AnalyticService.Example { public class AnalyticsServiceExample : MonoBehaviour { [SerializeField] private Button buttonEventNoParameters; [SerializeField] private Button buttonEventWithParameters; ...
using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace ConsoleApp1 { public class Connpass { public int results_start { get; set; } public int results_returned { get; set; } public int res...
/* * Copyright (C) 2012 Ricardo Juan Palma Durán * * 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 applicable...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //Task 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 namespace MobilePhone { class Program { static void Main(string[] args) { //run GSMTest class GSMTest...
using GameAnalyticsSDK; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class GameAnalyticsManager_Manual : MonoBehaviour, IGameAnalyticsATTListener { public static GameAnalyticsManager_Manual Instance; private void Start() { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using System; using UnityEngine.SceneManagement; public class GetPlayInfo : MonoBehaviour { public GameObject GameViewPanel; public Text Time; public Text Score; MoveElement play_info; List <Vector2> Numbers; List ...
using System; using System.Collections.Generic; using System.Text; namespace TopkaE.FPLDataDownloader.Models.InputModels.LeagueDataModel { public class GeneralLeagueModel { public int Id { get; set; } public League league { get; set; } //public NewEntries new_entries { get; set; } ...
using System.Threading.Tasks; using Dating.API.Models; // repository hi hai but bahar hai ---- namespace Dating.API.Data { public interface IAuthRepository { Task<User> Register(User user, string password); //method user passed user and password will return User Task<User> Login(str...
using System.Collections; using System.Collections.Generic; using UnityEngine; /** * Copyright (c) blueback * Released under the MIT License * https://github.com/bluebackblue/fee/blob/master/LICENSE.txt * http://bbbproject.sakura.ne.jp/wordpress/mitlicense * @brief UI。ツール。 */ /** NUi */ namesp...
using MailKit.Net.Smtp; using MailKit.Security; using MimeKit; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace PetSharing.Domain.Services { public class EmailService { public async Task SendEmailAsync(string email, string subject, string messa...
using System; using System.Collections; using System.Net; using Newtonsoft.Json.Linq; namespace OCP.AppFramework.Http { /** * A renderer for JSON calls * @since 6.0.0 */ class JSONResponse : Response { /** * response data * @var array|object */ protected object data; /** * con...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sudoku_Designer { class Cell { protected int value; public void SetCell(int newValue) { value = newValue; } public int GetCell() ...
using System; using SnakeGame; using NUnit.Framework; namespace SnakeTest { [TestFixture] public class FruitTest { [Test] public void FruitResetPositionTest() { Fruit f = new Fruit(new Point(10, 10), null, false); f.ResetPosition(new Point(5, 5)); ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using MyDir; public class ClickOp : MonoBehaviour { private UserAction action; CharacterController character_ctrl; public void setController(CharacterController character){ character_ctrl = character; } // Use this for initializatio...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // namespace DotNetNuke.UI.Skins { public enum SkinScope { All = 0, Host = 1, Site = 2 } }
//////////////////////////////////////////////////////////////////////////// // 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 // /...
using Ninject; using Services.Interfaces; using Services.Log; using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; using UGCS.Example.Enums; using UGCS.Example.Properties; namespace UGCS.Example { /// ...
using UnityEngine; using System.Collections; public class EnableEvent : ButtonEvent { public Transform enabledObject; bool enabled = false; public override void performEvent() { enabled = !enabled; enabledObject.GetComponent<Animator> ().SetBool ("Enabled", enabled); } }
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// 射击组件 /// </summary> [DisallowMultipleComponent] public class CompShooter : Comp { public float ammoSpeed { get { return GameSystem.Setter.setting.ammoSpeed; } } public Transform GunPivot; private int id; p...
using HangoutsDbLibrary.Data; using HangoutsDbLibrary.Model; using HangoutsDbLibrary.Repository; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WebAPI.Services { public class ServiceUserGroup : IServiceUserGroup { private HangoutsContext cont...
using System; using System.Collections.Generic; using ReactRestChat.Data; using ReactRestChat.Models; namespace ReactRestChat.Services { public interface IConversationInstanceRepository : IRepository<ConversationInstance> { IEnumerable<Guid> GetConversationIds(string userId); void CreateConvers...
using StockData.Contract; using StockData.Repository; using System; using System.Linq; namespace StockData.ConsoleApp { class Program { static void Main(string[] args) { //source should be set in config files, but i'll simplify this var stockDS = StockDataSources.Mock; ...