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

MatchPointcut Class

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

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

Constructors

Name Description
MatchPointcut(String)

Properties

Name Description
MatchParameterCount
MethodName