This is the online documentation for PostSharp 4.3.
Download PDF or CHM. Go to v4.3 or v5.0
NotifyPropertyChangedAttributeTargetClass Class
Describes the members that are consumed by the NotifyPropertyChangedAttribute aspect. You can define one or many of these members in classes that are the target of NotifyPropertyChangedAttribute to customize the behavior of the NotifyPropertyChangedAttribute aspect.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Model.NotifyPropertyChangedAttributeTargetClass

Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 4.3.31.0 (4.3.31.0)
Syntax
C#
public class NotifyPropertyChangedAttributeTargetClass : INotifyPropertyChanged

The NotifyPropertyChangedAttributeTargetClass type exposes the following members.

Constructors
  NameDescription
Public methodNotifyPropertyChangedAttributeTargetClass
Initializes a new instance of the NotifyPropertyChangedAttributeTargetClass class
Top
Methods
  NameDescription
Protected methodOnPropertyChanged
Raises the PropertyChanged event. If this method is already present in the target code, the NotifyPropertyChangedAttribute aspect will use it to raise the PropertyChanged event. Otherwise, the aspect will introduce the method into the target class.
Top
Events
  NameDescription
Public eventPropertyChanged
Event raised when a property has changed. This event is introduced by the NotifyPropertyChangedAttribute aspect unless it is already present in the target class.
Top
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Top
Remarks
Note Note

This class it for documentation purpose only, and should not be used in code.

If the target class implements the INotifyPropertyChanged interface, then it must also:

  • implement the OnPropertyChanged(String) method with the exact same signature and modifiers, and
  • introduce the PropertyChanged event as a public member (introducing a private interface interpretation would result in incorrect behavior).
See Also