ICommandProvider Interface

Represents an interface for custom test types to provide new commands to menus and toolbars in the testing framework.

Namespace:  Microsoft.VisualStudio.TestTools.Vsip
Assembly:  Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)

Syntax

'Declaration
Public Interface ICommandProvider
public interface ICommandProvider
public interface class ICommandProvider
type ICommandProvider =  interface end
public interface ICommandProvider

The ICommandProvider type exposes the following members.

Methods

  Name Description
Public method GetCommandHandler Returns the command event handler from the specified context menu that contains the specified command.
Public method GetTypeSpecificCommands Returns a list of command IDs for the type-specific commands that support the associated custom test type that are in the specified context menu.
Public method QueryStatus Returns the status of the context menu command by using the specified context menu, the specified command, and a list of items that were selected at the time the context menu was displayed.

Top

See Also

Reference

Microsoft.VisualStudio.TestTools.Vsip Namespace