AbstractProtectedconstructorReadonlyheadersThe headers belonging to this MIME entity.
ReadonlycontentThe entity's Content-Type value.
Protected ReadonlylazyC#: internal IsDisposed (exposed publicly; upstream tests read it via InternalsVisibleTo).
Gets or sets the Content-Disposition header value.
Sets the absolute Content-Base URI.
Sets the Content-Location URI.
Sets the Content-Id header value.
Gets or sets whether this entity is marked as an attachment.
Setting this updates the Content-Disposition disposition between
attachment and inline.
Sets whether this entity is marked as an attachment.
Dispatches to the specific visitor method for this MIME entity.
The visitor.
AbstractpreparePrepares the entity for transport under the requested encoding constraint.
The encoding constraint.
OptionalmaxLineLength: number
The maximum encoded line length.
Writes the MIME entity to a stream.
Formatting options.
The destination stream.
Writes the MIME entity to a stream.
Formatting options.
The destination stream.
Whether to omit the entity headers.
Serializes the MIME entity to a string.
The serialized MIME entity.
Releases resources held by this entity.
ProtectedcheckProtectedtryProtectedremoveProtectedsetProtectedsetProtectedonStaticloadC#: MimeEntity.Load. Parses a MIME entity from a stream (or byte buffer), or — given an explicit Content-Type — from a bare content stream (the HttpWebResponse use-case, where headers are parsed separately). Parse errors are returned as an Err (C#: FormatException) per the port's Result convention.
Optionalpersistent: booleanOptionaloptions: ParserOptionsC#: MimeEntity.Load. Parses a MIME entity from a stream (or byte buffer), or — given an explicit Content-Type — from a bare content stream (the HttpWebResponse use-case, where headers are parsed separately). Parse errors are returned as an Err (C#: FormatException) per the port's Result convention.
Optionaloptions: ParserOptionsC#: MimeEntity.Load. Parses a MIME entity from a stream (or byte buffer), or — given an explicit Content-Type — from a bare content stream (the HttpWebResponse use-case, where headers are parsed separately). Parse errors are returned as an Err (C#: FormatException) per the port's Result convention.
Optionaloptions: ParserOptions
Base class for all MIME entities.
A MIME entity has a set of headers and a Content-Type. Subclasses provide the concrete content model for single parts, multipart containers, and embedded messages.