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