C# 클래스 NuGetConsole.Implementation.PowerConsoleToolWindow

상속: Microsoft.VisualStudio.Shell.ToolWindowPane, IOleCommandTarget, IPowerConsoleService
파일 보기 프로젝트 열기: themotleyfool/NuGet

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