/// <summary> /// /// </summary> public MenuItem.Builder MenuItem(MenuItem.Config config) { #if MVC return(new MenuItem.Builder(new MenuItem(config) { ViewContext = this.HtmlHelper != null ? this.HtmlHelper.ViewContext : null })); #else return(new MenuItem.Builder(new MenuItem(config))); #endif }
/// <summary> /// /// </summary> public Builder(MenuItem.Config config) : base(new MenuItem(config)) { }
/// <summary> /// /// </summary> public MenuItem.Builder MenuItem(MenuItem.Config config) { return(new MenuItem.Builder(new MenuItem(config))); }