C# Class MySql.Data.VisualStudio.MySqlDataViewCommandHandler

Represents a custom data view command handler.
Inheritance: DataViewCommandHandler
Afficher le fichier Open project: elevate/mysqlconnector-.net

Méthodes publiques

Méthode Description
ExecuteCommand ( int itemId, OleCommand command, OleCommandExecutionOption executionOption, object arguments ) : object

Executes a specified command, potentially based on parameters passed in from the data view support XML.

ExecuteCommand ( int itemIds, OleCommand command, OleCommandExecutionOption executionOption, object arguments ) : object[]

Executes a specified command, potentially based on parameters passed in from the data view support XML.

GetCommandStatus ( int itemIds, OleCommand command, OleCommandTextType textType, OleCommandStatus status ) : OleCommandStatus

This method supplies information about a command's status. At this point all commands are supported and visible.

Private Methods

Méthode Description
HandleStaticCommand ( int commandId ) : bool

Handle any of the static commands

MakeNewNode ( int id ) : BaseNode

Method Details

ExecuteCommand() public méthode

Executes a specified command, potentially based on parameters passed in from the data view support XML.
public ExecuteCommand ( int itemId, OleCommand command, OleCommandExecutionOption executionOption, object arguments ) : object
itemId int /// Identifier of hierarchy item for which command should be executed. ///
command OleCommand /// The OleCommand object representing the command to invoke. ///
executionOption OleCommandExecutionOption /// Any OleCommandExecutionOption object instance representing options on the /// invoked command. /// NOT USED. ///
arguments object /// An object representing arguments to the command. /// NOT USED. ///
Résultat object

ExecuteCommand() public méthode

Executes a specified command, potentially based on parameters passed in from the data view support XML.
public ExecuteCommand ( int itemIds, OleCommand command, OleCommandExecutionOption executionOption, object arguments ) : object[]
itemIds int /// Array of identifiers for the items in the data view hierarchy on which this /// command should be invoked. ///
command OleCommand /// The OleCommand object representing the command to invoke. ///
executionOption OleCommandExecutionOption /// Any OleCommandExecutionOption object instance representing options on the /// invoked command. /// NOT USED. ///
arguments object /// An object representing arguments to the command. /// NOT USED. ///
Résultat object[]

GetCommandStatus() public méthode

This method supplies information about a command's status. At this point all commands are supported and visible.
public GetCommandStatus ( int itemIds, OleCommand command, OleCommandTextType textType, OleCommandStatus status ) : OleCommandStatus
itemIds int /// Array of identifiers for the items in the data view hierarchy on which this /// command should be invoked. ///
command OleCommand /// The OleCommand object representing the command to invoke. ///
textType OleCommandTextType /// The OleCommandTextType object instance for the specified command. ///
status OleCommandStatus /// The OleCommandStatus object instance for the specified command. ///
Résultat OleCommandStatus