C# 클래스 MimeKit.MessagePartial

A MIME part containing a partial message as its content.
Represents a MIME part with a Content-Type of message/partial.
상속: MimePart
파일 보기 프로젝트 열기: nachocove/MimeKit 1 사용 예제들

공개 메소드들

메소드 설명
Accept ( MimeKit.MimeVisitor visitor ) : void

Dispatches to the specific visit method for this MIME entity.

This default implementation for MimeKit.MessagePartial nodes calls MimeKit.MimeVisitor.VisitMessagePartial. 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.VisitMessagePartial.

Join ( IEnumerable partials ) : MimeMessage

Joins the specified message/partial parts into the complete message.

Combines all of the message/partial fragments into its original, complete, message.

Join ( ParserOptions options, IEnumerable partials ) : MimeMessage

Joins the specified message/partial parts into the complete message.

Combines all of the message/partial fragments into its original, complete, message.

MessagePartial ( MimeKit.MimeEntityConstructorArgs args ) : System

Initializes a new instance of the MimeKit.MessagePartial class.

This constructor is used by MimeKit.MimeParser.

MessagePartial ( string id, int number, int total ) : System

Initializes a new instance of the MimeKit.MessagePartial class.

Creates a new message/partial entity.

Three (3) parameters must be specified in the Content-Type header of a message/partial: id, number, and total.

The "id" parameter is a unique identifier used to match the parts together.

The "number" parameter is the sequential (1-based) index of the partial message fragment.

The "total" parameter is the total number of pieces that make up the complete message.

Split ( MimeMessage message, int maxSize ) : IEnumerable

Splits the specified message into multiple messages.

Splits the specified message into multiple messages, each with a message/partial body no larger than the max size specified.

비공개 메소드들

메소드 설명
CloneMessage ( MimeMessage message ) : MimeMessage
PartialCompare ( MessagePartial partial1, MessagePartial partial2 ) : int

메소드 상세

Accept() 공개 메소드

Dispatches to the specific visit method for this MIME entity.
This default implementation for MimeKit.MessagePartial nodes calls MimeKit.MimeVisitor.VisitMessagePartial. 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.VisitMessagePartial.
/// is null. ///
public Accept ( MimeKit.MimeVisitor visitor ) : void
visitor MimeKit.MimeVisitor The visitor.
리턴 void

Join() 공개 정적인 메소드

Joins the specified message/partial parts into the complete message.
Combines all of the message/partial fragments into its original, complete, message.
/// is null. ///
public static Join ( IEnumerable partials ) : MimeMessage
partials IEnumerable The list of partial message parts.
리턴 MimeMessage

Join() 공개 정적인 메소드

Joins the specified message/partial parts into the complete message.
Combines all of the message/partial fragments into its original, complete, message.
/// is null. /// -or- /// is null. /// /// The last partial does not have a Total. /// -or- /// The number of partials provided does not match the expected count. /// -or- /// One or more partials is missing. ///
public static Join ( ParserOptions options, IEnumerable partials ) : MimeMessage
options ParserOptions The parser options to use.
partials IEnumerable The list of partial message parts.
리턴 MimeMessage

MessagePartial() 공개 메소드

Initializes a new instance of the MimeKit.MessagePartial class.
This constructor is used by MimeKit.MimeParser.
/// is null. ///
public MessagePartial ( MimeKit.MimeEntityConstructorArgs args ) : System
args MimeKit.MimeEntityConstructorArgs Information used by the constructor.
리턴 System

MessagePartial() 공개 메소드

Initializes a new instance of the MimeKit.MessagePartial class.

Creates a new message/partial entity.

Three (3) parameters must be specified in the Content-Type header of a message/partial: id, number, and total.

The "id" parameter is a unique identifier used to match the parts together.

The "number" parameter is the sequential (1-based) index of the partial message fragment.

The "total" parameter is the total number of pieces that make up the complete message.

/// is null. /// /// is less than 1. /// -or- /// is less than . ///
public MessagePartial ( string id, int number, int total ) : System
id string The id value shared among the partial message parts.
number int The (1-based) part number for this partial message part.
total int The total number of partial message parts.
리턴 System

Split() 공개 정적인 메소드

Splits the specified message into multiple messages.
Splits the specified message into multiple messages, each with a message/partial body no larger than the max size specified.
/// is null. /// /// is less than 1. ///
public static Split ( MimeMessage message, int maxSize ) : IEnumerable
message MimeMessage The message.
maxSize int The maximum size for each message body.
리턴 IEnumerable