PostSharp//API Reference/Post­Sharp.​Patterns.​Model/Aggregatable­Extensions/Get­Children
Open sandboxFocus

Method GetChildren

GetChildren(IAggregatable, ChildVisitorOptions)

Gets the list of children of a specified parent object.

Declaration
public static IList<object> GetChildren(this IAggregatable parent, ChildVisitorOptions options)
Parameters
Type Name Description
IAggregatable parent

The parent object.

ChildVisitorOptions options

Options.

Returns
Type Description
IList<Object>

A list of children.