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