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