Class EntryFilter
An implementation of IEntryFilter. Use EntryFilterSettings to exclude entries.
Inheritance
System.Object
EntryFilter
Implements
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.Commerce.Marketing.Internal
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0Syntax
public class EntryFilter : 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. |