Class PlainTextFormats
The format descriptor the plain-text reader and writer share.
public static class PlainTextFormats
- Inheritance
-
PlainTextFormats
- Inherited Members
Remarks
The types in this package are spelled PlainText* rather than Text* on purpose:
TextReader and TextWriter are System.IO types that every file in
a .NET codebase has in scope, and a format reader that shadows them would make
using System.IO; a source of ambiguity errors in any file that also used this package.
Fields
- FormatName
The stable format identifier used by the registry and by format detection.
Properties
- Descriptor
Gets the descriptor. Reader and writer share one instance so a registry lookup by extension and a lookup by name cannot disagree about which extensions text owns.