C# Class IronPigeon.Providers.DirectEntryAddressBook

An address book whose identifiers are URLs to the online address book entries.
Inheritance: OnlineAddressBook
显示文件 Open project: AArnott/IronPigeon Class Usage Examples

Public Methods

Method Description
DirectEntryAddressBook ( ) : System

Initializes a new instance of the DirectEntryAddressBook class.

DirectEntryAddressBook ( HttpClient httpClient ) : System

Initializes a new instance of the DirectEntryAddressBook class.

LookupAsync ( string identifier, CancellationToken cancellationToken = default(CancellationToken) ) : Task

Retrieves a contact with some user supplied identifier.

Method Details

DirectEntryAddressBook() public method

Initializes a new instance of the DirectEntryAddressBook class.
public DirectEntryAddressBook ( ) : System
return System

DirectEntryAddressBook() public method

Initializes a new instance of the DirectEntryAddressBook class.
public DirectEntryAddressBook ( HttpClient httpClient ) : System
httpClient System.Net.Http.HttpClient The HTTP client.
return System

LookupAsync() public method

Retrieves a contact with some user supplied identifier.
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.
return Task