Open sandboxFocus

Class AggregatableExtensions

Provides extension methods to the IAggregatable interface.

Inheritance
AggregatableExtensions
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Aggregation.dll
Syntax
public static class AggregatableExtensions

Methods

Name Description
GetChildren(IAggregatable, ChildVisitorOptions)

Gets the list of children of a specified parent object.

GetDistinctChildren(IAggregatable, ChildVisitorOptions)

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

IsDescendantOf(IAggregatable, object)

Determines whether a specified object is a descendant of a specified ancestor.

VisitSelfAndDescendants(IAggregatable, DescendantVisitor, ChildVisitorOptions, object)

Executes a ChildVisitor for the a specified parent object and all its descendants.