EmphasisInlineRenderer Class

A HTML renderer for an EmphasisInline.

public class EmphasisInlineRenderer : HtmlObjectRenderer<EmphasisInline>
Inheritance
HtmlObjectRenderer<EmphasisInline> EmphasisInlineRenderer

Nested types

NameDescription
EmphasisInlineRenderer.GetTagDelegateDelegates to get the tag associated to an EmphasisInline object.

Constructors

NameDescription
EmphasisInlineRenderer()Initializes a new instance of the EmphasisInlineRenderer class.

EmphasisInlineRenderer()

EmphasisInlineRenderer.cs

Initializes a new instance of the EmphasisInlineRenderer class.

public EmphasisInlineRenderer()

Properties

NameDescription
GetTagGets or sets the GetTag delegate.

Gets or sets the GetTag delegate.

public EmphasisInlineRenderer.GetTagDelegate GetTag { get; set; }

Methods

NameDescription
GetDefaultTag(EmphasisInline)Gets the default HTML tag for ** and __ emphasis.
Write(HtmlRenderer, EmphasisInline)Writes the object to the specified renderer.

GetDefaultTag(EmphasisInline)

EmphasisInlineRenderer.cs

Gets the default HTML tag for ** and __ emphasis.

public static string? GetDefaultTag(EmphasisInline obj)

Parameters

obj EmphasisInline
The object.

Returns

string?

Write(HtmlRenderer, EmphasisInline)

EmphasisInlineRenderer.cs

Writes the object to the specified renderer.

protected override void Write(HtmlRenderer renderer, EmphasisInline obj)

Parameters

renderer HtmlRenderer
obj EmphasisInline