/// <summary>
 /// Creates a new instance of <see cref="StringCollectionTextWriter"/>.
 /// </summary>
 /// <param name="encoding">The character <see cref="Encoding"/> in which the output is written.</param>
 public StringCollectionTextWriter(Encoding encoding)
 {
     _encoding = encoding;
     Entries = new List<object>();
     _content = new StringCollectionTextWriterContent(Entries);
 }
Exemple #2
0
 /// <summary>
 /// Creates a new instance of <see cref="StringCollectionTextWriter"/>.
 /// </summary>
 /// <param name="encoding">The character <see cref="Encoding"/> in which the output is written.</param>
 public StringCollectionTextWriter(Encoding encoding)
 {
     _encoding = encoding;
     Entries   = new List <object>();
     _content  = new StringCollectionTextWriterContent(Entries);
 }