Beispiel #1
0
 private void ValidateMailServer(PluginProfileErrorCollection errors)
 {
     if (MailServer.IsNullOrWhitespace())
     {
         errors.Add(new PluginProfileError {
             FieldName = "MailServer", Message = "Server should not be empty"
         });
     }
 }