Class CommentContainer
An AnnotationContainer representing user comments.
Inheritance
CommentContainer
Implements
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel.Annotations
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
[DataContract]
public class CommentContainer : AnnotationContainer, IEquatable<MetadataContainer>, ICloneable<MarkupData>, IEquatable<MarkupData>, ISkeletonItemReference<CommentDefinition>
Constructors
CommentContainer()
Declaration
public CommentContainer()
Properties
CommentDefinitionId
Gets or sets the comment definition ID.
Declaration
[DataMember(Name = "commentDefinitionId")]
public int CommentDefinitionId { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The comment definition ID. |
Definition
Gets the CommentDefinition.
Declaration
public CommentDefinition Definition { get; }
Property Value
| Type | Description |
|---|---|
| CommentDefinition |
Type
Gets the MarkupData type.
Declaration
[JsonProperty("type")]
protected override string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| 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 |
|---|---|
| bool |
Overrides
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
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | 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. |