public CloudBankingController(IBankingRepository bankingRepository, IBankingService bankingService, ICalculator calculator, IOptions <AppParameters> opAppParameters)
 {
     _bankingRepository = bankingRepository;
     _bankingService    = bankingService;
     _calculator        = calculator;
     _appParameters     = opAppParameters.Value;
 }
Esempio n. 2
0
 public ShoppingCart(string username, IUserRepository userRepository, IBankingService bankingService)
 {
     Orders          = new Dictionary <Product, int>();
     _userRepository = userRepository;
     _bankingService = bankingService;
     Owner           = username;
 }
Esempio n. 3
0
 public BettingService(IBetRepository betRepository, IWagerRepository wagerRepository,
                       IBankingService bankingService)
 {
     _betRepository   = betRepository;
     _wagerRepository = wagerRepository;
     _bankingService  = bankingService;
 }
Esempio n. 4
0
 public BankingModule(IBankingService bankingService, IInvestingService investingService,
                      IOptions <BotOptions> options)
 {
     _bankingService   = bankingService;
     _investingService = investingService;
     _options          = options.Value;
 }
Esempio n. 5
0
 public BookingCancelController(
     dbwebContext _ctx,
     IBankingService ibankingService
     )
 {
     ctx = _ctx;
 }
Esempio n. 6
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="PinViewModel" /> class.
        /// </summary>
        /// <param name="regionManager">The region manager.</param>
        /// <param name="provider">The provider.</param>
        /// <param name="service">The service.</param>
        /// <param name="dispatcherAccessor">The dispatcher accessor.</param>
        public PinViewModel(IRegionManager regionManager, ICredentialsProvider provider, IBankingService service, IDispatcherAccessor dispatcherAccessor)
        {
            if (regionManager == null)
            {
                throw new ArgumentNullException(nameof(regionManager));
            }
            if (provider == null)
            {
                throw new ArgumentNullException(nameof(provider));
            }
            if (service == null)
            {
                throw new ArgumentNullException(nameof(service));
            }
            if (dispatcherAccessor == null)
            {
                throw new ArgumentNullException(nameof(dispatcherAccessor));
            }

            _regionManager      = regionManager;
            _provider           = provider;
            _service            = service;
            _dispatcherAccessor = dispatcherAccessor;
            OkCommand           = new DelegateCommand <IWrappedValue <string> >(CheckPin);
        }
Esempio n. 7
0
 public TransferService(HttpClient apiClient,
                        IHttpClientFactory httpClientFactory,
                        IBankingService bankingService)
 {
     _apiClient         = apiClient;
     _httpClientFactory = httpClientFactory;
     _bankingService    = bankingService;
 }
Esempio n. 8
0
 public BankController(
     dbwebContext _ctx,
     IBankingService ibankingService
     )
 {
     ctx             = _ctx;
     iBankingService = ibankingService;
 }
Esempio n. 9
0
 public GoalService(IGoalTypeRepository goalTypeRepository, IUserGoalRepository userGoalRepository, IEventRepository eventRepository, IGoalSubscriberRepository goalSubscriberRepository, IEventService eventService, IBankingService bankingService)
 {
     _goalTypeRepository       = goalTypeRepository;
     _userGoalRepository       = userGoalRepository;
     _eventRepository          = eventRepository;
     _goalSubscriberRepository = goalSubscriberRepository;
     _eventService             = eventService;
     _bankingService           = bankingService;
 }
Esempio n. 10
0
 public MainWindow()
 {
     InitializeComponent();
     _bankingService     = IocConfiguration.Initialize().Resolve <IBankingService>();
     _tblUpdate          = IocConfiguration.Initialize().Resolve <IUpdateDbTables>();
     _transactionService = IocConfiguration.Initialize().Resolve <ITransactionService>();
     _objectConversions  = IocConfiguration.Initialize().Resolve <ObjectConversions>();
     _initiateDataUpdate = IocConfiguration.Initialize().Resolve <InitiateDataUpdate>();
 }
 public SendPaymentRequestHandler(
     IBankingService bankingService,
     IMapper mapper,
     IPaymentContext context)
 {
     _bankingService = bankingService ?? throw new ArgumentNullException(nameof(bankingService));
     _mapper         = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _context        = context ?? throw new ArgumentNullException(nameof(context));
 }
 public CreateAccountCommandHandler(
     ILogger <CreateAccountCommandHandler> logger,
     IAccountService accountService,
     IBankingService bankingService,
     CommandDelegator commandDelegator)
 {
     _logger           = logger;
     _accountService   = accountService;
     _bankingService   = bankingService;
     _commandDelegator = commandDelegator;
 }
 public CreditPaymentController(
     dbwebContext _ctx,
     ISysParameterService isysParamService,
     IStatusService istatusService,
     IBankingService ibankingService
     )
 {
     ctx = _ctx;
     iSysParamService = isysParamService;
     iStatusService   = istatusService;
     iBankingService  = ibankingService;
 }
 public LoginCommandHandler(
     ILogger <LoginCommandHandler> logger,
     IAccountService accountService,
     IBankingService bankingService,
     EventDelegator eventDelegator,
     ApplicationContext applicationContext)
 {
     _logger             = logger;
     _accountService     = accountService;
     _bankingService     = bankingService;
     _eventDelegator     = eventDelegator;
     _applicationContext = applicationContext;
 }
Esempio n. 15
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="WithdrawViewModel" /> class.
        /// </summary>
        /// <param name="provider">The provider.</param>
        /// <param name="service">The service.</param>
        /// <param name="dispatcherAccessor">The dispatcher accessor.</param>
        public WithdrawViewModel(ICredentialsProvider provider, IBankingService service, IDispatcherAccessor dispatcherAccessor)
        {
            if (provider == null)
            {
                throw new ArgumentNullException(nameof(provider));
            }
            if (service == null)
            {
                throw new ArgumentNullException(nameof(service));
            }
            if (dispatcherAccessor == null)
            {
                throw new ArgumentNullException(nameof(dispatcherAccessor));
            }

            _provider           = provider;
            _service            = service;
            _dispatcherAccessor = dispatcherAccessor;
            GetCommand          = new DelegateCommand(Withdraw);
        }
        /// <summary>
        ///     Initializes a new instance of the <see cref="CurrentBalanceViewModel" /> class.
        /// </summary>
        /// <param name="regionManager">The region manager.</param>
        /// <param name="provider">The provider.</param>
        /// <param name="service">The service.</param>
        /// <param name="dispatcherAccessor">The dispatcher accessor.</param>
        public CurrentBalanceViewModel(IRegionManager regionManager, ICredentialsProvider provider, IBankingService service, IDispatcherAccessor dispatcherAccessor)
        {
            if (regionManager == null)
            {
                throw new ArgumentNullException(nameof(regionManager));
            }
            if (provider == null)
            {
                throw new ArgumentNullException(nameof(provider));
            }
            if (service == null)
            {
                throw new ArgumentNullException(nameof(service));
            }
            if (dispatcherAccessor == null)
            {
                throw new ArgumentNullException(nameof(dispatcherAccessor));
            }

            _provider           = provider;
            _service            = service;
            _dispatcherAccessor = dispatcherAccessor;
            BackCommand         = new DelegateCommand(() => regionManager.RequestNavigate(RegionName.MainRegion, ViewName.ActionsView));
        }
Esempio n. 17
0
 public HomeController(IBankingService bankingService)
 {
     _bankingService = bankingService;
 }
Esempio n. 18
0
 public RecordWithdrawCommandHandler(IBankingService bankingService, EventDelegator eventDelegator)
 {
     this.bankingService = bankingService;
     this.eventDelegator = eventDelegator;
 }
 public SoapWithdrawTest()
 {
     _service = new BankingService(new MockDataInserter());
     _data    = new AccountsTestData();
 }
Esempio n. 20
0
 public ShoppingCartBuilder WithBankingService(IBankingService bankingService)
 {
     _bankingService = bankingService;
     return(this);
 }
Esempio n. 21
0
 public ShoppingCartBuilder()
 {
     _userName       = "******";
     _userRepository = null;
     _bankingService = null;
 }
Esempio n. 22
0
 public CheckBalanceCommandHandler(IBankingService bankingService, EventDelegator eventDelegator)
 {
     this.bankingService = bankingService;
     this.eventDelegator = eventDelegator;
 }
 public SoapTransferTest()
 {
     _service = new BankingService(new MockDataInserter());
     _data    = new AccountsTestData();;
 }
Esempio n. 24
0
 public BankingController(IBankingService bankingService, IHttpResponseResult httpResponseResult)
 {
     _bankingService = bankingService;
 }
Esempio n. 25
0
 public AuthenticationController(IBankingService bankingService)
 {
     _bankingService = bankingService;
 }
 /// <inheritdoc />
 public BankingController(IBankingService bankingService, ILogger <BankingController> logger)
 {
     BankingService = bankingService;
     Logger         = logger;
 }
Esempio n. 27
0
 public void Setup()
 {
     service = new BankingService();
 }
 public AccountDetailsModel(UserManager <ApplicationUser> userManager, ApplicationDbContext context)
 {
     _userManager    = userManager;
     _bankingService = new BankingService(context);
     Accounts        = new List <AccountModel>();
 }
 public BankingsController(IBankingService bankingService)
 {
     _bankingService = bankingService;
 }
Esempio n. 30
0
 public DefaultPaymentsProcessingService(IDtoMapper dtoMapper, IBankingService bankingService)
 {
     this._dtoMapper      = dtoMapper;
     this._bankingService = bankingService;
 }