Class SyntaxHighlighting
[ScenarioMetadata("Syntax Highlighting", "Text editor with keyword highlighting using the TextView control.")]
[ScenarioCategory("Text and Formatting")]
[ScenarioCategory("Controls")]
[ScenarioCategory("TextView")]
public class SyntaxHighlighting : Scenario, IDisposable
- Inheritance
-
SyntaxHighlighting
- Implements
- Inherited Members
- Extension Methods
Methods
- ReadFromJsonFile<T>(string)
Reads an object instance from an Json file.
Object type must have a parameterless constructor.
- WriteToJsonFile<T>(string, T, bool)
Writes the given object instance to a Json file.
Object type must have a parameterless constructor.
Only Public properties and variables will be written to the file. These can be any type though, even other classes.
If there are public properties/variables that you do not want written to the file, decorate them with the [JsonIgnore] attribute.