Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }