IRecipe Interface

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["Docs"]-.->Type click Implementing0 "/api/Wyam.Docs/Docs" Implementing1["Recipe"]-.->Type click Implementing1 "/api/Wyam.Common.Configuration/Recipe" Implementing2["Blog"]-.->Type click Implementing2 "/api/Wyam.Blog/Blog"

Syntax

public interface IRecipe

Methods

Name Value Summary
Apply(IEngine) void
Applies the recipe to the engine.
Scaffold(IFile, IDirectory) void
Scaffolds an example for the recipe in the specified directory.
GitHub