示例#1
0
 /// <summary>
 /// Put complex types that have readonly properties
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='complexBody'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task PutValidAsync(this IReadonlyproperty operations, ReadonlyObj complexBody, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     await operations.PutValidWithHttpMessagesAsync(complexBody, null, cancellationToken).ConfigureAwait(false);
 }
 /// <summary>
 /// Put complex types that have readonly properties
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='size'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task PutValidAsync(this IReadonlyproperty operations, int?size = default(int?), CancellationToken cancellationToken = default(CancellationToken))
 {
     await operations.PutValidWithHttpMessagesAsync(size, null, cancellationToken).ConfigureAwait(false);
 }