Skip to content

Conversation

@xeniorn
Copy link
Contributor

@xeniorn xeniorn commented Feb 8, 2025

Description

Adds DoNotCheckEquality options like in PropertyChanged.Fody:

  • bool flag
  • attribute
  • xml config
  • unit tests

Todos

@xeniorn
Copy link
Contributor Author

xeniorn commented Feb 15, 2025

@tom-englert may I ask for an ETA when this could possibly be included in the new version on Nuget? Anything I can do to help it along? :)

@tom-englert
Copy link
Member

Maybe the next days, however wondering what you want to achieve with this, maybe also have a look at https://github.com/tom-englert/AutoProperties.Fody/blob/master/PropertyInterception.md, with this you can design your own property behavior and send out events as you like.

@xeniorn
Copy link
Contributor Author

xeniorn commented Feb 15, 2025

That's a pretty nifty tool, haven't seen it before. :) Thanks!

The motivation for this PR was a client who wanted to use PropertyChanging without equality checks. I don't know the details of their final application, but I think it would be convenient either way to have the option in this module, for the same reason it's convenient in PropertyChanged.Fody.

@tom-englert tom-englert merged commit a86881b into Fody:master Feb 17, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants