Inserts modules before the first module in the list of the specified type.
- Namespace
- Statiq
.Common - Containing Type
- ModuleList
Syntax
public ModuleList InsertBeforeFirst<TModule>(params IModule[] modules)
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 |
---|---|---|
modules | IModule[] | The modules to insert. |
Return Value
Type | Description |
---|---|
ModuleList | The current instance. |