Class FilterReplacementLanguage
Filter pages so that pages that have a replacement language is filtered away.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Filters
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7Syntax
public class FilterReplacementLanguage : PageFilterBase, IPageFilter, IContentFilter
Constructors
FilterReplacementLanguage()
Initializes a new instance of the FilterReplacementLanguage class.
Declaration
public FilterReplacementLanguage()
FilterReplacementLanguage(IContentLanguageSettingsHandler)
Initializes a new instance of the FilterReplacementLanguage class.
Declaration
public FilterReplacementLanguage(IContentLanguageSettingsHandler pageLanguageSettingsHandler)
Parameters
Type | Name | Description |
---|---|---|
IContentLanguageSettingsHandler | pageLanguageSettingsHandler | The page language settings handler. |
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
ShouldFilter(PageData)
If the page should be filtered.
Declaration
public override bool ShouldFilter(PageData page)
Parameters
Type | Name | Description |
---|---|---|
PageData | page | The page that you want to check. |
Returns
Type | Description |
---|---|
System.Boolean | True if the filter will remove the page; otherwise false. |