Exemple #1
0
 public LoginViewModel(IAuthorizationServerManager authenticationService)
 {
     _authenticationService = authenticationService;
     LoginCommand           = new RelayCommand <PasswordBox>(OnLogin, CanLogin, true);
     IsAvailable            = true;
 }
Exemple #2
0
 public UserViewModel(IAuthorizationServerManager userService)
 {
     _userService = userService;
 }
Exemple #3
0
 public AccessViewModel(IAuthorizationServerManager userService)
 {
     GoCommand      = new RelayCommand <object>(Go);
     CheckedCommand = new RelayCommand(UpdateChecked);
     _userService   = userService;
 }