Modifies an inner module list with the specified index.
- Namespace
- Statiq
.Common - Containing Type
- ModuleList
Syntax
public ModuleList Modify(int index, Action<IModule> action)
Parameters
| Name | Type | Description |
|---|---|---|
| index | int | The index of the inner module to modify. |
| action | Action |
The action to apply to the inner module. |
Return Value
| Type | Description |
|---|---|
| ModuleList | The current instance. |