1using System.Threading.Tasks;
24 [Page(2,
"Script", 100)]
25 [Header(90,
"Query script:")]
26 [ToolTip(91,
"Script that gets evaluated when then query is executed.")]
27 [Text(
TextPosition.AfterField, 92,
"Script that is evaluated when query is executed. Use the \"this\" variable to refer to the script node publishing the query. The \"Query\" variable will contain the current state of the query, while the \"Language\" variable contains the selected language.")]
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 ...
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 query on a script node.
Represents a query that can be executed on a script node or script reference node.
string[] QueryScript
Script for executing command.
override async Task< ICommand > GetCommand(VirtualNode Node)
Gets a node command based on the script command.
ScriptQueryNode()
Represents a query 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.
Virtual node, that can be used as a placeholder for services.
TextPosition
Where the instructions are to be place.