/// <summary> /// Gets the hash code /// </summary> /// <returns>Returns HashCode</returns> public override int GetHashCode() { return(String.Format("{0}|{1}|{2}|{3}|{4}|", this.Controls.Aggregate(0, (acc, next) => acc += (next != null ? next.GetHashCode() : 0)), Order.GetHashCode(), Type.GetHashCode(), BackgroundEmphasis.GetHashCode(), VerticalSectionEmphasis.GetHashCode() ).GetHashCode()); }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Returns HashCode</returns> public override int GetHashCode() { return(String.Format("{0}|{1}|{2}|{3}|{4}|", Layout.GetHashCode(), MenuStyle.GetHashCode(), BackgroundEmphasis.GetHashCode(), ShowSiteTitle.GetHashCode(), ShowSiteNavigation.GetHashCode() ).GetHashCode()); }