示例#1
0
        //private readonly ApplicationDataContainer _roamingStorage;


        public AuthenticationService(
            IReadabilityClient readabilityClient,
            IPocketClient pocketClient,
            IInstapaperClient instapaperClient,
            IApplicationSettingsServiceHandler roamingSettings)
        {
            //_roamingStorage = ApplicationData.Current.RoamingSettings;
            _readabilityClient = readabilityClient;
            _pocketClient      = pocketClient;
            _instapaperClient  = instapaperClient;
            _roamingSettings   = roamingSettings;
        }
        //private readonly ApplicationDataContainer _roamingStorage;


        public AuthenticationService(
            IReadabilityClient readabilityClient,
            IPocketClient pocketClient,
            IInstapaperClient instapaperClient,
            IApplicationSettingsServiceHandler roamingSettings)
        {
            //_roamingStorage = ApplicationData.Current.RoamingSettings;
            _readabilityClient = readabilityClient;
            _pocketClient = pocketClient;
            _instapaperClient = instapaperClient;
            _roamingSettings = roamingSettings;
        }
        /// <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 = "******";
        }
示例#4
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 = "******";
        }