public async Task <IDataExportContext> StartExportAsync(ExportOptions options, IReadOnlyList <ColumnHeader> columns, IDataExportConverter dataExportConverter, CancellationToken cancellationToken) { var exportContext = new JsonDataExportContext(options, columns, dataExportConverter); await exportContext.InitializeAsync(cancellationToken); return(exportContext); }
public async Task<IDataExportContext> StartExportAsync(ExportOptions options, IReadOnlyList<ColumnHeader> columns, IDataExportConverter dataExportConverter, CancellationToken cancellationToken) { var exportContext = new JsonDataExportContext(options, columns, dataExportConverter); await exportContext.InitializeAsync(cancellationToken); return exportContext; }