/// <summary>
 /// Get '2012-01-01' as date
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DateValidAsync(this IPaths operations, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.DateValidWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Esempio n. 2
0
 /// <summary>
 /// Get '2012-01-01' as date
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='datePath'>
 /// '2012-01-01' as date
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DateValidAsync(this IPaths operations, DateTime?datePath, CancellationToken cancellationToken = default(CancellationToken))
 {
     await operations.DateValidWithHttpMessagesAsync(datePath, null, cancellationToken).ConfigureAwait(false);
 }
Esempio n. 3
0
 /// <summary>
 /// Get '2012-01-01' as date
 /// </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 DateValidAsync(this IPaths operations, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     await operations.DateValidWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false);
 }