IMarkdownObjectRenderer Interface
Base interface for the renderer of a MarkdownObject.
public interface IMarkdownObjectRendererMethods
| Name | Description |
|---|---|
| Accept(RendererBase, Type) | Accepts the specified MarkdownObject. |
| Write(RendererBase, MarkdownObject) | Writes the specified MarkdownObject to the renderer. |
Accept(RendererBase, Type)
Accepts the specified MarkdownObject.
bool Accept(RendererBase renderer, Type objectType)Parameters
rendererRendererBase- The renderer.
objectTypeType- The
Typeof the Markdown object.
Returns
bool true If this renderer is accepting to render the specified Markdown object
Write(RendererBase, MarkdownObject)
Writes the specified MarkdownObject to the renderer.
void Write(RendererBase renderer, MarkdownObject objectToRender)Parameters
rendererRendererBase- The renderer.
objectToRenderMarkdownObject- The object to render.