Class Quotation
A markup node that puts quotation signs around another node.
public sealed class Quotation : InlineContainer
- Inheritance
-
Quotation
- Inherited Members
Constructors
Quotation(Inline)
Creates a quotation node from a quoted contents node.
public Quotation(Inline contents)
Parameters
contentsInlineThe contents to quote.
Quotation(Inline, int)
Creates a quotation node from a quoted contents node and an amount of quotation signs to put on each side of the contents.
public Quotation(Inline contents, int numberOfQuotes)
Parameters
contentsInlineThe contents to quote.
numberOfQuotesintThe number of quotation signs on each side of the contents.
Properties
NumberOfQuotes
Gets the number of quotation signs to put on each side of the quoted contents.
public int NumberOfQuotes { get; }
Property Value
- int
The number of quotation signs.
Methods
CreateBoldQuotation(Inline)
Creates a bold quotation node.
public static Inline CreateBoldQuotation(Inline contents)
Parameters
contentsInlineThe contents to quote.
Returns
- Inline
A bold quotation node.
CreateBoldQuotation(string)
Creates a bold quotation node.
public static Inline CreateBoldQuotation(string contents)
Parameters
contentsstringThe contents to quote.
Returns
- Inline
A bold quotation node.
Lower()
Attempts to express this inline node in simpler semantic markup.
public override Inline Lower()
Returns
QuoteEven(params Inline[])
Quotes even (second, fourth, sixth, ...) markup elements and wraps the result in a sequence node.
public static Sequence QuoteEven(params Inline[] nodes)
Parameters
nodesInline[]The nodes to process.
Returns
- Sequence
A sequence container node.
QuoteEvenInBold(params Inline[])
Quotes even (second, fourth, sixth, ...) markup elements in bold and wraps the result in a sequence node.
public static Sequence QuoteEvenInBold(params Inline[] nodes)
Parameters
nodesInline[]The nodes to process.
Returns
- Sequence
A sequence container node.
WithContents(Inline)
Creates a copy of this node with new contents.
public override InlineContainer WithContents(Inline newContents)
Parameters
newContentsInline