コード例 #1
0
 /// <summary>
 /// Get 'lorem' encoded value as 'bG9yZW0' (base64url)
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='base64UrlPath'>
 /// base64url encoded value
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task Base64UrlAsync(this IPaths operations, byte[] base64UrlPath, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.Base64UrlWithHttpMessagesAsync(base64UrlPath, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
コード例 #2
0
 /// <summary>
 /// Get 'lorem' encoded value as 'bG9yZW0' (base64url)
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='base64UrlPath'>
 /// base64url encoded value
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task Base64UrlAsync(this IPaths operations, byte[] base64UrlPath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     await operations.Base64UrlWithHttpMessagesAsync(base64UrlPath, null, cancellationToken).ConfigureAwait(false);
 }