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