RemoveTemplate<TBootstrapper>(TBootstrapper, string) Method
Removes the template for a given media type.
Namespace
Statiq.Web
Containing Type
BootstrapperTemplateExtensions

Syntax

public static TBootstrapper RemoveTemplate<TBootstrapper>(this TBootstrapper bootstrapper, string mediaType) 
    where TBootstrapper : IBootstrapper

Type Parameters

Name Description
TBootstrapper

Parameters

Name Type Description
bootstrapper TBootstrapper The current bootstrapper.
mediaType string The media type to remove the template for (if one exists).

Return Value

Type Description
TBootstrapper The bootstrapper.