Пример #1
0
 public Interface(IAuthentificator authentificator, ICacheStorage cacheStorage, IEventoClient eventoClient, ISettingsLoader settingsLoader)
 {
     this.authentificator = authentificator;
     this.cacheStorage    = cacheStorage;
     this.eventoClient    = eventoClient;
     this.settingsLoader  = settingsLoader;
 }
Пример #2
0
 public PartViewModelFactory(IPartService partService, ICarService carService, IProviderService providerService, ICartService cartService, IAuthentificator authentificator)
 {
     _partService     = partService;
     _carService      = carService;
     _providerService = providerService;
     _cartService     = cartService;
     _authentificator = authentificator;
 }
Пример #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;
 }
Пример #4
0
 public AddBalanceViewModelFactory(ICardService cardService, IAuthentificator authentificator)
 {
     _authentificator = authentificator;
     _cardService     = cardService;
 }
 public AuthController()
 {
     auth = new Authentificator();
 }
Пример #6
0
 public AddPartToCartCommand(PartViewModel partViewModel, ICartService cartService, IAuthentificator authentificator)
 {
     _partViewModel   = partViewModel;
     _cartService     = cartService;
     _authentificator = authentificator;
 }
Пример #7
0
 public AuthController(IUserRepository repository, IAuthentificator authenticator)
 {
     this.userRepository = repository ?? throw new ArgumentNullException(nameof(repository));
     this.authenticator  = authenticator;
 }
Пример #8
0
 public AddressViewModelFactory(IAuthentificator authentificator, IOrderService orderService)
 {
     _authentificator = authentificator;
     _orderService    = orderService;
 }
Пример #9
0
 public CreateOrderCommand(IOrderService orderService, IAuthentificator authentificator, AddressViewModel addressViewModel)
 {
     _orderService     = orderService;
     _authentificator  = authentificator;
     _addressViewModel = addressViewModel;
 }
Пример #10
0
 public DeletePartFromCartCommand(CartViewModel cartViewModel, ICartService cartService, IAuthentificator authentificator)
 {
     _cartViewModel   = cartViewModel;
     _cartService     = cartService;
     _authentificator = authentificator;
 }
Пример #11
0
 public LogoutCommand(IAuthentificator authentificator)
 {
     _authentificator = authentificator;
 }
Пример #12
0
 public AdminViewModelFactory(IAuthentificator authentificator)
 {
     _authentificator = authentificator;
 }
Пример #13
0
 public AccountController(IAuthentificator authentificator)
 {
     _authentificator = authentificator;
 }
Пример #14
0
 public PlacesController(IPlaceRepository repository, IAuthentificator authenticator)
 {
     this.repository    = repository ?? throw new ArgumentNullException(nameof(repository));
     this.authenticator = authenticator;
 }
Пример #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));
 }
Пример #17
0
 public RegisterViewModelFactory(IAuthentificator authentificator)
 {
     _authentificator = authentificator;
 }
Пример #18
0
 public Interface(IAuthentificator authentificator, ICacheStorage cacheStorage, IEventoClient eventoClient)
 {
     this.authentificator = authentificator;
     this.cacheStorage    = cacheStorage;
     this.eventoClient    = eventoClient;
 }
Пример #19
0
 public RegisterCommand(IAuthentificator authentificator, RegisterViewModel registerViewModel)
 {
     _authentificator   = authentificator;
     _registerViewModel = registerViewModel;
 }
Пример #20
0
 public CartViewModelFactory(IAuthentificator authentificator, ICartService cartService, IOrderService orderService)
 {
     _authentificator = authentificator;
     _cartService     = cartService;
     _orderService    = orderService;
 }