PostSharpAPI ReferencePost­Sharp.​Patterns.​ModelAggregatable­ExtensionsGet­Distinct­Children
Open sandboxFocus

AggregatableExtensions.GetDistinctChildren Method

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>