# OfficeDocumentProcessorPipeline

Immutable processor pipeline that executes processors in registration order.

Class 

`OfficeIMO.Reader`

**Namespace**

`OfficeIMO.Reader`

**Assembly**

`OfficeIMO.Reader.Core`

**Source revision**

`7fbbd72e7c5a` with working tree changes

**Source**

[OfficeDocumentProcessorPipeline.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.Reader.Core/OfficeDocumentProcessorPipeline.cs#L30)

**Modifiers**

sealed

Immutable processor pipeline that executes processors in registration order.

## Inheritance

- object
- OfficeDocumentProcessorPipeline

## Usage

Explore 4 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 3

- Property [OfficeDocumentProcessorPipeline.Empty](/api/reader/officeimo-reader-officedocumentprocessorpipeline/#property-empty)
- Method [OfficeDocumentProcessorPipelineBuilder.Build](/api/reader/officeimo-reader-officedocumentprocessorpipelinebuilder/#method-build)
- Property [OfficeDocumentReader.ProcessorPipeline](/api/reader/officeimo-reader-officedocumentreader/#property-processorpipeline)

### Accepted by parameters 1

- Method [OfficeDocumentReaderBuilder.UseProcessorPipeline](/api/reader/officeimo-reader-officedocumentreaderbuilder/#method-useprocessorpipeline-officeimo-reader-officedocumentprocessorpipeline) parameter `pipeline`

Filter members 

Show inherited

## Methods

`public OfficeDocumentProcessingResult Process(OfficeDocumentReadResult document, OfficeDocumentProcessingOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-process-officeimo-reader-officedocumentreadresult-officeimo-reader-officedocumentprocessingoptions-threading-cancellationtoken)

[OfficeDocumentProcessorPipeline.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.Reader.Core/OfficeDocumentProcessorPipeline.cs#L30)

Processes a document synchronously in configured order.

Parameters

**document OfficeIMO.Reader.OfficeDocumentReadResult required**

**options OfficeIMO.Reader.OfficeDocumentProcessingOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`OfficeDocumentProcessingResult`

`public async Task<OfficeDocumentProcessingResult> ProcessAsync(OfficeDocumentReadResult document, OfficeDocumentProcessingOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-processasync-officeimo-reader-officedocumentreadresult-officeimo-reader-officedocumentprocessingoptions-threading-cancellationtoken)

Processes a document asynchronously in configured order.

Parameters

**document OfficeIMO.Reader.OfficeDocumentReadResult required**

**options OfficeIMO.Reader.OfficeDocumentProcessingOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<OfficeDocumentProcessingResult>`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public static OfficeDocumentProcessorPipeline Empty { get; }` [#](#property-empty)

[OfficeDocumentProcessorPipeline.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.Reader.Core/OfficeDocumentProcessorPipeline.cs#L17)

Empty reusable pipeline.

`public IReadOnlyList<IOfficeDocumentProcessor> Processors { get; }` [#](#property-processors)

[OfficeDocumentProcessorPipeline.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.Reader.Core/OfficeDocumentProcessorPipeline.cs#L20)

Configured processors in deterministic execution order.

`public int Count { get; }` [#](#property-count)

[OfficeDocumentProcessorPipeline.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.Reader.Core/OfficeDocumentProcessorPipeline.cs#L23)

Configured processor count.

<!-- PowerForge markdown artifact sha256:7554A8428115C829E7A0303BC60837FDBA46358BAB17F5463C7DE6DA5EF3AFF2 -->
