// Navbar public static ComponentBuilder <MvcBootstrapConfig <TModel>, Navbar> Navbar <TComponent, TModel>( this BootstrapHelper <MvcBootstrapConfig <TModel>, TComponent> helper, string brand, string actionName, string controllerName, object routeValues = null, bool fluid = true) where TComponent : Component, ICanCreate <Navbar> { return(new ComponentBuilder <MvcBootstrapConfig <TModel>, Navbar>(helper.GetConfig(), helper.Navbar(fluid).GetComponent()) .AddChild(x => x.Brand(brand, actionName, controllerName, routeValues))); }
// Navbar public static ComponentBuilder <MvcBootstrapConfig <TModel>, Navbar> Navbar <TComponent, TModel>( this BootstrapHelper <MvcBootstrapConfig <TModel>, TComponent> helper, string brand, ActionResult result, bool fluid = true) where TComponent : Component, ICanCreate <Navbar> { return(new ComponentBuilder <MvcBootstrapConfig <TModel>, Navbar>(helper.GetConfig(), helper.Navbar(fluid).GetComponent()) .AddChild(x => x.Brand(brand, result))); }