Class BlockSyntaxDescriptor

Class BlockSyntaxDescriptor

Namespace: Aspose.Html.Toolkit.Markdown.Syntax.Parser
Assembly: Aspose.HTML.dll (25.2.0)

Defines the BlockSyntaxDescriptor.

[ComVisible(true)]
public class BlockSyntaxDescriptor

Inheritance

objectBlockSyntaxDescriptor

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties

Block

Get the Block

public BlockSyntaxNode Block { get; }

Property Value

BlockSyntaxNode

Parser

Get the Parser.

public MarkdownBlockParser Parser { get; }

Property Value

MarkdownBlockParser

Methods

AppendInline(SourceText)

Defines the interface for Append Inline.

public BlockSyntaxDescriptor AppendInline(SourceText text)

Parameters

text SourceText

The SourceText.

Returns

BlockSyntaxDescriptor

The BlockSyntaxDescriptor.

Close()

Defines the interface for Close.

public void Close()

Delete()

Defines the interface for Delete.

public void Delete()

GetAttributeValue<t>(string)

Defines the interface for get the Attribute

public T GetAttributeValue<t>(string name)

Parameters

name string

The string name.

Returns

T

The T type value.

Type Parameters

T

The typeparam.

GetAttributes()

Defines the interface for get attribute.

public IEnumerable<keyvaluepair<string, object="">&gt; GetAttributes()

Returns

IEnumerable<KeyValuePair<string, object&gt;&gt;

The IEnumerable.

GetContent()

Defines the interface for get content.

public ICollection<sourcetext> GetContent()

Returns

ICollection<SourceText&gt;

The ICollection.

HasAttribute(string)

Defines the interface for check Has Attribute

public bool HasAttribute(string name)

Parameters

name string

The string name.

Returns

bool

The boolean.

SetAttributeValue<t>(string, T)

Defines the interface for set attribute.

public void SetAttributeValue<t>(string name, T value)

Parameters

name string

The string name.

value T

The T value.

Type Parameters

T

The T type.

ToString()

Override the ToString interface.

public override string ToString()

Returns

string

The string. </t></keyvaluepair<string,></t>