Skip to content

T_Aml_Editor_Plugin_Contracts_Commanding_CommandExecution

AutomationML edited this page Jun 24, 2019 · 1 revision

CommandExecution Delegate

AutomationML Editor

This delegate type defines the callback function, provided by the AMLEditor to a PlugIn, implementing the IEditorCommanding interface.

Namespace: Aml.Editor.Plugin.Contracts.Commanding
Assembly: AML.Editor.PluginContracts (in AML.Editor.PluginContracts.dll) Version: 2.1

Syntax

C#

public delegate bool CommandExecution(
	IAMLEditorPlugin source,
	AMLEditorCommandEnum command,
	EditorCommandArguments args
)

VB

Public Delegate Function CommandExecution ( 
	source As IAMLEditorPlugin,
	command As AMLEditorCommandEnum,
	args As EditorCommandArguments
) As Boolean

C++

public delegate bool CommandExecution(
	IAMLEditorPlugin^ source, 
	AMLEditorCommandEnum command, 
	EditorCommandArguments^ args
)

Parameters

 

source
Type: Aml.Editor.Plugin.Contracts.IAMLEditorPlugin
The source PlugIn which calls the delegate.
command
Type: Aml.Editor.Plugin.Contracts.Commanding.AMLEditorCommandEnum
The command which should be executed.
args
Type: Aml.Editor.Plugin.Contracts.Commanding.EditorCommandArguments
The command arguments.

Return Value

Type: Boolean

See Also

Reference

Aml.Editor.Plugin.Contracts.Commanding Namespace

Clone this wiki locally