/// <summary>
 /// Test explicitly optional integer. Please put a valid int-wrapper with
 /// 'value' = null.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='value'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task PostOptionalIntegerPropertyAsync(this IExplicitModel operations, int?value = default(int?), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.PostOptionalIntegerPropertyWithHttpMessagesAsync(value, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <summary>
 /// Test explicitly optional integer. Please put a valid int-wrapper with
 /// 'value' = null.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='bodyParameter'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task PostOptionalIntegerPropertyAsync(this IExplicitModel operations, IntOptionalWrapper bodyParameter = default(IntOptionalWrapper), CancellationToken cancellationToken = default(CancellationToken))
 {
     await operations.PostOptionalIntegerPropertyWithHttpMessagesAsync(bodyParameter, null, cancellationToken).ConfigureAwait(false);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Test explicitly optional integer. Please put a valid int-wrapper with
 /// 'value' = null.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='value'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task PostOptionalIntegerPropertyAsync(this IExplicitModel operations, int?value = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     await operations.PostOptionalIntegerPropertyWithHttpMessagesAsync(value, null, cancellationToken).ConfigureAwait(false);
 }