예제 #1
0
 /// <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());
 }
예제 #2
0
 /// <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();
 }
예제 #3
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='applicationIdString'>
 /// </param>
 /// <param name='bearer'>
 /// </param>
 public static void POST1(this IApplicationScreenings operations, string applicationIdString, string bearer = default(string))
 {
     operations.POST1Async(applicationIdString, bearer).GetAwaiter().GetResult();
 }
예제 #4
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// </param>
 /// <param name='customHeaders'>
 /// Headers that will be added to request.
 /// </param>
 public static HttpOperationResponse POSTWithHttpMessages(this IApplicationScreenings operations, IList <CompletedApplicationScreening> body = default(IList <CompletedApplicationScreening>), Dictionary <string, List <string> > customHeaders = null)
 {
     return(operations.POSTWithHttpMessagesAsync(body, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult());
 }
예제 #5
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task POSTAsync(this IApplicationScreenings operations, IList <CompletedApplicationScreening> body = default(IList <CompletedApplicationScreening>), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.POSTWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
예제 #6
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// </param>
 public static void POST(this IApplicationScreenings operations, IList <CompletedApplicationScreening> body = default(IList <CompletedApplicationScreening>))
 {
     operations.POSTAsync(body).GetAwaiter().GetResult();
 }