public MasterMenuPageViewModel(ISettings settings,
                                INavigationService navigationService, IPlatformCookieStore cookieStore)
     : base(navigationService, settings)
 {
     if (navigationService == null)
     {
         throw new ArgumentNullException("navigationService");
     }
     if (cookieStore == null)
     {
         throw new ArgumentNullException("cookieStore");
     }
     _navigationService = navigationService;
     _cookieStore       = cookieStore;
 }
Example #2
0
        public LoginPageViewModel(INavigationService navigationService, ISettings settings, IPlatformCookieStore platformCookieStore) : base(navigationService, settings)
        {
            if (navigationService == null)
            {
                throw new ArgumentNullException("navigationService");
            }
            if (settings == null)
            {
                throw new ArgumentNullException("settings");
            }
            if (platformCookieStore == null)
            {
                throw new ArgumentNullException("platformCookieStore");
            }

            _navigationService = navigationService;
            _settings          = settings;
            _cookieStore       = platformCookieStore;
        }