Click or drag to resize

DirectoryMessagesBundle Constructor (String, String, String, Boolean)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Provides access to messages that are appropriate for the supplied culture. Bundles for different cultures are specified in separate directories beneath the supplied root path.

Namespace:  Telogis.GeoBase.Internationalization
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public DirectoryMessagesBundle(
	string rootPath,
	string bundleFilename,
	string cultureId,
	bool debugMode
)

Parameters

rootPath
Type: SystemString
Root path containing directories for different cultures.
bundleFilename
Type: SystemString
Name of the XML file containing the configuration for a culture and placed within that culture's subdirectory.
cultureId
Type: SystemString
The bundle's cultureId, e.g. "en-US".
debugMode
Type: SystemBoolean
Whether debug mode will be used when generating strings. If true then MessagesBundleExceptions will be thrown when errors are encountered. If false then when errors are encountered strings will be generated on a best effort basis and no MessagesBundleExceptions will be thrown.
Exceptions
ExceptionCondition
CultureNotAvailableExceptionThrown when the specified culture (langs directory) is not available/found.
See Also