ChildVisitor Delegate |
Encapsulates a method that is invoked by the VisitChildren(ChildVisitor, ChildVisitorOptions, Object) method.
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 6.7.12.0 (6.7.12.0)
C#
public delegate bool ChildVisitor( Object child, ChildInfo childInfo, Object state )
Parameters
- child
- Type: System.Object
The object being visited. - childInfo
- Type: PostSharp.Patterns.Model.ChildInfo
Describes the field or other location to which the child is assigned. - state
- Type: System.Object
An opaque state object that was requested to be passed to this delegate.
Return Value
Type: Booleantrue to instruct the VisitChildren(ChildVisitor, ChildVisitorOptions, Object) implementation to continue enumerating other children, false to instruct the VisitChildren(ChildVisitor, ChildVisitorOptions, Object) implementation to immediately return the false value without enumerating other children.