/// <summary>
        /// Initializes a new instance of the <see cref="LatestPosts_NewsViewModel" /> class.
        /// </summary>
        /// <param name="dialogService">The Dialog Service.</param>
        /// <param name="navigationService">The Navigation Service.</param>
        /// <param name="lockScreenService">The Lock Screen Service.</param>
        /// <param name="rSSDataSource">The R S S Data Source.</param>
        public LatestPosts_NewsViewModel(IDialogService dialogService, INavigationService navigationService, ILockScreenService lockScreenService, IRSSDataSource rSSDataSource)
        {
			_dialogService = dialogService;
			_navigationService = navigationService;
			_lockScreenService = lockScreenService;
			_rSSDataSource = rSSDataSource;
        }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Rooms_ListViewModel" /> class.
 /// </summary>
 /// <param name="dialogService">The Dialog Service.</param>
 /// <param name="navigationService">The Navigation Service.</param>
 /// <param name="lockScreenService">The Lock Screen Service.</param>
 /// <param name="peopleCollection">The People Collection.</param>
 /// <param name="roomsRepoCollection">The Rooms Repo Collection.</param>
 public Rooms_ListViewModel(IDialogService dialogService, INavigationService navigationService, ILockScreenService lockScreenService, IPeopleCollection peopleCollection, IRoomsRepoCollection roomsRepoCollection)
 {
     _dialogService       = dialogService;
     _navigationService   = navigationService;
     _lockScreenService   = lockScreenService;
     _peopleCollection    = peopleCollection;
     _roomsRepoCollection = roomsRepoCollection;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="info_InfoViewModel" /> class.
        /// </summary>
        /// <param name="dialogService">The Dialog Service.</param>
        /// <param name="navigationService">The Navigation Service.</param>
        /// <param name="lockScreenService">The Lock Screen Service.</param>
        /// <param name="info">The Info.</param>
        /// <param name="monumentsCollection">The Monuments Collection.</param>
        /// <param name="specialplacesCollection">The Specialplaces Collection.</param>
        /// <param name="album">The Album.</param>
        public info_InfoViewModel(IDialogService dialogService, INavigationService navigationService, ILockScreenService lockScreenService, Iinfo info, ImonumentsCollection monumentsCollection, IspecialplacesCollection specialplacesCollection, Ialbum album)
        {
			_dialogService = dialogService;
			_navigationService = navigationService;
			_lockScreenService = lockScreenService;
			_info = info;
			_monumentsCollection = monumentsCollection;
			_specialplacesCollection = specialplacesCollection;
			_album = album;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="AboutIndiaViewModel" /> class.
        /// </summary>
        /// <param name="dialogService">The Dialog Service.</param>
        /// <param name="navigationService">The Navigation Service.</param>
        /// <param name="lockScreenService">The Lock Screen Service.</param>
        /// <param name="info">The Info.</param>
        /// <param name="monumentsCollection">The Monuments Collection.</param>
        /// <param name="album">The Album.</param>
        /// <param name="videoAlbum">The Video Album.</param>
        public AboutIndiaViewModel(IDialogService dialogService, INavigationService navigationService, ILockScreenService lockScreenService, Iinfo info, ImonumentsCollection monumentsCollection, Ialbum album, IvideoAlbum videoAlbum)
        {
			_dialogService = dialogService;
			_navigationService = navigationService;
			_lockScreenService = lockScreenService;
			_info = info;
			_monumentsCollection = monumentsCollection;
			_album = album;
			_videoAlbum = videoAlbum;
        }
Esempio n. 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ThePlace_InfoViewModel" /> class.
 /// </summary>
 /// <param name="dialogService">The Dialog Service.</param>
 /// <param name="navigationService">The Navigation Service.</param>
 /// <param name="lockScreenService">The Lock Screen Service.</param>
 /// <param name="thePlaceDataSource">The The Place Data Source.</param>
 /// <param name="photosCollection">The Photos Collection.</param>
 /// <param name="diaryCollection">The Diary Collection.</param>
 /// <param name="fellowsCollection">The Fellows Collection.</param>
 /// <param name="theNextOneCollection">The The Next One Collection.</param>
 public ThePlace_InfoViewModel(IDialogService dialogService, INavigationService navigationService, ILockScreenService lockScreenService, IThePlaceDataSource thePlaceDataSource, IphotosCollection photosCollection, IdiaryCollection diaryCollection, IfellowsCollection fellowsCollection, ITheNextOneCollection theNextOneCollection)
 {
     _dialogService        = dialogService;
     _navigationService    = navigationService;
     _lockScreenService    = lockScreenService;
     _thePlaceDataSource   = thePlaceDataSource;
     _photosCollection     = photosCollection;
     _diaryCollection      = diaryCollection;
     _fellowsCollection    = fellowsCollection;
     _theNextOneCollection = theNextOneCollection;
 }
Esempio n. 6
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ThePlace_InfoViewModel" /> class.
        /// </summary>
        /// <param name="dialogService">The Dialog Service.</param>
        /// <param name="navigationService">The Navigation Service.</param>
        /// <param name="lockScreenService">The Lock Screen Service.</param>
        /// <param name="thePlaceDataSource">The The Place Data Source.</param>
        /// <param name="photosCollection">The Photos Collection.</param>
        /// <param name="diaryCollection">The Diary Collection.</param>
        /// <param name="fellowsCollection">The Fellows Collection.</param>
        /// <param name="theNextOneCollection">The The Next One Collection.</param>
        public ThePlace_InfoViewModel(IDialogService dialogService, INavigationService navigationService, ILockScreenService lockScreenService, IThePlaceDataSource thePlaceDataSource, IphotosCollection photosCollection, IdiaryCollection diaryCollection, IfellowsCollection fellowsCollection, ITheNextOneCollection theNextOneCollection)
        {
			_dialogService = dialogService;
			_navigationService = navigationService;
			_lockScreenService = lockScreenService;
			_thePlaceDataSource = thePlaceDataSource;
			_photosCollection = photosCollection;
			_diaryCollection = diaryCollection;
			_fellowsCollection = fellowsCollection;
			_theNextOneCollection = theNextOneCollection;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="TheTeam_AlbumViewModel" /> class.
        /// </summary>
        /// <param name="dialogService">The Dialog Service.</param>
        /// <param name="navigationService">The Navigation Service.</param>
        /// <param name="lockScreenService">The Lock Screen Service.</param>
        /// <param name="theGuysCollection">The The Guys Collection.</param>
        /// <param name="awardsCollection">The Awards Collection.</param>
        /// <param name="videosDataSource">The Videos Data Source.</param>
        /// <param name="blogDataSource">The Blog Data Source.</param>
        public TheTeam_AlbumViewModel(IDialogService dialogService, INavigationService navigationService, ILockScreenService lockScreenService, ITheGuysCollection theGuysCollection, IawardsCollection awardsCollection, IvideosDataSource videosDataSource, IblogDataSource blogDataSource,
            IStorageService storageService)
        {
			_dialogService = dialogService;
			_navigationService = navigationService;
			_lockScreenService = lockScreenService;
			_theGuysCollection = theGuysCollection;
			_awardsCollection = awardsCollection;
			_videosDataSource = videosDataSource;
			_blogDataSource = blogDataSource;
            _storageService = storageService;
        }
        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];
        }
        private void Button_Clicked(object sender, EventArgs e)
        {
            ILockScreenService service = DependencyService.Get <ILockScreenService>();

            service.lockScreen();
        }