DynamicResourceManagerEnsureInvariantResourcesMerged Method
Ensures that all invariant resource entries are merged for the specified culture.
Namespace: KGySoft.ResourcesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
public void EnsureInvariantResourcesMerged(
CultureInfo culture
)
Public Sub EnsureInvariantResourcesMerged (
culture As CultureInfo
)
public:
void EnsureInvariantResourcesMerged(
CultureInfo^ culture
)
member EnsureInvariantResourcesMerged :
culture : CultureInfo -> unit
Parameters
- culture CultureInfo
- The culture to merge the resource sets for.
This method is similar to
EnsureResourcesGenerated but it forces a new merge even
for existing resource sets. It can be useful if we want to ensure that possibly newly introduced resources (due to a new version release, for example)
are also merged into the optionally already existing resource set files.
If there are no existing resources for the specified culture yet, then this method is functionally equivalent with
the EnsureResourcesGenerated method, though it can be significantly slower than that.
You can call also the SaveAllResources method
to save the generated or updated resource sets immediately.
Merging is performed using the rules specified by the AutoAppend property.
This method has no effect if
Source is
CompiledOnly,
or when there are no append options enabled in the
AutoAppend property.