/// <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(); }
/// <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); }
/// <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); }