text
stringlengths
13
6.01M
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Euler_Logic.Problems { public class Problem27 : ProblemBase { private Dictionary<decimal, bool> _primes = new Dictionary<decimal, bool>(); public override string ProblemNa...
using System; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using System.ComponentModel.DataAnnotations...
using Dapper; using Semafaro.Titulos.Model; using System; using System.Collections.Generic; using System.Configuration; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using Dapper; namespace Semafaro.Titulos.DAO { public class CronnSgvCobrancaDAO { ///...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace HeliSimPack.MFD { public class VertSpeedBehavior : BaseMfdRenderer { [SerializeField] [Tooltip("Needle indicating vertical speed")] RectTransform needle; Rigidbody rb; [SerializeFie...
using BusinessDomainObject; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BusinessLogic { public class ProductLogic { ProductBDO productBDO = new ProductBDO(); public ProductBDO GetProduct(int id) { ...
using AsNum.XFControls; using Caliburn.Micro; using RRExpress.AppCommon; using RRExpress.AppCommon.Attributes; using RRExpress.Service.Entity; using System.Collections.Generic; namespace RRExpress.Express.ViewModels { /// <summary> /// 确认送达 /// </summary> [Regist(InstanceMode.Singleton)] public c...
using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace BeeAttack { [Activity(Label = "Bee Attack", MainLauncher = true, Icon = "@drawable/bee", Theme = "@style/StartUpAppTheme", ScreenOrientation = Android.Cont...
using Entities.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using System; using System.Collections.Generic; using System.Text; namespace Entities.Configuration { class CityConfiguration : IEntityTypeConfiguration<City> { public void Configure(Enti...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BnsDatTool.lib { public class FilterCriteria { public string Value { get; private set; } public TranslatableItem.Fields Field { get; private set; } public bool ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; using Foolproof; using Integer.Web.Infra; namespace Integer.Web.ViewModels { public class UsuarioTrocarSenhaViewModel { [Required(ErrorMessage="obrigatório")] publi...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using EasyDev.BL; using EasyDev.Util; namespace SQMS.Application.Views.Demo { public partial class Demo : System.Web.UI.Page { private...
using Discord; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace TestCommons.DiscordImpls { public class MockTextChannel : ITextChannel { public string Name { get; set; } public IGuild Guild { get; set; }...
using UnityEngine; using System.Collections; using UnityEngine.Assertions; public class Fade : SingletonMonoBehaviour<Fade> { IFade fade; bool is_end = true; public bool IsEnd { get { return is_end; } } void Start() { Init(); fade.Range = cutoutRange; } float cutoutRange...
using System.Collections.Generic; namespace Meta.Domain { public interface IClassType : IIdentity { IEnumerable<IAttributeType> AttributeTypes { get; } } }
using Pe.Stracon.SGC.Infraestructura.CommandModel.Contractual; using Pe.Stracon.SGC.Infraestructura.Core.Base; namespace Pe.Stracon.SGC.Infraestructura.Core.CommandContract.Contractual { /// <summary> /// Definición del Repositorio de Requerimientos /// </summary> /// <remarks> /// Creación : ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using PFM.Bot.Models; using System.Text; using System.Globalization; namespace PFM.Bot.Utils { public class Summarizer { private CultureInfo _cultureInfo; private StringBuilder _builder; public Summar...
// <copyright file="SharedSettings.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; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hos...
using System; using System.Collections.Generic; using DealOrNoDeal.ErrorMessages; namespace DealOrNoDeal.Model { /// <summary> /// Handles the management of the actual game play. /// Author: Alex DeCesare /// Version: 31-August-2021 /// </summary> public class GameManager { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ObjectPool<T> where T : Component { private List<T> datas; public List<T> Datas { get { return datas; } } private T prefab; private Transform parent; public Ob...
using UnityEngine; using System; using System.Collections.Generic; public class Block : MonoBehaviour { public class GroupEntity { public List<Block> memberBlocks; } public Vector3 InitialPosition; private Vector3 screenPoint; public int Score = 0; private Vector3 offset; public boo...
using System; using Senparc.CO2NET; using Senparc.Core.Config; using Senparc.Core.Enums; namespace Senparc.Core.Cache.BaseCache { /// <summary> /// 缓存策略工厂 /// </summary> public class CacheStrategyFactory { public static IBaseCacheStrategy<T> GetCacheStrategy<T>() where T : class/*, new()*/...
using System.Collections; using System.Collections.Generic; using UnityEngine; public struct HexNode { private readonly int _x; private readonly int _y; public int X => _x; public int Y => _y; private List<Vector2Int> _neighbourList; public HexNode(int x, int y, bool offest) { _x = x; ...
using UnityEngine; public class FeatureOres : FeatureBase { private Vector2Int[] dirs = new Vector2Int[] { Vector2Int.up, Vector2Int.down, Vector2Int.left, Vector2Int.right, }; public override void generate(System.Random rnd, LayerData layerData, MapAccessor accessor) { ...
using System.Collections.Generic; using System.IO; using System.Text; using SimpleMVC.Interfaces.Generic; using SoftUniStore.App.Constants; using SoftUniStore.App.Utility; using SoftUniStore.App.ViewModels; namespace SoftUniStore.App.Views.Store { class Owned : IRenderable<HashSet<AllGamesViewModel>> { ...
using System; using System.Text; using System.Net; using System.Net.Sockets; using System.Threading; using System.Configuration; using System.Reflection; using System.Collections.Generic; using IRAP.Global; using IRAP.Entity.MDM; using IRAP.WCF.Client.Method; namespace IRAP.MDC.Service { public cl...
using NUnit.Framework; using System.Windows.Forms; namespace Vanara.Windows.Forms.Tests { [TestFixture()] public class ExplorerBrowserTests { [OneTimeSetUp] public void SetupFixture() => Application.EnableVisualStyles(); [Test()] public void ExplorerBrowserTest() { var frm = MakeTestForm(out var eb);...
using Senparc.Core.Enums; using Senparc.Core.Models; using Senparc.Repository; using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Threading.Tasks; namespace Senparc.Service { public interface IBaseService<T> : IBaseServiceData where T : class, new()// global::System.Data.O...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BitClassroom.DAL.Models { [NotMapped] public class CourseFeedModel { public string UserName { get; set; } public...
using System.Windows; using Microsoft.Phone.UserData; using System.Text.RegularExpressions; using Microsoft.Phone.Tasks; using MyConferenceCalls.Resources; using Microsoft.Phone.Marketplace; using System.IO.IsolatedStorage; using System; namespace MyConferenceCalls { public static class Conference { p...
using System; using System.Collections.Generic; using Fingo.Auth.AuthServer.Services.Interfaces; using Jwt; namespace Fingo.Auth.AuthServer.Services.Implementation { public class JwtLibraryWrapperService : IJwtLibraryWrapperService { public string Encode(Dictionary<string , object> payload , string se...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LinearCodeApproach { static class Distance { const double PI = 3.141592653589793; const double Radius = 6371; static int distanceCalculated; static pub...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; using Autofac; using Autofac.Integration.Mvc; using Integer.Domain.Paroquia; using Integer.Infrastructure.Repository; using Integer.Infrastructure.Events; using Integer.Domain.Agenda; us...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Health : MonoBehaviour { [SerializeField] public int startingHealth; [SerializeField] public double currentHealth; public double rateOfDeath = 3f; public bool invinci...
using System; using System.Collections.Generic; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using BizService.Common; using IWorkFlow.BaseService; using IWorkFlow.Host; using IWorkFlow.OfficeService.OpenXml; using IWorkFlow.ORM; using Newtonso...
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace TransformationComponentUnitTest { [TestClass] public partial class TransformUnitTest { } }
using System; using System.Linq; using System.Threading.Tasks; using Telegram.Bot.Types; using TelegramFootballBot.Core.Data; using TelegramFootballBot.Core.Helpers; using TelegramFootballBot.Core.Services; namespace TelegramFootballBot.Core.Models.Commands.AdminCommands { public class StatusCommand : Command ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LightingBook.Tests.Api.Product.Dto.Flight { public class Swappable { public object Cheapest { get; set; } public object Original { get; set; } public object Ot...
using System.Text; using TsFromCsGenerator.Model; namespace TsFromCsGenerator.Services { interface ITsGenerator { string GenerateInterface(Class @class, bool export, bool prefixInterfaces); string GenerateClass(Class @class, bool export); } class TsGenerator : ITsGenerator { private readonly ICsToTsTypeCo...
using System; namespace Arda.Common.ViewModels.Main { public class TechnologyViewModel { public Guid TechnologyID { get; set; } public string TechnologyName { get; set; } } }
using OpenQA.Selenium; using SeleniumExtras.PageObjects; using System; using System.Collections.Generic; using System.Text; using System.Threading; namespace Trainbooking.Pages { class Homepage { public IWebDriver driver; //pom constructor public Homepage(IWebDriver driver) { ...
using System; using System.Collections.Generic; using System.Linq; using Fingo.Auth.DbAccess.Models.CustomData.Enums; using Fingo.Auth.DbAccess.Repository.Interfaces; using Fingo.Auth.DbAccess.Repository.Interfaces.CustomData; using Fingo.Auth.Domain.CustomData.ConfigurationClasses; using Fingo.Auth.Domain.CustomData....
namespace Xamarin.UITests.TestIds { public static class TestIds { public const string BaseContinueButton = "base_continue_button"; public const string BaseLoadingIndicator = "base_loading_indicator"; public const string BaseScrollView = "base_scroll_view"; } }
using System; using System.Globalization; using System.Linq.Expressions; using System.Text.RegularExpressions; using ODL.ApplicationServices.DTOModel.Load; namespace ODL.ApplicationServices.Validation { /// <summary> /// Används för att lägga till regler i Validator (anges i konstruktorn) för en specifik stri...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Alquiler_Video_Juegos.EN { public class JuegoEN { public int id_Juego { get; set; } public string Nombre_Juego { get; set; } public string Descripcion_Juego { g...
/* GSD-311 Group 1 NIM project * 4/2/2014 * Steven Campbell * Tracy LaBombard * Don Petersen * Create a console application for a player * to play NIM against the computer. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Progr...
using Senparc.Core.Models; using Senparc.Core.Models.DataBaseModel; using Senparc.Repository; using System; using System.Collections.Generic; using System.Text; namespace Senparc.Respository { public interface IScheduleRepository : IBaseClientRepository<Schedule> { } public class ScheduleRepository: B...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; using EasyDev.SQMS; using EasyDev.BL; using System.Web.Security; using System.Threading; using System.IO; using SQMS.Services; using System.Data; using EasyDev.Util; namespace SQMS.Application...
using System.Collections.Generic; namespace FubuMVC.CodeSnippets { public interface ISnippetCache { void Add(Snippet snippet); Snippet Find(string name); IEnumerable<Snippet> All(); Snippet FindByBottle(string name, string bottle); } }
// <copyright file="PlayerProvider.cs" company="Firoozeh Technology LTD"> // Copyright (C) 2021 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 Lice...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Appnotics.PrintSelection.Classes { public class VoteResult { public int[] results { get; set; } public VoteResult() { results = new int[3]; results[0] = 0; results[1] = 0; ...
using System; // Multidimensional Array Example namespace Main { class MatrixWork { // Class variables for generating random numbers private static readonly Random random = new Random(); private static readonly object syncLock = new object(); public static void Main( string[] ar...
using System.Reflection; [assembly: AssemblyTitle("Leprechaun.CodeGen.Roslyn")] [assembly: AssemblyDescription("Generate Sitecore template code using Roslyn/C# Scripts")]
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace ZendeskSell.Products { public class ProductRequest { public ProductRequest() { Prices = Enumerable.Empty<ProductPrice>(); } [JsonProperty("name")] ...
using gView.Framework.system; using Microsoft.Win32; using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Xml; namespace gView.Framework.Sys.UI { public class CLicenseManager { private string _BaseString; private string _Password; private stri...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; //********************************************************************** // // 文件名称(File Name):RoleName.CS // 功能描述(Description): // 作者(Author):Aminis...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.Common; using MySql.Data.MySqlClient; using System.Data; using DevanshAssociate_API; namespace MagathApi.DAL { public class BaseDAL : DBObjectList { public static MySqlCommand GetSqlCommandProcedure...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace ProjectCompany.Models { public class Skill { public int Id { get; set;} [Required] public string Title { get; set; } public List<EmployeeSkill> EmployeeSkills { get; set;} ...
using System.IO; using System.Text.Json; using System.Threading.Tasks; using Altinn.Platform.Events.Functions.Models; using AltinnIntegrator.Functions.Config; using AltinnIntegrator.Functions.Services.Implementation; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using M...
using Microsoft.IdentityModel.Tokens; using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using WebApp.Data.Models; namespace WebApp.Infrastructure.Authorization { public static class TokenGeneration { public static string GenerateToken(...
using System; using System.Collections.Generic; using System.Threading.Tasks; using ReactData.Models; namespace ReactData.Repositories { public interface IRepository : IDisposable { Task<List<User>> GetUserList(); Task<bool> AddUser(User user); Task<bool> AddUsers(List<User> users); ...
using Dao; using Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Control { public class EstoqueCtrl { public Boolean SalvarEstoqueNoArquivo(Estoque _estoque) { try { Est...
using AutoTests.Framework.Core.Steps; namespace AutoTests.Framework.Example.Steps { public abstract class Steps : StepsBase { protected readonly Application application; protected Steps(Application application) : base(application.Steps) { this.application = application; ...
using System; using System.ComponentModel.DataAnnotations; using Projeto.Models; using Projeto.Validators.DataAnnotations; namespace Projeto.ViewModels { public class ClienteViewModel { public Guid Id { get; set; } [Required(ErrorMessage = "Preenchimento obrigatório")] public string No...
using System; using System.IO; // using System.Linq; // using System.Threading; // using System.Reflection; // using System.Diagnostics; // using System.Windows.Forms; using System.Collections.Generic; using System.Text.RegularExpressions; using Excel = Microsoft.Office.Interop.Excel; using FrameworkLibraries; using ...
using System; using DotGet.Core.Commands; using DotGet.Core.Logging; using DotGet.Core.Resolvers; using Moq; using Xunit; namespace DotGet.Core.Tests.Commands { public class ListCommandTests { private Mock<ILogger> _mLogger; private Mock<Resolver> _mResolver; public ListCommandTests(...
using UnityEngine; using System.Collections; public class AutoScroll : MonoBehaviour { public UIScrollView scrollView; [Tooltip("Unit per seconds")] public float scrollSpeed = 0.05f; // Update is called once per frame void Update () { scrollView.Scroll(scrollSpeed); } }
using System; using System.Collections.Generic; using System.Reflection; using Dapper; using System.Data; using System.Data.SqlClient; using Microsoft.Extensions.Configuration; namespace Embraer_Backend.Models { public class LimpezaMedicoes { public long IdMedicaoLimpeza {get;set;} public long ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using gMediaTools.Factories; using gMediaTools.Services; namespace gMediaTools.Models.CurveFitting { public class CurveFittingSettings { public List<CurveFittingModel> Data { get; set; }...
using UnityEngine; public class PlayerManager : MonoBehaviour { public static PlayerManager player; public Transform transformp; private void Awake() { if (player == null) { player = this; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using XH.Infrastructure.Query; namespace XH.Queries.Projects.Queries { public class ListProjectUsersQuery : QueryBase { public string ProjectId { get; set; } } }
using System; using Crossroads.Web.Common.MinistryPlatform; using Newtonsoft.Json; namespace MinistryPlatform.Translation.Models.DTO { [MpRestApiTable(Name = "Group_Participants")] public class MpGroupParticipantDto { [MpRestApiPrimaryKey("Group_Participant_ID")] [JsonProperty("Group_Parti...
namespace FeriaVirtual.Infrastructure.Persistence.OracleContext.Configuration { sealed class DimensionalConfig : DBConfig, IDBConfig { public string GetConnectionString { get; } public string GetDatabaseName { get; } private DimensionalConfig() : base() { ...
 using Xamarin.Forms; namespace RRExpress.Express.Views { public partial class OrderCenterView : ContentView { public OrderCenterView() { InitializeComponent(); } } }
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Airelax.Application.Trips; namespace Airelax.Controllers { [Route("[controller]")] [Authorize] public class TripController : Cont...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web.Http; using Uintra.Core.Member.Entities; using Uintra.Core.Member.Models; using Uintra.Core.Member.Services; using Uintra.Features.Permissions.Interfaces; using Uintra.Features.Permissions.Models; using Ui...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. #pragma warning disable 0649 // For serialized fields using System; using UnityEngine; public class ChunkImpacts : MonoBehaviour { public enum ImpactType {...
using System; namespace LatihanOperatorLogika { class Program { static void Main(string[] args) { // negasi -- start bool passed = false; Console.WriteLine(!passed); // output: True Console.WriteLine(!true); // output: False ...
using System; using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEditor.PackageManager.UI; using UnityEngine; public class RemotesEditorWindow : ExtendedEditorWindow { Vector2 scrollPos; public static void OpenWindow(RemoteConfigObject remotes) { Remote...
using System.Collections.Generic; using System.Configuration; using System.IO; namespace AmazonReloader { public class Credentials { private readonly string KeyPath; private byte[] Key => File.ReadAllBytes(KeyPath); public Credentials() { KeyPath = ConfigurationMan...
using System; using Tools; namespace _058 { class Program { private static int GetSizeForRatio(double minimalDesiredRatio) { if (minimalDesiredRatio < 0 || minimalDesiredRatio > 1) { throw new ArgumentOutOfRangeException("minimalDesiredRatio"); ...
using System.Threading.Tasks; using OrchardCore.ContentManagement.Handlers; namespace DFC.ServiceTaxonomy.JobProfiles.DataTransfer.ServiceBus.Interfaces { internal interface IDataEventProcessor { Task ProcessContentContext(ContentContextBase context, string actionType); } }
using System; using System.Collections.Generic; using System.Text; using DBDiff.Schema.Model; namespace DBDiff.Schema.MySQL.Model { public class Index : MySQLSchemaBase { private Boolean isUnique; private string type; private IndexColumns columns; public Index(Table table):bas...
using Abhs.Model.ViewModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Abhs.Model.MonitorMiddle { public class MonitorStudent { public MonitorStudentView student { get; set; } public int studentId { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace ArchosAPI { public class CatalogedCourse { public int Id { get; set; } public int DepartmentId { get; set; } public string CourseName { get; set; } public string CourseNum...
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace PrimeNumberCheck { [TestClass] public class TestCheckNumberIsPrime { [TestMethod] public void TestMethod1() { Assert.IsTrue(CheckNumberIsPrime.IsPrime(9)); } [TestMethod] public void Te...
namespace app { public class TreeItem { int Depth; char Side; public TreeItem(TreeItem leftChild, TreeItem rightChild, int depth, char side) { LeftChild = leftChild; RightChild = rightChild; Depth = depth; Side = side; } ...
using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; public class TToI : MonoBehaviour { public RenderTexture rendertexture; // Use this for initialization void Start () { SaveRenderTextureToPNG(rendertexture, "E:\\Study\\UnityProjects\\LightLayout\\Assets\\Im...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Security; using SecuritySite.Models; namespace SecuritySite.Providers { public class CustomRoleProvider : RoleProvider { public override string[] GetRolesForUser(string login) { ...
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace MongoDb.CarPark.Utilities { public static class ServiceCollectionExtensions { public static IServiceCollection AddMongoDbSettings(this IServiceCollection services, IConfiguration configuration) ...
namespace CheckIt { using System.Collections.Generic; using CheckIt.Compilation; using CheckIt.ObjectsFinder; using CheckIt.Syntax; internal class CheckClasses : CheckTypes<IClass, IClassMatcher, ICheckClasses, ICheckClassesContains>, ICheckClasses, IClassMatcher { private readonly IOb...
namespace Mediator { public interface IColega { void Enviar(string mensagem); void Notificar(string mensagem); } }
using System; using System.Collections.Generic; namespace Tools { public class Permutations { public static int ArrayToNum(int[] num) { int pow = 1; int res = 0; for (int i = num.Length - 1; i >= 0; i--) { res += num[i] * pow; ...
using System; using Domain.Entitys; using Infrastructure.Commands; using ServiceStack; namespace Domain.Commands { [Route("/BuildOrder", "Post")] public class BuildOrder : Command { public string OrderNo { get; set; } public decimal OrderAmount { get; set; } public string ProductN...
/* * Author: Easton Bolinger * Class: CowboyCoffee.cs * Purpose: To handle the attributes of the Cowboy Coffee Drink */ using System; using System.Collections.Generic; using System.Text; namespace CowboyCafe.Data { /// <summary> /// Class represetning the Cowboy Coffee drink /// </summary> public ...
using System; using System.ComponentModel.DataAnnotations; namespace WebApi.Entities { public class Present { [Key] public Guid Id { get; set; } [Required] [MaxLength(50)] public string Name { get; set; } [Required] public byte[] Location { get; set; }...
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.IO; using Leaf.xNet; using Fizzler; using Fizzler.Systems.HtmlAgilityPack; usin...
namespace Adapter { public class Cart { private readonly string _productName; private readonly string _userAddress; public Cart(string productName, string userAddress) { _productName = productName; _userAddress = userAddress; } public void...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using System.Reflection; using System.Linq; using System.Text; using System.Windows.Data; namespace Xceed.Wpf.Toolkit.Converters { public class TypeNameConverter : IValueConverter { public object C...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using UKPR.Hermes.Models; namespace UKPR.Hermes.Asp.NetCoreApi.Dtos { public class AvailibilityDeclaration : AvailibilityDeclarationAbstractBase { } }
using System.Collections.Generic; using System.Linq; using Fingo.Auth.DbAccess.Repository.Interfaces; using Fingo.Auth.Domain.Models.ProjectModels; using Fingo.Auth.Domain.Users.Interfaces; namespace Fingo.Auth.Domain.Users.Implementation { public class GetProjectsFromUser : IGetProjectsFromUser { pri...