Open sandboxFocus

Class MethodPointcut

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
MethodPointcut
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 the code model exposed on <c>builder</c>.'IAspectBuilder<TAspectTarget>.Target', and add advice using methods of <c>builder</c>.'IAspectBuilder.Advice'.", false)]
public sealed class MethodPointcut : Pointcut

Constructors

Name Description
MethodPointcut(string)

Properties

Name Description
MethodName