Open sandboxFocus

Class NotObservableAttribute

Custom attribute that, when applied to a property or field, excludes it from change notification processing by the ObservableAttribute aspect.

Inheritance
NotObservableAttribute
Namespace: Metalama.Patterns.Observability
Assembly: Metalama.Patterns.Observability.dll
Syntax
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public sealed class NotObservableAttribute : Attribute
Remarks

When this attribute is applied, changes to the property or field will not raise the PropertyChanged event. Other properties that depend on this property will also not be notified of changes.

This attribute is useful for properties that change frequently but don't need UI updates (e.g., properties updated by a timer), or for properties whose change notifications are handled through a different mechanism.

Constructors

Name Description
NotObservableAttribute()

Extension Methods

See Also