예제 #1
0
        private async void AddRecipient()
        {
            var mail = await _dialogService.OpenRecipientAsync();

            if (!string.IsNullOrEmpty(mail) && _mailSender.IsEmailValid(mail))
            {
                Recipients.Add(new MailRecipientViewModel(RemoveRecipient)
                {
                    EMail = mail
                });
            }
        }
예제 #2
0
 private void AddEMail()
 {
     IsValidMail = _mailSender.IsEmailValid(EMail);
     OnAddEmail?.Invoke();
 }