public MyPageLoansViewModel(IUserService service, IUserAuthenticationDataService userAuthenticationService) { Title = "Lån"; _userAuthenticationService = userAuthenticationService; _service = service; Load(); }
public MyPageFinesViewModel(IUserService service, IUserAuthenticationDataService userAuthenticationService) { Title = "Gebyrer"; _userAuthenticationService = userAuthenticationService; _service = service; Load(); }
public MyPageMessagesViewModel(IUserService service, IUserAuthenticationDataService userAuthenticationService) { Title = "Meldinger"; _userAuthenticationService = userAuthenticationService; _service = service; Load(); }
public MyPagePersonaliaViewModel(IUserService service, IUserAuthenticationDataService userAuthenticationService) { Title = "Min profil"; _userAuthenticationService = userAuthenticationService; _service = service; Load(); }
public LoginViewModel(IUserService service, IUserAuthenticationDataService userAuthenticationDataService) { _service = service; _userAuthenticationService = userAuthenticationDataService; Title = "Logg inn"; NotifyViewModelReady(); }
public MyPageViewModel(IUserService service, IUserAuthenticationDataService userAuthenticationDataService) { _userAuthenticationDataService = userAuthenticationDataService; MyPageLoansViewModel = new MyPageLoansViewModel(service, userAuthenticationDataService); MyPagePersonaliaViewModel = new MyPagePersonaliaViewModel(service, userAuthenticationDataService); MyPageReservationsViewModel = new MyPageReservationsViewModel(service); MyPageFinesViewModel = new MyPageFinesViewModel(service, userAuthenticationDataService); MyPageMessagesViewModel = new MyPageMessagesViewModel(service, userAuthenticationDataService); MyPageFavoritesViewModel = new MyPageFavoritesViewModel(service); Title = "Min side"; IsLoading = false; NotifyViewModelReady(); }
public HomeScreenElementViewModel(IUserAuthenticationDataService userAuthenticationService) { _userAuthenticationService = userAuthenticationService; }
public HomeViewModel(IUserAuthenticationDataService userAuthenticationDataService) { _userAuthenticationService = userAuthenticationDataService; _menuItems = new List<MenuViewModel> { new MenuViewModel { Section = Section.Home, Title = "Hjem", IconChar = "1", ViewModelType = typeof (HomeScreenViewModel) }, new MenuViewModel { Section = Section.MyPage, Title = "Min Side", IconChar = "m", ViewModelType = typeof (MyPageViewModel) }, new MenuViewModel { Section = Section.Events, Title = "Arrangementer", IconChar = "a", ViewModelType = typeof (EventListViewModel) }, new MenuViewModel { Section = Section.Search, Title = "Søk", IconChar = "s", ViewModelType = typeof (SearchViewModel) }, new MenuViewModel { Section = Section.Blogs, Title = "Blogger", IconChar = "e", ViewModelType = typeof (BlogOverviewViewModel) }, new MenuViewModel { Section = Section.News, Title = "Nyheter", IconChar = "n", ViewModelType = typeof (NewsListingViewModel) }, new MenuViewModel { Section = Section.Lists, Title = "Anbefalinger", IconChar = "h", ViewModelType = typeof (SuggestionsListListViewModel) }, new MenuViewModel { Section = Section.OpeningHours, Title = "Åpningstider", IconChar = "å", ViewModelType = typeof (OpeningHoursViewModel) }, new MenuViewModel { Section = Section.Contact, Title = "Kontakt oss", IconChar = "c", ViewModelType = typeof (ContactInfoViewModel) }, new MenuViewModel { Section = Section.Logout, Title = "Logg ut", IconChar = "2", } }; LoggedIn = IsAuthenticated(); }
public MediaDetailViewModel(ISearchService searchService, IUserService userService, IUserAuthenticationDataService userAuthService) { _userAuthService = userAuthService; _userService = userService; _searchService = searchService; }
public HomeScreenViewModel(IUserAuthenticationDataService userAuthenticationDataService, IUserService users) { _userAuthenticationService = userAuthenticationDataService; _users = users; Load(); }
public HttpBodyDownloader(IUserAuthenticationDataService userAuthSerice) { _userAuthSerice = userAuthSerice; }