# OfficeWorkflowDirectoryPackageInput

A provider directory treated as one document by a registered package converter.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`5e5a2dda74b3` with working tree changes

**Source**

[OfficeWorkflowDirectoryPackageInput.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Workflows/OfficeWorkflowDirectoryPackageInput.cs#L10)

**Modifiers**

sealed

A provider directory treated as one document by a registered package converter.

## Inheritance

- object
- OfficeWorkflowDirectoryPackageInput

## Usage

Explore 1 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 1

- Property [OfficeWorkflowRequest.InputDirectoryPackage](/api/workflows/officeimo-workflows-officeworkflowrequest/#property-inputdirectorypackage)

Filter members 

Show inherited

## Constructors

`public OfficeWorkflowDirectoryPackageInput(string name, OfficeWorkflowDirectoryInput directory, IOfficePublicationGuard sourcePublicationGuard, int maximumEntries = 10000)` [#](#constructor-ctor-string-officeimo-workflows-officeworkflowdirectoryinput-officeimo-iofficepublicationguard-int32)

[OfficeWorkflowDirectoryPackageInput.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Workflows/OfficeWorkflowDirectoryPackageInput.cs#L10)

Creates bounded package access without reading the provider during request validation.

Parameters

**name string required**

Selected document name, including the format extension.

**directory OfficeIMO.Workflows.OfficeWorkflowDirectoryInput required**

Reopenable member enumeration and permission-scoped file access.

**sourcePublicationGuard OfficeIMO.IOfficePublicationGuard required**

Verifies the selected root identity and rejects destinations inside, containing, or aliasing the source package. It must acquire any permissions needed for these checks.

**maximumEntries int = 10000 optional**

Maximum files and directories admitted before the format owner applies its own limits.

## 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 string Name { get; }` [#](#property-name)

[OfficeWorkflowDirectoryPackageInput.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Workflows/OfficeWorkflowDirectoryPackageInput.cs#L22)

Selected filename used for routing and source diagnostics.

`public OfficeWorkflowDirectoryInput Directory { get; }` [#](#property-directory)

[OfficeWorkflowDirectoryPackageInput.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Workflows/OfficeWorkflowDirectoryPackageInput.cs#L24)

Provider enumeration, re-read before publication to verify membership and content.

`public IOfficePublicationGuard SourcePublicationGuard { get; }` [#](#property-sourcepublicationguard)

[OfficeWorkflowDirectoryPackageInput.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Workflows/OfficeWorkflowDirectoryPackageInput.cs#L26)

Permission-aware root identity and output-separation verification.

`public int MaximumEntries { get; }` [#](#property-maximumentries)

[OfficeWorkflowDirectoryPackageInput.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Workflows/OfficeWorkflowDirectoryPackageInput.cs#L28)

Maximum number of provider members, including directories.

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