C# 클래스 anmar.SharpMimeTools.SharpMimeMessage

rfc 2045 entity
상속: IEnumerable, IDisposable
파일 보기 프로젝트 열기: jeske/StepsDB-alpha 1 사용 예제들

Private Properties

프로퍼티 타입 설명
SharpMimeMessage System
SharpMimeMessage System
parse bool

공개 메소드들

메소드 설명
Close ( ) : void

Clears the parts references contained in this instance and calls the Close method in those parts.

This method does not close the underling System.IO.Stream used to create this instance.

DumpBody ( System path ) : System.IO.FileInfo

Dumps the body of this entity into a file

DumpBody ( System path, System name ) : System.IO.FileInfo

Dumps the body of this entity into a file

DumpBody ( System path, bool generatename ) : System.IO.FileInfo

Dumps the body of this entity into a file

DumpBody ( System stream ) : bool

Dumps the body of this entity into a System.IO.Stream

GetEnumerator ( ) : System.Collections.IEnumerator

Returns an enumerator that can iterate through the parts of a multipart entity

GetPart ( int index ) : anmar.SharpMimeTools.SharpMimeMessage

Returns the requested part of a multipart entity

SharpMimeMessage ( System message ) : System

Initializes a new instance of the SharpMimeMessage class from a System.IO.Stream

this ( System name ) : System.String

Gets header fields for this entity

Field names is case insentitive

비공개 메소드들

메소드 설명
SharpMimeMessage ( anmar message, long startpoint ) : System
SharpMimeMessage ( anmar message, long startpoint, long endpoint ) : System
parse ( ) : bool

메소드 상세

Close() 공개 메소드

Clears the parts references contained in this instance and calls the Close method in those parts.
This method does not close the underling System.IO.Stream used to create this instance.
public Close ( ) : void
리턴 void

DumpBody() 공개 메소드

Dumps the body of this entity into a file
public DumpBody ( System path ) : System.IO.FileInfo
path System path of the destination folder
리턴 System.IO.FileInfo

DumpBody() 공개 메소드

Dumps the body of this entity into a file
public DumpBody ( System path, System name ) : System.IO.FileInfo
path System path of the destination folder
name System name of the file
리턴 System.IO.FileInfo

DumpBody() 공개 메소드

Dumps the body of this entity into a file
public DumpBody ( System path, bool generatename ) : System.IO.FileInfo
path System path of the destination folder
generatename bool true if the filename must be generated incase we can't find a valid one in the headers
리턴 System.IO.FileInfo

DumpBody() 공개 메소드

Dumps the body of this entity into a System.IO.Stream
public DumpBody ( System stream ) : bool
stream System where we want to write the body
리턴 bool

GetEnumerator() 공개 메소드

Returns an enumerator that can iterate through the parts of a multipart entity
public GetEnumerator ( ) : System.Collections.IEnumerator
리턴 System.Collections.IEnumerator

GetPart() 공개 메소드

Returns the requested part of a multipart entity
public GetPart ( int index ) : anmar.SharpMimeTools.SharpMimeMessage
index int index of the requested part
리턴 anmar.SharpMimeTools.SharpMimeMessage

SharpMimeMessage() 공개 메소드

Initializes a new instance of the SharpMimeMessage class from a System.IO.Stream
public SharpMimeMessage ( System message ) : System
message System to read the message from
리턴 System

this() 공개 메소드

Gets header fields for this entity
Field names is case insentitive
public this ( System name ) : System.String
name System field name
리턴 System.String