Click or drag to resize

TreeTraversalService Methods

The TreeTraversalService type exposes the following members.

Methods
 NameDescription
Public methodBreathFirst(InstanceHierarchyType, PredicateInternalElementType) A BreathFirst Traversal algorithm, which can be used to traverse an InstanceHierarchy tree via foreach (var item in collection){ ... }. A predicate can be specified to restrict the element selection.
Public methodBreathFirst(InternalElementType, PredicateInternalElementType) A BreathFirst Traversal algorithm, which can be used to traverse an InternalElement tree via foreach (var item in collection){ ... }. A predicate can be specified to restrict the element selection.
Public methodDepthFirstPostOrder(InstanceHierarchyType, PredicateInternalElementType) A DepthFirst (Post-Order) Traversal algorithm, which can be used to traverse an InstanceHierarchy tree in post order via foreach (var item in collection){ ... }. A predicate can be specified to restrict the element selection.
Public methodDepthFirstPostOrder(InternalElementType, PredicateInternalElementType) A DepthFirst (Post-Order) Traversal algorithm, which can be used to traverse an InternalElement tree in post order via foreach (var item in collection){ ... }. A predicate can be specified to restrict the element selection.
Public methodDepthFirstPreOrder(IInternalElementContainer, PredicateInternalElementType) A DepthFirst (Pre-Order) Traversal algorithm, which can be used to traverse an InstanceHierarchy tree in pre order via foreach (var item in collection){ ... }. A predicate can be specified to restrict the element selection.
Public methodDepthFirstPreOrder(InternalElementType, PredicateInternalElementType) A DepthFirst (Pre-Order) Traversal algorithm, which can be used to traverse an InternalElement tree in pre order via foreach (var item in collection){ ... }. A predicate can be specified to restrict the element selection.
Public methodStatic memberRegister Registers a new instance of a TreeTraversalService with the ServiceLocator of the AMLEngine.
Public methodStatic memberUnRegister Unregisters this service
Top
See Also