Show / Hide Table of Contents

Interface IVersionableVisitor

Represents a visitor that can visit an IVisitable item. See http://en.wikipedia.org/wiki/Visitor_pattern for information about the Visitor Pattern.

Namespace: Algenta.Colectica.Model.Utility
Assembly: Algenta.Colectica.Model.dll
Syntax
public interface IVersionableVisitor

Methods

BeginVisitItem(IVersionable)

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

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

The item.

EndVisitItem(IVersionable)

Called after visiting all children of an item.

Declaration
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
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
void RegisterVisit(IVersionable item)
Parameters
Type Name Description
IVersionable item

The item.

Extension Methods

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