/// <summary> /// Initializes a new instance of the <see cref="photos_DetailViewModel" /> class. /// </summary> /// <param name="dialogService">The Dialog Service.</param> /// <param name="navigationService">The Navigation Service.</param> /// <param name="speechService">The Speech Service.</param> /// <param name="shareService">The Share Service.</param> /// <param name="liveTileService">The Live Tile Service.</param> public photos_DetailViewModel(IDialogService dialogService, INavigationService navigationService, ISpeechService speechService, IShareService shareService, ILiveTileService liveTileService) { _dialogService = dialogService; _navigationService = navigationService; _speechService = speechService; _shareService = shareService; _liveTileService = liveTileService; }
/// <summary> /// Initializes a new instance of the <see cref="VideoAlbum_DetailVideosViewModel" /> class. /// </summary> /// <param name="dialogService">The Dialog Service.</param> /// <param name="navigationService">The Navigation Service.</param> /// <param name="speechService">The Speech Service.</param> /// <param name="shareService">The Share Service.</param> /// <param name="liveTileService">The Live Tile Service.</param> public VideoAlbum_DetailVideosViewModel(IDialogService dialogService, INavigationService navigationService, ISpeechService speechService, IShareService shareService, ILiveTileService liveTileService) { _dialogService = dialogService; _navigationService = navigationService; _speechService = speechService; _shareService = shareService; _liveTileService = liveTileService; }
public MainViewModel(ILocalDataService localDataService, IStorageService storageService, INavigationService navigationService, ILiveTileService liveTileService) { this.LocalDataService = localDataService; this.StorageService = storageService; this.NavigationService = navigationService; this.LiveTileService = liveTileService; }
public RecipesRecipeDetail1ViewModel(INavigationService _NavigationService, ILiveTileService _LiveTileService, IDialogService _DialogService, IShareService _ShareService, ISpeechService _SpeechService) { this._NavigationService = _NavigationService; this._LiveTileService = _LiveTileService; this._DialogService = _DialogService; this._ShareService = _ShareService; this._SpeechService = _SpeechService; }
/// <summary> /// Initializes a new instance of the <see cref="AboutUsViewModel" /> class. /// </summary> /// <param name="dialogService">The Dialog Service.</param> /// <param name="navigationService">The Navigation Service.</param> /// <param name="speechService">The Speech Service.</param> /// <param name="shareService">The Share Service.</param> /// <param name="liveTileService">The Live Tile Service.</param> public AboutUsViewModel(IDialogService dialogService, INavigationService navigationService, ISpeechService speechService, IShareService shareService, ILiveTileService liveTileService) { _dialogService = dialogService; _navigationService = navigationService; _speechService = speechService; _shareService = shareService; _liveTileService = liveTileService; }
public RecipeDetailViewModel(ILiveTileService tileService, IDialogService dialogService, INavigationService navigationService, IReminderService reminderService, IShareService shareService) { this.LiveTileService = tileService; this.DialogService = dialogService; this.NavigationService = navigationService; this.ReminderService = reminderService; this.ShareService = shareService; }
public RecipesRecipesListViewModel(INavigationService _NavigationService, IRecipeDataSource _RecipeDataSource, ILiveTileService _LiveTileService, IDialogService _DialogService, IShareService _ShareService, ISpeechService _SpeechService) { this._NavigationService = _NavigationService; this._RecipeDataSource = _RecipeDataSource; this._LiveTileService = _LiveTileService; this._DialogService = _DialogService; this._ShareService = _ShareService; this._SpeechService = _SpeechService; }
public MessagesViewModel(IBaconProvider baconProvider) { _baconProvider = baconProvider; _userService = baconProvider.GetService<IUserService>(); _redditService = baconProvider.GetService<IRedditService>(); _navigationService = baconProvider.GetService<INavigationService>(); _dynamicViewLocator = baconProvider.GetService<IDynamicViewLocator>(); _smartOfflineService = baconProvider.GetService<ISmartOfflineService>(); _notificationService = baconProvider.GetService<INotificationService>(); _liveTileService = baconProvider.GetService<ILiveTileService>(); _smartOfflineService.OffliningOpportunity += _smartOfflineService_OffliningOpportunity; MessengerInstance.Register<UserLoggedInMessage>(this, UserLoggedIn); }
public ItemDetailsPageViewModel(IPageNavigationService pageNavigationService, ISharingService sharingService, List<Item> items, Item selectedItem, IUnityContainer unityContainer, ILiveTileService liveTileService) : base(sharingService, pageNavigationService, unityContainer) { _sharingService = sharingService; _liveTileService = liveTileService; ItemsCollection = items; SelectedItem = selectedItem; }
public AlbumPhotosPageViewModel( IPageNavigationService pageNavigationService, List<FlickrImage> flickrImages, ISharingService sharingService, ILiveTileService liveTileService, ILockScreenService lockScreenService, IUnityContainer unityContainer) : base(sharingService, pageNavigationService, unityContainer) { _sharingService = sharingService; _liveTileService = liveTileService; _lockScreenService = lockScreenService; FlickrImagesCollection = flickrImages; SelectedFlickrImage = FlickrImagesCollection[0]; }
public RedditViewModel(IBaconProvider baconProvider) { _baconProvider = baconProvider; _redditService = baconProvider.GetService <IRedditService>(); _dynamicViewLocator = baconProvider.GetService <IDynamicViewLocator>(); _navigationService = baconProvider.GetService <INavigationService>(); _userService = baconProvider.GetService <IUserService>(); _liveTileService = baconProvider.GetService <ILiveTileService>(); _offlineService = baconProvider.GetService <IOfflineService>(); _settingsService = baconProvider.GetService <ISettingsService>(); MessengerInstance.Register <UserLoggedInMessage>(this, OnUserLoggedIn); MessengerInstance.Register <ConnectionStatusMessage>(this, OnConnectionStatusChanged); MessengerInstance.Register <SelectSubredditMessage>(this, OnSubredditChanged); MessengerInstance.Register <RefreshSubredditMessage>(this, OnSubredditRefreshed); }
public RedditViewModel(IBaconProvider baconProvider) { _baconProvider = baconProvider; _redditService = baconProvider.GetService<IRedditService>(); _dynamicViewLocator = baconProvider.GetService<IDynamicViewLocator>(); _navigationService = baconProvider.GetService<INavigationService>(); _userService = baconProvider.GetService<IUserService>(); _liveTileService = baconProvider.GetService<ILiveTileService>(); _offlineService = baconProvider.GetService<IOfflineService>(); _settingsService = baconProvider.GetService<ISettingsService>(); MessengerInstance.Register<UserLoggedInMessage>(this, OnUserLoggedIn); MessengerInstance.Register<ConnectionStatusMessage>(this, OnConnectionStatusChanged); MessengerInstance.Register<SelectSubredditMessage>(this, OnSubredditChanged); MessengerInstance.Register<RefreshSubredditMessage>(this, OnSubredditRefreshed); MessengerInstance.Register<SettingsChangedMessage>(this, OnSettingsChanged); IsTemporary = false; }
public MainPageViewModel(IBaconProvider baconProvider) { _baconProvider = baconProvider; _redditService = baconProvider.GetService <IRedditService>(); _dynamicViewLocator = baconProvider.GetService <IDynamicViewLocator>(); _navigationService = baconProvider.GetService <INavigationService>(); _userService = baconProvider.GetService <IUserService>(); _liveTileService = baconProvider.GetService <ILiveTileService>(); _offlineService = baconProvider.GetService <IOfflineService>(); _settingsService = baconProvider.GetService <ISettingsService>(); MessengerInstance.Register <UserLoggedInMessage>(this, OnUserLoggedIn); MessengerInstance.Register <SelectSubredditMessage>(this, OnSubredditChanged); MessengerInstance.Register <SelectTemporaryRedditMessage>(this, OnSelectTemporarySubreddit); MessengerInstance.Register <CloseSubredditMessage>(this, OnCloseSubreddit); MessengerInstance.Register <ReorderSubredditMessage>(this, OnReorderSubreddit); _pivotItems = new RedditViewModelCollection(_baconProvider); _subreddits = new ObservableCollection <TypedThing <Subreddit> >(); _subreddits.CollectionChanged += _subreddits_CollectionChanged; }
public MainPageViewModel(IBaconProvider baconProvider) { _baconProvider = baconProvider; _redditService = baconProvider.GetService<IRedditService>(); _dynamicViewLocator = baconProvider.GetService<IDynamicViewLocator>(); _navigationService = baconProvider.GetService<INavigationService>(); _userService = baconProvider.GetService<IUserService>(); _liveTileService = baconProvider.GetService<ILiveTileService>(); _offlineService = baconProvider.GetService<IOfflineService>(); _settingsService = baconProvider.GetService<ISettingsService>(); _notificationService = baconProvider.GetService<INotificationService>(); MessengerInstance.Register<UserLoggedInMessage>(this, OnUserLoggedIn); MessengerInstance.Register<SelectSubredditMessage>(this, OnSubredditChanged); MessengerInstance.Register<SelectTemporaryRedditMessage>(this, OnSelectTemporarySubreddit); MessengerInstance.Register<CloseSubredditMessage>(this, OnCloseSubreddit); MessengerInstance.Register<ReorderSubredditMessage>(this, OnReorderSubreddit); MessengerInstance.Register<SettingsChangedMessage>(this, OnSettingsChanged); _subreddits = new ObservableCollection<TypedThing<Subreddit>>(); _pivotItems = new RedditViewModelCollection(); }
public MainViewModel(ILiveTileService liveTileService) { _liveTileService = liveTileService; }