World is now on Opti ID! Learn more

Class EntryFilter

An implementation of IEntryFilter. Use EntryFilterSettings to exclude entries.

Inheritance
System.Object
EntryFilter
Implements
Namespace: EPiServer.Commerce.Marketing.Internal
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
Syntax
public class EntryFilter : Object, IEntryFilter

Constructors

EntryFilter(EntryFilterSettings, IContentLoader, ReferenceConverter)

Initializes a new instance of the EntryFilter class.

Declaration
public EntryFilter(EntryFilterSettings settings, IContentLoader contentLoader, ReferenceConverter referenceConverter)
Parameters
Type Name Description
EntryFilterSettings settings
EPiServer.IContentLoader contentLoader
ReferenceConverter referenceConverter

Methods

Filter(IEnumerable<String>)

Filters out entry codes which should be excluded by the promotion engine.

Declaration
public virtual IEnumerable<string> Filter(IEnumerable<string> entryCodes)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.String> entryCodes

The entry codes to be filtered.

Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

The collection of entry codes after filtering.

Implements