C# Класс IronPigeon.Providers.TwitterAddressBook

Discovers an address book entry by searching for the URL to it on the user's Twitter bio.
Наследование: OnlineAddressBook
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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