1using System.Threading.Tasks;
24 [Page(2,
"Script", 100)]
25 [Header(9,
"Command script:")]
26 [ToolTip(10,
"Script that gets evaluated when then command is executed.")]
27 [Text(
TextPosition.AfterField, 28,
"Script that is evaluated when command is executed. Use the \"this\" variable to refer to the script node publishing the command.")]
28 [ContentType(
"application/x-webscript")]
36 this.parsedScript =
null;
Contains information about a language.
Task< string > GetStringAsync(Type Type, int Id, string Default)
Gets the string value of a string ID. If no such string exists, a string is created with the default ...
Represents a command on a script node.
Abstract base class for script node commands and queries.
string[] script
Unparsed script expression.
async Task< ScriptParameterNode[]> GetParameters(VirtualNode Node)
Gets a node command based on the script command.
Represents a command that can be executed on a script node or script reference node.
ScriptCommandNode()
Represents a command that can be executed on a script node or script reference node.
override Task< string > GetTypeNameAsync(Language Language)
Gets the type name of the node.
override async Task< ICommand > GetCommand(VirtualNode Node)
Gets a node command based on the script command.
string[] CommandScript
Script for executing command.
Virtual node, that can be used as a placeholder for services.
TextPosition
Where the instructions are to be place.