/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='applicationIdString'> /// </param> /// <param name='bearer'> /// </param> /// <param name='customHeaders'> /// Headers that will be added to request. /// </param> public static HttpOperationResponse POST1WithHttpMessages(this IApplicationScreenings operations, string applicationIdString, string bearer = default(string), Dictionary <string, List <string> > customHeaders = null) { return(operations.POST1WithHttpMessagesAsync(applicationIdString, bearer, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult()); }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='applicationIdString'> /// </param> /// <param name='bearer'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task POST1Async(this IApplicationScreenings operations, string applicationIdString, string bearer = default(string), CancellationToken cancellationToken = default(CancellationToken)) { (await operations.POST1WithHttpMessagesAsync(applicationIdString, bearer, null, cancellationToken).ConfigureAwait(false)).Dispose(); }