2using System.Threading.Tasks;
33 StringBuilder Output =
new StringBuilder();
34 await Document.GenerateSmartContractXml(Output, XmlSettings);
35 return Output.ToString();
46 return Document.GenerateSmartContractXml(Output,
XML.
WriterSettings(
false,
true));
58 XmlSettings.ConformanceLevel = ConformanceLevel.Fragment;
Markdown rendering extensions for Smart Contracts. Ref: https://neuro-foundation.io/SmartContracts....
static async Task GenerateSmartContractXml(this MarkdownDocument Document, StringBuilder Output, XmlWriterSettings XmlSettings)
Generates Human-Readable XML for Smart Contracts from the markdown text. Ref: https://neuro-foundatio...
static Task< string > GenerateSmartContractXml(this MarkdownDocument Document)
Generates Human-Readable XML for Smart Contracts from the markdown text. Ref: https://neuro-foundatio...
static async Task< string > GenerateSmartContractXml(this MarkdownDocument Document, XmlWriterSettings XmlSettings)
Generates Human-Readable XML for Smart Contracts from the markdown text. Ref: https://neuro-foundatio...
static Task GenerateSmartContractXml(this MarkdownDocument Document, StringBuilder Output)
Generates Human-Readable XML for Smart Contracts from the markdown text. Ref: https://neuro-foundatio...
Renders Contracts XML from a Markdown document.
Contains a markdown document. This markdown document class supports original markdown,...
async Task RenderDocument(IRenderer Output)
Renders the document using provided output format.
Helps with common XML-related tasks.
static XmlWriterSettings WriterSettings(bool Indent, bool OmitXmlDeclaration)
Gets an XML writer settings object.