コード例 #1
0
        /// <inheritdoc />
        public override bool Equals(ContentLocationEventData other)
        {
            var rhs = (AddContentLocationEventData)other;

            return(base.Equals(other) && (Touch == rhs.Touch) && ContentSizes.SequenceEqual(rhs.ContentSizes));
        }
コード例 #2
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     return((base.GetHashCode(), ContentSizes.GetHashCode(), Touch).GetHashCode());
 }