C# Class MailKit.BodyPartMessage

A message/rfc822 body part.
Represents a message/rfc822 body part.
Inheritance: BodyPartBasic
Mostra file 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.

BodyPartMessage ( ) : System

Initializes a new instance of the MailKit.BodyPartMessage class.

Creates a new BodyPartMessage.

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

BodyPartMessage() public method

Initializes a new instance of the MailKit.BodyPartMessage class.
Creates a new BodyPartMessage.
public BodyPartMessage ( ) : 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 System.Text.StringBuilder The string builder.
return void