[Codebase] Fody.PropertyChanged
See original GitHub issueIs your feature request related to a problem? Please describe.
Whenever we interact with the UI (via Properties) we always need to raise OnPropertyChanged
. This creates a lot of boilerplate code and it looks messy. It’s also easy to forget about.
Describe the solution you’d like
There’s a NuGet package called ‘Fody.PropertyChanged’ that injects the logic of OnPropertyChanged
to any property. With it, simple { get; set; }
is enough to update the View. It works like magic.
Notable Information
The logic can be overridden by implementing property’s { get; set; }
Describe alternatives you’ve considered (Discuss)
Additional Context This NuGet extension has over 4.45M+ downloads. Personally, I have used this extension multiple times in my projects and have not seen any performance drop to this day
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (10 by maintainers)
Top GitHub Comments
Since we are not getting any other advantages except less code, i think we are don’t need this package. WCT MVVM package doing almost the same thing and it is pretty comfortable to use it.
@d2dyno1 Thank you for the suggestion, it’s not something we are looking at doing right now but we can reevaluate in the future if the need comes up.