Class TextWriterList
- Namespace
- SunamoCollectionsGeneric.Collections
- Assembly
- SunamoCollectionsGeneric.dll
TextWriter implementation that writes lines to a list Not working, tried with Microsoft.CodeAnalysis.SyntaxNode.WriteTo
public class TextWriterList : TextWriter, IAsyncDisposable, IDisposable
- Inheritance
-
TextWriterList
- Implements
- Inherited Members
- Extension Methods
Constructors
TextWriterList(IList)
Initializes a new instance that writes to the specified list
public TextWriterList(IList list)
Parameters
listIListThe list to write to
Properties
Encoding
Gets the character encoding in which the output is written
public override Encoding Encoding { get; }
Property Value
Methods
WriteLine(string?)
Writes a line terminator to the text string or stream
public override void WriteLine(string? value)
Parameters
valuestringThe string to write