C# 클래스 OpenStack.Services.Identity.BaseIdentityServiceExtensions

This class defines extension methods for simplifying the use of the IBaseIdentityService service in the "common" usage scenarios.
파일 보기 프로젝트 열기: crowdy/OpenStack-ConoHa

공개 메소드들

메소드 설명
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>