/// <summary> /// Gets the hash code /// </summary> /// <returns>Returns HashCode</returns> public override int GetHashCode() { return(String.Format("{0}|{1}|{2}|{3}|{4}|{5}|", Tabs.Aggregate(0, (acc, next) => acc += (next != null ? next.GetHashCode() : 0)), TabResources.Aggregate(0, (acc, next) => acc += (next != null ? next.GetHashCode() : 0)), Messages.Aggregate(0, (acc, next) => acc += (next != null ? next.GetHashCode() : 0)), DisplayName.GetHashCode(), Description.GetHashCode(), IsFavoriteByDefault.GetHashCode() ).GetHashCode()); }