Method
HtmlDocumentationExporter.CreateExampleSchemaTabControl
CreateExampleSchemaTabControl(string?, string?, string?, string) #
Creates a tab control with Example and Schema tabs when both are available. If only one is available, it renders just that content without tabs.
protected virtual HtmlElement? CreateExampleSchemaTabControl(string? example, string? exampleLanguage, string? jsonSchema, string tabId)Parameters #
example string?
The example content, or null if not available.
exampleLanguage string?
The language for syntax highlighting of the example.
jsonSchema string?
The JSON schema content, or null if not available.
tabId string
A unique identifier for this tab control instance.
Returns #
HtmlElement?
The HTML element representing the tab control or single content block.