PostSharp//API Reference/Post­Sharp.​Aspects.​Advices/Method­Pointcut/Method­Pointcut
Open sandboxFocus

Constructor MethodPointcut

MethodPointcut(String)

Initializes a new MethodPointcut.

Declaration
public MethodPointcut(string methodName)
Parameters
Type Name Description
String methodName

Name of the method returning the set of targets. This method should have a specific signature as discussed in the MethodPointcut.