Beispiel #1
0
 /// <inheritdoc />
 public string Processing(IProcessingInstruction processing) => _formatter.Processing(processing);
 public override void ToHtml(TextWriter writer, IMarkupFormatter formatter)
 {
     writer.Write(formatter.Processing(this));
 }
 /// <summary>
 /// Returns an HTML-code representation of the node.
 /// </summary>
 /// <param name="formatter">The formatter to use.</param>
 /// <returns>A string containing the HTML code.</returns>
 public override String ToHtml(IMarkupFormatter formatter)
 {
     return formatter.Processing(this);
 }
 public override void ToHtml(TextWriter writer, IMarkupFormatter formatter)
 {
     writer.Write(formatter.Processing(this));
 }
Beispiel #5
0
 public string Processing(IProcessingInstruction processing)
 {
     return(defaultFormatter.Processing(processing));
 }
 /// <summary>
 /// Returns an HTML-code representation of the node.
 /// </summary>
 /// <param name="formatter">The formatter to use.</param>
 /// <returns>A string containing the HTML code.</returns>
 public override String ToHtml(IMarkupFormatter formatter)
 {
     return(formatter.Processing(this));
 }