public RegisterService( IPreferencesService preferencesService, ILoggingService loggingService, ITaskHelperFactory taskHelperFactory, IRefitService refitService) { this.authApi = refitService.InitRefitInstance <IAuthApi>(); this.preferencesService = preferencesService; this.loggingService = loggingService; this.taskHelperFactory = taskHelperFactory; }
public ProductsViewModel( IPreferencesService preferencesService, ILoggingService loggingService, IRefitService refitService, ITaskHelperFactory taskHelperFactory) { this.preferencesService = preferencesService; this.loggingService = loggingService; this.taskHelperFactory = taskHelperFactory; this.productApi = refitService.InitRefitInstance <IProductApi>(isAutenticated: true); }
public LogInService( IPreferencesService preferencesService, ILoggingService loggingService, ITaskHelperFactory taskHelperFactory, IRefitService refitService) { this.authApi = refitService.InitRefitInstance <IAuthApi>(); this.storeApi = refitService.InitRefitInstance <IStoreApi>(isAutenticated: true); this.preferencesService = preferencesService; this.loggingService = loggingService; this.taskHelperFactory = taskHelperFactory; }
public CreateStoreService( IRefitService refitService, IPreferencesService preferencesService, ISessionService sessionService, ILoggingService loggingService, ITaskHelperFactory taskHelperFactory) { this.storeApi = refitService.InitRefitInstance <IStoreApi>(isAutenticated: true); this.preferencesService = preferencesService; this.sessionService = sessionService; this.loggingService = loggingService; this.taskHelperFactory = taskHelperFactory; }
public ConfigurationViewModel( IPreferencesService preferencesService, ILoggingService loggingService, IRefitService refitService, ITaskHelperFactory taskHelperFactory) { storeApi = refitService.InitRefitInstance <IStoreApi>(isAutenticated: true); this.preferencesService = preferencesService; this.loggingService = loggingService; this.taskHelperFactory = taskHelperFactory; SaveCommand = new AsyncCommand(SaveCommandExecute); }
public EditProfileViewModel( IPreferencesService preferencesService, ILoggingService loggingService, IDialogService dialogService, IRefitService refitService, ITaskHelperFactory taskHelperFactory) { clientApi = refitService.InitRefitInstance <IClientApi>(isAutenticated: true); this.preferencesService = preferencesService; this.loggingService = loggingService; this.dialogService = dialogService; this.taskHelperFactory = taskHelperFactory; }
public LogInControlViewModel( IPreferencesService preferencesService, ILoggingService loggingService, IDialogService dialogService, IRefitService refitService, ITaskHelperFactory taskHelperFactory, IKeyboardService keyboardService) { this.authApi = refitService.InitRefitInstance <IAuthApi>(); this.preferencesService = preferencesService; this.loggingService = loggingService; this.dialogService = dialogService; this.taskHelperFactory = taskHelperFactory; this.keyboardService = keyboardService; }
public StoresViewModel( IGeolocationService geolocationService, ISessionService sessionService, ILoggingService loggingService, IRefitService refitService, ITaskHelperFactory taskHelperFactory) { this.geolocationService = geolocationService; this.sessionService = sessionService; this.loggingService = loggingService; this.taskHelperFactory = taskHelperFactory; this.storeApi = refitService.InitRefitInstance <IStoreApi>(isAutenticated: false); GoToStoreDetailCommand = new AsyncCommand <Store>((store) => GoToStoreAsync(store)); }
public CartViewModel( IPreferencesService preferencesService, ISessionService sessionService, ILoggingService loggingService, IDialogService dialogService, IRefitService refitService, ITaskHelperFactory taskHelperFactory) { this.preferencesService = preferencesService; this.sessionService = sessionService; this.loggingService = loggingService; this.taskHelperFactory = taskHelperFactory; this.orderApi = refitService.InitRefitInstance <IOrderApi>(isAutenticated: true); MakeOrderCommand = new AsyncCommand(async() => await MakeOrderCommandAsync()); RemoveItemCommand = new AsyncCommand <OrderProduct>(RemoveItemCommandExecute); }
public OrderViewModel( IRefitService refitService, IPreferencesService preferencesService, ITaskHelperFactory taskHelperFactory, ILoggingService loggingService, IDialogService dialogService) { this.orderApi = refitService.InitRefitInstance <IOrderApi>(isAutenticated: true); this.preferencesService = preferencesService; this.taskHelperFactory = taskHelperFactory; this.loggingService = loggingService; this.dialogService = dialogService; RefreshCommand = new AsyncCommand(() => RefreshCommandAsync()); OpenChatCommand = new AsyncCommand <Order>((order) => OpenChatCommandAsync(order)); CancelOrderCommand = new AsyncCommand <Order>((order) => CancelOrderCommandExecute(order)); AcceptOrderCommand = new AsyncCommand <Order>((order) => AcceptOrderCommandExecute(order)); }
public ChooseLocationService( IGeocodingService geocodingService, IGeolocationService geolocationService, IPreferencesService preferencesService, ISessionService sessionService, ILoggingService loggingService, IDialogService dialogService, IConnectivityService connectivityService, ITaskHelper taskHelper, IRefitService refitService, ITaskHelperFactory taskHelperFactory) { this.geocodingService = geocodingService; this.geolocationService = geolocationService; this.preferencesService = preferencesService; this.sessionService = sessionService; this.loggingService = loggingService; this.dialogService = dialogService; this.connectivityService = connectivityService; this.taskHelper = taskHelper; this.refitService = refitService; this.taskHelperFactory = taskHelperFactory; }