Interface IContentFilterRunner
Interface for an object that can run filters.
Namespace: Tableau.Migration.Engine.Hooks.Filters
Assembly: Tableau.Migration.dll
Syntax
public interface IContentFilterRunner
Methods
ExecuteAsync<TContent>(IEnumerable<ContentMigrationItem<TContent>>, CancellationToken)
Executes all filters for the content type in order.
Declaration
Task<IEnumerable<ContentMigrationItem<TContent>>> ExecuteAsync<TContent>(IEnumerable<ContentMigrationItem<TContent>> itemsToFilter, CancellationToken cancel) where TContent : IContentReference
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<ContentMigrationItem<TContent>> | itemsToFilter | The items to filter. |
CancellationToken | cancel | The cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<IEnumerable<ContentMigrationItem<TContent>>> | A lazy-evaluated collection of filterered items. |
Type Parameters
Name | Description |
---|---|
TContent | The content type. |