Beispiel #1
0
 public Interface(IAuthentificator authentificator, ICacheStorage cacheStorage, IEventoClient eventoClient, ISettingsLoader settingsLoader)
 {
     this.authentificator = authentificator;
     this.cacheStorage    = cacheStorage;
     this.eventoClient    = eventoClient;
     this.settingsLoader  = settingsLoader;
 }
Beispiel #2
0
 public PartViewModelFactory(IPartService partService, ICarService carService, IProviderService providerService, ICartService cartService, IAuthentificator authentificator)
 {
     _partService     = partService;
     _carService      = carService;
     _providerService = providerService;
     _cartService     = cartService;
     _authentificator = authentificator;
 }
Beispiel #3
0
 public CarPartViewModelAbstractFactory(ICarPartViewModelFactory <RegisterViewModel> registerVmFactory,
                                        ICarPartViewModelFactory <AuthViewModel> authVmFactory,
                                        ICarPartViewModelFactory <HomeViewModel> homeVmFactory,
                                        ICarPartViewModelFactory <PartViewModel> partVmFactory,
                                        ICarPartViewModelFactory <AdminViewModel> adminVmFactory,
                                        ICarPartViewModelFactory <CartViewModel> cartVmFactory,
                                        IAuthentificator authentificator)
 {
     _registerVMFactory = registerVmFactory;
     _authVMFactory     = authVmFactory;
     _homeVmFactory     = homeVmFactory;
     _partVmFactory     = partVmFactory;
     _adminVmFactory    = adminVmFactory;
     _cartVmFactory     = cartVmFactory;
     _authentificator   = authentificator;
 }
Beispiel #4
0
 public AddBalanceViewModelFactory(ICardService cardService, IAuthentificator authentificator)
 {
     _authentificator = authentificator;
     _cardService     = cardService;
 }
 public AuthController()
 {
     auth = new Authentificator();
 }
Beispiel #6
0
 public AddPartToCartCommand(PartViewModel partViewModel, ICartService cartService, IAuthentificator authentificator)
 {
     _partViewModel   = partViewModel;
     _cartService     = cartService;
     _authentificator = authentificator;
 }
Beispiel #7
0
 public AuthController(IUserRepository repository, IAuthentificator authenticator)
 {
     this.userRepository = repository ?? throw new ArgumentNullException(nameof(repository));
     this.authenticator  = authenticator;
 }
Beispiel #8
0
 public AddressViewModelFactory(IAuthentificator authentificator, IOrderService orderService)
 {
     _authentificator = authentificator;
     _orderService    = orderService;
 }
Beispiel #9
0
 public CreateOrderCommand(IOrderService orderService, IAuthentificator authentificator, AddressViewModel addressViewModel)
 {
     _orderService     = orderService;
     _authentificator  = authentificator;
     _addressViewModel = addressViewModel;
 }
Beispiel #10
0
 public DeletePartFromCartCommand(CartViewModel cartViewModel, ICartService cartService, IAuthentificator authentificator)
 {
     _cartViewModel   = cartViewModel;
     _cartService     = cartService;
     _authentificator = authentificator;
 }
Beispiel #11
0
 public LogoutCommand(IAuthentificator authentificator)
 {
     _authentificator = authentificator;
 }
Beispiel #12
0
 public AdminViewModelFactory(IAuthentificator authentificator)
 {
     _authentificator = authentificator;
 }
Beispiel #13
0
 public AccountController(IAuthentificator authentificator)
 {
     _authentificator = authentificator;
 }
Beispiel #14
0
 public PlacesController(IPlaceRepository repository, IAuthentificator authenticator)
 {
     this.repository    = repository ?? throw new ArgumentNullException(nameof(repository));
     this.authenticator = authenticator;
 }
Beispiel #15
0
 public AddMoneyCommand(ICardService cardService, IAuthentificator authentificator, AddBalanceViewModel addBalanceViewModel)
 {
     _cardService         = cardService;
     _authentificator     = authentificator;
     _addBalanceViewModel = addBalanceViewModel;
 }
 public UsersController(IUserRepository userRepository, IAuthentificator authenticator)
 {
     this.userRepository = userRepository ?? throw new ArgumentNullException(nameof(userRepository));
     this.authenticator  = authenticator ?? throw new ArgumentNullException(nameof(authenticator));
 }
Beispiel #17
0
 public RegisterViewModelFactory(IAuthentificator authentificator)
 {
     _authentificator = authentificator;
 }
Beispiel #18
0
 public Interface(IAuthentificator authentificator, ICacheStorage cacheStorage, IEventoClient eventoClient)
 {
     this.authentificator = authentificator;
     this.cacheStorage    = cacheStorage;
     this.eventoClient    = eventoClient;
 }
Beispiel #19
0
 public RegisterCommand(IAuthentificator authentificator, RegisterViewModel registerViewModel)
 {
     _authentificator   = authentificator;
     _registerViewModel = registerViewModel;
 }
Beispiel #20
0
 public CartViewModelFactory(IAuthentificator authentificator, ICartService cartService, IOrderService orderService)
 {
     _authentificator = authentificator;
     _cartService     = cartService;
     _orderService    = orderService;
 }