Custom attribute that, when applied to a property of a class enhanced with the NotifyPropertyChangedAttribute, specifies that a change of any property of the property value will be considered as a change of the property itself.
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Model.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public sealed class AggregateAllChangesAttribute : AttributeRemarks
This attribute can currently be used only on properties of types derived from ICollection or ICollection<T>.
Currently, only notifications of the property named Item[] are considered.
Without this attribute, properties that depend on the collection property as a whole are notified only when the collection object itself is replaced, not when its items change.
Constructors
| Name | Description |
|---|---|
| AggregateAllChangesAttribute() |