Class
DemoScript
ConsoleMonster.Demos
Plain PowerShell commands with optional # demo: presentation directives.
Inheritance
- object
- DemoScript
Usage
Explore 4 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 2
- Method DemoScript.Parse
- Method DemoScript.Read
Accepted by parameters 2
- Method ConsoleDemo.Present
- Method ConsoleDemo.Record
Methods
public static DemoScript Parse(string source) #Parses commands and directives. Multiline strings, blocks, pipelines and here-strings remain one command.
Parameters
- source string
Returns
DemoScriptpublic static DemoScript Read(string path) #Reads a UTF-8 demo file.
Parameters
- path string
Returns
DemoScript