ScriptLanguageInfo Class

Provides information about a support scripting language

Inheritance Hierarchy

Syntax

public class ScriptLanguageInfo

Constructors

Name Description
ScriptLanguageInfo

Initializes a new instance of the ScriptLanguageInfo class.

Properties

Name Description
CallOperationType

Gets an Inedo.Extensibility.Operations.Operation type that implements a Inedo.Extensibility.Operations.IScriptingOperation used to execute the script.

EnsureOperationType

Gets an Inedo.Extensibility.Operations.EnsureOperation type that implements a Inedo.Extensibility.Operations.IScriptingOperation, or null (Nothing in Visual Basic) if the language doesn't support configuration verification.

FileExtension

Gets the expected file extension of a script file, such as .ps1 or .otter.

Icon

Gets the icon file for script if applicable.

LanguageName

Gets a user friendly name of the scripting language, such as PowerShell or OtterScript.

ParameterUsage

Gets a value describing how parameters can be used in the scripting language.

SyntaxName

Gets the name of the language that is used for syntax highlighting.

VerifyOperationType

Gets a Inedo.Extensibility.Operations.VerifyOperation type that implements a Inedo.Extensibility.Operations.IScriptingOperation, or null (Nothing in Visual Basic) if the language doesn't support configuration verification.

Methods

Name Description
GetActionStatement(ScriptStatementInfo scriptStatementInfo, Inedo.ExecutionEngine.ActionStatement originalStatement)

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

GetScriptInfo(Inedo.Extensibility.RaftRepositories.RaftItem2 script)

Returns ScriptInfo about the specified script.

ParseScriptInfo(Inedo.Extensibility.RaftRepositories.RaftItem2 script)

Returns a ScriptInfo about the specified script.

ReadActionStatement(Inedo.ExecutionEngine.ActionStatement actionStatement)

Returns a ScriptStatementInfo instances populated by processing a Inedo.ExecutionEngine.ActionStatement.