C# Class GoogleCloudExtension.CloudExplorer.CloudExplorerViewModel

This class is the view model for the Cloud Explore tool window.
Inheritance: GoogleCloudExtension.Utils.ViewModelBase, ICloudSourceContext
显示文件 Open project: GoogleCloudPlatform/google-cloud-visualstudio Class Usage Examples

Private Properties

Property Type Description
CreatePlusDataSource GPlusDataSource
CreateResourceManagerDataSource ResourceManagerDataSource
ICloudSourceContext void
InvalidateAccountDependentDataSources void
InvalidateEmptyState void
LoadProjectListAsync Task>
NotifySourcesOfUpdatedAccountOrProject void
OnCurrentAccountChanged void
OnCurrentProjectIdChanged void
OnManageAccountsCommand void
OnNavigateToCloudConsoleCommand void
OnRefreshCommand void
OnReset void
RefreshSources void
ResetCredentials void
UpdateProjects void
UpdateUserProfile void

Public Methods

Method Description
CloudExplorerViewModel ( SelectionUtils selectionUtils ) : Google.Apis.CloudResourceManager.v1.Data

Private Methods

Method Description
CreatePlusDataSource ( ) : GPlusDataSource
CreateResourceManagerDataSource ( ) : ResourceManagerDataSource
ICloudSourceContext ( object item ) : void
InvalidateAccountDependentDataSources ( ) : void
InvalidateEmptyState ( ) : void
LoadProjectListAsync ( ) : Task>
NotifySourcesOfUpdatedAccountOrProject ( ) : void

Notifies all of the explorer sources that there are new credentials, be it a new project selected, or a new user selected.

OnCurrentAccountChanged ( object sender, EventArgs e ) : void
OnCurrentProjectIdChanged ( object sender, EventArgs e ) : void
OnManageAccountsCommand ( ) : void
OnNavigateToCloudConsoleCommand ( ) : void
OnRefreshCommand ( ) : void
OnReset ( object sender, EventArgs e ) : void
RefreshSources ( ) : void
ResetCredentials ( ) : void
UpdateProjects ( IList projects ) : void
UpdateUserProfile ( ) : void

Method Details

CloudExplorerViewModel() public method

public CloudExplorerViewModel ( SelectionUtils selectionUtils ) : Google.Apis.CloudResourceManager.v1.Data
selectionUtils GoogleCloudExtension.Utils.SelectionUtils
return Google.Apis.CloudResourceManager.v1.Data