PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Model Namespace/Ignore­Auto­Change­Notification­Attribute Class

IgnoreAutoChangeNotificationAttribute Class

Custom attribute that, when applied to a property, prevents the NotifyPropertyChangedAttribute aspect to raise change notifications for this property.
Inheritance Hierarchy
System.Object
  System.Attribute
    PostSharp.Patterns.Model.IgnoreAutoChangeNotificationAttribute

Namespace:  PostSharp.Patterns.Model
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 6.6.10.0 (6.6.10.0)
Syntax
C#
public sealed class IgnoreAutoChangeNotificationAttribute : Attribute, 
	IValidableAnnotation

The IgnoreAutoChangeNotificationAttribute type exposes the following members.

Constructors
  NameDescription
Public methodIgnoreAutoChangeNotificationAttribute
Initializes a new instance of the IgnoreAutoChangeNotificationAttribute class
Remarks

This means that if you change the value of that property, the PropertyChanged event will not be raised.

For historical reasons, you can also apply this attribute to a method, but doing so results in a build-time error.

See Also