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

Method GetDistinctChildren

GetDistinctChildren(IAggregatable, ChildVisitorOptions)

Gets a list of distinct children of a specified parent object.

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

The parent object.

ChildVisitorOptions options

Options.

Returns
Type Description
HashSet<Object>