Class Paragraph
A MarkupDataContainer containing the source or target content of a ParagraphUnit.
Inheritance
Paragraph
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
[DataContract]
public class Paragraph : MarkupDataContainer, IEquatable<MetadataContainer>, ICloneable<MarkupData>, IEquatable<MarkupData>
Constructors
Paragraph()
Initializes a new instance of the Paragraph class.
Declaration
public Paragraph()
Paragraph(Segment)
Declaration
public Paragraph(Segment segment)
Parameters
| Type | Name | Description |
|---|---|---|
| Segment | segment | The Segment to be added as a child to this instance. |
Paragraph(string)
Initializes a new instance of the Paragraph class.
Declaration
public Paragraph(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The identifier. |
Properties
ParentParagraphUnit
The ParagraphUnit containing this item.
Declaration
public override ParagraphUnit ParentParagraphUnit { get; set; }
Property Value
| Type | Description |
|---|---|
| ParagraphUnit |
Overrides
Type
Gets the type of MarkupData.
Declaration
[JsonProperty("type")]
protected override string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The type. |
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 Paragraph Clone()
Returns
| Type | Description |
|---|---|
| Paragraph | A deep clone of this instance. |
UniqueClone()
Clones this instance, assigning a new unique Id.
Declaration
public Paragraph UniqueClone()
Returns
| Type | Description |
|---|---|
| Paragraph | A deep clone of this instance, with a new unique Id. |