Click or drag to resize
MimeKit

ExperimentalMimeParser Class

An experimental replacement for MimeParser.
Inheritance Hierarchy
SystemObject
  MimeKitMimeReader
    MimeKitExperimentalMimeParser

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public class ExperimentalMimeParser : MimeReader, 
	IMimeParser

The ExperimentalMimeParser type exposes the following members.

Constructors
 NameDescription
Public methodExperimentalMimeParser(Stream, Boolean) Initialize a new instance of the ExperimentalMimeParser class.
Public methodExperimentalMimeParser(ParserOptions, Stream, Boolean) Initialize a new instance of the ExperimentalMimeParser class.
Public methodExperimentalMimeParser(Stream, MimeFormat, Boolean) Initialize a new instance of the MimeParser class.
Public methodExperimentalMimeParser(ParserOptions, Stream, MimeFormat, Boolean) Initialize a new instance of the ExperimentalMimeParser class.
Top
Properties
 NameDescription
Public propertyIsEndOfStream Get a value indicating whether the parser has reached the end of the input stream.
(Inherited from MimeReader)
Public propertyMboxMarker Gets the most recent mbox marker.
Public propertyMboxMarkerOffset Gets the most recent mbox marker offset.
Public propertyOptions Get or set the parser options.
(Inherited from MimeReader)
Public propertyPosition Get the current position of the parser within the stream.
(Inherited from MimeReader)
Top
Methods
 NameDescription
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Protected methodMemberwiseClone
(Inherited from Object)
Protected methodOnHeaderRead Called when a message or MIME part header is read from the stream.
(Overrides MimeReaderOnHeaderRead(Header, Int32, CancellationToken))
Protected methodOnHeaderReadAsync Called when a message or MIME part header is read from the stream.
(Inherited from MimeReader)
Protected methodOnHeadersBegin Called when the beginning of a list of headers is encountered in the stream.
(Overrides MimeReaderOnHeadersBegin(Int64, Int32, CancellationToken))
Protected methodOnHeadersBeginAsync Called when the beginning of a list of headers is encountered in the stream.
(Inherited from MimeReader)
Protected methodOnHeadersEnd Called when the end of a list of headers is encountered in the stream.
(Overrides MimeReaderOnHeadersEnd(Int64, Int32, Int64, Int32, CancellationToken))
Protected methodOnHeadersEndAsync Called when the end of a list of headers is encountered in the stream.
(Inherited from MimeReader)
Protected methodOnMboxMarkerRead Called when an Mbox marker is encountered in the stream.
(Overrides MimeReaderOnMboxMarkerRead(Byte, Int32, Int32, Int64, Int32, CancellationToken))
Protected methodOnMboxMarkerReadAsync Called when an Mbox marker is encountered in the stream.
(Inherited from MimeReader)
Protected methodOnMessagePartBegin Called when the beginning of a message part is encountered in the stream.
(Overrides MimeReaderOnMessagePartBegin(ContentType, Int64, Int32, CancellationToken))
Protected methodOnMessagePartBeginAsync Called when the beginning of a message part is encountered in the stream.
(Inherited from MimeReader)
Protected methodOnMessagePartEnd Called when the end of a message part is encountered in the stream.
(Overrides MimeReaderOnMessagePartEnd(ContentType, Int64, Int32, Int64, Int64, Int32, CancellationToken))
Protected methodOnMessagePartEndAsync Called when the end of a message part is encountered in the stream.
(Inherited from MimeReader)
Protected methodOnMimeMessageBegin Called when the beginning of a message is encountered in the stream.
(Overrides MimeReaderOnMimeMessageBegin(Int64, Int32, CancellationToken))
Protected methodOnMimeMessageBeginAsync Called when the beginning of a message is encountered in the stream.
(Inherited from MimeReader)
Protected methodOnMimeMessageEnd Called when the end of a message is encountered in the stream.
(Overrides MimeReaderOnMimeMessageEnd(Int64, Int32, Int64, Int64, Int32, CancellationToken))
Protected methodOnMimeMessageEndAsync Called when the end of a message is encountered in the stream.
(Inherited from MimeReader)
Protected methodOnMimePartBegin Called when the beginning of a MIME part is encountered in the stream.
(Overrides MimeReaderOnMimePartBegin(ContentType, Int64, Int32, CancellationToken))
Protected methodOnMimePartBeginAsync Called when the beginning of a MIME part is encountered in the stream.
(Inherited from MimeReader)
Protected methodOnMimePartContentBegin Called when the beginning of a MIME part's content is encountered in the stream.
(Overrides MimeReaderOnMimePartContentBegin(Int64, Int32, CancellationToken))
Protected methodOnMimePartContentBeginAsync Called when the beginning of a MIME part's content is encountered in the stream.
(Inherited from MimeReader)
Protected methodOnMimePartContentEnd Called when the end of a MIME part's content is encountered in the stream.
(Overrides MimeReaderOnMimePartContentEnd(Int64, Int32, Int64, Int32, NullableNewLineFormat, CancellationToken))
Protected methodOnMimePartContentEndAsync Called when the end of a MIME part's content is encountered in the stream.
(Inherited from MimeReader)
Protected methodOnMimePartContentRead Called when MIME part content is read from the stream.
(Overrides MimeReaderOnMimePartContentRead(Byte, Int32, Int32, CancellationToken))
Protected methodOnMimePartContentReadAsync Called when MIME part content is read from the stream.
(Inherited from MimeReader)
Protected methodOnMimePartEnd Called when the end of a MIME part is encountered in the stream.
(Overrides MimeReaderOnMimePartEnd(ContentType, Int64, Int32, Int64, Int64, Int32, CancellationToken))
Protected methodOnMimePartEndAsync Called when the end of a MIME part is encountered in the stream.
(Inherited from MimeReader)
Protected methodOnMultipartBegin Called when the beginning of a multipart is encountered in the stream.
(Overrides MimeReaderOnMultipartBegin(ContentType, Int64, Int32, CancellationToken))
Protected methodOnMultipartBeginAsync Called when the beginning of a multipart is encountered in the stream.
(Inherited from MimeReader)
Protected methodOnMultipartBoundary Called when a multipart boundary is encountered in the stream.
(Overrides MimeReaderOnMultipartBoundary(String, Int64, Int64, Int32, CancellationToken))
Protected methodOnMultipartBoundaryAsync Called when a multipart boundary is encountered in the stream.
(Inherited from MimeReader)
Protected methodOnMultipartEnd Called when the end of a multipart is encountered in the stream.
(Overrides MimeReaderOnMultipartEnd(ContentType, Int64, Int32, Int64, Int64, Int32, CancellationToken))
Protected methodOnMultipartEndAsync Called when the end of a multipart is encountered in the stream.
(Inherited from MimeReader)
Protected methodOnMultipartEndBoundary Called when a multipart end boundary is encountered in the stream.
(Overrides MimeReaderOnMultipartEndBoundary(String, Int64, Int64, Int32, CancellationToken))
Protected methodOnMultipartEndBoundaryAsync Called when a multipart end boundary is encountered in the stream.
(Inherited from MimeReader)
Protected methodOnMultipartEpilogueBegin Called when the beginning of the epilogue of a multipart is encountered in the stream.
(Overrides MimeReaderOnMultipartEpilogueBegin(Int64, Int32, CancellationToken))
Protected methodOnMultipartEpilogueBeginAsync Called when the beginning of the epilogue of a multipart is encountered in the stream.
(Inherited from MimeReader)
Protected methodOnMultipartEpilogueEnd Called when the end of the epilogue of a multipart is encountered in the stream.
(Overrides MimeReaderOnMultipartEpilogueEnd(Int64, Int32, Int64, Int32, CancellationToken))
Protected methodOnMultipartEpilogueEndAsync Called when the end of the epilogue of a multipart is encountered in the stream.
(Inherited from MimeReader)
Protected methodOnMultipartEpilogueRead Called when multipart epilogue text is read from the stream.
(Overrides MimeReaderOnMultipartEpilogueRead(Byte, Int32, Int32, CancellationToken))
Protected methodOnMultipartEpilogueReadAsync Called when multipart epilogue text is read from the stream.
(Inherited from MimeReader)
Protected methodOnMultipartPreambleBegin Called when the beginning of the preamble of a multipart is encountered in the stream.
(Overrides MimeReaderOnMultipartPreambleBegin(Int64, Int32, CancellationToken))
Protected methodOnMultipartPreambleBeginAsync Called when the beginning of the preamble of a multipart is encountered in the stream.
(Inherited from MimeReader)
Protected methodOnMultipartPreambleEnd Called when the end of the preamble of a multipart is encountered in the stream.
(Overrides MimeReaderOnMultipartPreambleEnd(Int64, Int32, Int64, Int32, CancellationToken))
Protected methodOnMultipartPreambleEndAsync Called when the end of the preamble of a multipart is encountered in the stream.
(Inherited from MimeReader)
Protected methodOnMultipartPreambleRead Called when multipart preamble text is read from the stream.
(Overrides MimeReaderOnMultipartPreambleRead(Byte, Int32, Int32, CancellationToken))
Protected methodOnMultipartPreambleReadAsync Called when multipart preamble text is read from the stream.
(Inherited from MimeReader)
Public methodParseEntity Parse an entity from the stream.
Public methodParseEntityAsync Asynchronously parse an entity from the stream.
Public methodParseHeaders Parse a list of headers from the stream.
Public methodParseHeadersAsync Asynchronously parse a list of headers from the stream.
Public methodParseMessage Parse a message from the stream.
Public methodParseMessageAsync Asynchronously parse a message from the stream.
Public methodReadEntity Read an entity from the stream.
(Inherited from MimeReader)
Public methodReadEntityAsync Asynchronously read an entity from the stream.
(Inherited from MimeReader)
Public methodReadHeaders Read a block of headers from the stream.
(Inherited from MimeReader)
Public methodReadHeadersAsync Asynchronously read a block of headers from the stream.
(Inherited from MimeReader)
Public methodReadMessage Read a message from the stream.
(Inherited from MimeReader)
Public methodReadMessageAsync Asynchronously read a message from the stream.
(Inherited from MimeReader)
Public methodSetStream(Stream, MimeFormat) Set the stream to parse.
(Overrides MimeReaderSetStream(Stream, MimeFormat))
Public methodSetStream(Stream, Boolean) Set the stream to parse.
Public methodSetStream(Stream, MimeFormat, Boolean) Set the stream to parse.
Public methodToString
(Inherited from Object)
Top
Remarks
An experimental replacement for MimeParser.
See Also