public static Navbar <THelper> Navbar <THelper>(this INavbarCreator <THelper> creator, string brand, string href = "/", bool fluid = true) where THelper : BootstrapHelper <THelper> { return(new Navbar <THelper>(creator).SetFluid(fluid).AddChild(x => x.Brand(brand, href))); }
public static Navbar <MvcBootstrapHelper <TModel> > Navbar <TModel>(this INavbarCreator <MvcBootstrapHelper <TModel> > creator, string brand, string actionName, string controllerName, object routeValues = null, bool fluid = true) { return(creator.Navbar(fluid).AddChild(x => x.Brand(brand, actionName, controllerName, routeValues))); }
// Navbar public static Navbar <THelper> Navbar <THelper>(this INavbarCreator <THelper> creator, bool fluid = true) where THelper : BootstrapHelper <THelper> { return(new Navbar <THelper>(creator).SetFluid(fluid)); }