Class CommentContainer
An AnnotationContainer representing user comments.
Implements
Inherited Members
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
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. |