Beispiel #1
0
 public LoginPageViewModel()
 {
     _userName     = "";
     _password     = "";
     _userCatalog  = new UserCatalog();
     _loginCommand = new LoginCommand(TheRootFrame, _userCatalog, this);
 }
Beispiel #2
0
 public CreateUserCommand(UserCatalog catalog, User newUser)
 {
     _newUser = newUser;
     _catalog = catalog;
 }
Beispiel #3
0
 public LoginCommand(Frame rootFrame, UserCatalog catalog, LoginPageViewModel pvm)
 {
     _rootFrame = rootFrame;
     _catalog   = catalog;
     _pvm       = pvm;
 }