C# 클래스 MimeKit.ParserOptions

Parser options as used by MimeParser as well as various Parse and TryParse methods in MimeKit.
파일 보기 프로젝트 열기: nachocove/MimeKit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Default ParserOptions

공개 메소드들

메소드 설명
Clone ( ) : ParserOptions

Clones an instance of MimeKit.ParserOptions.

Clones a set of options, allowing you to change a specific option without requiring you to change the original.

ParserOptions ( ) : System

Initializes a new instance of the MimeKit.ParserOptions class.

By default, new instances of ParserOptions enable rfc2047 work-arounds (which are needed for maximum interoperability with mail software used in the wild) and do not respect the Content-Length header value.

RegisterMimeType ( string mimeType, Type type ) : void

Registers the MimeEntity subclass for the specified mime-type.

Your custom MimeEntity class should not subclass MimeEntity directly, but rather it should subclass Multipart, MimePart, MessagePart, or one of their derivatives.

비공개 메소드들

메소드 설명
CreateEntity ( MimeKit.ContentType contentType, IList
headers, bool toplevel ) : MimeKit.MimeEntity
GetConstructor ( TypeInfo type, Type argTypes ) : ConstructorInfo
IsEncoded ( IList
headers ) : bool

메소드 상세

Clone() 공개 메소드

Clones an instance of MimeKit.ParserOptions.
Clones a set of options, allowing you to change a specific option without requiring you to change the original.
public Clone ( ) : ParserOptions
리턴 ParserOptions

ParserOptions() 공개 메소드

Initializes a new instance of the MimeKit.ParserOptions class.
By default, new instances of ParserOptions enable rfc2047 work-arounds (which are needed for maximum interoperability with mail software used in the wild) and do not respect the Content-Length header value.
public ParserOptions ( ) : System
리턴 System

RegisterMimeType() 공개 메소드

Registers the MimeEntity subclass for the specified mime-type.
Your custom MimeEntity class should not subclass MimeEntity directly, but rather it should subclass Multipart, MimePart, MessagePart, or one of their derivatives.
/// is null. /// -or- /// is null. /// /// is not a subclass of , /// , or . /// -or- /// does not have a constructor that takes /// only a argument. ///
public RegisterMimeType ( string mimeType, Type type ) : void
mimeType string The MIME type.
type System.Type A custom subclass of .
리턴 void

프로퍼티 상세

Default 공개적으로 정적으로 프로퍼티

The default parser options.
If a ParserOptions is not supplied to MimeParser or other Parse and TryParse methods throughout MimeKit, ParserOptions.Default will be used.
public static ParserOptions,MimeKit Default
리턴 ParserOptions