C# Class PowerStudio.LanguageServices.PowerShell.Intellisense.Completion.CompletionCommandHandler

Inheritance: IOleCommandTarget
显示文件 Open project: IntelliTect/PowerStudio

Public Methods

Method Description
Exec ( System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int

Executes the specified command.

QueryStatus ( System.Guid &pguidCmdGroup, uint cCmds, OLECMD prgCmds, IntPtr pCmdText ) : int

Queries the object for the status of one or more commands generated by user interface events.

Private Methods

Method Description
CompletionCommandHandler ( IVsTextView textViewAdapter, IWpfTextView textView, CompletionHandlerProvider provider ) : System

Initializes a new instance of the CompletionCommandHandler class.

IsProjection ( ITextBuffer match ) : bool
OnSessionDismissed ( object sender, EventArgs e ) : void
TriggerCompletion ( ) : bool

Method Details

Exec() public method

Executes the specified command.
public Exec ( System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
pguidCmdGroup System.Guid The GUID of the command group.
nCmdID uint The command ID.
nCmdexecopt uint Specifies how the object should execute the command. Possible values are taken from the and enumerations.
pvaIn System.IntPtr The input arguments of the command.
pvaOut System.IntPtr The output arguments of the command.
return int

QueryStatus() public method

Queries the object for the status of one or more commands generated by user interface events.
public QueryStatus ( System.Guid &pguidCmdGroup, uint cCmds, OLECMD prgCmds, IntPtr pCmdText ) : int
pguidCmdGroup System.Guid The GUID of the command group.
cCmds uint The number of commands in .
prgCmds OLECMD An array of structures that indicate the commands for which the caller needs status information. This method fills the member of each structure with values taken from the enumeration.
pCmdText System.IntPtr An structure in which to return name and/or status information of a single command. This parameter can be null to indicate that the caller does not need this information.
return int