Recipe.

Scaffold(IFile, IDirectory) Method

Summary

Scaffolds an example for the recipe in the specified directory.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Configuration
Containing Type
Recipe

Syntax

public virtual void Scaffold(IFile configFile, IDirectory inputDirectory)

Parameters

Name Type Description
configFile IFile The configuration file or null if the user chose not to overwrite an existing configuration file. An existing configuration file will not be automatically deleted, nor will a new configuration file be automatically created. If new configuration file content needs to be written, it's up to the recipe to create it or delete the existing file.
inputDirectory IDirectory The directory to place the example in.

Return Value

Type Description
void
GitHub