Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

MarkdownFenceOptionSet

Namespace OfficeIMO.MarkdownRenderer
Assembly OfficeIMO.MarkdownRenderer
Modifiers sealed

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: Boolean

Returns true when the parsed set contains the specified option.

Parameters

name System.String requiredposition: 0
public Boolean TryGetBoolean(String name, out Boolean value) #
Returns: Boolean

Attempts to read a boolean-valued option.

Parameters

name System.String requiredposition: 0
value System.Boolean@ requiredposition: 1
public Boolean TryGetInt32(String name, out Int32 value) #
Returns: Boolean

Attempts to read a 32-bit integer-valued option.

Parameters

name System.String requiredposition: 0
value System.Int32@ requiredposition: 1
public Boolean TryGetString(String name, out String value) #
Returns: Boolean

Attempts to read a string-valued option.

Parameters

name System.String requiredposition: 0
value System.String@ requiredposition: 1

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.