Пример #1
0
        public override bool Equals(object obj)
        {
            if (obj is IPAddressItem other)
            {
                return
                    (IPAddress?.Equals(other.IPAddress) == true &&
                     InterfaceId?.Equals(other.InterfaceId) == true);
            }

            return(base.Equals(obj));
        }