PostSharp 5.0 / / 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: 5.0.55.0 (5.0.55.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