Open sandboxFocus

Class OnMethodEntryAdvice

In Metalama, implement the BuildAspect(IAspectBuilder<T>) method and use builder.Advice..

Inheritance
OnMethodEntryAdvice
Namespace: PostSharp.Aspects.Advices
Assembly: Metalama.Migration.dll
Syntax
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
[Obsolete("In Metalama, implement the 'IAspect<T>.BuildAspect(IAspectBuilder<T>)' method and use <c>builder</c>.'IAspectBuilder.Advice'.'M:Metalama.Framework.Advising.IAdviceFactory.Override(Metalama.Framework.Code.IMethod, in MethodTemplateSelector, object?, object?)'.", false)]
public sealed class OnMethodEntryAdvice : OnMethodBoundaryAdvice

Constructors

Name Description
OnMethodEntryAdvice()

Extension Methods

See Also