IPointcutEngine.EvaluatePointcut Method |
Evaluates a pointcut, i.e. returns the set of elements of code the pointcut evaluates to.
Namespace: PostSharp.Sdk.AspectWeaver
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
IEnumerable<PointcutMatch> EvaluatePointcut( AspectWeaverInstance aspectWeaverInstance )
Parameters
- aspectWeaverInstance
- Type: PostSharp.Sdk.AspectWeaver.AspectWeaverInstance
The AspectWeaverInstance for which the pointcut is evaluated.
Return Value
Type: IEnumerable<PointcutMatch>The set of elements of code to which the pointcut evaluates given the aspect usage (aspectWeaverInstance).