PostSharpAPI ReferencePost­Sharp.​Patterns.​ModelIgnore­Auto­Change­Notification­Attribute
Open sandboxFocus

IgnoreAutoChangeNotificationAttribute Class

Custom attribute that, when applied to a property, prevents the NotifyPropertyChangedAttribute aspect to raise change notifications for this property.

Inheritance
System.Object
IgnoreAutoChangeNotificationAttribute
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Model.dll
Syntax
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()

Methods

Name Description
CompileTimeValidate(Object)