text
stringlengths
13
6.01M
using UnityEngine; public class FollowAnimPlayer : MonoBehaviour { [SerializeField] GameObject animPlayer; void FixedUpdate() { transform.position = new Vector3(animPlayer.transform.position.x, transform.position.y, animPlayer.transform.position.z); } }
using System; using System.Collections.Generic; using System.Linq; using ILogging; using ServiceDeskSVC.DataAccess.Models; namespace ServiceDeskSVC.DataAccess.Repositories { public class HelpDeskTicketDocumentRepository : IHelpDeskTicketDocumentRepository { private readonly ServiceDeskContext _context...
using FluentMigrator; namespace Profiling2.Migrations.Migrations { [Migration(201312101120)] public class VersionPersonFinalDecision : Migration { public override void Down() { Delete.Column("Version").FromTable("SCR_ScreeningRequestPersonFinalDecision"); } pub...
namespace Assets.src.contexts { public interface IInputService : IService { } }
using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; using System.Collections; public class GameOverController : MonoBehaviour { public AudioSource playAgainAudio; /// <summary> /// Volta para o jogo novamente /// </summary> public void PlayAgain(){ playAgainAudio.Play (); ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using LauncherLib.Utilities; using Newtonsoft.Json.Linq; namespace LauncherLib.Configs { using WindowSize = OrderedPair; using Memory = OrderedPair; public class Config:IJsonConfig { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace LookieLooks.Api.Model { public class ClosedGame { public int ProductId { get; set; } public IDictionary<string, string> ClosedAttributes { get; set; } public bool isClosed { get...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using LogModule.Loggers.TraceLogger.Writers; using LogModule.LogTypes; namespace LogModule.Loggers.TraceLogger { public class TraceLogger : AbstractLogger { private readonly ErrorLogType errorLog; ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; // IV added for reading Data Base using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace VARP { public partial class...
using Pe.Stracon.Politicas.Aplicacion.Core.Base; using Pe.Stracon.Politicas.Aplicacion.TransferObject.Request.General; using Pe.Stracon.Politicas.Aplicacion.TransferObject.Response.General; using System.Collections.Generic; namespace Pe.Stracon.Politicas.Aplicacion.Core.ServiceContract { /// <summary> /// Def...
using System.ComponentModel.DataAnnotations; namespace GIFU.Models { public class Account { public int? UserId { get; set; } [Required(ErrorMessage = "此欄位必填")] public string Email { get; set; } [Required(ErrorMessage = "此欄位必填")] public string Passwd { get; set; } ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using DelftTools.Functions; using DelftTools.Functions.Filters; using DelftTools.Functions.Generic; using DelftTools.Utils.Aop; using DelftTools.Utils.Collections; using DelftTools.Utils.Collections.Generic; using DelftTools.Utils.Data;...
// <copyright file="IAssetService.cs" company="Morten Larsen"> // Copyright (c) Morten Larsen. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. // </copyright> using System.Threading.Tasks; using Microsoft.AspNetCore.Html; namespace AspNetW...
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SerializationDemo { public class GenericObjectConverter : JsonConverter { public GenericObjectConverter(Parameter[] parameter...
namespace Teste_CRUD_CiaTecnica.Infra.Data.Migrations { using System; using System.Data.Entity.Migrations; public partial class CodeFirst : DbMigration { public override void Up() { CreateTable( "SYSTEM.Pessoa", c => new ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; public class FireProjectile : NetworkBehaviour { public GameObject projectilePrefab; GameObject instantiatedProjectile; public Transform projectileLaunchPoint; void Start () { }...
using gView.Framework.Geometry; using System.Windows.Forms; namespace gView.Plugins.Editor.Dialogs { public partial class FormChooseGeometry : Form { public FormChooseGeometry() : this(GeometryType.Point) { } public FormChooseGeometry(GeometryType type) { ...
namespace Uintra.Features.Navigation.Configuration { public class NavigationItemTypeSettings { public string Alias { get; set; } public string Name { get; set; } } }
using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Web; using System.Web.Mvc; using TinhLuong.Models; using TinhLuongBLL; using TinhLuongINFO; namespace TinhLuong.Controllers { public class ChamCongController : BaseController { // GET: Ch...
using System; using System.Collections; namespace Strings { /* * Given an arbitrary string, write code that can figure out if * a string has only unique characters. * * What if no additional space can be used? */ public class DoesTheStringHaveAllUniqueCharacters { /** ...
using System; using System.Collections.Generic; using System.Linq; namespace NetEscapades.AspNetCore.SecurityHeaders.Headers; /// <summary> /// Used to build a Reporting-Endpoints header. /// </summary> public class ReportingEndpointsHeaderBuilder { private const string Separator = ", "; private const string ...
using Alabo.Web.Mvc.Attributes; using System.ComponentModel.DataAnnotations; namespace Alabo.Domains.Enums { /// <summary> /// 状态 /// </summary> [ClassProperty(Name = "状态")] public enum Status { /// <summary> /// 正常 /// </summary> [LabelCssClass(BadgeColor...
using System; using UnityEngine; namespace StateMachines { public class PauseHandler: StateHandler { private GameObject pausePanel; private void Awake() { pausePanel = GameObject.Find("PausePanel"); pausePanel.SetActive(false); DontDestroyOnLoad(pau...
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Shaman.Runtime; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; using System.Reflec...
using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using VictorBu.Tool.Web; namespace VictorBu.ToolTest { [TestClass] public class UriHelperTest { [TestMethod] public void DecodeQueryParameters() { DecodeQueryParametersT...
using EPI.HashTables; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace EPI.UnitTests.HashTables { [TestClass] public class CollatzUnitTest { [TestMethod] public void TestCollatzConjecture() { Collatz.DoesNumberConvergeToOne(11).Should().BeTrue(); } } }
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; namespace SolutionsAssembly { public class FactorialDigitSum: ISolutionsContract { public string ProblemName => "Factorial Digit Sum"; public string ProblemDescription => ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Projectile : MonoBehaviour { // Max velocity to keep track of float maxVelocity; // Use this for initialization void Start () { maxVelocity = 0.0f; } // Update is called once per frame void U...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { public class GradeBookResult { public float MinValue { get; set; } public float MaxValue { get; set; } public float AvgValue { get; set; }...
using MmsApi.Helpers; using MmsApi.Models; using MmsDb; using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Web; using System.Web.Http; namespace MmsApi.Controllers { public class ImagesController : HomeController<ImageEntity> { public ImagesController...
using System; using Microsoft.CQRS; namespace Microsoft.UnifiedPlatform.Service.Application.Commands { public class AuthenticateClientCommand : Command<TokenCommandResult> { public override string DisplayName => "Authenticate Client"; private readonly string _id; public override strin...
using Library.DataProcessing.Contracts.DataServices; using Library.DataProcessing.Implementation.DataServices; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Text; namespace Library.DataProcessing.Implementation { public static class DataProcessingServ...
/* * Copyright (c) Contributors, http://aurora-sim.org/, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistr...
using System; namespace AreaDotnet.Figures { public class Triangle : IFigure { protected const int RIGHT_PRECISION = 12; public double SideA { get; protected set; } public double SideB { get; protected set; } public double SideC { get; protected set; } /// <inheritdoc/...
using System; using System.Collections; namespace Reverse_String { class Program { static void Main(string[] args) { var stringToReverse = Console.ReadLine(); var result = new Stack(); foreach (var letter in stringToReverse) { res...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Trains.Contracts.Repository; using Trains.Model; namespace Trains.Repositories { public class JourneyRepository:BaseRepository, IJourneyRepository { private static readonly List<Jo...
using System.Drawing; using System.Threading.Tasks; using System.Windows.Forms; namespace Tic_Tac_Toe_WF { public partial class Checkboxes_Disabled : Form { public Checkboxes_Disabled() { InitializeComponent(); Blink(); } private async voi...
using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace CESI_Afficheur.BDD { public class MyDatabase { public MySqlConnection con; public bool OpenConnection() { ...
using System; using UnityEngine.Events; [Serializable] public class UnityStatChangedEvent : UnityEvent<OnStatChangedEventArgs> { }
using appglobal.models; using Microsoft.EntityFrameworkCore; using System; using System.Linq; using System.Text.RegularExpressions; namespace appglobal { /// <summary> /// Class utama untuk mengeset parameter project .netcore /// - Author : Kurniawan /// - Modified : 2018-09-03 /// </summary> public s...
using UnityEngine; public class TaskRegulateTemperature : TaskBase<EntityWorker> { [SerializeField] private UnlockableStat temperatureStat = null; [SerializeField] private float overheatRate = 1f; public override bool continueExecuting() { return this.temperatureStat != null; } ...
using UnityEngine; using System.Collections; public class DialogController : MonoBehaviour { public static DialogController instance; Dialog activeDialog; void Awake() { instance = this; } public void ShowDialog(Dialog dialog) { activeDialog = dialog; activeDialog.ShowInParent (PausedOverlay.instance.t...
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 Model.Models; using Data.Models; using Service; using Data.Infrastructure; using Presentation.ViewModels; using Presentation; using Core.Common...
using System; using System.Runtime.InteropServices; using System.Text; namespace SecurityPlusCore { /* [StructLayout(LayoutKind.Sequential, Pack = 1)] public struct StringData { public short Length; [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.LPWStr, SizeConst = ...
using EddiDataDefinitions; using Newtonsoft.Json; using System; using System.Collections.ObjectModel; namespace EddiConfigService.Configurations { /// <summary>Storage for configuration of navigation details</summary> [JsonObject(MemberSerialization.OptOut), RelativePath(@"\navigationmonitor.json")] publi...
using System.Collections.Generic; using System.IO; using System.Linq; using Cradiator.Config; using Cradiator.Extensions; using log4net; namespace Cradiator.Model { public class BuildBusterImageDecorator : IBuildBuster { static readonly ILog _log = LogManager.GetLogger(nameof(BuildBusterImageDecorator)); readon...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LCode { class LCode36 { HashSet<char> char_sets = new HashSet<char>(); public bool IsValidSudoku(char[][] board) { for (int i = 0; i < 9; i++) ...
using DSSLib; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DSSCriterias.Logic { public class MtxStatFactory : MtxCellFactory<Alternative, Case, double> { public override string ToString() { return $"Фа...
#region License /* * Copyright 2002-2010 the original author or authors. * * 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 ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ClassicCraft { public class Player : Entity { public class HitChances { public HitChances(Dictionary<ResultType, double> whiteHitChancesMH, Dictionary<Resul...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; 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...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using Utilities; namespace EddiEddnResponder.Toolkit { public class GameVersionAugmenter { // We keep track of game version and active expansions locally // Ref. https://github.com/EDCD/EDDN/blob/maste...
namespace OptionalTypes.JsonConverters.Tests.TestDtos { public class NonOptionalApplicationReceived { public string FirstName { get; set; } public string LastName { get; set; } public string Company { get; set; } public string EmailAddres { get; set; } public string Posi...
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.Collections; namespace FXB.Dialog { public partial class PageSelect : Form { ...
using JhinBot.GlobalConst; using JhinBot.Interface; namespace JhinBot.Formatters { public class StrikenFormatter : IMessageFormatter { public string GetFormattedMessage(string msg) { return $"{Global.Params.STRIKEN_CHAR}{msg}{Global.Params.STRIKEN_CHAR}"; } } }
using System.ComponentModel.DataAnnotations; using Alabo.Web.Mvc.Attributes; namespace Alabo.Industry.Shop.Categories.Domain.Enums { [ClassProperty(Name = "控件显示类型")] public enum PropertyControlType { /// <summary> /// 文本框 /// </summary> [LabelCssClass("m-badge--success"...
namespace Uintra.Core.MediaToolkit.Options { public enum Target { Default, VCD, SVCD, DVD, DV, DV50 } public enum TargetStandard { Default, PAL, NTSC, FILM } public enum AudioSampleRate { Default, ...
 using Nop.Core.Configuration; namespace Nop.Plugin.Widgets.TypeProducts { public class TypeProductsSettings : ISettings { public int NumberOfBestsellersOnHomepage { get; set; } public int NumberOfNewProductOnHomepage { get; set; } public int NumberOfHomePageProductOnHomepage { get;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UFIDA.U9.SM.SO; using HBH.DoNet.DevPlatform.EntityMapping; using UFSoft.UBF.Business; using U9.VOB.Cus.HBHTianRiSheng.HBHHelper; using UFIDA.U9.SM.Enums; using UFIDA.U9.CBO.SCM.Enums; using UFIDA.U9.SM; using UFSoft....
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.Logging; using Steeltoe.CircuitBreaker.Hystrix; using WingtipToys.Models; namespace WingtipToys.Client { public class GetProductCommand : Hystr...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class SceneLoader : SingletonMonoBehaviour<SceneLoader>{ // Use this for initialization void Start () { } // Update is called once per frame void Update () { } public void LoadCard...
namespace Web_banh_ngot.Models.Entities { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("BILL")] public partial class BILL { [Key] ...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography.X509Certificates; using Microsoft.Azure.Batch.SoftwareEntitlement.Common; namespace Microsoft.Azure.Batch.SoftwareEntitlement { /// <summary> /// A factory object that tries to create a <see cref="ServerOption...
using University.Data; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace University.Repository.Interface { public interface IProductUserGuideRepository { List<ProductUserGuide> GetProductUserGuideList(); List<ProductUse...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FizzBuzz { class Program { static void Main(string[] args) { for (int i = 0; i <= 100; i++) { if (i%3 == 0 && ...
namespace CheckIt.Tests.CheckReferences { using CheckIt.Tests.CheckAssembly; using Xunit; public class CheckProjectReferenceAssemblyTests { public CheckProjectReferenceAssemblyTests() { AssemblySetup.Initialize(); } [Fact] public void Should_projec...
namespace SpaceHosting.Index { public interface IVector { int Dimension { get; } } }
using System; using System.Linq; using kata_payslip_v2.DataObjects; namespace kata_payslip_v2 { public static class ArgumentParser { public static Arguments ParseArguments(string[] argumentStrings) { PayslipInputType inputType; PayslipOutputType outputType; ...
using AutoMapper; using FamilyAccounting.BL.DTO; using FamilyAccounting.BL.Interfaces; using FamilyAccounting.Web.Interfaces; using FamilyAccounting.Web.Models; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace FamilyAccounting.Web.Services { public class TransactionWebServic...
namespace GraphicalEditorServer.DTO { public class EquipmentInExaminationDTO { public int EquipmentID { get; set; } public int ExaminationId { get; set; } public EquipmentInExaminationDTO() { } public EquipmentInExaminationDTO(int equipmentID, int examinationId...
using System.Reflection; namespace AutoTests.Framework.Core.Exceptions { public class PropertyConstraintException : ConstraintException { public PropertyConstraintException(PropertyInfo propertyInfo, string format) : base(string.Format(format, $"{propertyInfo.DeclaringType.Name}.{property...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EntityContainer : MonoBehaviour { [SerializeField] Animator animator; public Animator Animator { get { return animator; } } [SerializeField] new SkinnedMeshRenderer renderer; public SkinnedMeshRenderer Renderer...
using System; namespace Lab4.Ind._2 { class Program { static void Main(string[] args) { string text = Console.ReadLine(); Console.WriteLine("The first way"); char[] textchar = text.ToCharArray(); int k = 0; char[] letters = "ABCDEFGH...
using HouseRent.Data; using HouseRent.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace HouseRent.Areas.Admin.Controllers { [Authorize(Rol...
using CarritoCompras.Modelo; using CarritoCompras.Service; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace CarritoCompras.View { [XamlCompilation(XamlCompilationOptions.Compile)] public part...
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Filters { class Glass: Filters { protected override Color сonvertPixel(Bitmap sourceMap, int x, int y) { Random rand = new Random(); ...
using Alabo.Web.Mvc.Attributes; using System.ComponentModel.DataAnnotations; namespace Alabo.Framework.Core.Enums.Enum { /// <summary> /// 卡券类型 /// </summary> [ClassProperty(Name = "卡券类型")] public enum CardCouponsType { /// <summary> /// 折扣券 /// </summary> ...
using gView.Framework.Data; using gView.Framework.Data.Filters; using gView.Framework.IO; using gView.Framework.system; namespace gView.Framework.Carto { /// <summary> /// Porvide access to members and properties that control the functionality of renderers. /// </summary> public interface IFeatureRend...
using System; using System.Collections.Generic; using AbstractFactory.Classes.PizzaIngredientFactories.Ingredients; namespace AbstractFactory.Classes.Pizzas { public abstract class Pizza { public string Name { get; set; } protected IDough Dough { get; set; } protected ISause Sause { ge...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using UcenikShuffle.Common; namespace ManualTests { class Program { static void Main(string[] args) { var groupSizesList = new List<List<int>>() { new List<int>() { 1, 2, 2 }, new List<int>(){ 1,3,3,3,3 },...
using iSukces.Code.AutoCode; using Sample.AppWithCSharpCodeEmbedding.AutoCode; namespace Sample.AppWithCSharpCodeEmbedding { class Program { static void Main(string[] args) { CreateAutoCode(); } private static void CreateAutoCode() { var prov2 =...
using RabbitMQ.Client; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Rabbit.Sender { class Program { // echagne is the RabbitMQ name for the topic. This is in lieu of a standard queue private static string exchange...
using LeadChina.CCDMonitor.Infrastrue.Entity; using ServiceStack.OrmLite; using ServiceStack.Text; namespace LeadChina.CCDMonitor.Infrastrue { public class Test { public static void tst() { var dbFactory = new OrmLiteConnectionFactory("server = localhost;port=3306;User Id = root;pa...
using System.Security.Claims; using System.Threading.Tasks; using Microsoft.Owin.Security.OAuth; using RestLogger.Infrastructure.Service; using RestLogger.Infrastructure.Service.Model.ApplicationDtos; namespace RestLogger.WebApi.Providers { public class SimpleAuthorizationServerProvider : OAuthAuthorizationServ...
using System.Collections.Generic; namespace ProjectCompany.Models.DTO { public class EmployeeDetailDTO { public int Id { get; set; } public string Name { get; set; } public List<Skill> Skills { get; set; } public List<Contribution> Contributions { get; set; } public Emp...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace BanSupport { public class ExBase : MonoBehaviour { #region Update [NonSerialized] public bool needUpdate; /// <summary> /// for manager call /// </summary> ...
using System.Linq; using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; // Component that takes all rigidbodies in its children, makes them non-kinematic, // and sends them flying with explosive force. public class ExplodeChildrenScript : ExplodeComponent, IObserver<Trans...
/** * Definition for a binary tree node. * public class TreeNode { * public int val; * public TreeNode left; * public TreeNode right; * public TreeNode(int val=0, TreeNode left=null, TreeNode right=null) { * this.val = val; * this.left = left; * this.right = right; * ...
using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using SAPAPI.Models; using System.Linq; using System.Text; using System.Web.Mvc; using SupplyChain.Models; using System; using System.Collections.Generic; using Autofac.Integration.WebApi; using System.Data.Entity; namespace SAPAPI.Controllers { [Autofac...
namespace PaymentService.Application.Common.Models { using System; using System.IO; using System.Linq; using System.Collections.Generic; using PaymentService.Application.Common.Exceptions; public class BankStatementFile { public BankStatementFile(string path, DateTimeOffset import...
using System; using System.Collections; using System.Collections.Generic; using Assets.Scripts.Ui; using UnityEngine; using UnityEngine.Advertisements; using UnityEngine.Purchasing; namespace Assets.Scripts.UI.ShopNew { public class NewShopView : View { public List<NewShopCategoryButton> SelectButtons...
using CaveGeneration.Content_Generation.Map_Generation; using Microsoft.Xna.Framework; using static CaveGeneration.Content_Generation.Map_Generation.DrunkardWalk; namespace CaveGeneration.Content_Generation.Parameter_Settings { public class Settings { public string Seed { get; set; } public bo...
using System; using System.Linq; using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.Filters; namespace Microsoft.UnifiedRedisPlatform.Service.API.Filters { public sealed class TrackingPropertiesFilterAttribute : ActionFilterAttribute { private readonly string _correlationIdHeaderKey; ...
using AlgorithmProblems.Heaps.HeapHelper; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AlgorithmProblems.Graphs.MinSpanningTree { /// <summary> /// Get the minimum spanning tree of a graph using Prim's algorithm /// minimum s...
namespace DesignPatterns.Interpreter { public class BelowPriceSpec : Spec { public float Price { get; private set; } public BelowPriceSpec(float price) { Price = price; } public override bool IsSatisfiedBy(Product product) { return produ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Depths { public class Player { //Basic Stats private int _hp; private int _energy; private int _mentalPower; private int _defenc...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Methods { class Program { static void Main(string[] args) { int fnum = 1, snum = 2, tnum = 3, nvalue; int sum; String fname; sum = sumup(fnum, snum, tnum); ...
using System; using SpeedSlidingTrainer.Core.Model.State; namespace ConsoleApplication1.BoardSolverV4 { public sealed class BoardStateV4 { private readonly int eye; public BoardStateV4(int width, int height, int[] values, int eye) { this.Width = width; this.Hei...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using EasyDev.EPS.Portal; namespace EasyDev.EPS.BusinessObject { public interface IBO { bool Save(IModel entity); bool Delete(IModel entity); bool Update(IModel entity); IMo...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using V50_IDOMBackOffice.AspxArea.MasterData.Models; using V50_IDOMBackOffice.AspxArea.MasterData.Repositorys; namespace V50_IDOMBackOffice.AspxArea.MasterData.Controllers { public class UnitOfferController { public L...