Пример #1
0
 /// <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;
 }
Пример #2
0
 /// <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;
 }
Пример #3
0
 /// <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;
 }
Пример #4
0
 /// <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;
 }
Пример #5
0
 /// <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;
 }
Пример #6
0
 /// <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;
 }
Пример #7
0
 /// <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;
 }
Пример #8
0
 /// <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;
 }