ModuleListExtensions.

Modify<TModuleList>(TModuleList, string, Action<IModule>) Method

Summary

Modifies an inner module with the specified name.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Modules
Containing Type
ModuleListExtensions

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.
GitHub