TileIconifier.Core.Shortcut.ShortcutItemImage.Equals C# (CSharp) Méthode

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool
        public override bool Equals(object obj)
        {
            if (obj == null)
                return false;

            if (ReferenceEquals(this, obj))
                return true;

            if (obj.GetType() != typeof (ShortcutItemImage))
                return false;
            var other = (ShortcutItemImage) obj;

            return Bytes == other.Bytes &&
                   X == other.X &&
                   Y == other.Y &&
                   Width == other.Width &&
                   Height == other.Height;
        }

Same methods

ShortcutItemImage::Equals ( ShortcutItemImage other ) : bool