Constructor FileProcessingPipelineSelector
FileProcessingPipelineSelector(params IEnumerable<IFileProcessingPipelineProvider>)
Initializes a new instance of the FileProcessingPipelineSelector class with the specified pipelines.
Declaration
public FileProcessingPipelineSelector(params IEnumerable<IFileProcessingPipelineProvider> pipelines)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IFileProcessingPipelineProvider> | pipelines | The pipelines to register. Extensions declared across pipelines must not overlap and at most one catch-all is permitted. |
Remarks
Each pipeline is registered for every extension declared by its first processor's AllowedFileExtensions. A single catch-all pipeline (one whose first processor declares no extensions, or one with no processors at all) may be included to handle any extension that does not match another entry.
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Multiple pipelines declare the same extension, or more than one catch-all is provided. |