public CardLimitController( ILogger <CardLimitController> logger, ILimitService limit) { _logger = logger; _limit = limit; }
public LimitServiceTest() { _companyRepositoryQuery = Substitute.For <ICompanyQueryRepository>(); _customerRepositoryQuery = Substitute.For <ICustomerQueryRepository>(); _limitUsedQueryRepository = Substitute.For <ILimitUsedQueryRepository>(); _limitService = new LimitService(_companyRepositoryQuery, _customerRepositoryQuery, _limitUsedQueryRepository); }
public UserLimitProvider( ICustomerService customerService, IMoneyService moneyService, ILimitService limitService) { // store these in private fields }
public LimitTest(TinyCardFixture fixture) { _limit = fixture.Scope.ServiceProvider .GetRequiredService <ILimitService>(); _dbContext = fixture.Scope.ServiceProvider .GetRequiredService <Data.TinyCardDbContext>(); }
public LimitPaymentCodeController(ApplicationContext context, IHomePagingService pagingService, ILimitService limitService, IPaymentCodeService paymentCodeService, IValidationService validationService) { this.context = context; this.pagingService = pagingService; this.limitService = limitService; this.paymentCodeService = paymentCodeService; this.validationService = validationService; }
public LimitDetailsView(ILimitService service, LimitModel entity, bool isNew) : base(service, entity, isNew) { InitializeComponent(); // set header and commands panel context LabelHeader.Content = ViewHeader; CommandsPanel.DataContext = Commands; }
public CardTest(CardLimitFixture fixture) { _cards = fixture.Scope.ServiceProvider .GetRequiredService <ICardService>(); _dbContext = fixture.Scope.ServiceProvider .GetRequiredService <CardDbContext>(); _limits = fixture.Scope.ServiceProvider .GetRequiredService <ILimitService>(); }
protected override void InitializationComplete() { // init _moneyTransferEventService = ServiceManager.ConfigureService <MoneyTransferEventService>(); _repayDebtEventService = ServiceManager.ConfigureService <RepayDebtEventService>(); _simpleEventService = ServiceManager.ConfigureService <SimpleEventService>(); _limitService = ServiceManager.ConfigureService <LimitService>(); _recordService = ServiceManager.ConfigureService <RecordService>(); _moneyTransferService = ServiceManager.ConfigureService <MoneyTransferService>(); InitializeViewModel(); _areLimitsLoaded = false; }
public ValidationService(IUserService userService, ITransferService transferService, IAccountService accountService, IStringLocalizer <ValidationService> localizer, IEmployeeService employeeService, ICompanyService companyService, IHostingEnvironment appEnvironment, ILimitService limitService, IExchangeRateService exchangeRateService, IBankService bankService) { this.userService = userService; this.transferService = transferService; this.accountService = accountService; this.localizer = localizer; this.employeeService = employeeService; this.companyService = companyService; _appEnvironment = appEnvironment; this.limitService = limitService; this.exchangeRateService = exchangeRateService; this.bankService = bankService; }
public CalendarDataBuilder(int userId, ITransactionService transactionService, ICurrencyService currencyService, ICurrencyExchangeRateService currencyExchangeRateService, IStorageService storageService, ILimitService limitService, ICategoryService categoryService) { _userId = userId; _transactionService = transactionService; _currencyService = currencyService; _currencyExchangeRateService = currencyExchangeRateService; _storageService = storageService; _limitService = limitService; _categoryService = categoryService; _data = new CalendarData(); }
public AuthController(IUserService userService, IEmailService emailService, IWriteWalletService walletService, ISquadService squadService, IOilfieldService oilfieldService, IExtractionService extractionService, IUserInfoService userInfoService, ILimitService limitService) { _userService = userService; _emailService = emailService; _squadService = squadService; _walletService = walletService; _oilfieldService = oilfieldService; _extractionService = extractionService; _userInfoService = userInfoService; _limitService = limitService; }
public LimitsController(ILimitService limitService, IMediator mediator) { _limitService = limitService; _mediator = mediator; }
public LimitReserveHandleTest() { _repository = Substitute.For <ILimitUsedCommandRepository>(); _limitService = Substitute.For <ILimitService>(); _handle = new LimitReserveHandle(_repository, _limitService); }
public CardLimitController(ILogger <CardLimitController> logger, ICardService cards, ILimitService limits) { _logger = logger; _cards = cards; _limits = limits; }
public BanlistCardsService(ILimitService limitService, ICardService cardService) { _limitService = limitService; _cardService = cardService; }
public LimitReserveHandle(ILimitUsedCommandRepository limitUsedCommand, ILimitService limitService) { _limitUsedCommand = limitUsedCommand; _limitService = limitService; }
public LimitController(ILimitService limitService) { _limitService = limitService; }
public void SetUp() { _limitService = Substitute.For <ILimitService>(); _sut = new AllLimitsQueryHandler(_limitService); }
public AllLimitsQueryHandler(ILimitService limitService) { _limitService = limitService; }