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