Class MdEntity
Provides the base implementation for Markdown entities with clone support.
Inheritance
System.Object
MdEntity
Namespace: Syncfusion.Office.Markdown
Assembly: Syncfusion.Markdown.dll
Syntax
public abstract class MdEntity : Object
Constructors
MdEntity()
Initializes a new instance of the MdEntity class.
Declaration
protected MdEntity()
MdEntity(MarkdownDocument)
Initializes a new instance of the MdEntity class with the specified MarkdownDocument instance.
Declaration
protected MdEntity(MarkdownDocument document)
Parameters
| Type | Name | Description |
|---|---|---|
| MarkdownDocument | document | The MarkdownDocument instance. |
MdEntity(MarkdownDocument, MdEntity)
Initializes a new instance of the MdEntity class with the specified MarkdownDocument instance and owner.
Declaration
protected MdEntity(MarkdownDocument document, MdEntity owner)
Parameters
| Type | Name | Description |
|---|---|---|
| MarkdownDocument | document | The Markdown document. |
| MdEntity | owner | The owner entity. |
Fields
m_document
Specifies the Markdown document instance.
Declaration
protected MarkdownDocument m_document
Field Value
| Type |
|---|
| MarkdownDocument |
Properties
Document
Gets the owner document.
Declaration
public MarkdownDocument Document { get; }
Property Value
| Type | Description |
|---|---|
| MarkdownDocument | The MarkdownDocument instance. |
Owner
Gets the owner entity.
Declaration
public MdEntity Owner { get; }
Property Value
| Type | Description |
|---|---|
| MdEntity | The owner. |
Methods
Clone()
Creates a duplicate copy of the entity.
Declaration
public MdEntity Clone()
Returns
| Type | Description |
|---|---|
| MdEntity | The MdEntity object which is a copy of the current entity. |
CloneImpl()
Creates a duplicate copy of the entity using memberwise clone.
Declaration
protected virtual object CloneImpl()
Returns
| Type | Description |
|---|---|
| System.Object | An System.Object reference to the newly created instance. |