IMime |
public interface IMimeEntity : IDisposable
The IMimeEntity type exposes the following members.
Name | Description | |
---|---|---|
ContentBase | Get or set the base content URI. | |
ContentDisposition | Get or set the content disposition. | |
ContentId | Get or set the Content-Id. | |
ContentLocation | Get or set the content location. | |
ContentType | Get the type of the content. | |
Headers | Get the list of headers. | |
IsAttachment | Get a value indicating whether this entity is an attachment. |
Name | Description | |
---|---|---|
Accept | Dispatches to the specific visit method for this MIME entity. | |
Dispose | (Inherited from IDisposable) | |
Prepare | Prepare the MIME entity for transport using the specified encoding constraints. | |
WriteTo(Stream, CancellationToken) | Write the IMimeEntity to the specified output stream. | |
WriteTo(String, CancellationToken) | Write the IMimeEntity to the specified file. | |
WriteTo(FormatOptions, Stream, CancellationToken) | Write the IMimeEntity to the specified output stream. | |
WriteTo(FormatOptions, String, CancellationToken) | Write the IMimeEntity to the specified file. | |
WriteTo(Stream, Boolean, CancellationToken) | Write the IMimeEntity to the specified output stream. | |
WriteTo(String, Boolean, CancellationToken) | Write the IMimeEntity to the specified file. | |
WriteTo(FormatOptions, Stream, Boolean, CancellationToken) | Write the IMimeEntity to the specified output stream. | |
WriteTo(FormatOptions, String, Boolean, CancellationToken) | Write the IMimeEntity to the specified file. | |
WriteToAsync(Stream, CancellationToken) | Asynchronously write the IMimeEntity to the specified output stream. | |
WriteToAsync(String, CancellationToken) | Asynchronously write the IMimeEntity to the specified file. | |
WriteToAsync(FormatOptions, Stream, CancellationToken) | Asynchronously write the IMimeEntity to the specified output stream. | |
WriteToAsync(FormatOptions, String, CancellationToken) | Asynchronously write the IMimeEntity to the specified file. | |
WriteToAsync(Stream, Boolean, CancellationToken) | Asynchronously write the IMimeEntity to the specified output stream. | |
WriteToAsync(String, Boolean, CancellationToken) | Asynchronously write the IMimeEntity to the specified file. | |
WriteToAsync(FormatOptions, Stream, Boolean, CancellationToken) | Asynchronously write the IMimeEntity to the specified output stream. | |
WriteToAsync(FormatOptions, String, Boolean, CancellationToken) | Asynchronously write the IMimeEntity to the specified file. |
A MIME entity is really just a node in a tree structure of MIME parts in a MIME message.
There are 3 basic types of entities: MimePart, Multipart, and MessagePart (which is actually just a special variation of MimePart who's content is another MIME message/document). All other types are derivatives of one of those.