public PriceProvider( IProductService productService, IMoneyService moneyService) { _productService = productService; _moneyService = moneyService; }
public UserLimitProvider( ICustomerService customerService, IMoneyService moneyService, ILimitService limitService) { // store these in private fields }
public void Setup() { _userRepoMoq = new Mock <IRepository <User> >(); _currencyRepoMoq = new Mock <IRepository <Currency> >(); _moneyRepoMoq = new Mock <IRepository <UserMoney> >(); _moneyServiceMoq = new MoneyService(_userRepoMoq.Object, _currencyRepoMoq.Object); }
public MainViewModel(ITransactionService transactionService, IMoneyService moneyService, ISettingsService settingsService, IScreen hostScreen = null) { HostScreen = hostScreen ?? Locator.Current.GetService <IScreen>(); _settingsService = settingsService; _transactionService = transactionService; _moneyService = moneyService; CreateCommands(); GetData(); }
public AccountViewModel(ITransactionService transactionService, IMoneyService moneyService, string message = null, IScreen screen = null) { _message = message; HostScreen = screen ?? Locator.Current.GetService <IScreen>(); //if (!string.IsNullOrEmpty(_message)) Application.Current.MainPage.DisplayAlert("Message", message, "", "ok"); ; _transactionService = transactionService; _moneyService = moneyService; _ = GetDataAsync(); CreateCommands(); }
public ShoppingCartHelpers( IEnumerable <IProductAttributeProvider> attributeProviders, IProductService productService, IMoneyService moneyService, IContentDefinitionManager contentDefinitionManager) { _attributeProviders = attributeProviders; _productService = productService; _moneyService = moneyService; _contentDefinitionManager = contentDefinitionManager; }
public CommerceSettingsDisplayDriver( IShellHost orchardHost, ShellSettings currentShellSettings, IHttpContextAccessor httpContextAccessor, IAuthorizationService authorizationService, IMoneyService moneyService) { _orchardHost = orchardHost; _currentShellSettings = currentShellSettings; _httpContextAccessor = httpContextAccessor; _authorizationService = authorizationService; _moneyService = moneyService; }
public CaseSessionMeetingService( ILogger <CaseSessionMeetingService> _logger, IUserContext _userContext, IRepository _repo, ICaseDeadlineService _caseDeadlineService, IMoneyService _moneyService) { logger = _logger; repo = _repo; userContext = _userContext; caseDeadlineService = _caseDeadlineService; moneyService = _moneyService; }
public SettingsViewModel(ITransactionService transactionService, IMoneyService moneyService, ISettingsService settingsService, IScreen screen = null) { _transactionService = transactionService; _moneyService = moneyService; _settingsService = settingsService; HostScreen = screen ?? Locator.Current.GetService <IScreen>(); GoAccount = ReactiveCommand.CreateFromObservable(() => { return(HostScreen.Router.Navigate.Execute(new AccountViewModel(new TransactionService(), new MoneyService(), message: "From Settings"))); }); CreateCommands(); GetSettings(); }
public OrderService(IOrderRepository orderRepository, IExchangeClient[] clients, IBalanceRepository balanceRepository, Config config, IMoneyService moneyService, INotSoldRepository notSoldRepository, IFileService fileService, IDateTime dateTime, IOperationRepository operationRepository, IStatusService statusService) { _orderRepository = orderRepository; _clients = clients; _balanceRepository = balanceRepository; _config = config; _moneyService = moneyService; _notSoldRepository = notSoldRepository; _fileService = fileService; _dateTime = dateTime; _operationRepository = operationRepository; _statusService = statusService; }
public FrmCardSavingCash() { InitializeComponent(); switch (AutoHostConfig.CashBoxType) { case "XUHUIMEI": MoneyServer = new CashCodeMoney_XH(); break; default: SkynetMessage.MsgInfo("纸币器的配置不正确,请与管理员联系!"); //MoneyServer = new CashMoneyTest(); break; } btnEnd.Enabled = false; lblTime.Visible = false; }
public PriceVariantsPartHandler(IMoneyService moneyService) { _moneyService = moneyService; }
public MoneyController(IMoneyService moneyService) { _moneyService = moneyService; }
public PricePartHandler(IMoneyService moneyService) { _moneyService = moneyService; }
public PricePartSettingsDisplayDriver(IStringLocalizer <PricePartSettingsDisplayDriver> localizer, IMoneyService moneyService) { S = localizer; _moneyService = moneyService; }
public PricePartDisplayDriver(IMoneyService moneyService) { _moneyService = moneyService; }
public MoneyDetaleController(IMoneyService moneyService) { MoneyService = moneyService; }
public ProductsService(IMachine machine, IMoneyService moneyService) { this.machine = machine; this.moneyService = moneyService; }
public MoneyController(IMoneyService moneyService, IRepository <User> userRepo, IMapper mapper) { _moneyService = moneyService; _userRepo = userRepo; _mapper = mapper; }
public GraphController(IMoneyService moneyService) { _moneyService = moneyService; }
public MoneyConsumer(IMoneyService service) { _service = service; }
public HomeController(IInventoryHelper inventoryHelper, IMoneyService moneyService, IProductService productService) { _inventoryHelper = inventoryHelper; _moneyService = moneyService; _productService = productService; }
public PriceVariantsPartDisplayDriver(IMoneyService moneyService, IPredefinedValuesProductAttributeService predefinedValuesProductAttributeService) { _moneyService = moneyService; _predefinedValuesProductAttributeService = predefinedValuesProductAttributeService; }