C# Класс NuGetConsole.Implementation.PowerConsoleToolWindow

Наследование: Microsoft.VisualStudio.Shell.ToolWindowPane, IOleCommandTarget, IPowerConsoleService
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ClearHost_Exec void
IOleCommandTarget int
IOleCommandTarget int
LoadConsoleEditor void
MoveFocus void
OnDispatcherStartCompleted void
OnDispatcherStartWaitingKey void
PendingFocusPane_Loaded void
PendingMoveFocus void
ProjectsList_Exec void
Projects_Exec void
SourcesList_Exec void
Sources_Exec void
StartConsoleSession void
StopHost_Exec void

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

Метод Описание
OnToolWindowCreated ( ) : void
PowerConsoleToolWindow ( ) : System

Standard constructor for the tool window.

Защищенные методы

Метод Описание
Initialize ( ) : void
OnClose ( ) : void
PreProcessMessage ( System &m ) : bool

This override allows us to forward these messages to the editor instance as well

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

Метод Описание
ClearHost_Exec ( object sender, EventArgs e ) : void

ClearHost command handler.

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

Override to forward to editor or handle accordingly if supported by this tool window.

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

Override to forward to editor or handle accordingly if supported by this tool window.

LoadConsoleEditor ( ) : void
MoveFocus ( FrameworkElement consolePane ) : void
OnDispatcherStartCompleted ( ) : void
OnDispatcherStartWaitingKey ( object sender, EventArgs args ) : void
PendingFocusPane_Loaded ( object sender, RoutedEventArgs e ) : void
PendingMoveFocus ( FrameworkElement consolePane ) : void

Set pending focus to a console pane. At the time of setting active host, the pane (UIElement) is usually not loaded yet and can't receive focus. In this case, we need to set focus in its Loaded event.

ProjectsList_Exec ( object sender, EventArgs e ) : void
Projects_Exec ( object sender, EventArgs e ) : void

Called to retrieve current combo item name or to select a new item.

SourcesList_Exec ( object sender, EventArgs e ) : void
Sources_Exec ( object sender, EventArgs e ) : void

Called to retrieve current combo item name or to select a new item.

StartConsoleSession ( FrameworkElement consolePane ) : void
StopHost_Exec ( object sender, EventArgs e ) : void

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

Initialize() защищенный Метод

protected Initialize ( ) : void
Результат void

OnClose() защищенный Метод

protected OnClose ( ) : void
Результат void

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

public OnToolWindowCreated ( ) : void
Результат void

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

Standard constructor for the tool window.
public PowerConsoleToolWindow ( ) : System
Результат System

PreProcessMessage() защищенный Метод

This override allows us to forward these messages to the editor instance as well
protected PreProcessMessage ( System &m ) : bool
m System
Результат bool