Méthode | Description | |
---|---|---|
Accept ( MimeKit.MimeVisitor visitor ) : void |
Dispatches to the specific visit method for this MIME entity. This default implementation for MimeKit.MessagePart nodes calls MimeKit.MimeVisitor.VisitMessagePart. Override this method to call into a more specific method on a derived visitor class of the MimeKit.MimeVisitor class. However, it should still support unknown visitors by calling MimeKit.MimeVisitor.VisitMessagePart. |
|
MessagePart ( ) : System |
Initializes a new instance of the MimeKit.MessagePart class. Creates a new message/rfc822 MIME entity. |
|
MessagePart ( MimeKit.MimeEntityConstructorArgs args ) : System |
Initializes a new instance of the MimeKit.MessagePart class. This constructor is used by MimeKit.MimeParser. |
|
MessagePart ( string subtype ) : System |
Initializes a new instance of the MimeKit.MessagePart class. Creates a new MessagePart. |
|
Prepare ( EncodingConstraint constraint, int maxLineLength = 78 ) : void |
Prepare the MIME entity for transport using the specified encoding constraints. Prepares the MIME entity for transport using the specified encoding constraints. |
|
WriteTo ( MimeKit.FormatOptions options, Stream stream, bool contentOnly, |
Writes the MimeKit.MessagePart to the output stream. Writes the MIME entity and its message to the output stream. |
public Accept ( MimeKit.MimeVisitor visitor ) : void | ||
visitor | MimeKit.MimeVisitor | The visitor. |
Résultat | void |
public MessagePart ( MimeKit.MimeEntityConstructorArgs args ) : System | ||
args | MimeKit.MimeEntityConstructorArgs | Information used by the constructor. |
Résultat | System |
public MessagePart ( string subtype ) : System | ||
subtype | string | The message subtype. |
Résultat | System |
public Prepare ( EncodingConstraint constraint, int maxLineLength = 78 ) : void | ||
constraint | EncodingConstraint | The encoding constraint. |
maxLineLength | int | The maximum number of octets allowed per line (not counting the CRLF). Must be between |
Résultat | void |
public WriteTo ( MimeKit.FormatOptions options, Stream stream, bool contentOnly, |
||
options | MimeKit.FormatOptions | The formatting options. |
stream | Stream | The output stream. |
contentOnly | bool | |
cancellationToken | A cancellation token. | |
Résultat | void |