ModuleListExtensions.

Prepend<TModuleList>(TModuleList, string, IModule) Method

Summary

Prepends a named module.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Modules
Containing Type
ModuleListExtensions

Syntax

public static TModuleList Prepend<TModuleList>(this TModuleList moduleList, string name, IModule module) 
    where TModuleList : IModuleList

Type Parameters

Name Description
TModuleList The type of the module list.

Parameters

Name Type Description
moduleList TModuleList The Wyam.Common.Modules.ModuleList.
name string The name of the module to prepend.
module IModule The module to prepend.

Return Value

Type Description
TModuleList The current instance.
GitHub