In Metalama, implement the BuildAspect(IAspectBuilder<T>) method and use builder
.Advice.OverrideAccessors(IEvent, string?, string?, string?, object?, object?)
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'.'IAdviceFactory.OverrideAccessors(IEvent, string?, string?, string?, object?, object?)'", false)]
public sealed class OnEventAddHandlerAdvice : GroupingAdvice
Constructors
Name | Description |
---|---|
OnEventAddHandlerAdvice() |