Ejemplo n.º 1
0
        /// <summary>
        /// Checks for palette equality.
        /// </summary>
        /// <param name="obj">another palette</param>
        /// <returns>true if the palette names are the same</returns>
        public override bool Equals(Object obj)
        {
            var palette = obj as Palette;

            return(palette != null && ColorTable.Equals(palette.ColorTable));
        }