AggregatableExtensions.IsDescendantOf Method |
Determines whether a specified object is a descendant of a specified ancestor.
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 IsDescendantOf( this IAggregatable child, Object ancestor )
Parameters
- child
- Type: PostSharp.Patterns.Model.IAggregatable
The child object. - ancestor
- Type: System.Object
The ancestor object.
Return Value
Type: Booleantrue if child is a descendant of ancestor, otherwise false.