Summary
Inserts modules before the first module in the list of the specified type.
Syntax
public static IModuleList InsertBeforeFirst<TModule>(this IModuleList moduleList, string name, IModule module)
where TModule : class, IModule
Type Parameters
Name |
Description |
TModule |
The type of the module at which to insert the specified modules. |
Parameters
Name |
Type |
Description |
moduleList |
IModuleList |
The Wyam.Common.Modules.ModuleList . |
name |
string |
The name of the module to insert. |
module |
IModule |
The module to insert. |
Return Value