Open sandboxFocus

Class SelfPointcut

Pointcut that selects exactly the aspect target.

Inheritance
SelfPointcut
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
public sealed class SelfPointcut : Pointcut
Remarks

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()

See Also