Search Results for

    Show / Hide Table of Contents

    Class Term

    Terminology element.

    Inheritance
    object
    ExtensionDataContainer
    Term
    Implements
    ICloneable<Term>
    IEquatable<Term>
    ITermAttributeContainer
    Inherited Members
    ExtensionDataContainer.ExtensionData
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: Sdl.Core.Bcm.BcmModel.Skeleton
    Assembly: Sdl.Core.Bcm.BcmModel.dll
    Syntax
    [DataContract]
    public class Term : ExtensionDataContainer, ICloneable<Term>, IEquatable<Term>, ITermAttributeContainer

    Constructors

    Term()

    Initializes a new instance of the Term class.

    Declaration
    public Term()

    Properties

    Id

    Gets or sets the identifier.

    Declaration
    [DataMember(Name = "id")]
    public string Id { get; set; }
    Property Value
    Type Description
    string

    The identifier.

    Score

    Gets or sets the terminology score.

    Declaration
    [DataMember(Name = "score")]
    public double Score { get; set; }
    Property Value
    Type Description
    double

    The terminology score.

    TermAttributes

    Gets or sets term level attributes contained at any level within the termbase field structures.

    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.

    TermOrigin

    Gets or sets the term origin.

    Declaration
    [DataMember(Name = "termOrigin")]
    [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
    public TermOrigin TermOrigin { get; set; }
    Property Value
    Type Description
    TermOrigin

    The term origin.

    TermTranslations

    Gets or sets the term translations.

    Declaration
    [DataMember(Name = "termTranslations")]
    public List<TermTranslation> TermTranslations { get; set; }
    Property Value
    Type Description
    List<TermTranslation>

    The term translations.

    Text

    Gets or sets the terminology text.

    Declaration
    [DataMember(Name = "text")]
    public string Text { get; set; }
    Property Value
    Type Description
    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
    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
    object.Equals(object)

    GetHashCode()

    Returns a hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for this instance.

    Overrides
    object.GetHashCode()

    ShouldSerializeTermAttributes()

    Used by JSON serialization.

    Declaration
    public bool ShouldSerializeTermAttributes()
    Returns
    Type Description
    bool

    ShouldSerializeTermTranslations()

    Used by JSON serialization.

    Declaration
    public bool ShouldSerializeTermTranslations()
    Returns
    Type Description
    bool

    Implements

    ICloneable<T>
    IEquatable<T>
    ITermAttributeContainer
    In this article
    Back to top Generated by DocFX