PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects.​Advices Namespace / Method­Pointcut Class / Method­Pointcut Constructor
MethodPointcut Constructor
Initializes a new MethodPointcut.

Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public MethodPointcut(
	string methodName
)

Parameters

methodName
Type: System.String
Name of the method returning the set of targets. This method should have a specific signature as discussed in the class documentation.
See Also