C# 클래스 IronPigeon.Providers.TwitterAddressBook

Discovers an address book entry by searching for the URL to it on the user's Twitter bio.
상속: OnlineAddressBook
파일 보기 프로젝트 열기: AArnott/IronPigeon 1 사용 예제들

공개 메소드들

메소드 설명
LookupAsync ( string identifier, CancellationToken cancellationToken = default(CancellationToken) ) : Task

Retrieves a contact with some user supplied identifier.

TwitterAddressBook ( ) : System

Initializes a new instance of the TwitterAddressBook class.

비공개 메소드들

메소드 설명
DiscoverAddressBookEntryUrlAsync ( string twitterUsername, CancellationToken cancellationToken ) : Task

Searches for the URL to an IronPigeon address book entry in the specified Twitter account.

메소드 상세

LookupAsync() 공개 메소드

Retrieves a contact with some user supplied identifier.
Thrown when a validation error occurs while reading the address book entry.
public LookupAsync ( string identifier, CancellationToken cancellationToken = default(CancellationToken) ) : Task
identifier string The user-supplied identifier for the contact.
cancellationToken System.Threading.CancellationToken A cancellation token.
리턴 Task

TwitterAddressBook() 공개 메소드

Initializes a new instance of the TwitterAddressBook class.
public TwitterAddressBook ( ) : System
리턴 System