Class ContentFilterContextItem<TContent>
Context for IContentFilter<TContent> operations, determining whether a content item should be migrated and whether to cascade filtering to dependent content types.
Implements
IEquatable<ContentMigrationItem<TContent>>
IEquatable<ContentFilterContextItem<TContent>>
Inherited Members
Namespace: Tableau.Migration.Engine.Hooks.Filters
Assembly: Tableau.Migration.dll
Syntax
public record ContentFilterContextItem<TContent> : ContentMigrationItem<TContent>, IEquatable<ContentMigrationItem<TContent>>, IContentItemFilterResult, IEquatable<ContentFilterContextItem<TContent>> where TContent : IContentReference
Type Parameters
| Name | Description |
|---|---|
| TContent | The content type. |
Constructors
ContentFilterContextItem(TContent, IMigrationManifestEntryEditor)
Context for IContentFilter<TContent> operations, determining whether a content item should be migrated and whether to cascade filtering to dependent content types.
Declaration
public ContentFilterContextItem(TContent SourceItem, IMigrationManifestEntryEditor ManifestEntry)
Parameters
| Type | Name | Description |
|---|---|---|
| TContent | SourceItem | The content item's source data.The manifest entry that describes the content item's overall migration status. |
| IMigrationManifestEntryEditor | ManifestEntry | The content item's source data.The manifest entry that describes the content item's overall migration status. |
Properties
EqualityContract
Gets the record's equality contract type.
Declaration
protected override Type EqualityContract { get; }
Property Value
| Type | Description |
|---|---|
| Type |
Overrides
Tableau.Migration.Engine.ContentMigrationItem<TContent>.EqualityContract
Remarks
Overridden for ContentMigrationItem<TContent> equality rules.
Status
Gets or sets the current filtering status for the content item.
Declaration
public FilterStatus Status { get; set; }
Property Value
| Type | Description |
|---|---|
| FilterStatus |