MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​Aspects.​AdvicesMethod­Pointcut
Open sandboxFocus

MethodPointcut Class

In Metalama, use a foreach loop in the BuildAspect(IAspectBuilder<T>) method, iterate the code model exposed on builder.Target, and add advice using methods of builder.Advice.

Inheritance
System.Object
MethodPointcut
Namespace: PostSharp.Aspects.Advices
Assembly: Metalama.Migration.dll
Syntax
public sealed class MethodPointcut : Pointcut

Constructors

Name Description
MethodPointcut(String)

Properties

Name Description
MethodName