C# 클래스 LumiSoft.Net.Mime.AddressList

Rfc 2822 3.4 address-list. Rfc defines two types of addresses mailbox and group.

address-list syntax: address *("," address).

address syntax: mailbox / group.

mailbox syntax: ['"'dispaly-name'"' ]<localpart@domain>.

group syntax: '"'dispaly-name'":' [mailbox *(',' mailbox)]';'.

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

Private Properties

프로퍼티 타입 설명
OnCollectionChanged void

공개 메소드들

메소드 설명
Add ( Address address ) : void

Adds a new address to the end of the collection.

AddressList ( ) : System

Default constructor.

Clear ( ) : void

Clears the collection of all addresses.

GetEnumerator ( ) : IEnumerator

Gets enumerator.

Insert ( int index, Address address ) : void

Inserts a new address into the collection at the specified location.

Parse ( string addressList ) : void

Parses address-list from string.

Remove ( Address address ) : void

Removes specified address from the collection.

Remove ( int index ) : void

Removes address at the specified index from the collection.

ToAddressListString ( ) : string

Convert addresses to Rfc 2822 address-list string.

this ( int index ) : Address

Gets address from specified index.

비공개 메소드들

메소드 설명
OnCollectionChanged ( ) : void

This called when collection has changed. Item is added,deleted,changed or collection cleared.

메소드 상세

Add() 공개 메소드

Adds a new address to the end of the collection.
public Add ( Address address ) : void
address Address Address to add.
리턴 void

AddressList() 공개 메소드

Default constructor.
public AddressList ( ) : System
리턴 System

Clear() 공개 메소드

Clears the collection of all addresses.
public Clear ( ) : void
리턴 void

GetEnumerator() 공개 메소드

Gets enumerator.
public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

Insert() 공개 메소드

Inserts a new address into the collection at the specified location.
public Insert ( int index, Address address ) : void
index int The location in the collection where you want to add the address.
address Address Address to add.
리턴 void

Parse() 공개 메소드

Parses address-list from string.
public Parse ( string addressList ) : void
addressList string Address list string.
리턴 void

Remove() 공개 메소드

Removes specified address from the collection.
public Remove ( Address address ) : void
address Address Address to remove.
리턴 void

Remove() 공개 메소드

Removes address at the specified index from the collection.
public Remove ( int index ) : void
index int Index of the address which to remove.
리턴 void

ToAddressListString() 공개 메소드

Convert addresses to Rfc 2822 address-list string.
public ToAddressListString ( ) : string
리턴 string

this() 공개 메소드

Gets address from specified index.
public this ( int index ) : Address
index int
리턴 Address