DynamicResourceManagerEnsureResourcesGenerated Method
Ensures that the resource sets are generated for the specified
culture respecting the merging rules
specified by the
AutoAppend parameter.
Namespace: KGySoft.ResourcesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public void EnsureResourcesGenerated(
CultureInfo culture
)
Public Sub EnsureResourcesGenerated (
culture As CultureInfo
)
public:
void EnsureResourcesGenerated(
CultureInfo^ culture
)
member EnsureResourcesGenerated :
culture : CultureInfo -> unit
Parameters
- culture CultureInfo
- The culture to generate the resource sets for.
This method is similar to
EnsureInvariantResourcesMerged but it skips
merging of resources for already existing resource sets (either in memory or in a loadable file).
Use the
EnsureInvariantResourcesMerged method to force a new merge even for possibly existing resource sets.
This method generates the possibly missing resource sets in memory.
Call also the SaveAllResources method to save the generated resource sets immediately.
When generating resources, the value of the AutoAppend is be respected.
This method has no effect if
Source is
CompiledOnly,
or when there are no append options enabled in the
AutoAppend property.