-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid recomputing bindings multiple times and bind BindingContext first #24553
Avoid recomputing bindings multiple times and bind BindingContext first #24553
Conversation
62ac3ce
to
e6e4544
Compare
} | ||
|
||
/// <summary> | ||
/// Applies all the current bindings to <see cref="BindingContext" />. | ||
/// </summary> | ||
protected void ApplyBindings() => ApplyBindings(skipBindingContext: false, fromBindingContextChanged: false); | ||
protected void ApplyBindings() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method appears unused, shall we [Obsolete]
it?
e6e4544
to
c568f3b
Compare
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks good. and if it's green, well, go
@albyrock87 @StephaneDelcroix this test seem to be failing when merging main to net9.0
|
@rmarinho looking at your PR #24759, I see that all the changes in |
Description of Change
The two unit tests shows the expectation we all have about bindings:
BindingContext
binding should apply before any property bindingBinding
should happen only once upon binding context inheritanceBenchmarks
Before
After
Issues Fixed
Fixes #10806