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(IdentifierTriple)
Determines whether an item with the specified identifier has already been visited.
Declaration
bool HaveVisited(IdentifierTriple id)
Parameters
Type | Name | Description |
---|---|---|
IdentifierTriple | id | The unique identifier. |
Returns
Type | Description |
---|---|
System.Boolean |
|
RegisterVisit(IdentifierTriple)
Registers the visit.
Declaration
void RegisterVisit(IdentifierTriple id)
Parameters
Type | Name | Description |
---|---|---|
IdentifierTriple | id | The unique identifier. |