Open sandboxFocus

Class OnLocationSetValueAdvice

In Metalama, implement the BuildAspect(IAspectBuilder<T>) method and use builder.Advice.IAdviceFactory.OverrideAccessors(Metalama.Framework.Code.IEvent, string?, string?, string?, object?, object?) or Override(IFieldOrProperty, string, object?)

Inheritance
OnLocationSetValueAdvice
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(Metalama.Framework.Code.IEvent, string?, string?, string?, object?, object?)' or 'IAdviceFactory.Override(IFieldOrProperty, string, object?)'", false)]
public sealed class OnLocationSetValueAdvice : GroupingAdvice

Constructors

Name Description
OnLocationSetValueAdvice()

Extension Methods

See Also