예제 #1
0
        /// <param name='operations'>
        /// Reference to the ZtherApiIntegration.API.IStates.
        /// </param>
        /// <param name='cancellationToken'>
        /// Cancellation token.
        /// </param>
        public static async Task <StateList> GetAllAsync(this IStates operations, CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Microsoft.Rest.HttpOperationResponse <ZtherApiIntegration.API.Models.StateList> result = await operations.GetAllWithOperationResponseAsync(cancellationToken).ConfigureAwait(false);

            return(result.Body);
        }