public void SetsTheEmail(NonEmptyString emailString)
            {
                var email = Email.From(emailString.Get);

                ViewModel.Prepare(EmailParameter.With(email));

                ViewModel.Email.Value.Should().Be(email);
            }
Exemplo n.º 2
0
        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);
            }
        }
Exemplo n.º 3
0
        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;
            }
        }