Summary
Inserts modules before the module with the specified name.
Syntax
public static TModuleList InsertBefore<TModuleList>(this TModuleList moduleList, string beforeName, 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 . |
beforeName |
string |
The name of the module at which to insert the specified modules. |
name |
string |
The name of the module to insert. |
module |
IModule |
The module to insert. |
Return Value
Type |
Description |
TModuleList |
The current instance. |