Class
MUI

Definition

Namespace:ArtOfTest.Common

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public static class MUI

Inheritance: objectMUI

Fields

MUIDirectory

The current culture's MUI directory

Declaration

cs-api-definition
public static string MUIDirectory

Field Value

string

Methods

GetString(string, int)

Retreive a localized string from a DLL.

Declaration

cs-api-definition
public static string GetString(string module, int Id)

Parameters

module

string

The DLL which contains the string

Id

int

The resource Id of the string

Returns

string

The localized string loaded from the DLL

GetString(string, int, string)

Retreive a localized string from a DLL.

Declaration

cs-api-definition
public static string GetString(string module, int Id, string defaultValue)

Parameters

module

string

The DLL which contains the string

Id

int

The resource Id of the string

defaultValue

string

If for any reason the localized string cannot be loaded, this default value will be used

Returns

string

The localized string loaded from the DLL, or defaultValue

GetString(string, int, string, Func<string, string>)

Retreive a localized string from a DLL.

Declaration

cs-api-definition
public static string GetString(string module, int Id, string defaultValue, Func<string, string> func)

Parameters

module

string

The DLL which contains the string

Id

int

The resource Id of the string

defaultValue

string

If for any reason the localized string cannot be loaded, this default value will be used

func

Func<string, string>

An operation to perform on the string before returning it

Returns

string

The result of performing func on the localized string loaded from the DLL, or defaultValue