NamedModule Wyam.Common

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

Package

This module exists in the Wyam.Common package which is not part of the core distribution. Add the following preprocessor directive to your configuration file to use it:
#n Wyam.Common

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