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.
Namespace: DevCase.Core.DataProcessing.Html.BBCodeAssembly: 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
)
Public Delegate Function BBCodeHtmlRendererCallback (
node As BBCodeNode,
throwOnError As Boolean,
lookupTable As Dictionary(Of String, BBCodeHtmlRendererBBCodeHtmlRendererCallback)
) As String
Dim instance As New BBCodeHtmlRendererCallback(AddressOf HandlerMethod)
public delegate String^ BBCodeHtmlRendererCallback(
BBCodeNode^ node,
bool throwOnError,
Dictionary<String^, BBCodeHtmlRendererBBCodeHtmlRendererCallback^>^ lookupTable
)
type BBCodeHtmlRendererCallback =
delegate of
node : BBCodeNode *
throwOnError : bool *
lookupTable : Dictionary<string, BBCodeHtmlRendererBBCodeHtmlRendererCallback> -> string
No code example is currently available or this language may not be supported.
- 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.
String
A string containing the HTML code for Node and all children.