Exemple #1
0
        //public ICommand GotoHome => new Command<string>(OnGotoHome);
        public PinCodeViewModel(INavigationService navigationService, IUserInformation userInformation,
                                IFeature checkpincode, IAuthentication authentication, IUserInformationLocalStorage userInformationLocalStorage) : base(navigationService, false)
        {
            _userInformation             = userInformation ?? throw new ArgumentNullException(nameof(userInformation));
            _checkpincode                = checkpincode ?? throw new ArgumentNullException(nameof(checkpincode));
            _authentication              = authentication ?? throw new ArgumentNullException(nameof(authentication));
            _userInformationLocalStorage = userInformationLocalStorage ?? throw new ArgumentNullException(nameof(userInformationLocalStorage));

            Initialize();
        }
Exemple #2
0
 public ForcePincodeChangePopupViewModel(INavigationService navigationService,
                                         IAuthentication authentication,
                                         IFeature updateservice,
                                         IUserInformation userInformation,
                                         IUserInformationLocalStorage userInformationLocalStorage
                                         ) : base(navigationService)
 {
     _authentication              = authentication ?? throw new ArgumentNullException(nameof(authentication));
     _userInformation             = userInformation ?? throw new System.ArgumentNullException(nameof(userInformation));
     _updatepinservice            = updateservice ?? throw new ArgumentNullException(nameof(updateservice));
     _userInformationLocalStorage = userInformationLocalStorage ?? throw new ArgumentNullException(nameof(userInformationLocalStorage));
 }
Exemple #3
0
        public LoginViewModel(INavigationService navigationService,
                              IContainer container,
                              IUserInformationLocalStorage userInformationLocalStorage,
                              IAuthentication authentication,
                              IFeature checkmsisdn) : base(navigationService, false)
        {
            _container = container ?? throw new ArgumentNullException(nameof(container));
            _userInformationLocalStorage = userInformationLocalStorage ?? throw new ArgumentNullException(nameof(userInformationLocalStorage));
            _authentication = authentication ?? throw new ArgumentNullException(nameof(authentication));
            _checkmsisdn    = checkmsisdn ?? throw new ArgumentNullException(nameof(Feature));

            Initialize();
        }
Exemple #4
0
 public LogoutPopupViewModel(INavigationService navigationService, IUserInformationLocalStorage userInformationLocalStorage, IAuthentication authentication) : base(navigationService)
 {
     _userInformationLocalStorage = userInformationLocalStorage ?? throw new ArgumentNullException(nameof(userInformationLocalStorage));
     _authentication = authentication ?? throw new ArgumentNullException(nameof(authentication));
 }
Exemple #5
0
 public PinCodePopupViewModel(INavigationService navigationService, IUserInformation userInformation, IUserInformationLocalStorage userInformationLocalStorage) : base(navigationService)
 {
     _userInformation             = userInformation ?? throw new System.ArgumentNullException(nameof(userInformation));
     _userInformationLocalStorage = userInformationLocalStorage ?? throw new ArgumentNullException(nameof(userInformationLocalStorage));
     Initialize();
 }