# MermaidRenderResult

A parsed document, optional static artifact, and diagnostics from one render request.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidRenderer.cs:127](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidRenderer.cs#L127)

**Modifiers**

sealed

A parsed document, optional static artifact, and diagnostics from one render request.

## Inheritance

- object
- MermaidRenderResult

## Usage

 Explore 2 API references to this type 

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 2

- Method [MermaidRenderer.Render](/api/chartforgex-mermaid-mermaidrenderer/#method-render-string-chartforgex-mermaid-mermaidrenderoptions)
- Method [MermaidRenderer.RenderParsed](/api/chartforgex-mermaid-mermaidrenderer/#method-renderparsed-chartforgex-mermaid-mermaidparseresult-chartforgex-mermaid-mermaiddocument-chartforgex-mermaid-mermaidrenderoptions-threading-cancellationtoken)

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidRenderResult()` [#](#constructor-ctor) 

[MermaidRenderer.cs:127](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidRenderer.cs#L127)

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

## Properties

 `public MermaidDocument? Document { get; internal set; }` [#](#property-document) 

[MermaidRenderer.cs:123](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidRenderer.cs#L123)

Gets the source-preserving parsed document when a family was recognized.

 `public VisualArtifact? Artifact { get; internal set; }` [#](#property-artifact) 

[MermaidRenderer.cs:125](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidRenderer.cs#L125)

Gets the artifact when parsing and conversion succeeded.

 `public List<MermaidDiagnostic> Diagnostics { get; }` [#](#property-diagnostics) 

[MermaidRenderer.cs:127](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidRenderer.cs#L127)

Gets located parsing or conversion diagnostics.

 `public bool HasErrors { get; }` [#](#property-haserrors) 

[MermaidRenderer.cs:129](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidRenderer.cs#L129)

Gets whether an error prevented rendering.

<!-- PowerForge markdown artifact sha256:972FFD74CCF91CAEF0A272E4452ABE63D0AF576600A17753D26F8126F4351909 -->
