PostSharp.ILAPI ReferencePost­Sharp.​Aspects.​AdvicesMethod­Pointcut
Open sandboxFocus

MethodPointcut Class

Custom attribute that, when applied on an advice method, specifies the name of the method that will be invoked at build-time to return the set of elements of code to which the advice applies.

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

Constructors

Name Description
MethodPointcut(String)

Initializes a new MethodPointcut.

Properties

Name Description
MethodName

Gets the name of the method returning the set of code elements.