Interface IAbpEnumLocalizer
Namespace: Volo.Abp.Localization
Assembly: Volo.Abp.Localization.dll
Syntax
public interface IAbpEnumLocalizer
Methods
GetString(Type, object)
Declaration
string GetString(Type enumType, object enumValue)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | enumType | |
| object | enumValue |
Returns
| Type | Description |
|---|---|
| string |
GetString(Type, object, IStringLocalizer?[])
Declaration
string GetString(Type enumType, object enumValue, IStringLocalizer?[] specifyLocalizers)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | enumType | |
| object | enumValue | |
| IStringLocalizer[] | specifyLocalizers |
Returns
| Type | Description |
|---|---|
| string |