Plain Text Previewer Class
A text previewer for plain text.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public class PlainTextPreviewer : TextPreviewer- Inheritance
- Object TextPreviewer PlainTextPreviewer
Remarks
A text previewer for plain text.
Constructors
| PlainTextPreviewer | Initialize a new instance of the PlainTextPreviewer class. |
Properties
| InputFormat |
Get the input format.
(Overrides TextPreviewerInputFormat) |
| MaximumPreviewLength |
Get or set the maximum text preview length.
(Inherited from TextPreviewer) |
Methods
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetPreviewText(String) |
Get a text preview of a string of text.
(Overrides TextPreviewerGetPreviewText(String)) |
| GetPreviewText(TextReader) |
Get a text preview of a stream of text.
(Overrides TextPreviewerGetPreviewText(TextReader)) |
| GetPreviewText(Stream, String) |
Get a text preview of a stream of text in the specified charset.
(Inherited from TextPreviewer) |
| GetPreviewText(Stream, Encoding) |
Get a text preview of a stream of text in the specified encoding.
(Inherited from TextPreviewer) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |