Esempio n. 1
0
		/// <summary>
		///     Indicates whether the current object is equal to another object of the same type.
		/// </summary>
		/// <param name="other">The other.</param>
		/// <returns></returns>
		public bool Equals(IAccentColor other)
		{
			if (other == null)
				return false;

			return Name == other.Name;
		}
Esempio n. 2
0
        /// <summary>
        ///     Indicates whether the current object is equal to another object of the same type.
        /// </summary>
        /// <param name="other">The other.</param>
        /// <returns></returns>
        public bool Equals(IAccentColor other)
        {
            if (other == null)
            {
                return(false);
            }

            return(Name == other.Name);
        }