/// <summary>
        ///     The get navigation.
        /// </summary>
        /// <returns>
        ///     The <see cref="Navigation" />.
        /// </returns>
        public Navigation GetNavigation()
        {
            var result = new Navigation();

            foreach (IRegisterNavigation nav in this.navigations.OrderBy(x => x.Path.Name))
            {
                result.Add(nav);
            }

            return result;
        }
 /// <summary>
 /// The render navigation.
 /// </summary>
 /// <param name="htmlHelper">
 /// The html helper.
 /// </param>
 /// <param name="navigation">
 /// The navigation.
 /// </param>
 /// <param name="renderNavbar">
 /// The render navbar.
 /// </param>
 /// <returns>
 /// The <see cref="IHtmlString"/>.
 /// </returns>
 public static IHtmlString RenderNavigation(
     this HtmlHelper htmlHelper, Navigation navigation, bool renderNavbar = true)
 {
     return htmlHelper.Raw(AddNavigation(htmlHelper, navigation.NavigationNodes, renderNavbar));
 }
 /// <summary>
 /// The render mobile navigation.
 /// </summary>
 /// <param name="htmlHelper">
 /// The html helper.
 /// </param>
 /// <param name="navigation">
 /// The navigation.
 /// </param>
 /// <param name="dataTheme">
 /// The data theme.
 /// </param>
 /// <param name="dataContentTheme">
 /// The data content theme.
 /// </param>
 /// <returns>
 /// The <see cref="IHtmlString"/>.
 /// </returns>
 public static IHtmlString RenderMobileNavigation(
     this HtmlHelper htmlHelper, Navigation navigation, string dataTheme, string dataContentTheme)
 {
     return
         htmlHelper.Raw(AddMobileNavigation(htmlHelper, navigation.NavigationNodes, dataTheme, dataContentTheme));
 }