canton7 / PropertyChanged.SourceGenerator

Powerful INotifyPropertyChanged / INotifyPropertyChanging Source Generator, which generates INPC boilerplate for you as part of your build. Supports features such as automatic and manual dependencies between properties, notifications when specific properties change, and more.
MIT License
131 stars 14 forks source link

Add support for `INotifyPropertyChanging` #14

Closed canton7 closed 2 years ago

canton7 commented 2 years ago

Discussed in https://github.com/canton7/PropertyChanged.SourceGenerator/discussions/13

Originally posted by **Cologler** April 6, 2022 Since EF core [required](https://docs.microsoft.com/en-us/ef/core/change-tracking/change-detection) `INotifyPropertyChanging`, if a type is implemented `INotifyPropertyChanging`, it should also fire the `PropertyChanging` event.
canton7 commented 2 years ago

Released in 1.0.4