Class LocalizableComponent
public class LocalizableComponent : ModuleControlBase, IModuleControl
- Inheritance
-
LocalizableComponent
- Implements
- Inherited Members
Properties
IsLocalizable
protected bool IsLocalizable { get; }
Property Value
LocalizerFactory
[Inject]
public IStringLocalizerFactory LocalizerFactory { get; set; }
Property Value
ResourceKey
[Parameter]
public string ResourceKey { get; set; }
Property Value
ResourceType
[Parameter]
public string ResourceType { get; set; }
Property Value
Methods
Localize(string)
protected string Localize(string name)
Parameters
name
string
Returns
Localize(string, string)
protected string Localize(string propertyName, string propertyValue)
Parameters
Returns
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()