/// <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; Content = new BufferedHtmlContent(); }
/// <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; Content = new BufferedHtmlContent(); }