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

Settings async #358

Merged
merged 2 commits into from Jul 30, 2023
Merged

Settings async #358

merged 2 commits into from Jul 30, 2023

Conversation

jetelain
Copy link
Contributor

Settings editor may need I/O operation to apply settings, and should use the async way.

This PR add a method ApplyChangesAsync in a specific ISettingsEditorAsync interface.
Existing interface is kept to avoid breaking changes.

Implementation have been done in a binary backward compatible way for implementations of ISettingsEditor (as they may come from a NuGet that might not be possible to rebuild).

A breaking change have been made SettingsPageViewModel.Editors (only used by View/Xaml file), no one on github have a an access to SettingsPageViewModel, so it seems a safe change.

@tgjones tgjones merged commit 3099ce3 into tgjones:master Jul 30, 2023
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