View Source
Class DictionaryTranslation
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
[DataContract(IsReference = true)]
public class DictionaryTranslation : EntityBase, IDictionaryTranslation, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Constructors
View Source
DictionaryTranslation(Int32, String)
Declaration
public DictionaryTranslation(int languageId, string value)
Parameters
Type |
Name |
Description |
System.Int32 |
languageId |
|
System.String |
value |
|
View Source
DictionaryTranslation(Int32, String, Guid)
Declaration
public DictionaryTranslation(int languageId, string value, Guid uniqueId)
Parameters
Type |
Name |
Description |
System.Int32 |
languageId |
|
System.String |
value |
|
Guid |
uniqueId |
|
View Source
DictionaryTranslation(ILanguage, String)
Declaration
public DictionaryTranslation(ILanguage language, string value)
Parameters
Type |
Name |
Description |
ILanguage |
language |
|
System.String |
value |
|
View Source
DictionaryTranslation(ILanguage, String, Guid)
Declaration
public DictionaryTranslation(ILanguage language, string value, Guid uniqueId)
Parameters
Type |
Name |
Description |
ILanguage |
language |
|
System.String |
value |
|
Guid |
uniqueId |
|
Properties
View Source
GetLanguage
Declaration
public Func<int, ILanguage>? GetLanguage { get; set; }
Property Value
Type |
Description |
System.Nullable<Func<System.Int32, ILanguage>> |
|
View Source
Language
Gets or sets the Language for the translation
Declaration
[DataMember]
public ILanguage Language { get; set; }
Property Value
View Source
LanguageId
Declaration
public int LanguageId { get; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
Value
Gets or sets the translated text
Declaration
[DataMember]
public string Value { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
View Source
Declaration
protected override void PerformDeepClone(object clone)
Parameters
Type |
Name |
Description |
System.Object |
clone |
|