ClassMUI
Definition
Namespace:ArtOfTest.Common
Assembly:ArtOfTest.WebAii.dll
Syntax:
public static class MUI
Inheritance: objectMUI
Fields
MUIDirectory
The current culture's MUI directory
Methods
GetString(string, int)
Retreive a localized string from a DLL.
GetString(string, int, string)
Retreive a localized string from a DLL.
Declaration
public static string GetString(string module, int Id, string defaultValue)
Parameters
module
The DLL which contains the string
Id
The resource Id of the string
defaultValue
If for any reason the localized string cannot be loaded, this default value will be used
Returns
The localized string loaded from the DLL, or defaultValue
GetString(string, int, string, Func<string, string>)
Retreive a localized string from a DLL.
Declaration
public static string GetString(string module, int Id, string defaultValue, Func<string, string> func)
Parameters
module
The DLL which contains the string
Id
The resource Id of the string
defaultValue
If for any reason the localized string cannot be loaded, this default value will be used
func
An operation to perform on the string before returning it
Returns
The result of performing func on the localized string loaded from the DLL, or defaultValue