PostSharpAPI ReferencePost­Sharp.​Aspects.​AdvicesIAdvice­Provider
Open sandboxFocus

IAdviceProvider Interface

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

Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
public interface IAdviceProvider : IAspect

Methods

Name Description
ProvideAdvices(Object)

Provides an enumeration of advices, represented as instances of the AdviceInstance class, for the current aspect instance.