C# Class GitHub.VisualStudio.UI.Views.GitHubPaneViewModel

Inheritance: GitHub.VisualStudio.Base.TeamExplorerItemBase, IGitHubPaneViewModel
Datei anzeigen Open project: github/VisualStudio Class Usage Examples

Private Properties

Property Type Description
DisableButtons void
GitHubPaneViewModel System
GoBack void
GoForward void
LoadView void
LoadView void
Reload Task
StartFlow void
Stop void
UpdateToolbar void

Public Methods

Method Description
Initialize ( IServiceProvider serviceProvider ) : void
Initialize ( [ data ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
RepoChanged ( bool changed ) : void

Private Methods

Method Description
DisableButtons ( ) : void
GitHubPaneViewModel ( ISimpleApiClientFactory apiFactory, ITeamExplorerServiceHolder holder, IConnectionManager cm, IRepositoryHosts hosts, INotificationDispatcher notifications ) : System
GoBack ( ) : void
GoForward ( ViewWithData data ) : void
LoadView ( UIControllerFlow flow, IConnection connection = null, ViewWithData data = null, UIViewType type = UIViewType.None ) : void
LoadView ( UIViewType type ) : void
Reload ( [ data = null, bool navigating = false ) : Task

This method is reentrant, so all await calls need to be done before any actions are performed on the data. More recent calls to this method will cause previous calls pending on await calls to exit early.

StartFlow ( UIControllerFlow controllerFlow, [ conn, ViewWithData data = null ) : void
Stop ( ) : void
UpdateToolbar ( ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Initialize() public method

public Initialize ( IServiceProvider serviceProvider ) : void
serviceProvider IServiceProvider
return void

Initialize() public method

public Initialize ( [ data ) : void
data [
return void

RepoChanged() protected method

protected RepoChanged ( bool changed ) : void
changed bool
return void