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