BBCodeHtmlRendererBBCodeHtmlRendererCallback Delegate

A delegate that allows you to register for your own BBCode tags.

This is called when the parser encounters the respective custom tag.

Definition

Namespace: DevCase.Core.DataProcessing.Html.BBCode
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public delegate string BBCodeHtmlRendererCallback(
	BBCodeNode node,
	bool throwOnError,
	Dictionary<string, BBCodeHtmlRendererBBCodeHtmlRendererCallback> lookupTable
)

Parameters

node  BBCodeNode
The node that is the custom tag.
throwOnError  Boolean
True if an exception should be thrown upon error.

If set to false, no exceptions should be thrown and errors should be silently dealt with.

lookupTable  DictionaryString, BBCodeHtmlRendererBBCodeHtmlRendererCallback
Internal use only.

Must be passed on to any further ToHtml() calls.

Return Value

String
A string containing the HTML code for Node and all children.

See Also