Adds modules as a child of this module.
- Namespace
- Statiq
.Common - Containing Type
- SyncParentModule
Syntax
public void Add(params IModule[] modules)
Remarks
This method is primarily to support collection initializer syntax for
container modules. Child modules of this module can be more directly
manipulated with the
Children
property.
Parameters
Name | Type | Description |
---|---|---|
modules | IModule[] | The modules to add. |