Table of Contents

Class LocalizableComponent

Namespace
Oqtane.Modules.Controls
Assembly
Oqtane.Client.dll
public class LocalizableComponent : ModuleControlBase, IModuleControl
Inheritance
object
ComponentBase
LocalizableComponent
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 string
propertyValue 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()