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
    ExtensionDataContainer
    MetadataContainer
    MarkupData
    MarkupDataContainer
    TagPair
    Implements
    IEquatable<MetadataContainer>
    ICloneable<MarkupData>
    IEquatable<MarkupData>
    ISkeletonItemReference<TagPairDefinition>
    Inherited Members
    MarkupDataContainer.AutoClonedTagPairKey
    MarkupDataContainer.GetAllChildren(Func<MarkupData, bool>)
    MarkupDataContainer.GetAllChildren<T>(Func<T, bool>)
    MarkupDataContainer.Add(MarkupData)
    MarkupDataContainer.Add(IEnumerable<MarkupData>)
    MarkupDataContainer.Insert(int, MarkupData)
    MarkupDataContainer.Remove(MarkupData)
    MarkupDataContainer.Clear()
    MarkupDataContainer.GetEnumerator()
    MarkupDataContainer.MoveToContainer(MarkupDataContainer, int, int, int)
    MarkupDataContainer.Equals(MarkupDataContainer)
    MarkupDataContainer.ToString()
    MarkupDataContainer.CloneWithoutChildren()
    MarkupDataContainer.Children
    MarkupDataContainer.AllSubItems
    MarkupDataContainer.Count
    MarkupDataContainer.this[int]
    MarkupData.Id
    MarkupData.Parent
    MarkupData.ParentFragment
    MarkupData.ParentParagraph
    MarkupData.ParentParagraphUnit
    MarkupData.Ancestors
    MarkupData.ParentSegment
    MarkupData.IsContainer
    MarkupData.IndexInParent
    MetadataContainer.GetMetadata(string)
    MetadataContainer.SetMetadata(string, string)
    MetadataContainer.Equals(MetadataContainer)
    MetadataContainer.ShouldSerialize_metadata()
    MetadataContainer.Metadata
    ExtensionDataContainer.ExtensionData
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: Sdl.Core.Bcm.BcmModel
    Assembly: Sdl.Core.Bcm.BcmModel.dll
    Syntax
    [DataContract]
    public class TagPair : MarkupDataContainer, IEquatable<MetadataContainer>, ICloneable<MarkupData>, IEquatable<MarkupData>, ISkeletonItemReference<TagPairDefinition>

    Constructors

    TagPair()

    Declaration
    public TagPair()

    Properties

    Definition

    Gets the definition of this item from the FileSkeleton.

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

    The definition of this item from the 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
    [DataMember(Name = "tagNumber")]
    public string TagNumber { get; set; }
    Property Value
    Type Description
    string

    TagPairDefinitionId

    Gets or sets the TagPairDefinition id for this instance.

    Declaration
    [DataMember(Name = "tagPairDefinitionId")]
    public int TagPairDefinitionId { get; set; }
    Property Value
    Type Description
    int

    The TagPairDefinition id for this instance.

    Type

    Gets the type of MarkupData.

    Declaration
    [JsonProperty("type")]
    protected override string Type { get; set; }
    Property Value
    Type Description
    string

    The type.

    Overrides
    MarkupData.Type

    Methods

    AcceptVisitor(BcmVisitor)

    Accepts a visitor of type BcmVisitor.

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

    The BcmVisitor used to visit this item.

    Overrides
    MarkupData.AcceptVisitor(BcmVisitor)

    Clone()

    Clones this instance.

    Declaration
    public TagPair Clone()
    Returns
    Type Description
    TagPair

    A deep clone of this instance.

    Equals(MarkupData)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public override bool Equals(MarkupData other)
    Parameters
    Type Name Description
    MarkupData other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    Overrides
    MarkupDataContainer.Equals(MarkupData)

    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
    MarkupDataContainer.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
    MarkupDataContainer.GetHashCode()

    OnDeserialized()

    Declaration
    protected override void OnDeserialized()
    Overrides
    MarkupDataContainer.OnDeserialized()

    UniqueClone()

    Clones this instance, setting a new id.

    Declaration
    public TagPair UniqueClone()
    Returns
    Type Description
    TagPair

    A deep clone of this instance, with a new unique id.

    Implements

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