Example #1
0
 /// <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())); }
 }
Example #2
0
 /// <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()); }
 }