Open sandboxFocus

Class SelfPointcut

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
SelfPointcut
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,use advice using methods of <c>builder</c>.'IAspectBuilder.Advice' and pass <c>builder</c>.'IAspectBuilder<TAspectTarget>.Target' as the target declaration.", false)]
public sealed class SelfPointcut : Pointcut

Constructors

Name Description
SelfPointcut()