WriteFiles.

UseWriteMetadata(bool) Method

Summary

By default the metadata values for WritePath, WriteFileName, and WriteExtension are checked and used first, even if a delegate is specified in the constructor. This method can be used to turn off the default behavior and always rely on the delegate for obtaining the write location.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.IO
Containing Type
WriteFiles

Syntax

public WriteFiles UseWriteMetadata(bool useWriteMetadata = true)

Parameters

Name Type Description
useWriteMetadata bool If set to false, metadata of the input document will not be used.

Return Value

Type Description
WriteFiles The current module instance.
GitHub