text
stringlengths
13
6.01M
using CRMSecurityProvider.Sources.Attribute; using CRMSecurityProvider.Sources.Attribute.Metadata; namespace AlphaSolutions.SitecoreCms.ExtendedCRMProvider.Sources.Attribute.Metadata { internal abstract class CrmAttributeMetadataAdapterBase<T> : AdapterBase<T>, ICrmAttributeMetadata { protected CrmAtt...
//using OpenQA.Selenium; //using OpenQA.Selenium.Support.UI; //using Kliiko.Ui.Tests.Environment; //using System.Threading; //using TechTalk.SpecFlow; //namespace Kliiko.Ui.Tests.WebPages.Blocks //{ // class LandingPageOld : WebPage // { // private static readonly By VIDEO = By.XPath("//*[@id='video-plac...
using System; using System.Collections.Generic; using System.Text; namespace ZavenDotNetInterview.Common.ViewModels { public class LogViewModel { public string Description { get; set; } public Guid JobId { get; set; } public JobViewModel Job { get; set; } public DateTime Create...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Data; namespace DemoMethodes_UI { [ValueConversion(typeof(string), typeof(double))] public class Convertisseu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AxisPosCore { public delegate bool ParamEventArgsDelegate(params object[] args); }
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class UIShop : View { public override string M_Name { get { return Consts.V_Shop; } } public override void HandleEvent(string name, object data...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BulletMovement : MonoBehaviour { private float maxDistance = 20f; private Vector3 lastPosition = new Vector3(0f, 0f, 0f); private float distanceTraveled = 0f; private void FixedUpdate() { ResetPosition...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using EasyDev.BL; using System.Data; using EasyDev.Util; namespace SQMS.Services { public class UpdateQualityDataService : GenericService { public VideoService VideoService { get; private ...
using System; using System.Collections.Generic; using System.Data.Entity.ModelConfiguration; namespace Anywhere2Go.DataAccess.Entity { public class Insurer { public string InsID { get; set; } public string InsName { get; set; } public string InsName_en { get; set; } public stri...
using System; using System.Collections.Generic; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using CODE.Framework.Wpf.Utilities; namespace CODE.Framework.Wpf.Mvvm { /// <summary> /// Displays an icon control and is aware of theme specific icons (and switches icons as themes...
using System; namespace Pe.Stracon.Politicas.Aplicacion.Core.Base { /// <summary> /// Definición generica de servicios de aplicación /// </summary> /// <remarks> /// Creación: GMD 22122014 <br /> /// Modificación: <br /> /// </remarks> public interface IGenericService : ID...
using Microsoft.Xna.Framework; namespace Entoarox.Framework.UI { public interface IInteractiveMenuComponent : IMenuComponent { bool InBounds(Point position, Point offset); void LeftClick(Point position, Point offset); void RightClick(Point position, Point offset); void LeftHeld...
namespace DocumentsApproval.Commands { public class RenameDocument : BaseCommand { public string Name { get; set; } } }
using System.Collections.Generic; using EPI.BinaryTree; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace EPI.UnitTests.BinaryTree { [TestClass] public class NonRecursivePostorderTraversalUnitTest { [TestMethod] public void PrintNonRecursivePostorderTraversal() { Binary...
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.Data.SqlClient; namespace WebAutomation { public partial class DynamicValues : Form ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using KartObjects; using KartObjects.Entities.Documents; namespace KartSystem { public interface IGenDocView:IView { IList<Document> Documents { get; set; } List<DocGo...
using System; using System.Web; namespace CAPCO.Infrastructure.Core { public static class ErrorLogger { public static void LogError(Exception exception) { if (exception != null) Elmah.ErrorLog.GetDefault(HttpContext.Current).Log(new Elmah.Error(exception, H...
using UnityEngine; public class CtrlHuman : BaseSimpleSampleCharacterControl { /// <summary> /// 同步时间 /// </summary> private float lastSendSyncTime = 0; /// <summary> /// 同步帧率 /// </summary> public static float syncInterval = 0.1f; private void Awake() { base.Awake();...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace DWMS_OCR.App_Code.Helper { class Validation { public static bool IsDate(string sDate) { if (String.IsNullOrEmpty(sDate)) return fal...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace ToDoListApplication.BusinessLayer.Services.DataContracts { [DataContract] public class PersonListData { [DataMember(Name = "values")] ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; public class MusicBox : MonoBehaviour { public TextMeshProUGUI NP; public GameObject MusicBtnPrefab; public Transform MusicBtnContainer; public Slider VolumeSlider; public List<GameO...
using System; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text.RegularExpressions; using System.Threading; using System.Windows.Forms; using Microsoft.Expression.Encoder.Devices; using Microsoft.Expression.Encoder....
/* * Pedometer * Copyright (c) 2017 Yusuf Olokoba */ namespace PedometerU.Utilities { using UnityEngine; using System.Collections; /// <summary> /// Helper class used for dispatching coroutines and receiving native events raised by UnitySendMessage /// </summary> public class PedometerHe...
using System; namespace MetodyHahahaha { class Program { static void Main(string[] args) { Console.WriteLine(PythagorovaVeta(3, 4)); Console.WriteLine(ObsahKruznice(4)); Console.WriteLine(ObjemValce(4, 5)); Console.ReadKey(); } ...
using Microsoft.VisualStudio.OLE.Interop; using Microsoft.VisualStudio.TextManager.Interop; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.master2 { class TextManager : IVsTextManagerEvents { public vo...
using System; using System.Data; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using CoreHelper; namespace CRL.Business....
using System; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; namespace App.Web.AsyncApi { public static class AsyncApiServiceCollectionExtensions { public static IServiceCollection AddAsyncApiGen(this IServiceCollection services, Action<AsyncApiGenOpti...
using Alabo.Domains.Services; namespace Alabo.Framework.Core.Admins.Services { /// <summary> /// </summary> public interface IAdminService : IService { /// <summary> /// 数据初始化 /// </summary> /// <param name="isTenant">是否为租户初始标识,isTenant=true的时候表示为租户执行</param> ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class OrganizeBox : MonoBehaviour { [SerializeField] private ItemType type; [SerializeField] private Vector2 position; private int numItems; public ItemType Type { get { return type; } set { typ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Explayer.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class MainPage : ContentPage { public MainPage () { ...
using System; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using JWT.Connection; using JWT.Models; using JWT.Repository.Interfaces; using Microsoft.IdentityModel.Tokens; namespace JWT.Repository { public class Token : IToken { private readonly JwtContext _context; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LockedObject : MonoBehaviour { //"Locked" object that can be opened with an Item in the players inventory that matches certain conditions [Header("Type")] [Tooltip("the Game Object to be changed.")] public Gam...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AlgorithmProblems.Search { /// <summary> /// Given a rowise and columnwise sorted matrix. Search for an element in linear time. /// </summary> class SearchInSortedMatrix { ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using Inventor; using Autodesk.DesignScript.Geometry; using Autodesk.DesignScript.Interfaces; using Autodesk.DesignScript.Runtime; using Dynamo.Models; using Dynamo.Utilities; using InventorLibrary.Geomet...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyProject.Extension { public static class JsonExt { public static string ToJson(this object obj) { return JsonConvert.SerializeObject...
using System; namespace Ingen.Network { public class PacketService { public ICryptoService CryptoService { get; set; } private readonly object _lockObject = new object(); private byte[] PendingBytes; private ushort PacketSize; public byte[] ParseAndSplitPacket(byte[] bytes, int byteCount) { lock (_...
using System; using System.Collections.Generic; namespace NeuralNetwork { class Generation { public int Size { get; } public List<NeuralNetwork> neurals; public double maxDeviation = 0.2; public Generation(List<int> layersInfo, int inputsNumber, int size) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using JobPortal.Entities; using JobPortal.Models; namespace JobPortal.Services.Interfaces { public interface IJobService { List<JobDetailsModel> GetAllJobs(); Job GetJobDetails(...
using System.ComponentModel; namespace SqlServerRunnerNet.Infrastructure { public enum AuthenticationType { [Description("Windows Authentication")] WindowsAuthentication, [Description("SQL Server Authentication")] SqlServerAuthentication } }
using UnityEngine; using System; using System.IO; //using System.Runtime.Serialization.Formatters.Binary; namespace Mio.TileMaster { public static class SaveBinarySongDataSystem { //static SharpSerializer binarySerializer; static SaveBinarySongDataSystem(){ // binarySerializer = new Sha...
// <copyright file="SocialOptions.cs" company="Firoozeh Technology LTD"> // Copyright (C) 2020 Firoozeh Technology LTD. 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 Licens...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Algorithms { class Program { static void Main(string[] args) { Console.WriteLine(recursiveFib(4)); Console.ReadKey(); } static in...
using SoulHunter.Base; using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpiritDeactivator : MonoBehaviour { private void OnTriggerEnter2D(Collider2D collision) { if (DataManager.Instance.soulsCollected < 14) return; // If collision is on the player l...
using Pe.Stracon.Politicas.Infraestructura.CommandModel.Base; using System; namespace Pe.Stracon.Politicas.Infraestructura.CommandModel.General { /// <summary> /// Representa el objeto entity de Plantilla Notificacion /// </summary> /// <remarks> /// Creación: GMD 20150401 <br /> /// Modifica...
using Microsoft.EntityFrameworkCore; using System.Threading.Tasks; namespace AcoesDotNet.Dal.Daos { public class DataBaseDao : IDataBaseDao { public async Task InicializaAsync(string connecionString) { using (var db = new AcoesDataContext(connecionString)) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace TrainConsole { public class Clock : IClock { private Thread clockThread; private static bool timeIsTicking; public static int minutesWhi...
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 MeriMudra.Models.ViewModels; using MeriMudra.Models; using System.Text; namespace MeriMudra.Areas.Admin.Controllers { public class CityGro...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using DevExpress.XtraEditors; using Restuarnt.Bl; namespace Restuarnt.PL { public partial class Frm_...
using CSharpFunctionalExtensions; namespace Calculator.ExpressionsParser { public interface IExpressionsParser { Result<ParsedExpressions> Parse(string fullExpression); } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class PauseMenu : Menu, IMenu { private void OnEnable() { choice = new CircleInt(0, Pause.GObj.transform.childCount); currentMenu = Pause; choice.CurrentValue = 0; OnCh...
using ISE.Framework.Server.Core.BussinessBase; using ISE.SM.Bussiness.Helper; using ISE.SM.Bussiness.Validator; using ISE.SM.Common.DTO; using ISE.SM.Common.DTOContainer; using ISE.SM.Common.Message; using ISE.SM.DataAccess; using ISE.SM.Model; using System; using System.Collections.Generic; using System.Linq; using S...
public class BatteryPhone : Item { public override void NextState() { switch (currentState) { case State.Backup: currentState = State.Battery; break; case State.Battery: currentState = State.Done; break; ...
using System.Collections.Generic; using System.IO; using System.Reflection; using Dynamo.Models; using Dynamo.Configuration; using Dynamo.Interfaces; using Dynamo.Extensions; using Greg; using Dynamo.Scheduler; using Dynamo.Updates; using System; using Dynamo.Configuration; namespace DynamoInventor.Models { publi...
 namespace Dms.Ambulance.V2100 { public enum SchemaNames { COCD_TP145001UK03, COCD_TP145002UK03, COCD_TP145003UK03, COCD_TP145004UK03, COCD_TP145005UK03, COCD_TP145006UK03, COCD_TP145007UK03, COCD_TP145007UK04, COCD_TP145008UK03, COCD_TP145012UK03, COCD_TP145013UK03, COCD_TP145014UK03, COC...
//----------------------------------------------------------------------- // <copyright file="MappingAttribute.cs" company="Caspian Pacific Tech"> // Copyright (c) Caspian Pacific Tech. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace SmartLibrar...
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 VehicleInventory { public partial class VehicleInventoryForm : Form { private...
using UnityEngine; namespace game { public class MovementController : MonoBehaviour { public const float base_speed = 100.0f; const float default_gravity_scale = 30.0f; const float camera_offset = 5.0f; Camera cam; Rigidbody2D _rigidbody; float speed = base_speed; public bool is_fall...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; [RequireComponent(typeof(EnemyWeapon))] public class EnemyRange : Enemy { public override void ResetAliveVariables() { base.ResetAliveVariables(); m_agent.Warp(m_spawnPoint.transfor...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Xml.Linq; using Xlns.BusBook.Core.Model; namespace Xlns.BusBook.UI.Web.Models.Helper { public static class GoogleAPIHelper { // uses Google GeoCoding API to lookup Lat and Long for an indirizzo (http://c...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ASPNETCOREJSON.Models; namespace ASPNETCOREJSON.Repository { public interface IMercuriesRepository { void Add(Mercury mercuryEntry); IEnumerable<Mercury> GetAll(); Mercury Find(string...
using Ninject.Modules; using UsersLib.DbControllers; using UsersLib.Service.Auth; using UsersLib.Service.Checkers; using UsersLib.Service.Cryptography; using UsersLib.Service.Log; using UsersLib.Service.Resolvers; using UsersLib.Service.Savers; namespace UsersLib.Dependency.Ninject.Modules { internal class Servic...
using System.Collections; using System.Collections.Generic; using UnityEngine; using GamePX; using UnityEngine.Tilemaps; public class Generator : MonoBehaviour { public int numMax_dungeons; public int height; public int width; private SquaredDungeon mazmorra; public Tilemap tilemap_base; publi...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class camera_5u9q : MonoBehaviour { private static float movementSpeed = 1.0f; void Update () { movementSpeed = Mathf.Max(movementSpeed += Input.GetAxis("Mouse ScrollWheel"), 0.0f); transform.position += (transform.right * I...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class PauseMenu : MonoBehaviour { public static bool isGamePaused = false; public GameObject pauseMenu, onGameCanvas; public void Continue() { onGameCanvas.gameObject.SetAc...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class bola : MonoBehaviour { float velocidade = 1.5f; public bool EsperouAnimacao = false; Rigidbody rotacao; public Image borda; public Image altura; public static bool podeChutar = fal...
namespace Data.Repositories { using System; using System.Collections.Generic; using System.Data.Entity; using System.Data.Entity.Migrations; using System.Linq; using System.Linq.Expressions; using Interfaces; using Models.Interfaces; public class Repository<T> : IRepository<T> wher...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Receiver : MonoBehaviour { // pipeline is Awake / OnEnable / Start void Start(){ } void OnEnable(){ // Subscribe to event Sender.playerDiedInfo += PlayerDiedListener; } void OnDisable(){ // Unsub to prevent memo...
using System.Collections; using System.Collections.Generic; using System.IO; using UnityEditor; using UnityEngine; public class UIImportProcessor : AssetPostprocessor { public static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace com.Sconit.Web.Models.SearchModels.SI.SAP { public class PostDOSearchModel : SearchModelBase { //Id, OrderNo, ReceiptNo, Result, ZTCODE, Success, LastModifyDate, Status, CreateDate, ErrorCount public...
using System.Linq; using System.Net; using Serilog.Core; using SteamKit2; using Titan.Logging; using Titan.Web; namespace Titan.Util { public static class SteamUtil { // Renders from a "STEAM_0:0:131983088" form. public static SteamID FromSteamID(string steamID) { return n...
using System; using System.Linq; namespace Largest_common_end { class Program { static void Main(string[] args) { string[] firstArr = Console.ReadLine().Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries).ToArray(); string[] secondArr = Console.ReadLine().S...
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(Rigidbody))] public class Shoot : MonoBehaviour { private GameObject _target; private float _dmg; public float speed = 10; public Crystal crystal; public void SetTarget(GameObject target) {...
using System.Collections.Generic; namespace Algorithms.LeetCode { public class Trie { private class Node { public Node() { Nodes = new Node[26]; } public bool IsWord { get; set; } public Node?[] Nodes { get; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using VehicleInventory.Services.DTOs; namespace VehicleInventory.Services.Contracts { public interface IVehicleInventoryService { List<VehicleInStockDTO> GetAllVehiclesInStockFlat(); ...
namespace RosPurcell.Web.Helpers { using System.Web; using System.Web.Mvc; public static class HtmlAttributeHelper { /// <summary> /// Outputs Html attribute /// </summary> /// <param name="name">Attribute name</param> /// <param name="value">Attribute value</pa...
using ND.FluentTaskScheduling.TaskInterface; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //********************************************************************** // // 文件名称(File Name):LoadCommandQueueListResponse....
using eMAM.Data.Models; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; namespace eMAM.Data { public class ApplicationDbContext : IdentityDbContext<User> { public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(optio...
using System; using System.Collections.Generic; using System.Text; namespace NetCore.Service { public class Result { public object Content { get; set; } public bool Success { get; set; } } }
using System.Collections.Generic; using System.Linq; using Elrond.Dotnet.Sdk.Domain.Exceptions; using Elrond.Dotnet.Sdk.Domain.Values; namespace Elrond.Dotnet.Sdk.Domain.Codec { public class BinaryCodec { private readonly List<IBinaryCodec> _codecs; public BinaryCodec() { ...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using DM7_PPLUS_Integration; using DM7_PPLUS_Integration.Auswahllisten; using DM7_PPLUS_Integration.Daten; using DM7_PPLUS_Integration.Implementierung.PPLUS; namespace Demo_Implementierung { /// <summary> ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class ButtonClick : MonoBehaviour { [SerializeField] private Button Home; // Use this for initialization void Start () { } // Update is called once per frame voi...
using System.Collections.Generic; using NHibernate.Transform; using Profiling2.Domain.Contracts.Queries.Procs; using Profiling2.Domain.Prf.Persons; using SharpArch.NHibernate; namespace Profiling2.Infrastructure.Queries.Procs { public class DeletedProfilesStoredProcQuery : NHibernateQuery, IDeletedProfilesStoredP...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace PPCalc.Controllers { public class HomeController : Controller { public ActionResult Index(double? answer) { ViewBag.Answer = answer; MyData.Instance().Ti...
 /* 作者: 盛世海 * 创建时间: 2012/7/21 9:19:53 * */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace MODEL.DataTableModel { public class DataTableGrid { public string draw { get; set; } /// <summary> ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Task1_Euclidian_Algorithm { /// <summary> /// Class for work with user input /// </summary> public class Input { /// <summary> /// Asks for a number from th...
using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Text; using System.Text.RegularExpressions; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using HtmlAgilityPack; using InhaM...
namespace MySurveys.Web.Areas.Surveys.Controllers { using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Helpers; using System.Web.Mvc; using Base; using Models; using Services.Contracts; using ViewModels.Creating; using Web.C...
/* * Создано в SharpDevelop. * Пользователь: vlunev * Дата: 22.05.2015 * Время: 14:39 */ using System; using System.Threading; using System.IO; using System.Collections.Generic; using System.Text.RegularExpressions; using System.Drawing; using Core; using AddonFirebird; using Logs; namespace Worker { /// <summa...
using Microsoft.Xna.Framework.Graphics; namespace SuperMario.Entities.Mario.PlayerTexturePacks { public class SmallMarioTexturePack : IPlayerTexturePack { public Texture2D CrouchingLeft => WinterMarioTextureStorage.WinterSmallMarioStandStillLeft; public Texture2D CrouchingRight => WinterMario...
using System.Threading.Tasks; public class SelectorTask : BaseTask { public override async Task<TaskResult> Run() { foreach (var child in Children) { var result = await child.Run(); if (result == TaskResult.Success) { return TaskResult.Succes...
using EPI.Arrays; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace EPI.UnitTests.Arrays { [TestClass] public class CelebrityMatchingUnitTest { [TestMethod] public void FindCelebrity() { var TwoPeopleFirstPersonIsCelebrity = new bool[,] { // 0 , 1 /* 0 */ {...
using System.Web.Mvc; using System.Web.Routing; namespace pfm_sample_csharp { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( "ReqBalan...
#region LICENSE // Funkshun.Core 1.0.0.0 // // Copyright 2011, see AUTHORS.txt // // 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/lice...
namespace CoronaVirusUS { public static class StringExentsions { public static int ParseAsInt(this string value) { if (string.IsNullOrEmpty(value)) return 0; value = (value ?? "").Trim().TrimStart('+'); if (string.IsNullOrEmpty(value)) value = "0"; ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using MVCRoleTop.Models; using MVCRoleTop.Repositories; using MVCRoleTop.ViewModel; namespace MVCRoleTop.Controllers { public ...
using SalaryCalculator.Interfaces; using System.Collections.Generic; namespace SalaryCalculator.TaxPlans { /// <summary> /// Germany's concrete national tax plan /// Overrides abstract TaxPlan /// </summary> public class GermanyTaxPlan : TaxPlan, ITaxPlan { List<IDeduction> _deductionD...
namespace Olive.Web.MVC.Controllers { using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Olive.Data.Uow; using System.Linq.Expressions; using Olive.Data; using Olive.Web.MVC.ViewModels; public class BaseController : ...
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Wba.StovePalace.Helpers; namespace Wba.StovePalace.Pages { public class IndexModel : PageModel {...
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Xml.Serialization; using com.Sconit.Entity.SYS; //TODO: Add other using statements here namespace com.Sconit.Entity.MRP.TRANS { public partial class MrpExSectionPlan { [E...
using System; // ReSharper disable once CheckNamespace namespace Aquarium.Util.Extension.ObjectExtension { public static class ByteConvertExtension { #region ToNullableByte /// <summary> /// An object extension method that converts the @this to a nullable byte. /// </summa...