C# Класс OpenStack.Services.Identity.BaseIdentityServiceExtensions

This class defines extension methods for simplifying the use of the IBaseIdentityService service in the "common" usage scenarios.
Показать файл Открыть проект

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

Метод Описание
GetApiVersionAsync ( this service, ApiVersionId apiVersionId, CancellationToken cancellationToken ) : Task

Prepare and send an HTTP API call to obtain information about a particular version of the API available at the current endpoint for the service.

ListApiVersionsAsync ( this service, CancellationToken cancellationToken ) : Task>

Prepare and send an HTTP API call to obtain a list of API versions available at the current endpoint for a service.

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

GetApiVersionAsync() публичный статический Метод

Prepare and send an HTTP API call to obtain information about a particular version of the API available at the current endpoint for the service.
/// If is . /// -or- /// If is . /// /// If an error occurred during an HTTP request while preparing or sending the HTTP API call. ///
public static GetApiVersionAsync ( this service, ApiVersionId apiVersionId, CancellationToken cancellationToken ) : Task
service this The instance.
apiVersionId ApiVersionId The unique ID of the API version.
cancellationToken System.Threading.CancellationToken The that the task will observe.
Результат Task

ListApiVersionsAsync() публичный статический Метод

Prepare and send an HTTP API call to obtain a list of API versions available at the current endpoint for a service.
/// if is . /// /// If an error occurred during an HTTP request while preparing or sending the HTTP API call. ///
public static ListApiVersionsAsync ( this service, CancellationToken cancellationToken ) : Task>
service this The instance.
cancellationToken System.Threading.CancellationToken The that the task will observe.
Результат Task>