PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / IPointcut­Engine Interface / IPointcut­Engine Methods / IPointcut­Engine.​Evaluate­Pointcut Method

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: 6.10.14.0 (6.10.14.0)
Syntax
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).
See Also