Class CommentContainer
An AnnotationContainer representing user comments.
Inheritance
System.Object
CommentContainer
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel.Annotations
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
public class CommentContainer : AnnotationContainer, ICloneable<MarkupData>, ISkeletonItemReference<CommentDefinition>
Constructors
CommentContainer()
Declaration
public CommentContainer()
Properties
CommentDefinitionId
Gets or sets the comment definition ID.
Declaration
public int CommentDefinitionId { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.String |
Overrides
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
Clone()
Clones this instance.
Declaration
public CommentContainer Clone()
Returns
Type | Description |
---|---|
CommentContainer | The clone. |
Equals(MarkupData)
MarkupData based equality.
Declaration
public override bool Equals(MarkupData other)
Parameters
Type | Name | Description |
---|---|---|
MarkupData | other |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
Equals(Object)
Performs a deep-equals comparison.
System.Object.Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for this instance. |
Overrides
UniqueClone()
Clones this instance using a new uniqueu ID.
Declaration
public CommentContainer UniqueClone()
Returns
Type | Description |
---|---|
CommentContainer | The clone. |
Implements
System.IEquatable<>
System.IEquatable<>