Class ContentFilterContext<TContent>
Context for IContentFilter<TContent> operations, determining which items should be migrated and whether to cascade filtering to dependent content types.
Inheritance
object
ContentFilterContext<TContent>
Namespace: Tableau.Migration.Engine.Hooks.Filters
Assembly: Tableau.Migration.dll
Syntax
public class ContentFilterContext<TContent> where TContent : IContentReference
Type Parameters
| Name | Description |
|---|---|
| TContent | The content type. |
Constructors
ContentFilterContext(params IEnumerable<ContentMigrationItem<TContent>>)
Creates a new ContentFilterContext<TContent> object.
Declaration
public ContentFilterContext(params IEnumerable<ContentMigrationItem<TContent>> items)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<ContentMigrationItem<TContent>> | items | The items to consider for filtering. |
Properties
Items
Gets the items to potentially filter.
Declaration
public IImmutableList<ContentFilterContextItem<TContent>> Items { get; }
Property Value
| Type | Description |
|---|---|
| IImmutableList<ContentFilterContextItem<TContent>> |