Summary
Modifies an inner module with the specified name.
Syntax
public static TModuleList Modify<TModuleList>(this TModuleList moduleList, string modifyName, Action<IModule> action)
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 . |
modifyName |
string |
The name of the inner module to modify. |
action |
Action<IModule> |
The action to apply to the inner module. |
Return Value
Type |
Description |
TModuleList |
The current instance. |