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

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

                ViewModel.Email.Value.Should().Be(email);
            }
Esempio 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);
            }
        }
Esempio 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;
            }
        }