Summary
A recipe configures a
Wyam.Common.Execution.IEngine
in a predefined way using code.
Recipes should have an empty default constructor and shouldn't maintain
any state.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .Configuration - Implementing Types
graph BT
Type["IRecipe"]
class Type type-node
Implementing0["Blog"]-.->Type
click Implementing0 "/api/Wyam.Blog/Blog"
Implementing1["Recipe"]-.->Type
click Implementing1 "/api/Wyam.Common.Configuration/Recipe"
Implementing2["Docs"]-.->Type
click Implementing2 "/api/Wyam.Docs/Docs"
Syntax
public interface IRecipe
Methods
Name | Value | Summary |
---|---|---|
Apply |
void |
Applies the recipe to the engine.
|
Scaffold |
void |
Scaffolds an example for the recipe in the specified directory.
|