Exemplo n.º 1
0
 public FullPageViewModel(
     INavigationService navigationgService,
     ReaderViewModel readerViewModel,
     EditViewModel editViewModel)
 {
     _navigationgService = navigationgService;
     _readerViewModel = readerViewModel;
     _editViewModel = editViewModel;
 }
Exemplo n.º 2
0
 public FullPageViewModel(
     INavigationService navigationgService,
     ReaderViewModel readerViewModel,
     EditViewModel editViewModel)
 {
     _navigationgService = navigationgService;
     _readerViewModel    = readerViewModel;
     _editViewModel      = editViewModel;
 }
Exemplo n.º 3
0
 public EditViewModel(
     INavigationService navigationService,
     ILocalisationLoader loader,
     IReaderHelper readerHelper,
     ReaderViewModel readerViewModel)
 {
     _navigationService = navigationService;
     _loader = loader;
     _readerHelper = readerHelper;
     _readerViewModel = readerViewModel;
 }
Exemplo n.º 4
0
 public EditViewModel(
     INavigationService navigationService,
     ILocalisationLoader loader,
     IReaderHelper readerHelper,
     ReaderViewModel readerViewModel)
 {
     _navigationService = navigationService;
     _loader            = loader;
     _readerHelper      = readerHelper;
     _readerViewModel   = readerViewModel;
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the ReadabilityViewModel class.
 /// </summary>
 public ReadabilityViewModel(
     INavigationService navigationService,
     IAuthenticationService authenticationService,
     IReadabilityClient readabilityClient,
     ITileService tileService,
     ReaderViewModel readerViewModel,
     ICacheService cacheService,
     FullPageViewModel fullPageViewModel)
     : base(navigationService, authenticationService, cacheService, tileService, readerViewModel, fullPageViewModel)
 {
     _readabilityClient = readabilityClient;
     IsPinned           = TileService.IsReadabilityPinned;
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the ReadabilityViewModel class.
 /// </summary>
 public ReadabilityViewModel(
     INavigationService navigationService,
     IAuthenticationService authenticationService,
     IReadabilityClient readabilityClient,
     ITileService tileService,
     ReaderViewModel readerViewModel,
     ICacheService cacheService,
     FullPageViewModel fullPageViewModel)
     : base(navigationService, authenticationService, cacheService, tileService, readerViewModel, fullPageViewModel)
 {
     _readabilityClient = readabilityClient;
     IsPinned = TileService.IsReadabilityPinned;
 }
Exemplo n.º 7
0
        public LocalViewModel(
            INavigationService navigationService,
            IAuthenticationService authenticationService,
            ICacheService cacheService,
            ITileService tileService,
            ReaderViewModel readerViewModel,
            FullPageViewModel fullPageViewModel,
            EditViewModel editViewModel)
            : base(navigationService, authenticationService, cacheService, tileService, readerViewModel, fullPageViewModel)
        {
            _editViewModel = editViewModel;

            IsPinned = TileService.IsLocalPinned;
        }
Exemplo n.º 8
0
        public LocalViewModel(
            INavigationService navigationService,
            IAuthenticationService authenticationService,
            ICacheService cacheService,
            ITileService tileService,
            ReaderViewModel readerViewModel,
            FullPageViewModel fullPageViewModel,
            EditViewModel editViewModel)
            : base(navigationService, authenticationService, cacheService, tileService, readerViewModel, fullPageViewModel)
        {
            _editViewModel = editViewModel;

            IsPinned = TileService.IsLocalPinned;
        }
Exemplo n.º 9
0
        /// <summary>
        /// Initializes a new instance of the PocketViewModel class.
        /// </summary>
        public PocketViewModel(
            INavigationService navigationService,
            IPocketClient pocketClient,
            IAuthenticationService authenticationService,
            ICacheService cacheService,
            ITileService tileService,
            ReaderViewModel readerViewModel,
            FullPageViewModel fullPageViewModel)
            : base(navigationService, authenticationService, cacheService, tileService, readerViewModel, fullPageViewModel)
        {
            _pocketClient = pocketClient;

            IsPinned = TileService.IsPocketPinned;
        }
Exemplo n.º 10
0
        /// <summary>
        /// Initializes a new instance of the PocketViewModel class.
        /// </summary>
        public PocketViewModel(
            INavigationService navigationService,
            IPocketClient pocketClient,
            IAuthenticationService authenticationService,
            ICacheService cacheService,
            ITileService tileService,
            ReaderViewModel readerViewModel,
            FullPageViewModel fullPageViewModel)
            : base(navigationService, authenticationService, cacheService, tileService, readerViewModel, fullPageViewModel)
        {
            _pocketClient = pocketClient;

            IsPinned = TileService.IsPocketPinned;
        }
Exemplo n.º 11
0
 protected ProviderViewModelBase(
     INavigationService navigationService,
     IAuthenticationService authenticationService,
     ICacheService cacheService,
     ITileService tileService,
     ReaderViewModel readerViewModel,
     FullPageViewModel fullPageViewModel)
 {
     NavigationService     = navigationService;
     AuthenticationService = authenticationService;
     CacheService          = cacheService;
     TileService           = tileService;
     ReaderViewModel       = readerViewModel;
     FullPageViewModel     = fullPageViewModel;
 }
Exemplo n.º 12
0
 protected ProviderViewModelBase(
     INavigationService navigationService,
     IAuthenticationService authenticationService,
     ICacheService cacheService,
     ITileService tileService,
     ReaderViewModel readerViewModel,
     FullPageViewModel fullPageViewModel)
 {
     NavigationService = navigationService;
     AuthenticationService = authenticationService;
     CacheService = cacheService;
     TileService = tileService;
     ReaderViewModel = readerViewModel;
     FullPageViewModel = fullPageViewModel;
 }
Exemplo n.º 13
0
        /// <summary>
        /// Initializes a new instance of the InstapaperViewModel class.
        /// </summary>
        public InstapaperViewModel(
            INavigationService navigationService,
            IAuthenticationService authenticationService,
            IInstapaperClient instapaperClient,
            ICacheService cacheService,
            ITileService tileService,
            ReaderViewModel readerViewModel,
            FullPageViewModel fullPageViewModel)
            : base(navigationService, authenticationService, cacheService, tileService, readerViewModel, fullPageViewModel)
        {
            _instapaperClient = instapaperClient;
            IsPinned = TileService.IsInstapaperPinned;

            //EmailAddress = "*****@*****.**";
            //Password = "******";
            //EmailAddress = "*****@*****.**";
            //Password = "******";
        }
Exemplo n.º 14
0
        /// <summary>
        /// Initializes a new instance of the InstapaperViewModel class.
        /// </summary>
        public InstapaperViewModel(
            INavigationService navigationService,
            IAuthenticationService authenticationService,
            IInstapaperClient instapaperClient,
            ICacheService cacheService,
            ITileService tileService,
            ReaderViewModel readerViewModel,
            FullPageViewModel fullPageViewModel)
            : base(navigationService, authenticationService, cacheService, tileService, readerViewModel, fullPageViewModel)
        {
            _instapaperClient = instapaperClient;
            IsPinned          = TileService.IsInstapaperPinned;

            //EmailAddress = "*****@*****.**";
            //Password = "******";
            //EmailAddress = "*****@*****.**";
            //Password = "******";
        }