Class GraphPruningVisitor
Remove items from a set.
Implements
Inherited Members
Namespace: Algenta.Colectica.Model.Utility
Assembly: Algenta.Colectica.Model.dll
Syntax
public class GraphPruningVisitor : VersionableVisitorBase, IVersionableVisitor
Constructors
GraphPruningVisitor()
Initializes a new instance of the GraphPruningVisitor class.
Declaration
public GraphPruningVisitor()
Properties
ChildrenRemoved
Gets the number of children removed.
Declaration
public long ChildrenRemoved { get; set; }
Property Value
| Type | Description |
|---|---|
| long | The number children removed. |
ItemTypes
Gets the item types that should be removed or kept, depending on the PruningType.
Declaration
public Collection<Guid> ItemTypes { get; }
Property Value
| Type | Description |
|---|---|
| Collection<Guid> | The item types. |
PruningType
Gets or sets the type of the pruning.
Declaration
public ItemPruningType PruningType { get; set; }
Property Value
| Type | Description |
|---|---|
| ItemPruningType | The type of the pruning. |
Methods
BeginVisitItem(IVersionable)
Begins to visit an item, removing items according to the configuration of this instance.
Declaration
public override void BeginVisitItem(IVersionable item)
Parameters
| Type | Name | Description |
|---|---|---|
| IVersionable | item | The item being visited. |