Modifies an existing template.
Syntax
public static TBootstrapper ModifyTemplate<TBootstrapper>(this TBootstrapper bootstrapper, string mediaType, Func<IModule, IModule> modifyModule)
where TBootstrapper : IBootstrapper
Type Parameters
| Name |
Description |
| TBootstrapper |
|
Parameters
| Name |
Type |
Description |
| bootstrapper |
TBootstrapper |
The current bootstrapper. |
| mediaType |
string |
The media type of the template to modify. |
| modifyModule |
Func<IModule, IModule> |
An action that modifies the template module and returns it or a new module to use. |
Return Value
| Type |
Description |
| TBootstrapper |
The bootstrapper. |