C# Class Tiraggo.Core.tgVisitParameters

Passed to each callback method during visitation. Contains everything you need to implement your logic.
Show file Open project: BrewDawg/Tiraggo Class Usage Examples

Public Properties

Property Type Description
Node tgVisitableNode
Parent tgVisitableNode
ProcessChildren bool
Root object
UserState object

Property Details

Node public property

The "Node being visited, can be either a collection or an entity
public tgVisitableNode,Tiraggo.Core Node
return tgVisitableNode

Parent public property

The parent of the "Node" being visited, can be a collection or an entity
public tgVisitableNode,Tiraggo.Core Parent
return tgVisitableNode

ProcessChildren public property

Set to false and the current nodes children will not be visited. This does not however terminate the entire visit process.
public bool ProcessChildren
return bool

Root public property

The root node passed into static Visit() method, can be a Collection or an Entity
public object Root
return object

UserState public property

You can store data here and it will passed throughout the visitation process.
public object UserState
return object