/// <summary>
        ///     Determines if the passed in object is equal to this object.
        ///     Two keys will be equal if they both have the same ID.
        /// </summary>
        /// <param name="o">The object to compare with.</param>
        /// <returns>True if the objects are equal. False otherwise.</returns>
        public override bool Equals(object o)
        {
            SystemThemeKey key = o as SystemThemeKey;

            if (key != null)
            {
                return(key._id == this._id);
            }

            return(false);
        }
Exemple #2
0
        // Token: 0x06000BC1 RID: 3009 RVA: 0x0002B1E0 File Offset: 0x000293E0
        public override bool Equals(object o)
        {
            SystemThemeKey systemThemeKey = o as SystemThemeKey;

            return(systemThemeKey != null && systemThemeKey._id == this._id);
        }