public SettingsViewModel() { _userPreferenceService = DependencyResolver.Resolve<IUserPreferenceService>(); _referenceDataService = DependencyResolver.Resolve<IReferenceDataService>(); LoadScreenData(); // this.Subscribe<NavigateToSettingsPage>(async message => { await LoadScreenData(); }); }
public ProductsController(IProductRepository productRepo, IUserPreferenceService userPrefService, ILocalizedMessageService messageService) { this._productRepository = productRepo; this._userPreferenceService = userPrefService; this._messageService = messageService; this._searchService = new ProductSearchService(_productRepository); }
public SettingsViewModel() { _userPreferenceService = DependencyResolver.Resolve <IUserPreferenceService>(); _referenceDataService = DependencyResolver.Resolve <IReferenceDataService>(); LoadScreenData(); // this.Subscribe<NavigateToSettingsPage>(async message => { await LoadScreenData(); }); }
public UserTaskService(RestService restService, IDbContext dbContext,ITokenProvider tokenProvider, IUserPreferenceService userPreferenceService) { _restService = restService; _dbContext = dbContext; var _authToken = tokenProvider.GetCurrentToken().Result; _currentLoggedInUser = userPreferenceService.GetUserByEmailId(_authToken.Email).Result; }
public ContextAnalyzerService(IUserPreferenceService userPreferenceService, ICoreResponseGenerator coreResponseGenerator, IActivityApi activityApi, IGeoCode geoCode, IContextCheckerService contextChecker, IHotelApi hotelApi) { _userPreferenceService = userPreferenceService; _hotelApi = hotelApi; _activityApi = activityApi; _coreResponseGenerator = coreResponseGenerator; _contextChecker = contextChecker; _geoCode = geoCode; }
public UsageItemsViewModel(IReferenceDataService referenceDataService, IUserPreferenceService userPreferenceService, IUserTaskService userTaskService, Client selectedClient) { _referenceDataService = referenceDataService; _userPreferenceService = userPreferenceService; _userTaskService = userTaskService; _selectedClient = selectedClient; Init(); }
public ClientsViewModel(IReferenceDataService referenceDataService, IUserPreferenceService userPreferenceService) { _referenceDataService = referenceDataService; _userPreferenceService = userPreferenceService; BackCommand = new Command(OnBackCommandFired); NavigateToSettingsCommand = new Command(OnNavigateToSettingsPage); FilterClients = new Command <string>(async seachText => { await OnFilterClients(seachText); }); ClientSelectedCommand = new Command <Client>(OnClientSelected); Init(); }
public MainViewModel(IServerService serverService, IApplicationContextService applicationContextService, ILoggingService loggingService, IUserPreferenceService userPreferenceService, IDbConnectionService dbConnectionService) { _serverService = serverService; _applicationContextService = applicationContextService; _loggingService = loggingService; _userPreferenceService = userPreferenceService; _dbConnectionService = dbConnectionService; DataMigrateCommand = new AsyncRelayCommand(DataMigrateCommandHandler); ConnectToOutputServer = new AsyncRelayCommand(ConnectToOutputServerHandler); ConnectToInputServer = new AsyncRelayCommand(ConnectToInputServerHandler); }
public ClientsViewModel(IReferenceDataService referenceDataService, IUserPreferenceService userPreferenceService) { _referenceDataService = referenceDataService; _userPreferenceService = userPreferenceService; BackCommand = new Command(OnBackCommandFired); NavigateToSettingsCommand = new Command(OnNavigateToSettingsPage); FilterClients = new Command<string>(async seachText => { await OnFilterClients(seachText); }); ClientSelectedCommand = new Command<Client>(OnClientSelected); Init(); }
public MessageController(IMediator mediator, IUserPreferenceService userPreferenceService, IConfiguration configuration) : base(mediator) { _userPreferenceService = userPreferenceService; _client = SessionsClient.Create(); _projectId = configuration.Get <DialogFlowCredentials>().ProjectId; }
public UserPreferenceController(UserPreferenceService userPreferencesrv) { _iUserPreferenceSrv = userPreferencesrv; }
public UserPreferenceController(IDomainManagerService domainManagerService, IUserPreferenceService userPreferenceService) : base(domainManagerService) { _userPreferenceService = userPreferenceService; }
public CollectionController(ItemContainerService ItemContainerSrv) { _itemcontainerPartialSrv = ItemContainerSrv; _itemcontainerPartialSrv.UserVM = UserVM; _iUserPreferenceSrv = new UserPreferenceService(); }
public CointreeAPICallController(IPriceService priceService, ICoinService coinService, IUserPreferenceService userPrefService) { this.priceService = priceService; this.coinService = coinService; this.userPrefService = userPrefService; }
public UserPreferenceController(IUserPreferenceService svc) { // This will be a (injected) constructor parameter in ASP.vNext. _svc = svc; }
public UserTaskService(RestService restService, IDbContext dbContext, ITokenProvider tokenProvider, IUserPreferenceService userPreferenceService) { _restService = restService; _dbContext = dbContext; var _authToken = tokenProvider.GetCurrentToken().Result; _currentLoggedInUser = userPreferenceService.GetUserByEmailId(_authToken.Email).Result; }
public ItemContainerPartialController(ItemContainerService ItemContainerSrv) { _itemcontainerPartialSrv = ItemContainerSrv; _iUserPreferenceSrv = new UserPreferenceService(); }
/// <summary> /// Constructor /// </summary> /// <param name="userPreferenceService"></param> public FileStoreService(IUserPreferenceService <AppSettings> userPreferenceService) { this.userPreferenceService = userPreferenceService; this.InitializeStorage(); }