Class LocalizableComponent
public class LocalizableComponent : ModuleControlBase, IModuleControl
- Inheritance
-
objectComponentBaseLocalizableComponent
- Implements
- Derived
- Inherited Members
Properties
IsLocalizable
protected bool IsLocalizable { get; }
Property Value
- bool
LocalizerFactory
[Inject]
public IStringLocalizerFactory LocalizerFactory { get; set; }
Property Value
- IStringLocalizerFactory
ResourceKey
[Parameter]
public string ResourceKey { get; set; }
Property Value
- string
ResourceType
[Parameter]
public string ResourceType { get; set; }
Property Value
- string
Methods
Localize(string)
protected string Localize(string name)
Parameters
name
string
Returns
- string
Localize(string, string)
protected string Localize(string propertyName, string propertyValue)
Parameters
propertyName
stringpropertyValue
string
Returns
- string
OnParametersSet()
Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.
protected override void OnParametersSet()