public void SetsTheEmail(NonEmptyString emailString) { var email = Email.From(emailString.Get); ViewModel.Prepare(EmailParameter.With(email)); ViewModel.Email.Value.Should().Be(email); }
private async Task forgotPassword() { if (isLoadingSubject.Value) { return; } var emailParameter = EmailParameter.With(emailSubject.Value); emailParameter = await Navigate <ForgotPasswordViewModel, EmailParameter, EmailParameter>(emailParameter); if (emailParameter != null) { emailSubject.OnNext(emailParameter.Email); } }
private async Task forgotPassword() { if (IsLoading) { return; } var emailParameter = EmailParameter.With(Email); emailParameter = await navigationService .Navigate <ForgotPasswordViewModel, EmailParameter, EmailParameter>(emailParameter); if (emailParameter != null) { Email = emailParameter.Email; } }