API Reference
Class
MarkdownFenceOptionSet
Parsed fenced metadata values for a specific option schema.
Inheritance
- Object
- MarkdownFenceOptionSet
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
Methods
public Boolean HasOption(String name) #Returns:
BooleanReturns true when the parsed set contains the specified option.
Parameters
- name System.String
public Boolean TryGetBoolean(String name, out Boolean value) #Returns:
BooleanAttempts to read a boolean-valued option.
Parameters
- name System.String
- value System.Boolean@
public Boolean TryGetInt32(String name, out Int32 value) #Returns:
BooleanAttempts to read a 32-bit integer-valued option.
Parameters
- name System.String
- value System.Int32@
public Boolean TryGetString(String name, out String value) #Returns:
BooleanAttempts to read a string-valued option.
Parameters
- name System.String
- value System.String@
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public MarkdownFenceOptionSchema Schema { get; } #Schema used for parsing.
public MarkdownCodeFenceInfo FenceInfo { get; } #Original fenced-code info descriptor.
public IReadOnlyDictionary<String, String> Values { get; } #Canonical parsed option values keyed by option name.
public IReadOnlyDictionary<String, String> Errors { get; } #Validation errors keyed by canonical option name.
public IReadOnlyList<String> UnknownOptions { get; } #Unknown non-core attributes encountered during schema parsing.
public Boolean IsValid { get; } #Returns true when no schema validation errors were found.