PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects.​Advices Namespace / Self­Pointcut Class

SelfPointcut Class

Pointcut that selects exactly the aspect target.
Inheritance Hierarchy
System.Object
  System.Attribute
    PostSharp.Aspects.Advices.Pointcut
      PostSharp.Aspects.Advices.SelfPointcut

Namespace:  PostSharp.Aspects.Advices
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public sealed class SelfPointcut : Pointcut

The SelfPointcut type exposes the following members.

Constructors
  NameDescription
Public methodSelfPointcut
Initializes a new instance of the SelfPointcut class
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Remarks
See Also