public LoginView(IRegionManager regionManager, LoginContext loginContext, Client client) { _regionManager = regionManager; _loginContext = loginContext; _client = client; DataContext = this; NavigateStudent = new DelegateCommand(LoginStudent); NavigateGetTeacherPassword = new DelegateCommand(GetTeacherPassword); InitializeComponent(); }
public PasswordView(IRegionManager regionManager, LoginContext loginContext, Client client) { _regionManager = regionManager; _loginContext = loginContext; _client = client; DataContext = this; NavigateTeacher = new DelegateCommand<string>(LoginTeacher); NavigateBack = new DelegateCommand(GoBack); InitializeComponent(); }
public Client(LoginContext loginCuntext) { _loginContext = loginCuntext; Context = new Default.Container(new Uri(serverUri)); Context.SendingRequest2 += SetMasterPasswordHeader; }