Creates a new config module.
- Namespace
- Statiq
.Common - Containing Type
- Parallel
Multi Config Module
Syntax
protected ParallelMultiConfigModule(IEnumerable<KeyValuePair<string, IConfig>> configs, bool forceDocumentExecution)
Parameters
Name | Type | Description |
---|---|---|
configs | IEnumerable |
The delegates to use for getting a config value. |
forceDocumentExecution | bool |
true to force calling ExecuteConfigAsync(IDocument, IExecutionContext, IMetadata) for each
input document regardless of whether the config delegate requires a document or false
to allow calling ExecuteConfigAsync(IDocument, IExecutionContext, IMetadata) once
with a null input document if the config delegate does not require a document.
|