PostSharp 6.8 / / 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: 6.8.6.0 (6.8.6.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