# OfficeWorkflowDirectoryInput

A reopenable provider folder whose relative file layout is preserved during assembly.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeWorkflowDirectoryInput.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowDirectoryInput.cs#L7)

**Modifiers**

sealed

A reopenable provider folder whose relative file layout is preserved during assembly.

## Inheritance

- object
- OfficeWorkflowDirectoryInput

## Usage

Explore 3 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 2

- Property [OfficeWorkflowDirectoryPackageInput.Directory](/api/workflows/officeimo-workflows-officeworkflowdirectorypackageinput/#property-directory)
- Property [PdfAssemblyRequest.SourceDirectories](/api/workflows/officeimo-workflows-pdfassemblyrequest/#property-sourcedirectories)

### Accepted by parameters 1

- Constructor [OfficeWorkflowDirectoryPackageInput.OfficeWorkflowDirectoryPackageInput](/api/workflows/officeimo-workflows-officeworkflowdirectorypackageinput/#constructor-ctor-string-officeimo-workflows-officeworkflowdirectoryinput-officeimo-iofficepublicationguard-int32) parameter `directory`

Filter members 

Show inherited

## Constructors

`public OfficeWorkflowDirectoryInput(Func<OfficeWorkflowDirectoryReadOptions, CancellationToken, IAsyncEnumerable<OfficeWorkflowDirectoryEntry>> enumerate)` [#](#member-3bfddf904b8de397a3af3a91)

[OfficeWorkflowDirectoryInput.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowDirectoryInput.cs#L7)

Creates a folder reader. Enumeration must yield directories before their descendants and must not follow links.

Parameters

**enumerate System.Func<OfficeIMO.Workflows.OfficeWorkflowDirectoryReadOptions, System.Threading.CancellationToken, System.Collections.Generic.IAsyncEnumerable<OfficeIMO.Workflows.OfficeWorkflowDirectoryEntry>> required**

Enumerates a fresh view on every call, observing recursion, entry, depth, and cancellation limits. The provider owns item references; the runner closes every opened file stream.

## 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 Func<OfficeWorkflowDirectoryReadOptions, CancellationToken, IAsyncEnumerable<OfficeWorkflowDirectoryEntry>> Enumerate { get; }` [#](#property-enumerate)

[OfficeWorkflowDirectoryInput.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowDirectoryInput.cs#L11)

Gets the enumeration factory. The runner enumerates again before publication to reject changed membership.

<!-- PowerForge markdown artifact sha256:B06E674018CC61360121231E3E8279232276D48A6658F5A9D6FF52F5885185B5 -->
