DynamicResourceManagerEnsureInvariantResourcesMerged Method

Ensures that all invariant resource entries are merged for the specified culture.

Definition

Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public void EnsureInvariantResourcesMerged(
	CultureInfo culture
)

Parameters

culture  CultureInfo
The culture to merge the resource sets for.

Remarks

  Note

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.

See Also