Class GroupAllUsersFilter
IContentFilter<TContent> implementation used to filter out the default "All Users" group.
Inherited Members
Namespace: Tableau.Migration.Engine.Hooks.Filters.Default
Assembly: Tableau.Migration.dll
Syntax
public sealed class GroupAllUsersFilter : ContentFilterBase<IGroup>, IContentFilter<IGroup>, IMigrationHook<IEnumerable<ContentMigrationItem<IGroup>>>
Constructors
GroupAllUsersFilter(IMigrationPlanOptionsProvider<GroupAllUsersFilterOptions>, ISharedResourcesLocalizer, ILogger<IContentFilter<IGroup>>)
Creates a new GroupAllUsersFilter instance.
Declaration
public GroupAllUsersFilter(IMigrationPlanOptionsProvider<GroupAllUsersFilterOptions> optionsProvider, ISharedResourcesLocalizer localizer, ILogger<IContentFilter<IGroup>> logger)
Parameters
Type | Name | Description |
---|---|---|
IMigrationPlanOptionsProvider<GroupAllUsersFilterOptions> | optionsProvider | The filter options provider. |
ISharedResourcesLocalizer | localizer | A string localizer. |
ILogger<IContentFilter<IGroup>> | logger | Default logger. |
Methods
ShouldMigrate(ContentMigrationItem<IGroup>)
Checks if the item should be migrated.
Declaration
public override bool ShouldMigrate(ContentMigrationItem<IGroup> item)
Parameters
Type | Name | Description |
---|---|---|
ContentMigrationItem<IGroup> | item | The item to evaluate. |
Returns
Type | Description |
---|---|
bool | True if the item should be migrated. |