Class PlainTextReader
Reads plain text into the mutable DocWright document model.
public sealed class PlainTextReader : IDocumentReader
- Inheritance
-
PlainTextReader
- Implements
- Inherited Members
Remarks
Instances are stateless and safe for concurrent use.
Constructors
- PlainTextReader()
Initializes a reader with default options.
- PlainTextReader(PlainTextReadOptions)
Initializes a reader with format-specific options.
Properties
- Format
Gets the format this reader handles.
Methods
- CanRead(Stream)
Always returns false: plain text is never auto-detected.
- Read(Stream, DocumentReadOptions, IConversionDiagnostics)
Reads a document from the stream.