API Reference
Class
VisualMarkupFenceOptions
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
- The source key.
Returns
The normalized key.
ParseBoolean(System.String value, System.String optionName) #Parses a boolean option value.
Parameters
- value System.String
- The source value.
- optionName System.String
- 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
- The source value.
- optionName System.String
- 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
- The source value.
- optionName System.String
- 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
- The source value.
- optionName System.String
- 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
- The visual markup block carrying fence attributes.
- key System.String
- The attribute key to find.
- value System.String@
- The attribute value when present.
Returns
True when the attribute is present.