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