public new static AutoDiscoverSmtpDomain Parse(string text) { bool autoDiscover; string domain = AutoDiscoverSmtpDomain.Parse(text, out autoDiscover); return(new AutoDiscoverSmtpDomain(domain) { AutoDiscover = autoDiscover }); }
public static bool TryParse(string text, out AutoDiscoverSmtpDomain obj) { if (!string.IsNullOrEmpty(text)) { bool autoDiscover; string domain = AutoDiscoverSmtpDomain.Parse(text, out autoDiscover); if (SmtpAddress.IsValidDomain(domain)) { obj = new AutoDiscoverSmtpDomain(domain, false) { AutoDiscover = autoDiscover }; return(true); } } obj = null; return(false); }
public bool Equals(AutoDiscoverSmtpDomain rhs) { return(base.Equals(rhs)); }