ModuleListExtensions.

InsertAfterFirst<TModule>(IModuleList, IModule[]) Method

Summary

Inserts modules after the first module in the list of the specified type.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Modules
Containing Type
ModuleListExtensions

Syntax

public static IModuleList InsertAfterFirst<TModule>(this IModuleList moduleList, params IModule[] modules) 
    where TModule : class, IModule

Type Parameters

Name Description
TModule The type of the module at which to insert the specified modules.

Parameters

Name Type Description
moduleList IModuleList The Wyam.Common.Modules.ModuleList.
modules IModule[] The modules to insert.

Return Value

Type Description
IModuleList The current instance.
GitHub