IPod.ArtworkFormat.Equals C# (CSharp) Method

Equals() public method

public Equals ( object right ) : bool
right object
return bool
        public override bool Equals(object right)
        {
            ArtworkFormat a = right as ArtworkFormat;
            return
                a != null &&
                a.Usage == this.Usage &&
                a.Width == this.Width &&
                a.Height == this.Height &&
                a.CorrelationId == this.CorrelationId &&
                a.Size == this.Size &&
                a.PixelFormat == this.PixelFormat &&
                a.Rotation == this.Rotation;
        }