Show / Hide Table of Contents

Class VersionableVisitorBase

Provides a base class from which implementers of IVersionableVisitor may derive.

Inheritance
object
VersionableVisitorBase
GraphPopulator
SetPopulator
DirtyItemGatherer
GraphDirtyMarker
GraphPruningVisitor
ItemCounter
ItemGathererVisitor
Implements
IVersionableVisitor
Inherited Members
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 VersionableVisitorBase : IVersionableVisitor

Fields

depth

A stack representing the current location of the visitor in the item graph.

Declaration
public Stack<IVersionable> depth
Field Value
Type Description
Stack<IVersionable>

Methods

BeginVisitItem(IVersionable)

Called first when visiting an item, before visiting the item's children.

Declaration
public virtual void BeginVisitItem(IVersionable item)
Parameters
Type Name Description
IVersionable item

The item.

EndVisitItem(IVersionable)

Called after visiting all children of an item.

Declaration
public virtual void EndVisitItem(IVersionable item)
Parameters
Type Name Description
IVersionable item

The item.

HaveVisited(IVersionable)

Determines whether an item with the specified identifier has already been visited.

Declaration
public bool HaveVisited(IVersionable item)
Parameters
Type Name Description
IVersionable item

The item.

Returns
Type Description
bool

true if the item has already been visited; otherwisefalse.

RegisterVisit(IVersionable)

Registers the visit.

Declaration
public void RegisterVisit(IVersionable item)
Parameters
Type Name Description
IVersionable item

The item.

Implements

IVersionableVisitor

Extension Methods

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