CodeBlockResolvingEventArgs Class

Definition

Arguments for the CodeBlockResolving event when a Code Block is being rendered.

public class CodeBlockResolvingEventArgs : EventArgs
type CodeBlockResolvingEventArgs = class
    inherit EventArgs
Public Class CodeBlockResolvingEventArgs
Inherits EventArgs
Inheritance
CodeBlockResolvingEventArgs

Properties

CodeLanguage

Gets the language of the Code Block, as specified by ```{Language} on the first line of the block, e.g.

public void Method();<p></p>
```<p></p>
Handled

Gets or sets a value indicating whether this event was handled successfully.

InlineCollection

Gets Collection to add formatted Text to.

Text

Gets the raw code block text

Applies to