예제 #1
0
 /// <summary>
 /// Exports data to a file.
 /// </summary>
 /// <param name="context">Export execution context.</param>
 /// <param name="cancellationToken">A cancellation token to cancel the export.</param>
 protected abstract Task ExportAsync(ExportExecuteContext context, CancellationToken cancellationToken);
예제 #2
0
 /// <inheritdoc/>
 public virtual Task OnExecutedAsync(ExportExecuteContext context, CancellationToken cancellationToken)
 {
     return(Task.CompletedTask);
 }
예제 #3
0
 /// <inheritdoc/>
 public Task ExecuteAsync(ExportExecuteContext context, CancellationToken cancellationToken)
 {
     return(ExportAsync(context, cancellationToken));
 }