Skip to content
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

Add resource Key to ResourcesChangedEventArgs #16209

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rabbitism
Copy link
Contributor

@rabbitism rabbitism commented Jul 3, 2024

What does the pull request do?

  1. Add an optional resource key to ResourcesChangedEventArgs, to help subscriber understand what key is changed if possible.
  2. Add several more IResourceNode extension methods to allow user subscribing to updates only for a particular key.

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

Breaking changes

Obsoletions / Deprecations

Fixed issues

@rabbitism rabbitism marked this pull request as draft July 3, 2024 03:09
@rabbitism rabbitism marked this pull request as ready for review July 3, 2024 07:36
@rabbitism rabbitism changed the title [WIP] Add resource Key to ResourcesChangedEventArgs Add resource Key to ResourcesChangedEventArgs Jul 3, 2024
@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.2.999-cibuild0049753-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@rabbitism
Copy link
Contributor Author

@grokys @maxkatz6 Please help to review.

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.2.999-cibuild0051331-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

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.

None yet

2 participants