C# 클래스 RemObjects.InternetPack.Messages.Mime.Header.MessageHeader

Class that holds all headers for a message
Headers which are unknown the the parser will be held in the UnknownHeaders collection.

This class cannot be instantiated from outside the library.
See RFC 4021 for a large list of headers.
파일 보기 프로젝트 열기: remobjects/internetpack 1 사용 예제들

공개 메소드들

메소드 설명
MessageHeader ( ) : System
MessageHeader ( NameValueCollection headers ) : System

Parses a NameValueCollection to a MessageHeader

ParseHeader ( String headerName, String headerValue ) : void

Parses a single header and sets member variables according to it.

Store ( StringBuilder sb ) : void
ToString ( ) : String
this ( String name ) : String

비공개 메소드들

메소드 설명
HeaderValueChanged ( String headerName, String headerValue ) : void
ParseAddresses ( String input ) : MessageAddresses
ParseHeaders ( NameValueCollection headers ) : void

Parses a NameValueCollection to a MessageHeader

메소드 상세

MessageHeader() 공개 메소드

public MessageHeader ( ) : System
리턴 System

MessageHeader() 공개 메소드

Parses a NameValueCollection to a MessageHeader
If is
public MessageHeader ( NameValueCollection headers ) : System
headers System.Collections.Specialized.NameValueCollection The collection that should be traversed and parsed
리턴 System

ParseHeader() 공개 메소드

Parses a single header and sets member variables according to it.
If or is
public ParseHeader ( String headerName, String headerValue ) : void
headerName String The name of the header
headerValue String The value of the header in unfolded state (only one line)
리턴 void

Store() 공개 메소드

public Store ( StringBuilder sb ) : void
sb StringBuilder
리턴 void

ToString() 공개 메소드

public ToString ( ) : String
리턴 String

this() 공개 메소드

public this ( String name ) : String
name String
리턴 String