Пример #1
0
 public LoginWindowViewModel(ILoginWindowAccess loginWindowAccess)
     : this(new SQLCredentials(), loginWindowAccess)
 {
 }
Пример #2
0
 public LoginWindowViewModel(ISQLCredentials sqlCredentials, ILoginWindowAccess loginWindowAccess)
 {
     LoginCommand = new RelayCommand(obj => Login(obj));
     this.sqlCredentials = sqlCredentials;
     this.loginWindowAccess = loginWindowAccess;
 }