Esempio n. 1
0
 void Send()
 {
     SubmitAttempted = true;
     if (!validationTemplate.Validate())
     {
         NotifyOfPropertyChange(string.Empty);
         SubmitAttempted = false;
         return;
     }
     try
     {
         feedBack.SendFeedBack(EmailAddress, Message, IncludeSystemInfo);
         Success = true;
     }
     catch
     {
         Success = false;
     }
     TryClose(true);
 }
 public void Validate()
 {
     _validationTemplate.Validate(this, null);
 }