示例#1
0
 /// <summary>
 /// Tests if an address is managed.
 /// </summary>
 /// <param name="address">The <see cref="MailAddress"/> to test</param>
 /// <returns><c>true</c> if the address's domain is managed by the agent,
 /// <c>false</c> otherwise.</returns>
 public bool IsManaged(MailAddress address)
 {
     if (address == null)
     {
         throw new ArgumentNullException("address");
     }
     return(m_tenancy.IsManaged(address.Host));
 }
 public bool IsManaged(string domain)
 {
     return(m_innerResolver.IsManaged(domain));
 }