In Metalama, implement the BuildAspect(IAspectBuilder<T>) method and use builder
.Advice.Override(IFieldOrProperty, string, object?).
Inheritance
OnMethodInvokeBaseAdvice
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.Override(IFieldOrProperty, string, object?)'.", false)]
public abstract class OnMethodInvokeBaseAdvice : GroupingAdvice
Constructors
Name | Description |
---|---|
OnMethodInvokeBaseAdvice() |
Properties
Name | Description |
---|---|
SemanticallyAdvisedMethodKinds | |
UnsupportedTargetAction |