# MarkupParseResult<TDocument>

Represents the result of parsing ChartForgeX markup.

 Class  

`ChartForgeX.Markup`

**Namespace**

`ChartForgeX.Markup`

**Assembly**

`ChartForgeX.Markup`

**Source**

[MarkupParseResult.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Markup/MarkupParseResult.cs#L14)

**Modifiers**

sealed

Represents the result of parsing ChartForgeX markup.

## Inheritance

- object
- MarkupParseResult<TDocument>

## Usage

 Explore 14 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 14

- Method [MarkupArchitectureParser.Parse](/api/chartforgex-markup-markuparchitectureparser/#method-parse-string)
- Method [MarkupArchitectureParser.ParseBlock](/api/chartforgex-markup-markuparchitectureparser/#method-parseblock-chartforgex-markup-visualmarkupblock)
- Method [MarkupChartParser.Parse](/api/chartforgex-markup-markupchartparser/#method-parse-string)
- Method [MarkupChartParser.ParseBlock](/api/chartforgex-markup-markupchartparser/#method-parseblock-chartforgex-markup-visualmarkupblock)
- Method [MarkupFlowParser.Parse](/api/chartforgex-markup-markupflowparser/#method-parse-string)
- Method [MarkupFlowParser.ParseBlock](/api/chartforgex-markup-markupflowparser/#method-parseblock-chartforgex-markup-visualmarkupblock)
- Method [MarkupSequenceParser.Parse](/api/chartforgex-markup-markupsequenceparser/#method-parse-string)
- Method [MarkupSequenceParser.ParseBlock](/api/chartforgex-markup-markupsequenceparser/#method-parseblock-chartforgex-markup-visualmarkupblock)
- Method [MarkupTableParser.Parse](/api/chartforgex-markup-markuptableparser/#method-parse-string)
- Method [MarkupTableParser.ParseBlock](/api/chartforgex-markup-markuptableparser/#method-parseblock-chartforgex-markup-visualmarkupblock)
- Method [MarkupTimelineParser.Parse](/api/chartforgex-markup-markuptimelineparser/#method-parse-string)
- Method [MarkupTimelineParser.ParseBlock](/api/chartforgex-markup-markuptimelineparser/#method-parseblock-chartforgex-markup-visualmarkupblock)
- Method [MarkupTopologyParser.Parse](/api/chartforgex-markup-markuptopologyparser/#method-parse-string)
- Method [MarkupTopologyParser.ParseBlock](/api/chartforgex-markup-markuptopologyparser/#method-parseblock-chartforgex-markup-visualmarkupblock)

## Type Parameters

**TDocument**

 Filter members   

    Show inherited   

 

## Constructors

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

[MarkupParseResult.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Markup/MarkupParseResult.cs#L14)

## 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) 

[MarkupParseResult.cs:11](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Markup/MarkupParseResult.cs#L11)

Gets or sets the parsed document.

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

[MarkupParseResult.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Markup/MarkupParseResult.cs#L14)

Gets parser diagnostics.

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

[MarkupParseResult.cs:17](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Markup/MarkupParseResult.cs#L17)

Gets whether parsing produced errors.

<!-- PowerForge markdown artifact sha256:F7E78FB2D30CB2D8322F494ED774642FA9B5CB80FBBF05CB3D345E243BAAA573 -->
