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
object ← BlockSyntaxDescriptor
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
Parser
Get the Parser.
public MarkdownBlockParser Parser { get; }
Property Value
Methods
AppendInline(SourceText)
Defines the interface for Append Inline.
public BlockSyntaxDescriptor AppendInline(SourceText text)
Parameters
text
SourceText
The SourceText.
Returns
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="">> GetAttributes()
Returns
IEnumerable<KeyValuePair<string, object>>
The IEnumerable.
GetContent()
Defines the interface for get content.
public ICollection<sourcetext> GetContent()
Returns
The ICollection.
HasAttribute(string)
Defines the interface for check Has Attribute
public bool HasAttribute(string name)
Parameters
name
string
The string name.
Returns
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
The string. </t></keyvaluepair<string,></t>