LanguageSettingsReleaseAllResources Method

Ensures that DynamicResourceManager instances with centralized settings release all loaded resource sets without saving. This method affects all DynamicResourceManager instances in the current application domain, whose UseLanguageSettings is .


Namespace: KGySoft
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.0.0
public static void ReleaseAllResources()


This method forces all DynamicResourceManager instances with centralized settings to drop all currently loaded resource sets.

It can be useful if we saved new .resx files and we want to ensure that all centralized DynamicResourceManager instances reload or regenerate the resource sets when they attempt to access a resource for the next time.


When calling this method all possible unsaved resource changes will be lost.

See Also