Class Paragraph
A MarkupDataContainer containing the source or target content of a ParagraphUnit.
Inheritance
System.Object
Paragraph
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
public class Paragraph : MarkupDataContainer, ICloneable<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 |
---|---|---|
System.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
protected override string Type { get; set; }
Property Value
Type | Description |
---|---|
System.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. |
Implements
System.IEquatable<>
System.IEquatable<>