|
1 | | -using System.Collections.Generic; |
| 1 | +using System; |
| 2 | +using System.Collections.Generic; |
2 | 3 | using System.Linq; |
3 | 4 | using System.Web; |
4 | 5 | using ServiceStack.Web; |
@@ -152,10 +153,10 @@ public static HtmlString HtmlDump(this HtmlHelper html, object target, HtmlDump |
152 | 153 | public static HtmlString Nav(this HtmlHelper html, List<NavItem> navItems, NavOptions options) => |
153 | 154 | ViewUtils.Nav(navItems, options.ForNav().WithDefaults(html.GetRequest())).ToHtmlString(); |
154 | 155 |
|
155 | | - public static HtmlString NavBar(this HtmlHelper html) => html.NavBar(ViewUtils.NavItems, null); |
156 | | - public static HtmlString NavBar(this HtmlHelper html, NavOptions options) => html.NavBar(ViewUtils.NavItems, options); |
157 | | - public static HtmlString NavBar(this HtmlHelper html, List<NavItem> navItems) => html.NavBar(navItems, null); |
158 | | - public static HtmlString NavBar(this HtmlHelper html, List<NavItem> navItems, NavOptions options) => |
| 156 | + public static HtmlString Navbar(this HtmlHelper html) => html.Navbar(ViewUtils.NavItems, null); |
| 157 | + public static HtmlString Navbar(this HtmlHelper html, NavOptions options) => html.Navbar(ViewUtils.NavItems, options); |
| 158 | + public static HtmlString Navbar(this HtmlHelper html, List<NavItem> navItems) => html.Navbar(navItems, null); |
| 159 | + public static HtmlString Navbar(this HtmlHelper html, List<NavItem> navItems, NavOptions options) => |
159 | 160 | ViewUtils.Nav(navItems, options.ForNavbar().WithDefaults(html.GetRequest())).ToHtmlString(); |
160 | 161 |
|
161 | 162 | public static HtmlString NavLink(this HtmlHelper html, NavItem navItem) => html.NavLink(navItem, null); |
|
0 commit comments