C# Класс PowerStudio.LanguageServices.PowerShell.Intellisense.Completion.CompletionCommandHandler

Наследование: IOleCommandTarget
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

Exec() публичный Метод

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.
Результат int

QueryStatus() публичный Метод

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.
Результат int