C# Class SonarLint.VisualStudio.Integration.TeamExplorer.SectionController

Inheritance: TeamExplorerSectionBase, ISectionController
Afficher le fichier Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Private Properties

Свойство Type Description
CanDisconnect bool
CanExecBrowseToProjectDashboard bool
CanExecBrowseToUrl bool
CanToggleShowAllProjects bool
CleanControllerCommands void
CleanProvidedCommands void
Disconnect void
ExecBrowseToProjectDashboard void
ExecBrowseToUrl void
InitializeControllerCommands void
InitializeProvidedCommands void
OnIsBusyChanged void
SectionController Microsoft.TeamFoundation.Client.CommandTarget
SyncCommands void
ToggleShowAllProjects void

Méthodes publiques

Méthode Description
Dispose ( ) : void
Initialize ( object sender, SectionInitializeEventArgs e ) : void
Refresh ( ) : void

Méthodes protégées

Méthode Description
CreateView ( SectionInitializeEventArgs e ) : object
CreateViewModel ( SectionInitializeEventArgs e ) : ITeamExplorerSection
IOleCommandTargetQueryStatus ( System.Guid &pguidCmdGroup, uint cCmds, OLECMD prgCmds, IntPtr pCmdText ) : int

Delegate QueryStatus to commands

Private Methods

Méthode Description
CanDisconnect ( ) : bool
CanExecBrowseToProjectDashboard ( ProjectViewModel project ) : bool
CanExecBrowseToUrl ( string url ) : bool
CanToggleShowAllProjects ( ServerViewModel server ) : bool
CleanControllerCommands ( ) : void
CleanProvidedCommands ( ) : void
Disconnect ( ) : void
ExecBrowseToProjectDashboard ( ProjectViewModel project ) : void
ExecBrowseToUrl ( string url ) : void
InitializeControllerCommands ( ) : void
InitializeProvidedCommands ( ) : void
OnIsBusyChanged ( object sender, bool isBusy ) : void
SectionController ( IHost host, IWebBrowser webBrowser ) : Microsoft.TeamFoundation.Client.CommandTarget
SyncCommands ( ) : void
ToggleShowAllProjects ( ServerViewModel server ) : void

Method Details

CreateView() protected méthode

protected CreateView ( SectionInitializeEventArgs e ) : object
e SectionInitializeEventArgs
Résultat object

CreateViewModel() protected méthode

protected CreateViewModel ( SectionInitializeEventArgs e ) : ITeamExplorerSection
e SectionInitializeEventArgs
Résultat ITeamExplorerSection

Dispose() public méthode

public Dispose ( ) : void
Résultat void

IOleCommandTargetQueryStatus() protected méthode

Delegate QueryStatus to commands
protected IOleCommandTargetQueryStatus ( System.Guid &pguidCmdGroup, uint cCmds, OLECMD prgCmds, IntPtr pCmdText ) : int
pguidCmdGroup System.Guid
cCmds uint
prgCmds OLECMD
pCmdText System.IntPtr
Résultat int

Initialize() public méthode

public Initialize ( object sender, SectionInitializeEventArgs e ) : void
sender object
e SectionInitializeEventArgs
Résultat void

Refresh() public méthode

public Refresh ( ) : void
Résultat void