In Metalama, implement the BuildAspect(IAspectBuilder<T>) method and use builder
.Advice.OverrideAccessors(IEvent, string?, string?, string?, object?, object?).
Inheritance
OnMethodBoundaryAdvice
Namespace: PostSharp.Aspects.Advices
Assembly: Metalama.Migration.dll
Syntax
[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 abstract class OnMethodBoundaryAdvice : GroupingAdvice
Constructors
Name | Description |
---|---|
OnMethodBoundaryAdvice() |
Properties
Name | Description |
---|---|
SemanticallyAdvisedMethodKinds | In Metalama, use the different properties of MethodTemplateSelector. |
UnsupportedTargetAction |