November Happy Hour will be moved to Thursday December 5th.

Class FilterTemplate

Filter pages that does not have a page template defined.

Inheritance
System.Object
FilterTemplate
Implements
Namespace: EPiServer.Filters
Assembly: EPiServer.Cms.AspNetCore.Templating.dll
Version: 12.0.3
Syntax
public class FilterTemplate : ContentFilterBase, IContentFilter

Constructors

FilterTemplate()

Declaration
public FilterTemplate()

Properties

Tag

Tag used for selecting template

Declaration
public string Tag { get; set; }
Property Value
Type Description
System.String

TemplateResolver

Gets or sets the template resolver.

Declaration
public Injected<ITemplateResolver> TemplateResolver { get; set; }
Property Value
Type Description
Injected<ITemplateResolver>

TemplateTypeCategories

Gets or sets the template type categories.

Declaration
public TemplateTypeCategories TemplateTypeCategories { get; set; }
Property Value
Type Description
TemplateTypeCategories

The template type categories.

Methods

ShouldFilter(IContent)

If the content should be filtered.

Declaration
public override bool ShouldFilter(IContent content)
Parameters
Type Name Description
IContent content
Returns
Type Description
System.Boolean

True if the filter will remove the page; otherwise false.

Overrides

Implements

Extension Methods