Open sandboxFocus

Class MatchPointcut

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
MatchPointcut
Namespace: PostSharp.Aspects.Advices
Assembly: Metalama.Migration.dll
Syntax
[Obsolete("In Metalama, use a <c>foreach</c> loop in the 'IAspect<T>.BuildAspect(IAspectBuilder<T>)' method, iterate <c>builder</c>.'IAspectBuilder<TAspectTarget>.Target'.'INamedType'.'INamedType.Methods', and add advice using methods of <c>builder</c>.'IAspectBuilder.Advice'.", false)]
public sealed class MatchPointcut : Pointcut

Constructors

Name Description
MatchPointcut(string)

Properties

Name Description
MatchParameterCount
MethodName