Skip to content

Commit e01ceee

Browse files
committed
rename to Navbar
1 parent 804ab47 commit e01ceee

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

src/ServiceStack.Razor/Html/HtmlExtensions.cs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using System.Collections.Generic;
1+
using System;
2+
using System.Collections.Generic;
23
using System.Linq;
34
using System.Web;
45
using ServiceStack.Web;
@@ -152,10 +153,10 @@ public static HtmlString HtmlDump(this HtmlHelper html, object target, HtmlDump
152153
public static HtmlString Nav(this HtmlHelper html, List<NavItem> navItems, NavOptions options) =>
153154
ViewUtils.Nav(navItems, options.ForNav().WithDefaults(html.GetRequest())).ToHtmlString();
154155

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) =>
159160
ViewUtils.Nav(navItems, options.ForNavbar().WithDefaults(html.GetRequest())).ToHtmlString();
160161

161162
public static HtmlString NavLink(this HtmlHelper html, NavItem navItem) => html.NavLink(navItem, null);

0 commit comments

Comments
 (0)