Open sandboxFocus

Interface IAdviceProvider

In Metalama, implement the BuildAspect(IAspectBuilder<T>) and use the methods of the IAdviceFactory interface exposed on IAspectBuilder<TAspectTarget>.Advice.

Namespace: PostSharp.Aspects.Advices
Assembly: Metalama.Migration.dll
Syntax
[Obsolete("In Metalama, implement the 'IAspect<T>.BuildAspect(IAspectBuilder<T>)' and use the methods of the 'IAdviceFactory' interface exposed on 'IAspectBuilder<TAspectTarget>'.'IAspectBuilder.Advice'.", false)]
public interface IAdviceProvider : IAspect

Methods

Name Description
ProvideAdvices(object)

Extension Methods

See Also