NamedModule Wyam.Common.Modules

Wraps a module and gives it a name for use with Wyam.Common.Modules.ModuleList.

Package

This module exists in the Wyam.Common.Modules package which is not part of the core distribution. Add the following preprocessor directive to your configuration file to use it:
#n Wyam.Common.Modules
Alternativly, you can add all modules at once with the following preprocessor directive:
#n Wyam.All

Usage

  • NamedModule(string name, IModule module)

    Wraps a module and gives it the specified name.

    • name

      The name of the module.

    • module

      The wrapped module.

GitHub