FileName.

FileName(DocumentConfig) Constructor

Summary

Sets the metadata key WriteFileName to an optimized version of the return value of the delegate. Also sets the metadata key WritePath to Path.Combine(RelativeFileDir, WriteFileName).
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Metadata
Containing Type
FileName

Syntax

public FileName(DocumentConfig fileName)

Parameters

Name Type Description
fileName DocumentConfig A delegate that should return a string with the filename to optimize.

Return Value

Type Description
void
GitHub