Is there any version of `INotifyPropertyChanged` for several changes?

I read about the Observer pattern in the GoF book .

.Net Framework contains an interface INotifyPropertyChanged. Does the .Net Framework have a similar interface, but to notify of a change in a set of properties instead of notifying of a change in each property (to improve performance)?

I created such an interface INotifySubjectChangedfor my application (its event argument contains a set of changed properties), but maybe the .NET Framework already has it, and I invented a bicycle.

I published my simple source code on Bitbucket.org here . Perhaps a clearer what I want to do.

enter image description here

enter image description here

enter image description here

+4
1

MSDN , , , .

https://msdn.microsoft.com/en-us/library/system.componentmodel.inotifypropertychanged.propertychanged(v=vs.110).aspx

PropertyChanged , null String.Empty PropertyChangedEventArgs.

, , , .NET. , .

, ( , ), INotifyCollectionChanged.

, , , .

, WPF, , .

+3

Source: https://habr.com/ru/post/1654455/


All Articles