FileName.

FileName(DocumentConfig, string) Constructor

Summary

Sets the specified metadata key to an optimized version of the return value of the delegate. Does not automatically set the WritePath metadata key.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Metadata
Containing Type
FileName

Syntax

public FileName(DocumentConfig fileName, string outputKey)

Parameters

Name Type Description
fileName DocumentConfig A delegate that should return a string with the filename to optimize.
outputKey string The metadata key to use for the optimized filename.

Return Value

Type Description
void
GitHub