/// <inheritdoc />
 public override int GetHashCode()
 {
     unchecked
     {
         return((InterfaceId.GetHashCode() * 397) ^ (ParentSubClass != null ? ParentSubClass.GetHashCode() : 0));
     }
 }
Пример #2
0
 public override int GetHashCode()
 {
     return((IPAddress?.GetHashCode() ?? 0) ^ (InterfaceId?.GetHashCode() ?? 0));
 }
Пример #3
0
 /// <summary>
 /// Return the HashCode of this object.
 /// </summary>
 /// <returns>The HashCode of this object.</returns>
 public override Int32 GetHashCode()
 {
     return(IPAddressArray.GetHashCode() ^ InterfaceId.GetHashCode());
 }