# MermaidParseOptions

Supplies explicit context needed to resolve Mermaid source.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidParseOptions.cs:7](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidParseOptions.cs#L7)

**Modifiers**

sealed

Supplies explicit context needed to resolve Mermaid source.

## Inheritance

- object
- MermaidParseOptions

## Usage

 Explore 6 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 [MermaidParseOptions.Clone](/api/chartforgex-mermaid-mermaidparseoptions/#method-clone)
- Property [MermaidRenderOptions.ParseOptions](/api/chartforgex-mermaid-mermaidrenderoptions/#property-parseoptions)

### Accepted by parameters 4

- Method [MermaidParser.Parse](/api/chartforgex-mermaid-mermaidparser/#method-parse-string-chartforgex-mermaid-mermaidparseoptions) parameter `options`
- Method [MermaidParser.ParseGantt](/api/chartforgex-mermaid-mermaidparser/#method-parsegantt-string-chartforgex-mermaid-mermaidparseoptions) parameter `options`
- Method [MermaidParser.ParseRailroad](/api/chartforgex-mermaid-mermaidparser/#method-parserailroad-string-chartforgex-mermaid-mermaidparseoptions-threading-cancellationtoken) parameter `options`
- Method [MermaidParser.ParseZenUml](/api/chartforgex-mermaid-mermaidparser/#method-parsezenuml-string-chartforgex-mermaid-mermaidparseoptions-threading-cancellationtoken) parameter `options`

 Filter members   

    Show inherited   

 

## Constructors

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

[MermaidParseOptions.cs:7](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidParseOptions.cs#L7)

## Methods

 `public MermaidParseOptions Clone()` [#](#method-clone) 

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

Captures calendar context and independent resource limits for one operation.

Returns

 `MermaidParseOptions` 

## 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 MermaidResourceLimits ResourceLimits { get; set; }` [#](#property-resourcelimits) 

[MermaidParseOptions.cs:9](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidParseOptions.cs#L9)

Gets or sets resource bounds captured independently for each parse request.

 `public DateTime? GanttDateAnchor { get; set; }` [#](#property-ganttdateanchor) 

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

Gets or sets the calendar date used by Gantt input formats that omit the year. Time-of-day and Kind are ignored.

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