C# Class NuGetConsole.Implementation.PowerConsoleToolWindow

Inheritance: Microsoft.VisualStudio.Shell.ToolWindowPane, IOleCommandTarget, IPowerConsoleService
Afficher le fichier Open project: themotleyfool/NuGet

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
OnToolWindowCreated ( ) : void
PowerConsoleToolWindow ( ) : System

Standard constructor for the tool window.

Méthodes protégées

Méthode Description
Initialize ( ) : void
OnClose ( ) : void
PreProcessMessage ( System &m ) : bool

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

Private Methods

Méthode Description
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

Method Details

Initialize() protected méthode

protected Initialize ( ) : void
Résultat void

OnClose() protected méthode

protected OnClose ( ) : void
Résultat void

OnToolWindowCreated() public méthode

public OnToolWindowCreated ( ) : void
Résultat void

PowerConsoleToolWindow() public méthode

Standard constructor for the tool window.
public PowerConsoleToolWindow ( ) : System
Résultat System

PreProcessMessage() protected méthode

This override allows us to forward these messages to the editor instance as well
protected PreProcessMessage ( System &m ) : bool
m System
Résultat bool