# MermaidParseResult<TDocument>

Represents a Mermaid parse result. Review signatures, members, parameters, type relationships, and available reference details in ChartForgeX API reference.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidParseResult.cs:15](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidParseResult.cs#L15)

**Modifiers**

sealed

Represents a Mermaid parse result.

## Inheritance

- object
- MermaidParseResult<TDocument>

## Usage

 Explore 33 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 32

- Method [MermaidParser.Parse](/api/chartforgex-mermaid-mermaidparser/#method-parse-string)
- Method [MermaidParser.ParseAgentflow](/api/chartforgex-mermaid-mermaidparser/#method-parseagentflow-string)
- Method [MermaidParser.ParseArchitecture](/api/chartforgex-mermaid-mermaidparser/#method-parsearchitecture-string)
- Method [MermaidParser.ParseBlock](/api/chartforgex-mermaid-mermaidparser/#method-parseblock-string)
- Method [MermaidParser.ParseC4](/api/chartforgex-mermaid-mermaidparser/#method-parsec4-string)
- Method [MermaidParser.ParseClass](/api/chartforgex-mermaid-mermaidparser/#method-parseclass-string)
- Method [MermaidParser.ParseCynefin](/api/chartforgex-mermaid-mermaidparser/#method-parsecynefin-string)
- Method [MermaidParser.ParseEntityRelationship](/api/chartforgex-mermaid-mermaidparser/#method-parseentityrelationship-string)
- Method [MermaidParser.ParseEventModeling](/api/chartforgex-mermaid-mermaidparser/#method-parseeventmodeling-string)
- Method [MermaidParser.ParseFlowchart](/api/chartforgex-mermaid-mermaidparser/#method-parseflowchart-string)
- Method [MermaidParser.ParseGantt](/api/chartforgex-mermaid-mermaidparser/#method-parsegantt-string-chartforgex-mermaid-mermaidparseoptions)
- Method [MermaidParser.ParseGitGraph](/api/chartforgex-mermaid-mermaidparser/#method-parsegitgraph-string)
- Method [MermaidParser.ParseIshikawa](/api/chartforgex-mermaid-mermaidparser/#method-parseishikawa-string)
- Method [MermaidParser.ParseJourney](/api/chartforgex-mermaid-mermaidparser/#method-parsejourney-string)
- Method [MermaidParser.ParseKanban](/api/chartforgex-mermaid-mermaidparser/#method-parsekanban-string)
- Method [MermaidParser.ParseMindMap](/api/chartforgex-mermaid-mermaidparser/#method-parsemindmap-string)
- Method [MermaidParser.ParsePacket](/api/chartforgex-mermaid-mermaidparser/#method-parsepacket-string)
- Method [MermaidParser.ParsePie](/api/chartforgex-mermaid-mermaidparser/#method-parsepie-string)
- Method [MermaidParser.ParseQuadrant](/api/chartforgex-mermaid-mermaidparser/#method-parsequadrant-string)
- Method [MermaidParser.ParseRadar](/api/chartforgex-mermaid-mermaidparser/#method-parseradar-string)
- Method [MermaidParser.ParseRailroad](/api/chartforgex-mermaid-mermaidparser/#method-parserailroad-string-chartforgex-mermaid-mermaidparseoptions-threading-cancellationtoken)
- Method [MermaidParser.ParseRequirement](/api/chartforgex-mermaid-mermaidparser/#method-parserequirement-string)
- Method [MermaidParser.ParseSankey](/api/chartforgex-mermaid-mermaidparser/#method-parsesankey-string)
- Method [MermaidParser.ParseSequence](/api/chartforgex-mermaid-mermaidparser/#method-parsesequence-string)
- Method [MermaidParser.ParseState](/api/chartforgex-mermaid-mermaidparser/#method-parsestate-string)
- Method [MermaidParser.ParseTimeline](/api/chartforgex-mermaid-mermaidparser/#method-parsetimeline-string)
- Method [MermaidParser.ParseTreemap](/api/chartforgex-mermaid-mermaidparser/#method-parsetreemap-string)
- Method [MermaidParser.ParseTreeView](/api/chartforgex-mermaid-mermaidparser/#method-parsetreeview-string)
- Method [MermaidParser.ParseVenn](/api/chartforgex-mermaid-mermaidparser/#method-parsevenn-string)
- Method [MermaidParser.ParseWardley](/api/chartforgex-mermaid-mermaidparser/#method-parsewardley-string)
- Method [MermaidParser.ParseXYChart](/api/chartforgex-mermaid-mermaidparser/#method-parsexychart-string)
- Method [MermaidParser.ParseZenUml](/api/chartforgex-mermaid-mermaidparser/#method-parsezenuml-string)

### Accepted by parameters 1

- Method [MermaidRenderer.RenderParsed](/api/chartforgex-mermaid-mermaidrenderer/#method-renderparsed-chartforgex-mermaid-mermaidparseresult-chartforgex-mermaid-mermaiddocument-chartforgex-mermaid-mermaidrenderoptions-threading-cancellationtoken) parameter `parsed`

## Type Parameters

**TDocument**

The Mermaid document type.

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidParseResult<TDocument>()` [#](#constructor-ctor) 

[MermaidParseResult.cs:15](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidParseResult.cs#L15)

## 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 TDocument? Document { get; set; }` [#](#property-document) 

[MermaidParseResult.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidParseResult.cs#L12)

Gets or sets the parsed Mermaid document.

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

[MermaidParseResult.cs:15](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidParseResult.cs#L15)

Gets parser diagnostics.

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

[MermaidParseResult.cs:18](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidParseResult.cs#L18)

Gets whether parsing produced errors.

<!-- PowerForge markdown artifact sha256:9988FA1A6999DB9F696F0CC63FC5CCA057878FAB13AEB63158AE6D3355098931 -->
