Class Key
- Namespace
- Dynamicweb.Rendering.Translation
- Assembly
- Dynamicweb.Core.dll
Represents translation key.
public class Key
- Inheritance
-
Key
- Inherited Members
Constructors
Key()
Creates new instance of the class.
public Key()
Key(string)
Creates new instance of the class.
public Key(string name)
Parameters
name
stringThe key name.
Key(string, KeyScope)
Creates new instance of the class.
public Key(string name, KeyScope scope)
Parameters
Properties
DefaultValue
Gets or sets the key default value.
public string DefaultValue { get; set; }
Property Value
Name
Gets or sets the name of the key.
public string Name { get; set; }
Property Value
Scope
Gets or sets the key scope.
public KeyScope Scope { get; set; }
Property Value
TagDefinitions
Gets or sets the template tag definitions for current key.
public List<string> TagDefinitions { get; set; }
Property Value
Translations
Gets or sets the key translations.
public TranslationEntryCollection Translations { get; set; }