public EditWorkoutViewModel(INavService navService, IFitnessService fitnessService, ILocalDatabase localDatabase) : base(navService) { this.navService = navService; _fitnessService = fitnessService; this.localDatabase = localDatabase; }
public MainPageViewModel(INavService navService, IEventAggregator eventAggregator, IDispatcherUiService dispatcherUiService) { _dispatcherUiService = dispatcherUiService; navService.NavigationFailed = e => eventAggregator.GetEvent <ErrorEvent>().Publish(e); eventAggregator.GetEvent <ErrorEvent>().Subscribe(LogError); _dispatcherUiService.Run(navService.Navigate <LoginViewModel>); }
protected BaseViewModel(INavService navService, IDataStore <MealLog, ActivityLog> dataStore, ICloudStoreService cloudStoreService, IAlertService alertService) { NavService = navService; DataStore = dataStore; CloudStoreService = cloudStoreService; AlertService = alertService; }
protected BaseViewModel(INavService navService, IDataStore <MealLog, ActivityLog> dataStore, IAuthenticationService authenticationService, IAlertService alertService) { NavService = navService; DataStore = dataStore; AuthenticationService = authenticationService; AlertService = alertService; }
public App() { InitializeComponent(); try { // MainPage = new SignaturePage(); CrossConnectivity.Current.ConnectivityChanged += Current_ConnectivityChanged; IsConnected = CrossConnectivity.Current.IsConnected; Locator = new ViewModelLocator(); if (!SimpleIoc.Default.IsRegistered <INavigationService>()) { RegisterNavService(); } else { navigationService = SimpleIoc.Default.GetInstance <INavService>(); } } catch (Exception ex) { Log.Info("Ifeoluwa", ex.StackTrace); Log.Info("Ifeoluwa", ex.Message); Utils.Utility.ShowDebug(ex); } }
public VprSubscribedViewModel(IViewPointReaderRepository viewPointReaderRepository , INavService navService) : base(navService) { _viewPointReaderRepository = viewPointReaderRepository; NavService = navService; FeedSubscriptions = new ObservableCollection <IFeedSubscription>(); }
public VprFeedArticlesViewModel(IViewPointReaderRepository viewPointReaderRepository , INavService navService) : base(navService) { _viewPointReaderRepository = viewPointReaderRepository; NavService = navService; FeedItems = new ObservableCollection <VprFeedItem>(); }
protected BaseViewModel(INavService navService) { NavService = navService; TokenService = DependencyService.Get <ITokenService>(); GoogleDataService = new GoogleDataService(); }
public NewEntryViewModel(INavService navService, ILocationService locService) : base(navService) { _locService = locService; EntryDate = DateTime.Today; EntryRating = 1; }
public NewEntryViewModel (INavService navService, ILocationService locService, ITripLogDataService tripLogDataService) : base(navService) { this.tripLogDataService = tripLogDataService; this.locService = locService; Date = DateTime.Today; Rating = 1; }
public AnnunciUtenteViewModel(INavService navService, AnnuncioService annuncioService, FotoService fotoService) : base(navService) { _annuncioService = annuncioService; _fotoService = fotoService; AnnunciPrenotati = new ObservableCollection <Ad>(); AnnunciNonPrenotati = new ObservableCollection <Ad>(); }
public ModeSelectViewModel(INavService navService, IMemoryService memService, IDataExchangeService exchangeService, IAlertMessageService alertService) : base(navService) { this.memService = memService; this.exchangeService = exchangeService; this.alertService = alertService; }
public NavController(IHrDbContext context, INavService navService, IOperationService navOperation, INavOperationService navOperationService) { _context = context; _navService = navService; _operationService = navOperation; _navOperationService = navOperationService; }
public SelectPlaceViewModel(INavService navService, ICateringDataService cateringService) : base(navService) { _cateringService = cateringService; GetPlacesCommand = new Command <string>(async(param) => await GetPlacesByName(param)); SaveEntryCommand = new Command <GooglePlaceAutoCompletePrediction>(async(param) => await SaveEntry(param)); }
public AggiungiAnnuncioViewModel(INavService navService, FotoService fotoService, AnnuncioService annuncioService) : base(navService) { _fotoService = fotoService; _annuncioService = annuncioService; Immagini = new ObservableCollection <Image>(); listaImmaginiInBase64 = new List <string>(); }
public ModificaDatiViewModel(INavService navService, UserService userService, FotoService fotoService) : base(navService) { _userService = userService; _fotoService = fotoService; Immagine = new Image(); ListaCitta = MiscCostants.tutteCitta; }
public NewExerciseViewModel(INavService navService, IFitnessService fitness, ILocalDatabase localDatabase) : base(navService) { this.navService = navService; _fitnessService = fitness; this.localDatabase = localDatabase; }
public NavMediator(INavService NavService, IMediatorService mediatorService, INavViewModelFactory NavViewModelFactory) { _NavService = NavService; _mediatorService = mediatorService; _NavViewModelFactory = NavViewModelFactory; }
public MainViewModel(INavService navService, ITripLogDataService tripLogService, IBlobCache cache) : base(navService) { _tripLogService = tripLogService; _cache = cache; LogEntries = new ObservableCollection <TripLogEntry>(); }
public NewActivityLogViewModel(INavService navService, IDataStore <MealLog, ActivityLog> dataStore) : base(navService, dataStore) { SaveCommand = new Command(OnSave, ValidateSave); CancelCommand = new Command(OnCancel); this.PropertyChanged += (_, __) => SaveCommand.ChangeCanExecute(); }
public SearchPageViewModel(INavService navService, AnnuncioService annuncioService, UserService userService, AuthenticationService authService) : base(navService) { _userService = userService; _annuncioService = annuncioService; _authService = authService; ListaCitta = MiscCostants.tutteCitta; }
public SignInViewModel(INavService navService, IAuthService authService, IUsersDataService usersService) : base(navService) { _authService = authService; _usersService = usersService; }
public async Task EndTheGame(INavService navService) { hubConnection.On(MessageType.LeaveGame, async() => { await App.Current.MainPage.DisplayAlert("Game Ended By A Player", "Play again soon!", "Ok"); await navService.GoBack(); }); }
public TransactionViewModel(INavService navService, INetworkService netService, IDatabaseService db, ICustomDialogService dialog) : base(navService, netService, db, dialog) { IsBusy = false; JsonContent = new SupportFormModel(); var location = DependencyService.Get <ILocationInterface>(); // DependencyService.Get<ILocationInterface>().InitialService(); }
public UtentePageViewModel(INavService navService, AuthenticationService authService, UserService userService, FotoService fotoService, AnnuncioService annuncioService) : base(navService) { _authService = authService; _userService = userService; _fotoService = fotoService; _annuncioService = annuncioService; Immagine = new Image(); }
public MainViewModel(INavService navService, ICateringDataService cateringService, IBlobCache cache) : base(navService) { _cache = cache; _cateringService = cateringService; CateringEntries = new ObservableCollection <CateringEntry>(); }
public AssetsViewModel(INavService nav, IHttpService http, IDialogService dialog) : base(nav, http, dialog) { Assets = new RangeObservableCollection <AssetDto>(); pageSize = 5; pageNumber = 1; RefreshAssets(); nav.OnGoingBack += NavOnGoingBack; }
public ClockPlugin(INavService navService) { _navService = navService; _navService.AddItem(new NavItem() { DisplayName = "Clock Plugin", Url = "clock" }); }
public VMShowUsers(INavService navigationService) { _navigationService = navigationService; InfoUser = new RelayCommand(InfoAction, CanAction); EditUser = new RelayCommand(EditAction, CanAction); DeleteUser = new RelayCommand(DeleteAction, CanAction); GetUsers(); }
public async Task UserSentToGame(INavService NavService) { hubConnection.On <GameModel>(MessageType.SendToGame, async(game) => { Console.WriteLine("I am being sent to the game"); await NavService.NavigateTo <GameViewModel <GameModel>, GameModel>(game); }); }
public LoginViewModel(ITokenClientConfig tokenClientConfig, INavService navService) { _tokenClientConfig = tokenClientConfig; _navService = navService; LoginCommand = new AsyncCommand(DoLogin, () => !string.IsNullOrWhiteSpace(UserName) && !string.IsNullOrWhiteSpace(Password)) .ObservesProperty(() => UserName) .ObservesProperty(() => Password); }
public BuyAndHoldController(IBuyAndHoldService buyAndHoldService, ITickerService tickerService, INavService navService, ISecurityService securityService, IBuyAndHoldTransactionDtoMap buyAndHoldTransactionDtoMap, IBuyAndHoldRawTransactionMapper buyAndHoldRawTransactionMapper, IBuyAndHoldTransactionLibrary buyAndHoldTransactionLibrary, IBuyAndHoldRawTransactionLibrary buyAndHoldRawTransactionLibrary) { _buyAndHoldService = buyAndHoldService; _tickerService = tickerService; _navService = navService; _securityService = securityService; _buyAndHoldTransactionDtoMap = buyAndHoldTransactionDtoMap; _buyAndHoldRawTransactionMapper = buyAndHoldRawTransactionMapper; _buyAndHoldTransactionLibrary = buyAndHoldTransactionLibrary; _buyAndHoldRawTransactionLibrary = buyAndHoldRawTransactionLibrary; }
protected BaseViewModel (INavService navService) { NavService = navService; }
public SignInViewModel (INavService navService, IAuthService authService, ITripLogDataService tripLogService) : base(navService) { this.authService = authService; this.tripLogService = tripLogService; }
public MainViewModel (INavService navService, ITripLogDataService tripLogDataService, IBlobCache cache) : base(navService) { this.tripLogDataService = tripLogDataService; this.cache = cache; LogEntries = new ObservableCollection<TripLogEntry> (); }