NamedModule Class

Summary

Wraps a module and gives it a name for use with Wyam.Common.Modules.ModuleList.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Modules
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IModule"] click Interface0 "/api/Wyam.Common.Modules/IModule" Type["NamedModule"] class Type type-node

Syntax

public class NamedModule : IModule

Constructors

Name Summary
NamedModule(string, IModule) Wraps a module and gives it the specified name.

Properties

Name Value Summary
Module IModule
The wrapped module.
Name string
The name of the module.

Methods

Name Value Summary
Execute(IReadOnlyList<IDocument>, IExecutionContext) IEnumerable<IDocument>
Passes execution to the wrapped module.
GitHub