API Reference
Class
ReaderTableExportMaterializer
Helpers for writing or streaming table export sidecars.
Inheritance
- Object
- ReaderTableExportMaterializer
Methods
public static IReadOnlyList<ReaderTableMaterializedExport> StreamTableExports(IEnumerable<ReaderTableExportBundle> exports, Action<ReaderTableExportBundle, ReaderTableExportFormat, Stream> writeExport, ReaderTableExportMaterializationOptions options = null, CancellationToken cancellationToken = null) #Returns:
IReadOnlyList<ReaderTableMaterializedExport>Streams table export sidecars to a caller-owned callback without writing files.
Parameters
- exports System.Collections.Generic.IEnumerable{OfficeIMO.Reader.ReaderTableExportBundle}
- Table export bundles.
- writeExport System.Action{OfficeIMO.Reader.ReaderTableExportBundle,OfficeIMO.Reader.ReaderTableExportFormat,System.IO.Stream}
- Callback that receives each export, format, and readable payload stream.
- options OfficeIMO.Reader.ReaderTableExportMaterializationOptions = null
- Materialization options.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
public static IReadOnlyList<ReaderTableMaterializedExport> WriteTableExportsToDirectory(IEnumerable<ReaderTableExportBundle> exports, String directoryPath, ReaderTableExportMaterializationOptions options = null, CancellationToken cancellationToken = null) #Returns:
IReadOnlyList<ReaderTableMaterializedExport>Writes table export sidecars to directoryPath using each bundle's deterministic filename stem.
Parameters
- exports System.Collections.Generic.IEnumerable{OfficeIMO.Reader.ReaderTableExportBundle}
- Table export bundles.
- directoryPath System.String
- Destination directory.
- options OfficeIMO.Reader.ReaderTableExportMaterializationOptions = null
- Materialization options.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.