Esempio n. 1
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Returns HashCode</returns>
 public override int GetHashCode()
 {
     return(String.Format("{0}|{1}|{2}|",
                          Layout.GetHashCode(),
                          MenuStyle.GetHashCode(),
                          BackgroundEmphasis.GetHashCode()
                          ).GetHashCode());
 }
Esempio n. 2
0
 /// <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());
 }