private static bool SmtpAddressArrayValidator(object value)
 {
     if (value == null)
     {
         return(true);
     }
     string[] array = (string[])value;
     if (array.Length == 0 || (array.Length == 1 && string.IsNullOrEmpty(array[0])))
     {
         return(true);
     }
     foreach (string value2 in array)
     {
         if (!MessageTrackingLogRow.SmtpAddressValidator(value2))
         {
             return(false);
         }
     }
     return(true);
 }
 private static bool SmtpAddressValidatorWithNull(object value)
 {
     return(string.IsNullOrEmpty((string)value) || MessageTrackingLogRow.SmtpAddressValidator(value));
 }