/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <object> GetAsync(this ISalutations operations, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <SalutationCollectionModel> GetAsync(this ISalutations operations, CancellationToken cancellationToken = default(CancellationToken)) { HttpOperationResponse <SalutationCollectionModel> result = await operations.GetWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false); return(result.Body); }