/// <summary> /// Returns null if parsed string was not of the valid email format. /// Otherwise return a part of an email address. /// </summary> /// <param name="part"></param> /// <returns></returns> public string this[EmailAddressParts part] { get { return(this.Match.GetGroupValue(part.ToString())); } }
/// <summary> /// Returns null if parsed string was not of the valid email format. /// Otherwise return a part of an email address. /// </summary> /// <param name="part"></param> /// <returns></returns> public string this[EmailAddressParts part] { get { return this.Match.GetGroupValue(part.ToString()); } }