Class
MarkdownFenceOptionDefinition
OfficeIMO.MarkdownRenderer
Declares one supported fenced metadata option for a host/plugin schema.
Inheritance
- object
- MarkdownFenceOptionDefinition
Usage
Explore 5 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 4
Accepted by parameters 1
Constructors
public MarkdownFenceOptionDefinition(string name, MarkdownFenceOptionValueKind valueKind, IEnumerable<string>? aliases = null, Func<string?, string?>? validator = null) #Creates a new fence option definition.
Parameters
- name string
- valueKind OfficeIMO.MarkdownRenderer.MarkdownFenceOptionValueKind
- aliases System.Collections.Generic.IEnumerable<string>? = null
- validator System.Func<string?, string?>? = null
Methods
public static MarkdownFenceOptionDefinition Boolean(string name, IEnumerable<string>? aliases = null, Func<string?, string?>? validator = null) #Creates a boolean-valued option definition.
Parameters
- name string
- aliases System.Collections.Generic.IEnumerable<string>? = null
- validator System.Func<string?, string?>? = null
public static MarkdownFenceOptionDefinition Int32(string name, IEnumerable<string>? aliases = null, Func<string?, string?>? validator = null) #Creates an integer-valued option definition.
Parameters
- name string
- aliases System.Collections.Generic.IEnumerable<string>? = null
- validator System.Func<string?, string?>? = null
public static MarkdownFenceOptionDefinition String(string name, IEnumerable<string>? aliases = null, Func<string?, string?>? validator = null) #Creates a string-valued option definition.
Parameters
- name string
- aliases System.Collections.Generic.IEnumerable<string>? = null
- validator System.Func<string?, string?>? = null