Class SkipAllFilter<TContent>
IContentFilter<TContent> implementation that skips all items.
Inheritance
object
RootContentFilterBase<TContent>
ContentFilterBase<TContent>
SkipAllFilter<TContent>
Inherited Members
Namespace: Tableau.Migration.Engine.Hooks.Filters.Default
Assembly: Tableau.Migration.dll
Syntax
public class SkipAllFilter<TContent> : ContentFilterBase<TContent>, IContentFilter<TContent>, IMigrationHook<IEnumerable<ContentMigrationItem<TContent>>> where TContent : IContentReference
Type Parameters
| Name | Description |
|---|---|
| TContent | The content type. |
Constructors
SkipAllFilter(ISharedResourcesLocalizer?, ILogger<IContentFilter<TContent>>?)
Creates a new SkipAllFilter<TContent> object.
Declaration
public SkipAllFilter(ISharedResourcesLocalizer? localizer, ILogger<IContentFilter<TContent>>? logger)
Parameters
| Type | Name | Description |
|---|---|---|
| ISharedResourcesLocalizer | localizer | The string localizer.The logger.The string localizer.The logger. |
| ILogger<IContentFilter<TContent>> | logger | The string localizer.The logger.The string localizer.The logger. |
Methods
ShouldMigrate(ContentMigrationItem<TContent>)
Checks if the item should be migrated.
Declaration
public override bool ShouldMigrate(ContentMigrationItem<TContent> item)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentMigrationItem<TContent> | item | The item to evaluate. |
Returns
| Type | Description |
|---|---|
| bool | True if the item should be migrated. |