Pointcut that selects exactly the aspect target.
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
public sealed class SelfPointcut : PointcutRemarks
A master advice without pointcut behaves as if it had a SelfPointcut when the advice accepts the kind of the aspect target, for instance a method boundary advice in a MethodLevelAspect. This attribute is then optional.
Constructors
| Name | Description |
|---|---|
| SelfPointcut() |