Esempio n. 1
0
 /// <summary>
 /// Get null as date-time, should be disallowed or throw depending on
 /// representation of date-time
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='dateTimePath'>
 /// null as date-time
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DateTimeNullAsync(this IPaths operations, DateTime?dateTimePath, CancellationToken cancellationToken = default(CancellationToken))
 {
     await operations.DateTimeNullWithHttpMessagesAsync(dateTimePath, null, cancellationToken).ConfigureAwait(false);
 }
Esempio n. 2
0
 /// <summary>
 /// Get null as date-time, should be disallowed or throw depending on
 /// representation of date-time
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='dateTimePath'>
 /// null as date-time
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task DateTimeNullAsync(this IPaths operations, System.DateTime dateTimePath, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     await operations.DateTimeNullWithHttpMessagesAsync(dateTimePath, null, cancellationToken).ConfigureAwait(false);
 }