Open sandboxFocus

Class OnLocationGetValueAdvice

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

Inheritance
OnLocationGetValueAdvice
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:IAdviceFactory.OverrideAccessors(IFieldOrPropertyOrIndexer, in GetterTemplateSelector, string?, object?, object?)' or 'IAdviceFactory.Override(IFieldOrProperty, string, object?)'.", false)]
public sealed class OnLocationGetValueAdvice : GroupingAdvice

Constructors

Name Description
OnLocationGetValueAdvice()

See Also