/// <summary>
 /// Get '2012-01-01T01:01:01Z' as date-time
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DateTimeValidAsync(this IPaths operations, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.DateTimeValidWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
예제 #2
0
 /// <summary>
 /// Get '2012-01-01T01:01:01Z' as date-time
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='dateTimePath'>
 /// '2012-01-01T01:01:01Z' as date-time
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DateTimeValidAsync(this IPaths operations, DateTime?dateTimePath, CancellationToken cancellationToken = default(CancellationToken))
 {
     await operations.DateTimeValidWithHttpMessagesAsync(dateTimePath, null, cancellationToken).ConfigureAwait(false);
 }
예제 #3
0
 /// <summary>
 /// Get '2012-01-01T01:01:01Z' as date-time
 /// </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 DateTimeValidAsync(this IPaths operations, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     await operations.DateTimeValidWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false);
 }