/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='requests'> /// </param> /// <param name='customHeaders'> /// Headers that will be added to request. /// </param> public static HttpOperationResponse ReceiveApplicationScreeningsWithHttpMessages(this ISpiceClient operations, IList <IncompleteApplicationScreening> requests = default(IList <IncompleteApplicationScreening>), Dictionary <string, List <string> > customHeaders = null) { return(operations.ReceiveApplicationScreeningsWithHttpMessagesAsync(requests, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult()); }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='requests'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task ReceiveApplicationScreeningsAsync(this ISpiceClient operations, IList <IncompleteApplicationScreening> requests = default(IList <IncompleteApplicationScreening>), CancellationToken cancellationToken = default(CancellationToken)) { (await operations.ReceiveApplicationScreeningsWithHttpMessagesAsync(requests, null, cancellationToken).ConfigureAwait(false)).Dispose(); }