/// <summary>
 /// Get null as byte array (no query parameters in uri)
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='byteQuery'>
 /// null as byte array (no query parameters in uri)
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task ByteNullAsync(this IQueries operations, byte[] byteQuery = default(byte[]), CancellationToken cancellationToken = default(CancellationToken))
 {
     await operations.ByteNullWithHttpMessagesAsync(byteQuery, null, cancellationToken).ConfigureAwait(false);
 }
Beispiel #2
0
 /// <summary>
 /// Get null as byte array (should throw)
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='bytePath'>
 /// null as byte array (should throw)
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task ByteNullAsync(this IPaths operations, byte[] bytePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     await operations.ByteNullWithHttpMessagesAsync(bytePath, null, cancellationToken).ConfigureAwait(false);
 }