Summary
Adds additional output files that you specify by supplying a delegate that takes a dictionary
of redirected paths to destination URLs.
Syntax
public Redirect WithAdditionalOutput(FilePath path, Func<IDictionary<FilePath, string>, string> content)
Parameters
Name |
Type |
Description |
path |
FilePath |
The path of the output file (must be relative). |
content |
Func<IDictionary<FilePath, string>, string> |
A delegate that takes a dictionary with keys equal to each redirected file
and values equal to the destination URL. The delegate should return the content of the output file. |
Return Value
Type |
Description |
Redirect |
The current module instance. |