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