Ejemplo n.º 1
0
 public CardsController(
     ICardsService cardsService,
     IUsersService usersService)
 {
     this.cardsService = cardsService;
     this.usersService = usersService;
 }
Ejemplo n.º 2
0
 public PaypalController(
     IPaypalService paypalService,
     ICardsService cardsService)
 {
     this.paypalService = paypalService;
     this.cardsService  = cardsService;
 }
        public SettingsViewModel(INavigationService navigationService, ICardsService cardsService, IDialogService dialogService)
        {
            _navigationService = navigationService;
            _cardsService      = cardsService;
            _dialogService     = dialogService;

            _cardsService.DataUpdated += (o, e) => CheckForUpdate(false);
        }
Ejemplo n.º 4
0
 public GetTransactionByIdQueryHandler(
     ICardsService cardsService,
     ITransactionsHistoryService transactionsHistoryService,
     ILogger <GetTransactionByIdQueryHandler> logger)
 {
     _cardsService = cardsService;
     _transactionsHistoryService = transactionsHistoryService;
     _logger = logger;
 }
Ejemplo n.º 5
0
 public UsersController(
     IUsersService usersService,
     ICloudinaryService cloudinaryService,
     ICardsService cardsService)
 {
     this.usersService      = usersService;
     this.cloudinaryService = cloudinaryService;
     this.cardsService      = cardsService;
 }
 public PaypalController(
     IPaypalService paypalService,
     ICardsService cardsService,
     UserManager <ApplicationUser> userManager)
 {
     this.paypalService = paypalService;
     this.cardsService  = cardsService;
     this.userManager   = userManager;
 }
Ejemplo n.º 7
0
 public PaymentExecutedHandler(
     ITransactionsHistoryService transactionsHistoryService,
     ICardsService cardsService,
     ILogger <PaymentExecutedHandler> logger)
 {
     _transactionsHistoryService = transactionsHistoryService;
     _cardsService = cardsService;
     this._logger  = logger;
 }
Ejemplo n.º 8
0
 public CardsController(
     ICardsService service,
     IHttpContextAccessor httpContextAccessor
     )
     : base(service)
 {
     _service             = service;
     _httpContextAccessor = httpContextAccessor;
 }
        public MainViewModel(INavigationService navigationService, ICardsService cardsService)
        {
            _navigationService = navigationService;
            _cardsService      = cardsService;

            VersionDisplay = "v" + App.VersionName;
            Title          = App.APP_NAME;

            cardsService.DataUpdateAvailable += CardsService_DataUpdateAvailable;
            cardsService.DataUpdated         += CardsService_DataUpdated;
        }
Ejemplo n.º 10
0
 public ExecutePaymentHandler(
     ICardsService cardsService,
     IBankAuthProvider bankAuthProvider,
     IMediator mediator,
     ILogger <ExecutePaymentHandler> logger)
 {
     _cardsService     = cardsService;
     _bankAuthProvider = bankAuthProvider;
     _mediator         = mediator;
     _logger           = logger;
 }
 public AppointmentsService(
     IRepository <Appointment> appointmentsRepository,
     IUsersService usersService,
     ICardsService cardsService,
     IProceduresService proceduresService,
     ICategoriesService categoriesService)
 {
     this.appointmentsRepository = appointmentsRepository;
     this.usersService           = usersService;
     this.cardsService           = cardsService;
     this.proceduresService      = proceduresService;
     this.categoriesService      = categoriesService;
 }
Ejemplo n.º 12
0
 public DecksController(
     IDecksService decksService,
     ICardsService cardsService,
     ICoursesService coursesService,
     UserManager <ApplicationUser> userManager,
     Random random)
 {
     this.decksService   = decksService;
     this.cardsService   = cardsService;
     this.coursesService = coursesService;
     this.userManager    = userManager;
     this.random         = random;
 }
Ejemplo n.º 13
0
 public CardsController(ICRUDService <CardsCollection> crudCardsService,
                        ICardsService <CardsCollection> cardsService,
                        ICRUDService <Card> crudCardService,
                        UserManager <AppUser> userManager,
                        ICardService <Card> cardService,
                        ILogger <CardsController> logger)
 {
     _cardService      = cardService;
     _crudCardService  = crudCardService;
     _crudCardsService = crudCardsService;
     _cardsService     = cardsService;
     _userManager      = userManager;
     _logger           = logger;
 }
Ejemplo n.º 14
0
        public BucketHomeViewModel(ICardsService cardsService, ISecureStorage secureStorage, IConnectivity connectivity, IAppData appData, ICardData cardData, IBucketData bucketData)
        {
            this.cardsService  = cardsService;
            this.connectivity  = connectivity;
            this.appData       = appData;
            this.cardData      = cardData;
            this.bucketData    = bucketData;
            this.secureStorage = secureStorage;
            Amount             = new Property <string>("Amount").RequiredString("Please specify amount").RequiredFormat(@"^\d*(\.\d+)?$", "Please specify a valid number");
            SendCommand        = new XCommand(async() => await Send(), CanSend);
            SendCommand.SetDependency(Amount);

            CardBalance   = appData.Cards.Any() ? $"$ {appData.Cards.First().Balance}" : "You do not have any cards. Order a card first.";
            BucketBalance = appData.BucketAmount;
        }
Ejemplo n.º 15
0
 public ExternalLoginModel(
     SignInManager <ApplicationUser> signInManager,
     UserManager <ApplicationUser> userManager,
     ILogger <ExternalLoginModel> logger,
     IEmailSender emailSender,
     ICardsService cardsService,
     INotificationsService notificationsService)
 {
     _signInManager            = signInManager;
     _userManager              = userManager;
     _logger                   = logger;
     _emailSender              = emailSender;
     this.cardsService         = cardsService;
     this.notificationsService = notificationsService;
 }
        public CardsViewModel(INavigationService navigationService, ICardsService cardsService, IDialogService dialog, IDeckService deckService)
        {
            _navigationService = navigationService;
            _cardsService      = cardsService;
            _dialog            = dialog;
            _deckService       = deckService;

            _cardsService.DataUpdated += (o, e) =>
            {
                Device.BeginInvokeOnMainThread(async() =>
                {
                    await InitializeAsync(CurrentDeck);
                    await ApplyFilters();
                });
            };
        }
Ejemplo n.º 17
0
 public RegisterModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ILogger <RegisterModel> logger,
     SoftGym.Services.Messaging.IEmailSender emailSender,
     ICloudinaryService cloudinaryService,
     ICardsService cardService,
     INotificationsService notificationsService)
 {
     this._userManager         = userManager;
     this._signInManager       = signInManager;
     this._logger              = logger;
     this.emailSender          = emailSender;
     this.cloudinaryService    = cloudinaryService;
     this.cardService          = cardService;
     this.notificationsService = notificationsService;
 }
Ejemplo n.º 18
0
 public DepositController(
     ICardsService cardsService, 
     IDepositWaysOfAccumulationService depositWaysOfAccumulationService,
     IDepositTermsService depositTermsService,
     ICurrenciesService currenciesService,
     IAddCardHandler addCardHandler,
     INewDepositHandler newDepositHandler,
     ICloseDepositHandler closeDepositHandler)
 {
     CardsService = cardsService;
     DepositWaysOfAccumulationService = depositWaysOfAccumulationService;
     DepositTermsService = depositTermsService;
     CurrenciesService = currenciesService;
     AddCardHandler = addCardHandler;
     NewDepositHandler = newDepositHandler;
     CloseDepositHandler = closeDepositHandler;
 }
Ejemplo n.º 19
0
 public CardsServiceTest(BankTransactionalSystemFixture fixture)
 {
     cardsService = fixture.Scope.ServiceProvider.GetRequiredService <ICardsService>();
     dbContext    = fixture.Scope.ServiceProvider.GetRequiredService <TransactionalSystemDbContext>();
 }
Ejemplo n.º 20
0
 public DecksController(IDecksService decksService, ICardsService cardsService)
 {
     this.decksService = decksService;
     this.cardsService = cardsService;
 }
Ejemplo n.º 21
0
 public CardsController(ICardsService cardService)
 {
     _cardService = cardService;
 }
Ejemplo n.º 22
0
 public CardsController(ILogger <CardsController> logger, ICardsService cards)
 {
     _logger = logger;
     _cards  = cards;
 }
Ejemplo n.º 23
0
 public ClashCardsManager(ICardsService service)
 {
     cardsService = service;
 }
Ejemplo n.º 24
0
        /* Constructors */

        public CardsListPageModel()
        {
            _cardsService = FreshIOC.Container.Resolve <ICardsService>();

            _cards = _cardsService.get();
        }
Ejemplo n.º 25
0
 public CardsController(ICardsService cardsService, UserManager <ApplicationUser> userManager)
 {
     this.cardsService = cardsService;
     this.userManager  = userManager;
 }
Ejemplo n.º 26
0
 public TransactionService(CardDBContext dbContext, ICardsService cards)
 {
     _dbContext = dbContext;
     _cards     = cards;
 }
Ejemplo n.º 27
0
 public CardsController(ICardsService cardsService, ILogger <CardsController> logger)
 {
     this.cardsService = cardsService;
     this.logger       = logger;
 }
Ejemplo n.º 28
0
 public CommandExecutor(ICardsService cardsService, IInventoryService inventoryService, IBadgesService badgesService)
 {
     _cardsService     = cardsService;
     _inventoryService = inventoryService;
     _badgesService    = badgesService;
 }
 public TransactionalSystemController(ILogger <TransactionalSystemController> _logger, ICardsService _cardsService)
 {
     logger       = _logger;
     cardsService = _cardsService;
 }
Ejemplo n.º 30
0
 public CardsController(ICardsService cardsService)
 {
     this.cardsService = cardsService;
 }
 public CardsController(ICardsService service)
 {
     _cardsService = service;
 }