Type of the return value of ChildVisitor. Determines how the visitor should continue enumerating other objects.
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Aggregation.dll
Syntax
public enum DescendantVisitorStatus
Fields
Name | Description |
---|---|
ContinueWithChildren | Continues enumerating the children of the current node, then the sibling nodes. This value is not supported by the VisitChildren(ChildVisitor, ChildVisitorOptions, object) method. |
ContinueWithSiblings | Continues enumerating the siblings of the current node, but do not enumerate the children nodes. |
Default | Equivalent to ContinueWithChildren for VisitSelfAndDescendants(IAggregatable, DescendantVisitor, ChildVisitorOptions, object) or ContinueWithSiblings for VisitChildren(ChildVisitor, ChildVisitorOptions, object). |
Stop | Immediately stops enumeration and returns to the caller. |