Search Results for

    Show / Hide Table of Contents

    Class CommentContainer

    An AnnotationContainer representing user comments.

    Inheritance
    Object
    MarkupData
    MarkupDataContainer
    AnnotationContainer
    CommentContainer
    Implements
    ISkeletonItemReference<CommentDefinition>
    Inherited Members
    AnnotationContainer.AnnotationId
    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.Annotations
    Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
    Syntax
    public class CommentContainer : AnnotationContainer, ISkeletonItemReference<CommentDefinition>

    Constructors

    CommentContainer(Int32)

    Initializes a new instance of the CommentContainer class.

    Declaration
    public CommentContainer(int commentDefinitionId)
    Parameters
    Type Name Description
    Int32 commentDefinitionId

    Definition identifier.

    CommentContainer(String, Int32)

    Initializes a new instance of the CommentContainer class.

    Declaration
    public CommentContainer(string id, int commentDefinitionId)
    Parameters
    Type Name Description
    String id

    The identifier.

    Int32 commentDefinitionId

    Definition identifier.

    Properties

    CommentDefinitionId

    Gets or sets the comment definition ID. When setting the value, the ID must correspond to a valid CommentDefinition in the skeleton.

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

    The comment definition ID.

    Definition

    Gets the CommentDefinition.

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

    Type

    Gets the MarkupData type.

    Declaration
    protected override string Type { get; set; }
    Property Value
    Type Description
    String
    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