AggregatableExtensions.VisitSelfAndDescendants Method |
Executes a ChildVisitor for the a specified parent object and all its descendants.
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 6.10.14.0 (6.10.14.0)
C#
public static bool VisitSelfAndDescendants( this IAggregatable parent, DescendantVisitor visitor, ChildVisitorOptions options = ChildVisitorOptions.None, Object state = null )
Parameters
- parent
- Type: PostSharp.Patterns.Model.IAggregatable
The parent object. - visitor
- Type: PostSharp.Patterns.Model.DescendantVisitor
The action to execute. - options (Optional)
- Type: PostSharp.Patterns.Model.ChildVisitorOptions
Options. - state (Optional)
- Type: System.Object