LanguageSettingsDynamicResourceManagersAutoSave Property

Gets or sets the auto saving options for the DynamicResourceManager instances of the current application domain when their UseLanguageSettings is .
Default value: LanguageChange, DomainUnload, SourceChange

Definition

Namespace: KGySoft
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public static AutoSaveOptions DynamicResourceManagersAutoSave { get; set; }

Property Value

AutoSaveOptions

Remarks

Considering that the default value of the DynamicResourceManagersSource property is CompiledOnly, none of the DynamicResourceManager, whose UseLanguageSettings property is will auto save their content 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 the DynamicResourceManagersSource property either to CompiledAndResX or ResXOnly.

See Also