Example #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var addressesHash = IPAddresses?.Aggregate(0, (current, address) => (current * 397) ^ address.GetHashCode()) ?? 0;
         return(((Id != null ? Id.GetHashCode() : 0) * 397) ^ addressesHash);
     }
 }