Example #1
0
        public bool Equals(ListingItem <T> other)
        {
            if (other is null)
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            if (GetType() != other.GetType())
            {
                return(false);
            }

            return(Data.Equals(other.Data));
        }
Example #2
0
 public ItemPropertyChangedEventArgs(ListingItem <T> item, string propertyName)
 {
     Item         = item;
     PropertyName = propertyName;
 }