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