Show / Hide Table of Contents

Class GraphPruningVisitor

Remove items from a set.

Inheritance
object
VersionableVisitorBase
GraphPruningVisitor
Implements
IVersionableVisitor
Inherited Members
VersionableVisitorBase.depth
VersionableVisitorBase.HaveVisited(IVersionable)
VersionableVisitorBase.RegisterVisit(IVersionable)
VersionableVisitorBase.EndVisitItem(IVersionable)
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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.

Overrides
VersionableVisitorBase.BeginVisitItem(IVersionable)

Implements

IVersionableVisitor

Extension Methods

Extensions.Yield<T>(T)
In this article
Back to top Generated by DocFX