ModuleListExtensions.

InsertAfter<TModuleList>(TModuleList, string, IModule[]) Method

Summary

Inserts modules after the module with the specified name.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Modules
Containing Type
ModuleListExtensions

Syntax

public static TModuleList InsertAfter<TModuleList>(this TModuleList moduleList, string afterName, params IModule[] modules) 
    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.
afterName string The name of the module at which to insert the specified modules.
modules IModule[] The modules to insert.

Return Value

Type Description
TModuleList The current instance.
GitHub