Открытые статические члены | |
static void | LoadResourceManager (CultureInfo ci) |
Change culture. | |
static void | SetResourceManager (ResourceManager rm) |
static void | UpdateResources () |
Initiate resource updating. | |
static string | GetStringFormat (string id, params object[] args) |
static string | GetStringFormat (IFormatProvider provider, string id, params object[] args) |
static string | GetString (object owner, string id) |
Get localized string for object. | |
static string | GetStringWithPrefix (string prefix, string id) |
Get localized string for object with prefix, i.e. "prefix.id". | |
static string | GetStringWithPostfix (object owner, string postfix) |
Get localized string for object with postfix, i.e. "name.postfix". | |
static string | GetStringWithPostfix (string id, string postfix) |
static string | GetExceptionMessage (Exception ex) |
Get localized exception message. | |
static string | GetDeepExceptionMessage (Exception ex) |
Get localized exception message. | |
static string | GetExceptionMessage (string exMessage) |
Get localized exception message. | |
static string | GetExceptionMessage (string exMessage, params object[] args) |
Get localized exception message with arguments. | |
static string | GetString (string id) |
Get localized string by id. | |
static string | GetStringOrId (string id) |
Get localized string by id. | |
static ResourceSet | GetSet () |
static string | GetLotString (double quantity) |
static string | GetDaysString (int numdays) |
Свойства | |
static CultureInfo | CurrentCulture [get] |
Get current Culture. | |
События | |
static ResourceManagerChanged | ResourceManagerChanged |
Culture changed event. |
static string TSLab.Utils.RM.GetDeepExceptionMessage | ( | Exception | ex | ) | [static] |
Get localized exception message.
ex | exception instance |
static string TSLab.Utils.RM.GetExceptionMessage | ( | Exception | ex | ) | [static] |
Get localized exception message.
ex | exception instance |
static string TSLab.Utils.RM.GetExceptionMessage | ( | string | exMessage | ) | [static] |
Get localized exception message.
exMessage | exception message |
static string TSLab.Utils.RM.GetExceptionMessage | ( | string | exMessage, | |
params object[] | args | |||
) | [static] |
Get localized exception message with arguments.
exMessage | exception message | |
args | arguments |
static string TSLab.Utils.RM.GetString | ( | object | owner, | |
string | id | |||
) | [static] |
Get localized string for object.
owner | object | |
id | string id |
static string TSLab.Utils.RM.GetString | ( | string | id | ) | [static] |
Get localized string by id.
id | string id |
static string TSLab.Utils.RM.GetStringOrId | ( | string | id | ) | [static] |
Get localized string by id.
id | string id |
static string TSLab.Utils.RM.GetStringWithPostfix | ( | object | owner, | |
string | postfix | |||
) | [static] |
Get localized string for object with postfix, i.e. "name.postfix".
owner | object | |
postfix | postfix string |
static string TSLab.Utils.RM.GetStringWithPrefix | ( | string | prefix, | |
string | id | |||
) | [static] |
Get localized string for object with prefix, i.e. "prefix.id".
prefix | prefix string | |
id | string id |
static void TSLab.Utils.RM.LoadResourceManager | ( | CultureInfo | ci | ) | [static] |
Change culture.
ci | new Culture |
static void TSLab.Utils.RM.UpdateResources | ( | ) | [static] |
Initiate resource updating.
CultureInfo TSLab.Utils.RM.CurrentCulture [static, get] |
Get current Culture.
ResourceManagerChanged TSLab.Utils.RM.ResourceManagerChanged [static] |
Culture changed event.