PostSharp5.0//API Reference/Post­Sharp.​Aspects.​Advices Namespace/Signature­Pointcut Class

SignaturePointcut Class

A Pointcut that matches target methods by name and signature. This works only with non-generic methods.
Inheritance Hierarchy
System.Object
  System.Attribute
    PostSharp.Aspects.Advices.Pointcut
      PostSharp.Aspects.Advices.SignaturePointcut

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

The SignaturePointcut type exposes the following members.

Constructors
  NameDescription
Public methodSignaturePointcut
Initializes a new SignaturePointcut.
Properties
  NameDescription
Public propertyArgumentTypes
Gets the exact types of parameters of the target method.
Public propertyName
Gets the name of the target method.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also