public PurchaseViewModel(IToastService toastService, IPurchasingService purchaseService, ICache <SubscriptionModel> subCache, ISubscriptionService subService, ICurrentUserService userCache, MainThreadNavigator nav, ValidationModel validationModel, string runtimePlatform, Action <BaseNavPageType> navigateFromMenu, AlertUtility alertUtility, Action <Uri> openUri) { _toastService = toastService; _purchaseService = purchaseService; _subCache = subCache; _subService = subService; _userCache = userCache; _validationModel = validationModel; _runtimePlatform = runtimePlatform; _openUri = openUri; _alertUtility = alertUtility; _nav = nav; _navigateFromMenu = navigateFromMenu; LegalLinkCommand = new Command(() => _openUri(new Uri(Configuration.PrivacyPolicyUrl))); PurchaseButtonCommand = new Command(() => PurchaseButtonClicked()); SetVisualState(validationModel); }
public PurchaseController( IPurchasingService service, ILogger <PurchaseController> log) { _service = service; _log = log; }
public SingleReportPurchaseViewModel(ValidationModel validation, Action <Uri> openUri, string runtimePlatform, AlertUtility alertUtility, MainThreadNavigator nav, IToastService toastService, IPurchasedReportService prService, IPurchasingService purchaseService, ICurrentUserService userCache, ICache <PurchasedReportModel> prCache, ILogger <SingleReportPurchaseViewModel> emailLogger) { _validation = validation; _openUri = openUri; _nav = nav; _toastService = toastService; _runtimePlatform = runtimePlatform; _userCache = userCache; _purchaseService = purchaseService; _prService = prService; _prCache = prCache; _emailLogger = emailLogger; _alertUtility = alertUtility; SetViewState(validation); }
public VendorController( IPurchasingService service, ILogger <VendorController> log) { _service = service; _log = log; }
public PurchasingController(IInventoryService inventoryService, IFinancialService financialService, IPurchasingService purchasingService) { _inventoryService = inventoryService; _financialService = financialService; _purchasingService = purchasingService; }
public ValuesController(IEnumerable <IGamingService> gamingServices, IPurchasingService purchasingService, IUnitOfWork unitOfWork, ILeaderboard <UserModel> leaderboard, ConcreteService concreteService) { _gamingService = gamingServices; _purchasingService = purchasingService; _unitOfWork = unitOfWork; _leaderboard = leaderboard; _concreteService = concreteService; }
public PurchasingController(IAdministrationService adminService, IPurchasingService purchasingService, IFinancialService financialService) { _adminService = adminService; _purchasingService = purchasingService; _financialService = financialService; }
private void Awake() { purchasingService = FindObjectOfType <PurchasingServiceStub>() ?? throw new NullReferenceException(nameof(IPurchasingService)); lobbyEcsController = FindObjectOfType <LobbyEcsController>() ?? throw new NullReferenceException(nameof(lobbyEcsController)); textTooltip = FindObjectOfType <TextTooltip>() ?? throw new NullReferenceException(nameof(TextTooltip)); }
private void Awake() { shopUiSpawner = FindObjectOfType <ShopUiSpawner>() ?? throw new NullReferenceException(nameof(ShopUiSpawner)); purchasingService = FindObjectOfType <PurchasingServiceStub>() ?? throw new NullReferenceException(nameof(PurchasingServiceStub)); lobbyEcsController = FindObjectOfType <LobbyEcsController>() ?? throw new NullReferenceException(nameof(PurchasingServiceStub)); }
public ReferenceController( IInventoryService service, IFinancialService financialService, IPurchasingService purchasingService, ISalesService salesService, ILogger <ReferenceController> log) { _service = service; _financialService = financialService; _purchasingService = purchasingService; _log = log; _saleService = salesService; }
public CommonController(IInventoryService inventoryService, IFinancialService financialService, IPurchasingService purchasingService, ISalesService salesService) { _inventoryService = inventoryService; _financialService = financialService; _purchasingService = purchasingService; _salesService = salesService; }
public CommonController(IInventoryService inventoryService, IFinancialService financialService, IPurchasingService purchasingService, ISalesService salesService, IAdministrationService administrationService) { _inventoryService = inventoryService; _financialService = financialService; _purchasingService = purchasingService; _salesService = salesService; _administrationService = administrationService; }
public CommonController(ISalesService salesService, IAdministrationService administrationService, IInventoryService inventoryService, IPurchasingService purchasingService, IFinancialService financialService) { _salesService = salesService; _administrationService = administrationService; _inventoryService = inventoryService; _purchasingService = purchasingService; _financialService = financialService; }
public OrderController( IOrderService orderService, ILogService logService, IPurchasingService purchasingService, IDeliveriesService deliveriesService, IConfiguration configuration) { _orderService = orderService; _logService = logService; _purchasingService = purchasingService; _deliveriesService = deliveriesService; _configuration = configuration; }
public Initializer(IAdministrationService adminService, IFinancialService financialService, ISalesService salesService, IPurchasingService purchasingService, IInventoryService inventoryService, ISecurityService securityService) { _adminService = adminService; _financialService = financialService; _salesService = salesService; _purchasingService = purchasingService; _inventoryService = inventoryService; _securityService = securityService; }
public PurchasingController(IPermissionService permissionService, IPurchasingService purchasingService, IWareHouseService wareHouseService, ICommonService commonService, IProductService productService, ILogService logService, IUserService userService, IScheduleTaskFuncService scheduleTaskFuncService, IDbAccessor omsAccessor , IHostingEnvironment hostingEnvironment) { _permissionService = permissionService; _purchasingService = purchasingService; _wareHouseService = wareHouseService; _commonService = commonService; _productService = productService; _logService = logService; _userService = userService; _scheduleTaskFuncService = scheduleTaskFuncService; _omsAccessor = omsAccessor; _hostingEnvironment = hostingEnvironment; }
public InvoiceModelValidator(IInventoryService inventoryService, IPurchasingService purchasingService) { _inventoryService = inventoryService; _purchasingService = purchasingService; RuleFor(m => m.No).NotEmpty(); //RuleFor(m => m.Description).NotEmpty(); RuleFor(m => m.VendorId).Must(i => ValidateVendorId(i.Value)).WithMessage("VendorId is not valid"); RuleFor(m => m.InvoiceItems) .Must(i => i.Any()) .WithMessage("At least 1 item should exists in invoice"); RuleForEach(m => m.InvoiceItems).Must(i => ValidateItemId(i.ItemId)).WithMessage("ItemId is not valid"); RuleFor(m => m.Total).NotEmpty(); }
public ProductController(IProductService productService, IOrderService orderService, IDeliveriesService deliveriesService, IConfiguration configuration, IPurchasingService purchasingService, ILogService logService, IDbAccessor omsAccessor, IScheduleTaskFuncService scheduleTaskFuncService, ICMBService cmbService, ISaleProductWareHouseStockService saleProductWareHouseStockService ) { _productService = productService; _orderService = orderService; _deliveriesService = deliveriesService; _configuration = configuration; _purchasingService = purchasingService; _logService = logService; _omsAccessor = omsAccessor; _scheduleTaskFuncService = scheduleTaskFuncService; _cmbService = cmbService; _saleProductWareHouseStockService = saleProductWareHouseStockService; _productService.SynStock(); }
public PurchasingController() { _purchasingService = new PurchasingService(); }
public ContactController(ISalesService salesService, IPurchasingService purchasingService) { _salesService = salesService; _purchasingService = purchasingService; }
public SupplierController(IPurchasingService purchasingService, IPermissionService permissionService, IScheduleTaskFuncService scheduleTaskFuncService) { _purchasingService = purchasingService; _permissionService = permissionService; _scheduleTaskFuncService = scheduleTaskFuncService; }
private void Awake() { purchaser = FindObjectOfType <PurchasingServiceStub>(); }
public PurchasingController(IPurchasingService purchasingService) { this.purchasingService = purchasingService; }