/// <summary>
 /// Two DnsResourceDataNextDomain are equal iff their next domain name and type bitmap fields are equal.
 /// </summary>
 public bool Equals(DnsResourceDataNextDomain other)
 {
     return(other != null &&
            NextDomainName.Equals(other.NextDomainName) &&
            TypeBitmap.Equals(other.TypeBitmap));
 }
Esempio n. 2
0
 internal bool IsCovering(DomainName name, DomainName zone)
 {
     return(((name.CompareTo(Name) > 0) && (name.CompareTo(NextDomainName) < 0)) ||          // within zone
            ((name.CompareTo(Name) > 0) && NextDomainName.Equals(zone)));               // behind zone
 }
 /// <summary>
 /// Two DnsResourceDataNextDomainSecure are equal iff their next domain name and types exist fields are equal.
 /// </summary>
 public bool Equals(DnsResourceDataNextDomainSecure other)
 {
     return(other != null &&
            NextDomainName.Equals(other.NextDomainName) &&
            _typeBitmaps.Equals(other._typeBitmaps));
 }