예제 #1
1
파일: RR.cs 프로젝트: boethin/dnstools
 /// <summary>
 /// Determines whether or not the specified resource record is equal to the current instance.
 /// </summary>
 /// <param name="rr">The resource record to compare with.</param>
 /// <returns></returns>
 public bool Equals(RR rr)
 {
     if (object.ReferenceEquals(null, rr))
     return false;
       if (false == GetType().Equals(rr.GetType()))
     return false;
       if (false == Base.Equals(rr.Base))
     return false;
       return this.EqualsRDATA(rr);
 }
예제 #2
0
파일: RR.cs 프로젝트: Moerty/dnstools
 /// <summary>
 /// Determines whether or not the specified resource record is equal to the current instance.
 /// </summary>
 /// <param name="rr">The resource record to compare with.</param>
 /// <returns></returns>
 public bool Equals(RR rr)
 {
     if (object.ReferenceEquals(null, rr))
     {
         return(false);
     }
     if (false == GetType().Equals(rr.GetType()))
     {
         return(false);
     }
     if (false == Base.Equals(rr.Base))
     {
         return(false);
     }
     return(this.EqualsRDATA(rr));
 }