C# Class MailKit.BodyPartMultipart

A multipart body part.
A multipart body part.
Inheritance: BodyPart
ファイルを表示 Open project: jstedfast/MailKit Class Usage Examples

Public Methods

Method Description
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.

BodyPartMultipart ( ) : System

Initializes a new instance of the MailKit.BodyPartMultipart class.

Creates a new BodyPartMultipart.

Protected Methods

Method Description
Encode ( StringBuilder builder ) : void

Encodes the BodyPart into the System.Text.StringBuilder.

Encodes the BodyPart into the System.Text.StringBuilder.

Method Details

Accept() public method

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.
/// is null. ///
public Accept ( MailKit.BodyPartVisitor visitor ) : void
visitor MailKit.BodyPartVisitor The visitor.
return void

BodyPartMultipart() public method

Initializes a new instance of the MailKit.BodyPartMultipart class.
Creates a new BodyPartMultipart.
public BodyPartMultipart ( ) : System
return System

Encode() protected method

Encodes the BodyPart into the System.Text.StringBuilder.
Encodes the BodyPart into the System.Text.StringBuilder.
protected Encode ( StringBuilder builder ) : void
builder StringBuilder The string builder.
return void