PostSharp6.5//API Reference/Post­Sharp.​Patterns.​Model.​Type­Adapters Namespace/Type­Adapter Class/Type­Adapter Methods/Type­Adapter.​Visit­Children Method

TypeAdapter.VisitChildren Method

Visit children or collection items.

Namespace:  PostSharp.Patterns.Model.TypeAdapters
Assembly:  PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 6.5.4.0 (6.5.4.0)
Syntax
C#
public virtual bool VisitChildren(
	Object obj,
	ChildVisitor visitor,
	ChildVisitorOptions options,
	Object state
)

Parameters

obj
Type: System.Object
An instance of the adapted type.
visitor
Type: PostSharp.Patterns.Model.ChildVisitor
Visitor.
options
Type: PostSharp.Patterns.Model.ChildVisitorOptions
Options.
state
Type: System.Object
State to be passed to visitor.

Return Value

Type: Boolean
false if visitor returned Stop, otherwise true.
Remarks
See Also