Custom attribute that, when applied to a property, prevents the NotifyPropertyChangedAttribute aspect to raise change notifications for this property.
Implements
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Model.dll
Syntax
[AttributeUsage(AttributeTargets.Method|AttributeTargets.Property)]
public sealed class IgnoreAutoChangeNotificationAttribute : Attribute, IValidableAnnotation
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.
Constructors
Name | Description |
---|---|
IgnoreAutoChangeNotificationAttribute() |