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

SelfPointcut Class

In Metalama, use a foreach loop in the BuildAspect(IAspectBuilder<T>) method,use advice using methods of builder.Advice and pass builder.Target as the target declaration.

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

Constructors

Name Description
SelfPointcut()