C# Класс BridgeStack.StackClientFactory

Creates concrete instances of the StackClient.
Показать файл Открыть проект

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

Метод Описание
Create ( string appKey, string accessToken ) : IAuthorizedStackClient

Instantiates an AuthorizedStackClient using an access token.

Create ( string appKey ) : IStackClient

Instantiates an StackClient.

StackClientFactory ( )

Creates concrete instances of the StackClient.

Приватные методы

Метод Описание
InstancePlugins ( ) : StackClientPlugins

Creates a default instance of the plugin container for a StackClient.

Описание методов

Create() публичный Метод

Instantiates an AuthorizedStackClient using an access token.
public Create ( string appKey, string accessToken ) : IAuthorizedStackClient
appKey string The application's key. Grants a higher request quota.
accessToken string The user's access token. Grants authentication and access to methods which require that the application be acting on behalf of a user in order to be invoked.
Результат IAuthorizedStackClient

Create() публичный Метод

Instantiates an StackClient.
public Create ( string appKey ) : IStackClient
appKey string The application's key. Grants a higher request quota.
Результат IStackClient

StackClientFactory() публичный Метод

Creates concrete instances of the StackClient.
public StackClientFactory ( )