Encapsulates a method that is invoked by the VisitSelfAndDescendants(IAggregatable, DescendantVisitor, ChildVisitorOptions, object) method.
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Aggregation.dll
Syntax
public delegate DescendantVisitorStatus DescendantVisitor(object descendant, ChildInfo childInfo, object state)
Parameters
Type | Name | Description |
---|---|---|
object | descendant | The object being visited. |
ChildInfo | childInfo | Describes the field or other location to which the child is assigned. |
object | state | An opaque state object that was requested to be passed to this delegate. |
Returns
Type | Description |
---|---|
DescendantVisitorStatus | A value that determines how the visitor should continue enumerating other objects. |
Constructors
Name | Description |
---|---|
DescendantVisitor(object, nint) |
Methods
Name | Description |
---|---|
BeginInvoke(object, ChildInfo, object, AsyncCallback, object) | |
EndInvoke(IAsyncResult) | |
Invoke(object, ChildInfo, object) |