Open sandboxFocus

Method VisitChildren

VisitChildren(object, ChildVisitor, ChildVisitorOptions, object)

Visits children or collection items.

Declaration
public virtual bool VisitChildren(object obj, ChildVisitor visitor, ChildVisitorOptions options, object state)
Parameters
Type Name Description
object obj

An instance of the adapted type.

ChildVisitor visitor

The visitor.

ChildVisitorOptions options

The options.

object state

The state to be passed to visitor.

Returns
Type Description
bool

false if visitor returned Stop, otherwise true.

Remarks