/// <summary> /// Creates a new instance of the JsonStateWriter with the specified <paramref name="writer"/> /// </summary> public JsonStateWriter(TextWriter writer) { this.m_underlyingWriter = writer; this.WriteState = System.Xml.WriteState.Start; this.Settings = JsonStateWriterSettings.Default; }
/// <summary> /// Creates a new instance of the JSonStateWriter with the specified <paramref name="stream"/> /// </summary> /// <param name="stream"></param> public JsonStateWriter(Stream stream) { this.m_underlyingWriter = new StreamWriter(stream); this.WriteState = System.Xml.WriteState.Start; this.Settings = JsonStateWriterSettings.Default; }
/// <summary> /// Creates a new instance of the JsonStateWriter with the specified <paramref name="settings"/> /// on the specified <paramref name="stream"/> /// </summary> public JsonStateWriter(Stream stream, JsonStateWriterSettings settings) : this(stream) { this.Settings = settings; }
/// <summary> /// Creates a new instance of the JsonStateWriter with the specified <paramref name="writer"/> /// and <paramref name="settings"/> /// </summary> public JsonStateWriter(TextWriter writer, JsonStateWriterSettings settings) : this(writer) { this.Settings = settings; }
/// <summary> /// Creates a new instance of the JsonStateWriter with the specified <paramref name="writer"/> /// </summary> public JsonStateWriter(TextWriter writer) { this.m_underlyingWriter = writer; this.WriteState = System.Xml.WriteState.Start; this.Settings = JsonStateWriterSettings.Default; }
/// <summary> /// Creates a new instance of the JsonStateWriter with the specified <paramref name="settings"/> /// on the specified <paramref name="stream"/> /// </summary> public JsonStateWriter(Stream stream, JsonStateWriterSettings settings) : this(stream) { this.Settings = settings; }
/// <summary> /// Creates a new instance of the JSonStateWriter with the specified <paramref name="stream"/> /// </summary> /// <param name="stream"></param> public JsonStateWriter(Stream stream) { this.m_underlyingWriter = new StreamWriter(stream); this.WriteState = System.Xml.WriteState.Start; this.Settings = JsonStateWriterSettings.Default; }
/// <summary> /// Creates a new instance of the JsonStateWriter with the specified <paramref name="writer"/> /// and <paramref name="settings"/> /// </summary> public JsonStateWriter(TextWriter writer, JsonStateWriterSettings settings) : this(writer) { this.Settings = settings; }