PostSharpAPI ReferencePost­Sharp.​Patterns.​ModelNotify­Property­Changed­AttributeIAdvice­Provider.​Provide­Advices
Open sandboxFocus

NotifyPropertyChangedAttribute.IAdviceProvider.ProvideAdvices Method

IAdviceProvider.ProvideAdvices(Object)

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

Declaration
IEnumerable<AdviceInstance> IAdviceProvider.ProvideAdvices(object targetElement)
Parameters
Type Name Description
Object targetElement

Element of code to which the current aspect has been applied.

Returns
Type Description
IEnumerable<AdviceInstance>

A collection of advices to be added to the current aspect instance.

Implements
IAdviceProvider.ProvideAdvices(Object)