ParallelMultiConfigModule(IEnumerable<KeyValuePair<string, IConfig>>, bool) Constructor
Creates a new config module.
Namespace
Statiq.Common
Containing Type
ParallelMultiConfigModule

Syntax

protected ParallelMultiConfigModule(IEnumerable<KeyValuePair<string, IConfig>> configs, bool forceDocumentExecution)

Parameters

Name Type Description
configs IEnumerable<KeyValuePair<string, IConfig>> 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.