Exemplo n.º 1
0
 public AuthenticationViewModel(IAuthenticationDataAccess authDataAccess, AuthorizeDetailEventArgs authArgs, IMapper mapper)
 {
     //login button is disabled on startup
     CanLogIn = false;
     //subscribe to property changed for processing on change events
     PropertyChanged    += AuthenticationViewModel_PropertyChanged;
     this.authDataAccess = authDataAccess;
     _authArgs           = authArgs;
     this.mapper         = mapper;
 }
Exemplo n.º 2
0
 public ChangePasswordViewModel(IAuthenticationDataAccess authenticationDataAccess)
 {
     //subscribe for events
     PropertyChanged          += ActOnLocalPropertyChanged;
     _authenticationDataAccess = authenticationDataAccess;
 }