Implements an object that returns example text, which can be displayed in an application to show how a language's code snippet is syntax-highlighted.
- Inheritance:
- object object
- Implements:
-
IExample
Text Provider
Remarks
Instances of this object can be registered with an ISyntax
Constructors
ExampleTextProvider(string)
Initializes a new instance of the ExampleTextProvider
class.
Parameter | Type | Description |
---|---|---|
exampleText | string | The example text, a code snippet of the related language. |
Properties
ExampleText
Gets or sets the example text, a code snippet of the related language.
Property Value
- string:
The example text.