Class Term
Terminology element.
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel.Skeleton
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
public class Term : ExtensionDataContainer, ICloneable<Term>, ITermAttributeContainer
Constructors
Term()
Initializes a new instance of the Term class.
Declaration
public Term()
Properties
Id
Gets or sets the identifier.
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | The identifier. |
Score
Gets or sets the terminology score.
Declaration
public double Score { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The terminology score. |
TermAttributes
Gets or sets term level attributes contained at any level within the termbase field structures.
Declaration
public DictionaryEx<string, object> TermAttributes { get; set; }
Property Value
Type | Description |
---|---|
DictionaryEx<System.String, System.Object> | The term attributes. |
TermOrigin
Gets or sets the term origin.
Declaration
public TermOrigin TermOrigin { get; set; }
Property Value
Type | Description |
---|---|
TermOrigin | The term origin. |
TermTranslations
Gets or sets the term translations.
Declaration
public List<TermTranslation> TermTranslations { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<TermTranslation> | The term translations. |
Text
Gets or sets the terminology text.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The terminology text. |
Methods
Clone()
Clones this instance.
Declaration
public Term Clone()
Returns
Type | Description |
---|---|
Term | A deep clone of this instance. |
Equals(Term)
Performs a deep-equals comparison.
System.Object.Equals(object)
Declaration
public bool Equals(Term other)
Parameters
Type | Name | Description |
---|---|---|
Term | 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 |
ShouldSerializeTermTranslations()
Used by JSON serialization.
Declaration
public bool ShouldSerializeTermTranslations()
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.IEquatable<>