Exemplo n.º 1
0
 /// <summary>
 /// List scans in data source
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='dataSourceName'>
 /// </param>
 /// <param name='skipToken'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ScanList> ListByDataSourceAsync(this IScans operations, string dataSourceName, string skipToken = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListByDataSourceWithHttpMessagesAsync(dataSourceName, skipToken, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }