Class TermTranslation
Translation of a specific Term.
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel.Skeleton
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
[DataContract]
public class TermTranslation : ExtensionDataContainer, ICloneable<TermTranslation>, IEquatable<TermTranslation>, ITermAttributeContainer
Constructors
TermTranslation()
Initializes a new instance of the TermTranslation class.
Declaration
public TermTranslation()
Properties
Id
Gets or sets the identifier.
Declaration
[DataMember(Name = "id")]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The identifier. |
TermAttributes
Gets or sets the term attributes.
Declaration
[DataMember(Name = "termAttributes")]
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public DictionaryEx<string, object> TermAttributes { get; set; }
Property Value
| Type | Description |
|---|---|
| DictionaryEx<string, object> | The term attributes. |
Text
Gets or sets the text.
Declaration
[DataMember(Name = "text")]
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| 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 |
|---|---|
| bool |
Equals(object)
Performs a deep-equals comparison.
System.Object.Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for this instance. |
Overrides
ShouldSerializeTermAttributes()
Used by JSON serialization.
Declaration
public bool ShouldSerializeTermAttributes()
Returns
| Type | Description |
|---|---|
| bool |