GetActionStatement(ScriptStatementInfo scriptStatementInfo, Inedo.ExecutionEngine.ActionStatement originalStatement) Method

Returns a Inedo.ExecutionEngine.ActionStatement which can be used to call a script with the specified name and arguments.

Syntax

public virtual Inedo.ExecutionEngine.ActionStatement GetActionStatement(ScriptStatementInfo scriptStatementInfo, Inedo.ExecutionEngine.ActionStatement originalStatement)

Parameters

scriptStatementInfo
Type: ScriptStatementInfo

ScriptStatementInfo specifying the script, operation, and arguments.

originalStatement
Type: Inedo.ExecutionEngine.ActionStatement

Original statement value. When not null (Nothing in Visual Basic), named arguments are copied from this instance to the return value.

Returns

Inedo.ExecutionEngine.ActionStatement which can be used to call the script.

Exceptions

System.ArgumentNullException

scriptStatementInfo is null (Nothing in Visual Basic).