mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
* [System] Add unit test for Xamarin-2315 * [System] Use temporary directory for saving settings files This change modifies the ApplicationSettingsBaseTests so that they store the settings files in a temporary directory. This reduces the risk of failed tests because of stale files from previous test run, or from a build that runs in parallel. * [System] Improve Settings behavior (Xamarin-15818) Improve behavior of ApplicationSettingsBase class to match Windows .NET more closely. * Implement Upgrade to allow Upgrading of settings * Make SettingsPropertyValue serialization work for complex objects * Make Save and Update throw in unimplemented configurations * Changed Reload to clear PropertyValues so they are reloaded and fire PropertyChanged event for all Properties * Modified Reset to do what Reload used to do. * Added a backup Type loading for custom SettingsProviders * don't call SettingsSaving on Reset() * [System] Fire SettingsSaving event (Xamarin-2315) When calling ApplicationSettingsBase.Save() the SettingsSaving event has to be fired. * [System] Add unit tests for Xamarin-15818