text
stringlengths
13
6.01M
namespace HáziKöltségNyilvántartó.Migrations { using System; using System.Data.Entity.Migrations; public partial class InitialCreate : DbMigration { public override void Up() { CreateTable( "dbo.Categories", c => new { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using POG.Forum; namespace WerewolfTest { [TestFixture] public class HTTPTest { ConnectionSettings _settings; [TestFixtureSetUp] public void Setup() { _s...
using System; using System.Collections.Generic; using System.Collections.Concurrent; using System.Linq; using System.Text; using System.Diagnostics; using MyResources; using TeaseAI_CE.Scripting.Events; namespace TeaseAI_CE.Scripting { /// <summary> /// Controllers are the part that figures out what the personality...
using System; namespace ConsoleApplication { public class Program { public static void Main(string[] args) { var welcome = "Hello World!"; Console.WriteLine(welcome); } } }
namespace Triton.Game.Mapping { using ns26; using System; using Triton.Game; using Triton.Game.Mono; [Attribute38("VarsInternal")] public class VarsInternal : MonoClass { public VarsInternal(IntPtr address) : this(address, "VarsInternal") { } public VarsInt...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class TimerManager : MonoBehaviour { [SerializeField] private Text sureText; int kalanSure; bool sureSaysinmi = true; GameManager gameManager; private void Awake() { gam...
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.Collections; using System.Data.SqlClient; namespace RSMS { public partial class DriverInforFilter : MySubDialogBase ...
namespace CallCenter.Common { public enum EventReason { Login = 0, Logout = 1, Pause = 2, Ready = 3, Busy = 4 } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace RDB_API.Models.Enums { public enum TelefoneTipo { Celular = 0, Residencial = 1, Comercial = 2 } }
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Xml; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Sunny.HttpRequestClientConsole.Interface; using Sunny.Lib; using Sunny.Li...
using System; using System.IO; using System.Threading; using System.Threading.Tasks; namespace BookDownloader { class Program { static async Task Main(string[] args) { var bookId = ""; var userToken = ""; // SID from cookies var resolution = "w1920"; // w128...
using System; using System.IO; using System.Windows; using TariffCreator.Config; namespace TariffCreator.NewTariff.CreateInfFile { partial class CreateInf { /// <summary> /// Create and Saves the Tariff as inf File /// </summary> /// <param name="path"></param> void ...
using System; using System.Text; using System.Data.SqlClient; using System.Data; using XGhms.Helper; using System.Collections.Generic; namespace XGhms.DAL { /// <summary> /// 数据访问类:user_message /// </summary> public partial class user_message { #region 基本方法=================================...
/* Description: This file declares the ExtensionRequest ViewModel and its properties for the ExtensionRequest Controller and views. Author: EAS */ using Project._1.Models; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.Dat...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FireThrower : MonoBehaviour { public GameObject fireThrower; private GameObject instanceFireThrower; // Use this for initialization void Start () { } // Update is called once per frame void Update () ...
using Library.Domain.Concrete; using Library.Domain.Infrastructure; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System....
using System; namespace LeeConlin.ExtensionMethods { public static class UriBuilderExtensions { public static string ToCommonUrlString(this UriBuilder uriBuilder) { return uriBuilder.Uri.ToCommonUrlString(); } } }
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using firma_budowlana.Models; namespace firma_budowlana.Controllers { public class NotificationsController : Controller { private En...
namespace physics2 { public interface IEvent { double Time { get; } MightBeCollision Enact(); } }
using UnityEngine; using System.Collections; using UnityEngine.UI; public class PauseWindow : GenericWindow { public ConfirmationExitToDesktopWindow exitToDesktopWindow; public ConfirmationExitToMainMenuWindow exitToMainMenuWindow; public GameObject gameGO; //public PauseGame pauseGameScript; public void OnRe...
using UnityEngine; [CreateAssetMenu(fileName = "Give Item", menuName = "Dialogue Event/Give Item")] public class DialogueGiveItem : DialogueEvent { public int successLink; public int failLink; public ItemStats item; public override int OnEvent() { if (GameManager.instance.Inventory.AddTo...
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 System.Collections.Generic; using Microsoft.AspNetCore.Mvc.Rendering; namespace DynamicPermission.AspNetCore.ViewModels.User { public class UserRolesViewModel { public string Id { get; set; } public string UserName { get; set; } public List<string> ValidRoles { get; set; } ...
using System; namespace NetFabric.Hyperlinq.Benchmarks { static class Utils { public static int[] GetSequentialValues(int count) { var array = new int[count]; for (var index = 0; index < count; index++) array[index] = index; return array; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LucidChallenge { static class Lucid { static void Main(string[] args) { var grid = ReadGrid(); Console.WriteLine(FindLongestPath(grid)); ...
using System; using System.Collections.Generic; using System.Text; using StacksAndQueue.Classes; namespace FIFOAnilmalShelter.Classes { public class Animal { public string Type { get; set; } public Animal Next { get; set; } public Animal() { } public...
using System; using System.IO; using System.Linq; using System.Collections.Generic; namespace GameProject.Manager:IGameService { class CampaignManager { public void Add(Campaign campaign) { Console.WriteLine("Kampanya eklendi: "+campaign.CampaignName+"İndirim oranı:"+campaign.Discou...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; //using System.Data.Entity.Spatial; namespace Entities { public partial class Sales { public Sales() { Tickets = new HashSet<Tickets>(); ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; namespace BPiaoBao.Common.Enums { /// <summary> /// 证件类型枚举 /// </summary> public enum EnumIDType { [Description("身份证")] NormalId = 0, [Description("护照")] ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //Task 12 namespace Employee_Data { class Program { static void Main(string[] args) { string firstName = ""; string lastName = ""; short? age...
// Accord Machine Learning Library // The Accord.NET Framework // http://accord-framework.net // // Copyright © César Souza, 2009-2015 // cesarsouza at gmail.com // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as publi...
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using HardwareInventoryManager; using HardwareInventoryManager.Models; using HardwareInventoryManager.Filters; namespace HardwareInventoryManager.Co...
// Copyright 2018 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...
using SFML.Graphics; using SFML.Window; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; namespace LD30 { abstract class World : GameObject { public bool[,] Collisions; VertexArray tileVA; Image worldImage; RenderS...
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.Threading; namespace BaiGiuaKy_PhanVanVuong { public partial class FrmDrawLine : Form ...
using NUnit.Framework; using System; using System.IO; using System.Diagnostics; using FizzBuzzKata; namespace FizzBuzzKataTests { [TestFixture] public class FizzBuzzKataTests { [Test] public void CanDivideByThree () { int Number = 3; bool Result = FizzBuzz.DivisibleByThree (Number); Assert.IsTrue (R...
namespace TriodorArgeProject.Entities.EntityClasses { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class PersonnelCosts { public int I...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Application.Common.Dtos; using Application.Common.Exceptions; using Application.Common.Interface; using Application.Common.Models; using AutoMapper; using AutoMapper.QueryableExtensions; using ...
// Copyright (C) 2017 Kazuhiro Fujieda <fujieda@users.osdn.me> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless re...
namespace IntegradorZeusPDV.DB.DB.CriptografiaMD5 { public class CriptografiaMD5 { public static string CodificaSenha(string Chave, string Senha) { DemoEncryption Demo = new DemoEncryption(Chave); return Demo.EncryptUsernamePassword(Senha); } public stat...
using AutoMapper; using Microsoft.Extensions.DependencyInjection; using Newtonsoft.Json; using Quartz; using System.Threading.Tasks; using Whale.DAL.Models; using Whale.Shared.Services; namespace Whale.Shared.Jobs { public class ScheduledMeetingJob : IJob { private readonly IServiceScopeFactory _serv...
using Alword.Algoexpert.Tier0; using System; using System.Collections.Generic; using System.Text; using Xunit; namespace Alword.Algoexpert.Tests { public class ValidSubsquenceTest { [Fact] public void ValidSequence() { var array = new List<int> { 5, 1, 22, 25, 6, -1, 8, 10 ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using GAPT.Models; namespace GAPT.ViewModels { public class ViewRepliesViewModel { public IEnumerable<Comment> Replies { get; set; } public Comment Comment { get; set; } public int Pid { get; set; } ...
// ----------------------------------------------------------------------- // <copyright file="StreamingMediaPlugin.cs" company="Henric Jungheim"> // Copyright (c) 2012-2014. // <author>Henric Jungheim</author> // </copyright> // ----------------------------------------------------------------------- // Copyright ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WindowsFormsApp2; namespace WindowsFormsApp2 { public class Distribution { private static long Choose(int n, int r) { long top = Factorial(n); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Controller { public static class ThreadPool { private static List<Task> AllThreads = new List<Task>(); public static void AddTask(Task task) { AllThreads.Add(task); } publi...
using System; namespace IMDB.Api.Repositories.Interfaces { public interface IPlotKeywordRepository : IGenericRepository<Entities.PlotKeyword> { } }
using System; using System.Runtime.CompilerServices; namespace UnityEngine { public sealed partial class Time { // Overwritten property public static float deltaTime { get { return 0.0166666675f; } } } }
using System; using System.Collections.Generic; #nullable disable namespace Repository.Models { /// <summary> /// Repo Model from database-first scaffolding /// </summary> public partial class Setting { public string Setting1 { get; set; } public int? IntValue { get; ...
using UnityEngine; using System.Collections; public class EnemyState : MonoBehaviour { public CurrentState nmeCurrentState; public enum CurrentState { Stationary = 0, Patroling = 1, Chasing = 2, Firing = 3, Turning = 4, Padding = 5, Searching = 6 ...
using System; using Microsoft.Extensions.Configuration; namespace RipplerES.CommandHandler.Utilities { public static class ConfigurationExtensions { private static int ParseInt(string literal, int defaultValue) { int result; return int.TryParse(literal, out result) ...
using PhotoFrame.Domain.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace PhotoFrame.Persistence.Csv { /// <summary> /// <see cref="IKeywordRepository">の実装クラス /// </summary> class KeywordRepository : IK...
using Ninject; using Prj.BusinessLogic.MapperConfig; using Prj.BusinessLogic.ModuleConfig; using Prj.Web.Infrastructure; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace Prj.Web { public class MvcApplication...
using JAGA.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace JAGA.Mapping { public static class SongMapper { public static Song MapToModel(this song dbResult) { if (dbResult == null) return null; return new Song() ...
namespace GetLabourManager.Migrations { using System; using System.Data.Entity.Migrations; public partial class Employee_Contribution_Relation : DbMigration { public override void Up() { CreateTable( "dbo.EmployeeContributions", c => new ...
using System; using GithubRepository.Accessors; using GithubRepository.Contracts; using Microsoft.Extensions.Options; using System.Collections.Generic; using System.Threading.Tasks; using Language = GithubRepository.Contracts.Language; using Repository = GithubRepository.Contracts.Repository; namespace Githu...
using System; using System.Collections.Generic; using System.Text; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace MMSdb.dbo.Tables { [Table("tbl_DDSA")] public class tbl_DDSA { [Key] public long ddsa_ID { get; set; } publi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //Task 3 namespace CorrectPlacedBrackets { class Program { static void Main(string[] args) { Console.WriteLine("Enter an expression: "); string expressio...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class LightTutorial : TutorialSection { protected override void TaskNeedsVerification() { switch (activeTask.eventIndex) { case 0: base.NextTask(); br...
using JT7SKU.Lib.Twitch; using Microsoft.Extensions.Logging; using Orleans; using Orleans.Concurrency; using Orleans.Core; using Orleans.Runtime; using Services.Kirjasto.Unit.Twitch.Interfaces; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using System.Timers; namesp...
using UDM; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using Moq; using System.Collections; using System.Collections.Generic; namespace TestUDM { /// <summary> ///This is a test class for FilterCommandTest and is intended ///to contain all FilterCommandTest Unit Tests /...
using System; public class Program { public static void Main() { var charName = Console.ReadLine(); var charCurrHealth = int.Parse(Console.ReadLine()); var charMaxHealth = int.Parse(Console.ReadLine()); var charCurrEnergy = int.Parse(Console.ReadLine()); var charMaxEner...
using System; namespace CloudFile { public class CloudFileLoader { protected E_LoaderState m_myState; protected LoaderError m_error; private float m_progress; protected int m_idForRequestObject; protected float Progress { get { if (this.m_progress < 0f) { return 0f; } if (t...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; namespace EBV { public partial class Login : System.Web.UI.Page { BLL.BLL objbll = new BLL.BLL(); protected void Page_Load(object sender...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using DBStore.DataAccess.Data.Repository.IRepository; using DBStore.Models.VModels; using ExcelDataReader; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Micr...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Zhouli.Common.Middleware { /// <summary> /// 请求记录...
using System.Data.Entity.ModelConfiguration; using RMAT3.Models; namespace RMAT3.Data.Mapping { public class AuditWarrantyMap : EntityTypeConfiguration<AuditWarranty> { public AuditWarrantyMap() { // Primary Key HasKey(t => t.AuditWarrantyId); //...
using UnityEngine; using System.Collections; using SLua; [SLua.CustomLuaClass] public class OzLuaCoroutine : MonoBehaviour { public void ExecuteWhen(object instruction, LuaFunction func, object param) { StartCoroutine(ExecuteWhenCoroutine(instruction, func, param)); } private IEnumerator Execu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Xml; using System.Windows.Forms; namespace HCAlarmService { public class XMLClass { private static string applicationStr = ""; public static DataSet GetAppConfig() { ...
using UnityEngine; using System.Collections; public class UpgradingGUI : MonoBehaviour { //GUI, die bei Ansprechen eines Schmieds aufgerufen wird um die Ausrüstung des Charakters zu verbessern public string upgradeWeapon; public string upgradeArmor; public int upgradeCap; //Werte für Waffenausbau WeaponValues...
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 System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _02_Uygulama { class Daire //const kullanımı için yazıldı. Set edilemeyeceği için dörülemiyor. { public const double pi = 3.14; private int _cap; ...
using System; using System.Runtime.Serialization; namespace Migration.Common.Log { [Serializable] public class AbortMigrationException : Exception { protected AbortMigrationException(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(serializationInfo, streamingContext...
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Scrawl.CodeEngine.Roslyn")] [assembly: System.Runtime.CompilerServices.InternalsVisibleTo("OmniSharp")]
using Newtonsoft.Json; namespace Grimoire.Game.Data { public class QuestReward { [JsonProperty("iCP")] public int ClassPoints { get; set; } [JsonProperty("intGold")] public int Gold { get; set; } [JsonProperty("intExp")] public int Experience { get; set; } ...
using UnityEngine; using System.Collections; public class Damage : MonoBehaviour { //Health public float health; public float hearthProb; public AudioClip morir; //Drops //public Dictionary<String,GameObject> Drops; public GameObject[] drops; public Vector3 lastPosition; public void HealthVaration(floa...
/** 版本信息模板在安装目录下,可自行修改。 * Key.cs * * 功 能: N/A * 类 名: Key * * Ver 变更日期 负责人 变更内容 * ─────────────────────────────────── * V0.01 2014/12/4 17:26:50 N/A 初版 * * Copyright (c) 2012 Maticsoft Corporation. All rights reserved. *┌──────────────────────────────────┐ *│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │ *│...
 #load "common.csx" string pathToBuildDirectory = @"tmp/"; private string version = "1.0.0"; WriteLine("DotNet.Script.NuGetMetadataResolver version {0}" , version); Execute(() => InitializBuildDirectories(), "Preparing build directories"); Execute(() => BuildAllFrameworks(), "Building all frameworks"); Execute(() =...
using System.Linq; using System.Threading.Tasks; using System.Web; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using W3ChampionsStatisticService.WebApi.ExceptionFilters; namespace W3ChampionsStatisticService.WebApi.ActionFilters { public class CheckIfBattleTagBelongsToAuthCodeFilter : ...
using CP.i8n; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CriticalPath.Data { public partial class PurchaseOrderDTO : IIsApproved, IHasProduct, ICancelled, IAllPrice { partial...
//Problem 1. School classes // We are given a school. In the school there are classes of students. Each class has a set of teachers. Each teacher teaches a set of disciplines. // Students have name and unique class number. Classes have unique text identifier. Teachers have name. Disciplines have name, number of lectu...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using ClickPizza.WindowsPhone.Model; namespace ClickPizza.WindowsPhone.Data { public class StubRepository :IRepository { private static readonly StubRepository _stubRepository = new StubRepository(); public st...
using Models; using System; using DL; using System.Collections.Generic; namespace BL { public class PetBL : IPetBL { private IPetRepo _repo; public PetBL(IPetRepo repo) { _repo = repo; } public List<Cat> ViewAllCats(){ return _repo.GetAllCats();...
using System.IO; using System.Linq; using System.Speech.Recognition; using System.Threading.Tasks; namespace SpeechApi.Models { public class SpeechToText { private readonly Grammar _grammar; public SpeechToText() { _grammar = new DictationGrammar {Name = "Dictati...
using System; using UnityEngine; namespace UnityUIPlayables { [Serializable] public class SliderAnimationBehaviour : AnimationBehaviour { [SerializeField] private SliderAnimationValue _startValue; [SerializeField] private SliderAnimationValue _endValue; public SliderAnimationValue ...
using Microsoft.Extensions.DependencyInjection; using System; namespace Hybrid.Domain.UnitOfWorks { public class UnitOfWorkManager : IUnitOfWorkManager { //private readonly IIocResolve _iocResolve; private readonly IServiceProvider _serviceProvider; private readonly ICurrentUnitOfWor...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class on_off_music : MonoBehaviour { public GameObject on; public GameObject off; public AudioSource[] musics; private Player player; public void Start() { player = GameObject.FindObjectOfType<Player...
using UnityEngine; using UnityEngine.AI; public class StopAgentHandler : MonoBehaviour { public FloatData HoldTime; private NavMeshAgent agent; public GameAction StopAgentAction; void Start() { agent = GetComponent<NavMeshAgent>(); StopAgentAction.RaiseNoArgs...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using DotNetNuke.Entities.Modules; using DotNetNuke.UI.Modules; namespace DotNetNuke.Web.Mvc { public class MvcSettingsControl : MvcHostControl, ISet...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using ProductTest.Models; namespace ProductTest.Data { public class BulkUpload : IBulkUpload { private readonly DataContext _context; public BulkUpload(DataContext context) { _c...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace UI.ViewModels { public class ProdutoClienteInsertViewModel { public Guid Vendedor_id { get; set; } public Guid Cliente_id { get; set; } public Guid Produto_id { get; set; } }...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace OnlineShopping { public partial class UserAdd : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } p...
using UnityEngine; using System.Collections; public class BulletScript : MonoBehaviour { public float speed = 10; public int maxDamage = 1; public int minDamage = 2; public int baseDamage = 0; public int direction = 0; public int angle = 0; public GameObject origin; // Use this for initialization void Start ...
using System; using System.Collections.Generic; using System.Linq; using RimWorld; using RimWorld.Planet; using RimWorld.QuestGen; using UnityEngine; using Verse; namespace Quests { public class QuestNode_GetPawnForQuest : QuestNode { private IEnumerable<Pawn> ExistingUsablePawns(Slate slate) { return from x...
namespace ShoppingCart.UnitTests { public class ProductData { public string Name; public int Price; public string Sku; public ProductData(string name, int price, string sku) { Sku = sku; Price = price; Name = name; } p...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Payroll { class Employee : WorkPerDay { String name; String id; public string Name { get => name; set => name = value; } public string Id { get => id; ...
using UnityEngine; using sugi.cc.data; using SFB; using System.IO; public class LayoutSettingLoader : MonoBehaviour { [SerializeField] LayoutSetting layoutSetting; [SerializeField] private Space space = Space.World; public void Start() { ApplyLayoutSetting(); } void ApplyLayoutSettin...
using System; using System.Text.RegularExpressions; namespace LabTen { class Program { static void Main(string[] args) { bool repeat = false; int circleCount = 0; Console.WriteLine("Welcome to the Grand Circus Circle Factory!"); do {...
using System; using System.Windows.Forms; namespace QuanLyTiemGiatLa.Danhmuc { public partial class frmCTDotGiamGia : Form { public OnSaved onsaved; private TrangThai TrangThai; public frmCTDotGiamGia() { InitializeComponent(); this.Load += new EventHandler(frmCTDotGiamGia_Load); } ...
using UnityEngine; using System.Collections; public class RegularProjectile : ProjectileController { void Awake() { ThisTransform = transform; Damage = 20.0f; PiercingDamage = 0.0f; SlowMagnitude = 0.0f; SlowDuration = 0.0f; AreaOfEffect = 0.0f; AreaOfEff...