ChildVisitor Delegate
Encapsulates a method that is invoked by the VisitChildren(ChildVisitor, ChildVisitorOptions, Object) method.

Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 4.3.30.0 (4.3.30.0)
Syntax
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: Boolean
true 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.
See Also