C# Class OpenStack.Services.Identity.BaseIdentityServiceExtensions

This class defines extension methods for simplifying the use of the IBaseIdentityService service in the "common" usage scenarios.
Afficher le fichier Open project: crowdy/OpenStack-ConoHa

Méthodes publiques

Méthode Description
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.

Method Details

GetApiVersionAsync() public static méthode

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.
Résultat Task

ListApiVersionsAsync() public static méthode

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.
Résultat Task>