C# Класс anmar.SharpMimeTools.SharpMimeMessage

rfc 2045 entity
Наследование: IEnumerable, IDisposable
Показать файл Открыть проект Примеры использования класса

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