API Reference

Class

ReaderTableExportMaterializer

Namespace OfficeIMO.Reader
Assembly OfficeIMO.Reader
Modifiers static

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} requiredposition: 0
Table export bundles.
writeExport System.Action{OfficeIMO.Reader.ReaderTableExportBundle,OfficeIMO.Reader.ReaderTableExportFormat,System.IO.Stream} requiredposition: 1
Callback that receives each export, format, and readable payload stream.
options OfficeIMO.Reader.ReaderTableExportMaterializationOptions = null optionalposition: 2
Materialization options.
cancellationToken System.Threading.CancellationToken = null optionalposition: 3
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} requiredposition: 0
Table export bundles.
directoryPath System.String requiredposition: 1
Destination directory.
options OfficeIMO.Reader.ReaderTableExportMaterializationOptions = null optionalposition: 2
Materialization options.
cancellationToken System.Threading.CancellationToken = null optionalposition: 3
Cancellation token.