Constructor FileProcessingVariant
FileProcessingVariant(string, IFileProcessingPipelineProvider)
Initializes a new instance of the FileProcessingVariant class.
Declaration
public FileProcessingVariant(string variantId, IFileProcessingPipelineProvider pipeline)
Parameters
| Type | Name | Description |
|---|---|---|
| string | variantId | The variant ID. Must only contain ASCII letters, digits, hyphens and underscores. The value is normalized to lowercase. |
| IFileProcessingPipelineProvider | pipeline | The pipeline used to process this variant. Restricted to IFileProcessingPipelineProvider (a statically-shaped pipeline) so that the runner can enumerate nested variant ids ahead of execution. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException |
|