LanguageSettingsDynamicResourceManagersSource Property

Gets or sets the source, from which the DynamicResourceManager instances of the current application domain should take the resources when their UseLanguageSettings is .
Default value: CompiledOnly


Namespace: KGySoft
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 7.2.0
public static ResourceManagerSources DynamicResourceManagersSource { get; set; }

Property Value



Considering that the default value is CompiledOnly, all DynamicResourceManager instances, which use UseLanguageSettings property with value, will work fully compatible with the ResourceManager class by default. Therefore, an application, which uses DynamicResourceManager instances with centralized settings (maybe indirectly via class libraries), must opt-in the dynamic behavior of creating .resx resource files on the fly by setting this property either to CompiledAndResX or ResXOnly.

See Also