Method GetResourceSet
- Namespace
- Alternet.Scripter.TypeScript
- Assembly
- Alternet.Common.TypeScript.v9.dll
GetResourceSet(CultureInfo, bool, bool)
Retrieves the resource set for a particular culture.
public override ResourceSet GetResourceSet(CultureInfo culture, bool createIfNotExists, bool tryParents)
Parameters
culture
CultureInfoThe culture whose resources are to be retrieved.
createIfNotExists
booltrue to load the resource set, if it has not been loaded yet; otherwise, false.
tryParents
booltrue to use resource fallback to load an appropriate resource if the resource set cannot be found; false to bypass the resource fallback process. (See the Remarks section.)
Returns
- ResourceSet
The resource set for the specified culture.
Exceptions
- ArgumentNullException
The
culture
parameter is null.- MissingManifestResourceException
tryParents
is true, no usable set of resources has been found, and there are no default culture resources.