Jeremy Koritzinsky
|
1ad7f27cf9
Make DeferredSetter tied to AvaloniaProperty and use a regular Dictionary. Remove SettingStatus entries for bindings from the dictionary for bindings that don't create a queue of pending values.
|
7 years ago |
Jeremy Koritzinsky
|
00f8dfabc0
Use SingleOrQueue instead of Queue in DeferredSetter. Make sure tests pass.
|
7 years ago |
Jeremy Koritzinsky
|
1cfc9fe47f
Remove extraneous documentation comment.
|
8 years ago |
Jeremy Koritzinsky
|
a02515fe19
Make pending set condition always !object.Equals since the other condition in PriorityValue didn't match expected behavior as per new unit tests.
|
8 years ago |
Jeremy Koritzinsky
|
05eda280de
Refactor DeferredSetter logic to allow passing references to backing fields and utilizing that in all usages. Refactor SetAndRaise logic to be combined and simplified between the two use cases. Now the common case delegates to the less specialized case.
|
8 years ago |
Jeremy Koritzinsky
|
ca9a4c4128
PR Feedback.
|
8 years ago |
Jeremy Koritzinsky
|
d8efff505d
Clean up formatting. Fix bug in PriorityValue usage of DeferredSetter. Change DeferredSetter to use ConditionalWeakTable to not hold strong references to PriorityValue objects.
|
8 years ago |
Jeremy Koritzinsky
|
add5f0451b
DelayedSetter -> DeferredSetter
|
8 years ago |