/// <summary> /// Adds the root. /// </summary> /// <param name="pageLinks">The page links.</param> /// <returns>returns the Page links including the root</returns> public static PageLinks AddRoot(this PageLinks pageLinks) { CodeContracts.VerifyNotNull(pageLinks, "pageLinks"); pageLinks.AddLink(pageLinks.Get <BoardSettings>().Name, BuildLink.GetLink(ForumPages.forum)); return(pageLinks); }