Метод | Описание | |
---|---|---|
Accept ( MailKit.BodyPartVisitor visitor ) : void |
Dispatches to the specific visit method for this MIME body part. This default implementation for MailKit.BodyPart nodes calls MailKit.BodyPartVisitor.VisitBodyPart. Override this method to call into a more specific method on a derived visitor class of the MailKit.BodyPartVisitor class. However, it should still support unknown visitors by calling MailKit.BodyPartVisitor.VisitBodyPart. |
|
ToString ( ) : string |
Returns a System.String that represents the current MailKit.BodyPart. Returns a System.String that represents the current MailKit.BodyPart. |
|
TryParse ( string text, |
Tries to parse the given text into a new MailKit.BodyPart instance. Parses a body part from the specified text. |
Метод | Описание | |
---|---|---|
BodyPart ( ) : System |
Initializes a new instance of the MailKit.BodyPart class. Creates a new MailKit.BodyPart. |
|
Encode ( StringBuilder builder ) : void |
Encodes the BodyPart into the System.Text.StringBuilder. Encodes the BodyPart into the System.Text.StringBuilder. |
Метод | Описание | |
---|---|---|
Encode ( StringBuilder builder, |
||
Encode ( StringBuilder builder, BodyPartCollection parts ) : void | ||
Encode ( StringBuilder builder, MimeKit.ContentDisposition disposition ) : void | ||
Encode ( StringBuilder builder, MimeKit.ContentType contentType ) : void | ||
Encode ( StringBuilder builder, |
||
Encode ( StringBuilder builder, IList |
||
Encode ( StringBuilder builder, |
||
Encode ( StringBuilder builder, string value ) : void | ||
Encode ( StringBuilder builder, uint value ) : void | ||
TryParse ( string text, int &index, MimeKit.ContentDisposition &disposition ) : bool | ||
TryParse ( string text, int &index, IList |
||
TryParse ( string text, int &index, |
||
TryParse ( string text, int &index, bool multipart, MimeKit.ContentType &contentType ) : bool | ||
TryParse ( string text, int &index, string &nstring ) : bool | ||
TryParse ( string text, int &index, string path, |
||
TryParse ( string text, int &index, string prefix, IList |
||
TryParse ( string text, int &index, uint &value ) : bool |
public Accept ( MailKit.BodyPartVisitor visitor ) : void | ||
visitor | MailKit.BodyPartVisitor | The visitor. |
Результат | void |
protected abstract Encode ( StringBuilder builder ) : void | ||
builder | StringBuilder | The string builder. |
Результат | void |
public static TryParse ( string text, |
||
text | string | The text to parse. |
part | The parsed body part. | |
Результат | bool |