PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​ThreadingThread­Aware­AttributeIs­Eligible­Child
Open sandboxFocus

ThreadAwareAttribute.IsEligibleChild Method

IsEligibleChild(Object, ChildInfo)

Determines if an object is eligible to be a child of the target instance of the current aspect.

Declaration
protected sealed override bool IsEligibleChild(object child, ChildInfo childInfo)
Parameters
Type Name Description
Object child
ChildInfo childInfo
Returns
Type Description
System.Boolean

true if child is eligible to be a child without injecting any advice, otherwise false. When this method returns false, the aspect will the invoke the Advise(Object) method.

Overrides
AggregatableClientAttribute.IsEligibleChild(Object, ChildInfo)