Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 45
Forks 2
NuGet downloads 48,107
Release ChartForgeX-v1.7.0
Language: HTML Updated: 2026-09-02

API Reference

Class

VisualMarkupFenceOptions

Namespace ChartForgeX.Markup

Provides shared parsing helpers for Markdown fence attributes and option values.

Inheritance

  • Object
  • VisualMarkupFenceOptions

Methods

NormalizeKey(System.String value) #

Normalizes a markup key by keeping only letters and digits and lowercasing them.

Parameters

value System.String required
The source key.

Returns

The normalized key.

ParseBoolean(System.String value, System.String optionName) #

Parses a boolean option value.

Parameters

value System.String required
The source value.
optionName System.String required
The option name used in diagnostics.

Returns

The parsed boolean value.

ParseDouble(System.String value, System.String optionName) #

Parses a double-precision option value.

Parameters

value System.String required
The source value.
optionName System.String required
The option name used in diagnostics.

Returns

The parsed numeric value.

ParseEnum``1(System.String value, System.String optionName) #

Parses an enum option value using ChartForgeX markup's normalized key matching.

Type Parameters

TEnum
The enum type.

Parameters

value System.String required
The source value.
optionName System.String required
The option name used in diagnostics.

Returns

The parsed enum value.

ParseInt32(System.String value, System.String optionName) #

Parses an integer option value.

Parameters

value System.String required
The source value.
optionName System.String required
The option name used in diagnostics.

Returns

The parsed integer value.

TryGetAttribute(ChartForgeX.Markup.VisualMarkupBlock block, System.String key, System.String@ value) #

Finds a fence attribute using ChartForgeX markup's case-insensitive normalized key matching.

Parameters

block ChartForgeX.Markup.VisualMarkupBlock required
The visual markup block carrying fence attributes.
key System.String required
The attribute key to find.
value System.String@ required
The attribute value when present.

Returns

True when the attribute is present.