/// <summary>
 /// Get '' as byte array
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task ByteEmptyAsync(this IPaths operations, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.ByteEmptyWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Esempio n. 2
0
 /// <summary>
 /// Get '' as byte array
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='bytePath'>
 /// '' as byte array
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task ByteEmptyAsync(this IPaths operations, byte[] bytePath, CancellationToken cancellationToken = default(CancellationToken))
 {
     await operations.ByteEmptyWithHttpMessagesAsync(bytePath, null, cancellationToken).ConfigureAwait(false);
 }
Esempio n. 3
0
 /// <summary>
 /// Get '' as byte array
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task ByteEmptyAsync(this IPaths operations, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     await operations.ByteEmptyWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false);
 }