Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects.​Advices Namespace / IAdvice­Provider Interface

IAdviceProvider Interface

Interface that allows an aspect to provide aspects dynamically, instead of declaratively using custom attributes.

Namespace:  PostSharp.Aspects.Advices
Assembly:  PostSharp (in PostSharp.dll) Version: 6.1.5.0 (6.1.5.0)
Syntax
C#
public interface IAdviceProvider : IAspect

The IAdviceProvider type exposes the following members.

Methods
  NameDescription
Public methodProvideAdvices
Provides an enumeration of advices, represented as instances of the AdviceInstance class, for the current aspect instance.
See Also