Class TermTranslation
Translation of a specific Term.
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel.Skeleton
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
public class TermTranslation : ExtensionDataContainer, ICloneable<TermTranslation>, ITermAttributeContainer
Constructors
TermTranslation()
Initializes a new instance of the TermTranslation class.
Declaration
public TermTranslation()
Properties
Id
Gets or sets the identifier.
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | The identifier. |
TermAttributes
Gets or sets the term attributes.
Declaration
public DictionaryEx<string, object> TermAttributes { get; set; }
Property Value
Type | Description |
---|---|
DictionaryEx<System.String, System.Object> | The term attributes. |
Text
Gets or sets the text.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The text. |
Methods
Clone()
Clones this instance.
Declaration
public TermTranslation Clone()
Returns
Type | Description |
---|---|
TermTranslation |
Equals(TermTranslation)
Performs a deep-equals comparison.
System.Object.Equals(object)
Declaration
public bool Equals(TermTranslation other)
Parameters
Type | Name | Description |
---|---|---|
TermTranslation | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Performs a deep-equals comparison.
System.Object.Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for this instance. |
ShouldSerializeTermAttributes()
Used by JSON serialization.
Declaration
public bool ShouldSerializeTermAttributes()
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.IEquatable<>