Table of Contents

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

list IList

The list to write to

Properties

Encoding

Gets the character encoding in which the output is written

public override Encoding Encoding { get; }

Property Value

Encoding

Methods

WriteLine(string?)

Writes a line terminator to the text string or stream

public override void WriteLine(string? value)

Parameters

value string

The string to write