Search Results for

    Show / Hide Table of Contents

    Class TagPair

    A tag composed of a start and and end tag. Can contain other MarkupData elements.

    Inheritance
    Object
    MarkupData
    MarkupDataContainer
    TagPair
    Implements
    ISkeletonItemReference<TagPairDefinition>
    Inherited Members
    MarkupDataContainer.GetAllChildren(Func<MarkupData, Boolean>)
    MarkupDataContainer.GetAllChildren<T>(Func<T, Boolean>)
    MarkupDataContainer.Add(MarkupData)
    MarkupDataContainer.Add(IEnumerable<MarkupData>)
    MarkupDataContainer.Insert(Int32, MarkupData)
    MarkupDataContainer.Remove(MarkupData)
    MarkupDataContainer.Clear()
    MarkupDataContainer.IndexOf(MarkupData)
    MarkupDataContainer.GetEnumerator()
    MarkupDataContainer.MoveToContainer(MarkupDataContainer, Int32, Int32, Int32)
    MarkupDataContainer.ToString()
    MarkupDataContainer.Children
    MarkupDataContainer.AllSubItems
    MarkupDataContainer.Count
    MarkupDataContainer.Item[Int32]
    MarkupData.Id
    MarkupData.Parent
    MarkupData.ParentFragment
    MarkupData.ParentParagraph
    MarkupData.ParentParagraphUnit
    MarkupData.Ancestors
    MarkupData.ParentSegment
    MarkupData.IsContainer
    MarkupData.IndexInParent
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Sdl.LanguagePlatform.TranslationMemoryApi.LiteBCM
    Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
    Syntax
    public class TagPair : MarkupDataContainer, ISkeletonItemReference<TagPairDefinition>

    Constructors

    TagPair(Int32)

    Initializes a new instance of the TagPair class.

    Declaration
    public TagPair(int tagPairDefinitionId)
    Parameters
    Type Name Description
    Int32 tagPairDefinitionId

    The identifier for the TagPairDefinition

    TagPair(String, Int32)

    Initializes a new instance of the TagPair class with the specified identifier and tag pair definition ID.

    Declaration
    public TagPair(string id, int tagPairDefinitionId)
    Parameters
    Type Name Description
    String id

    The unique identifier for the tag pair. Cannot be null or empty.

    Int32 tagPairDefinitionId

    The identifier of the tag pair definition associated with this tag pair.

    Properties

    Definition

    Gets the definition of this item from the Sdl.Core.Bcm.StudioPublicModel.Skeleton.FileSkeleton.

    Declaration
    public TagPairDefinition Definition { get; }
    Property Value
    Type Description
    TagPairDefinition

    The definition of this item from the Sdl.Core.Bcm.StudioPublicModel.Skeleton.FileSkeleton.

    TagNumber

    Gets or sets the TagNumber for this instance. This is the same as the "frameworkOriginalTagId" metadata but now exposed on the tag as well (the metadata will become deprecated). If needed, it will be populated on deserialization from the metadata, the value remains null iff not present (which should not be the case).

    Declaration
    public string TagNumber { get; set; }
    Property Value
    Type Description
    String

    TagPairDefinitionId

    Gets or sets the TagPairDefinition id for this instance. When associated with a skeleton, the ID must correspond to a valid TagPairDefinition in the skeleton.

    Declaration
    public int TagPairDefinitionId { get; set; }
    Property Value
    Type Description
    Int32

    The TagPairDefinition id for this instance.

    Type

    Gets the type of MarkupData.

    Declaration
    protected override string Type { get; set; }
    Property Value
    Type Description
    String

    The type.

    Overrides
    MarkupData.Type

    Methods

    AcceptVisitor(LiteBcmVisitor)

    Accepts a visitor of type LiteBcmVisitor.

    Declaration
    public override void AcceptVisitor(LiteBcmVisitor visitor)
    Parameters
    Type Name Description
    LiteBcmVisitor visitor

    The LiteBcmVisitor used to visit this item.

    Overrides
    MarkupData.AcceptVisitor(LiteBcmVisitor)

    Implements

    ISkeletonItemReference<T>
    In this article
    Back to top Generated by DocFX