question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Codebase] Fody.PropertyChanged

See original GitHub issue

Is 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:closed
  • Created 3 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
tsvietOKcommented, Dec 28, 2020

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.

0reactions
yaira2commented, Dec 29, 2020

@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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fody/PropertyChanged: Injects INotifyPropertyChanged ...
Injects code which raises the PropertyChanged event, into property setters of classes which implement INotifyPropertyChanged. This is an add-in for Fody. It is ......
Read more >
Repeating myself implementing INotifyPropertyChanged
I personally avoid Fody. The code base is a nightmare. I think you can do this fairly simply with the new C# source...
Read more >
Writing Cleaner, More Concise Code with Fody - Dan Siegel
Fody offers some excellent tooling to do exactly this, and with their PropertyChanged library you can easily add INotifyPropertyChanged .
Read more >
Fody - INotifyPropertyChanged the easy way
INotifyPropertyChanged is chiseled into the brain of every XAML developer. It provides amazing data binding power, but it has one drawback ...
Read more >
Fody not weaving PropertyChanged
I'm having trouble getting Fody & PropertyChanged working. I've got a .NET 4.7.2 project with both Fody(6.6.4) and PropertyChanged.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found