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

Syntax

protected SyncMultiConfigModule(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.