-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Create a thread safe OnPropertyChanged event method. #104
Conversation
Codecov Report
@@ Coverage Diff @@
## master #104 +/- ##
==========================================
+ Coverage 97.13% 97.13% +<.01%
==========================================
Files 17 17
Lines 2964 2970 +6
==========================================
+ Hits 2879 2885 +6
Misses 85 85
Continue to review full report at Codecov.
|
Prefer `OnPropertyChanged(nameof(<property>))` instead of OnPropertyChanged("<property>") because the first one is more friendly towards tools.
Thanks. |
I cannot 😞 because there is no CodeDOM for |
You can use |
Codecov Report
@@ Coverage Diff @@
## master #104 +/- ##
==========================================
+ Coverage 97.13% 97.13% +<.01%
==========================================
Files 17 17
Lines 2964 2970 +6
==========================================
+ Hits 2879 2885 +6
Misses 85 85
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #104 +/- ##
==========================================
- Coverage 97.13% 97.12% -0.01%
==========================================
Files 17 17
Lines 2964 2955 -9
==========================================
- Hits 2879 2870 -9
Misses 85 85
Continue to review full report at Codecov.
|
The current code is not thread safe.
This is a simple fix to generate the thread safe version.
I'm not sure where you keep a change log of the changes for each version.