C# Class GoogleCloudExtension.CloudExplorer.SourceRootViewModelBase

This class implements the basic behaviors for a cloud source's root view model. All source view models _should_ derive from this class but it is not mandatory. This class offers all place holder functionality, common credentials and project check and setting the right state depending on the results from the underlying data source.
Inheritance: TreeHierarchy
Afficher le fichier Open project: GoogleCloudPlatform/google-cloud-visualstudio

Méthodes publiques

Méthode Description
Initialize ( ICloudSourceContext context ) : void
InvalidateProjectOrAccount ( ) : void
Refresh ( ) : void

Méthodes protégées

Méthode Description
LoadDataOverride ( ) : System.Threading.Tasks.Task

Override this function to load and display the data in the control.

OnIsExpandedChanged ( bool newValue ) : void

Private Methods

Méthode Description
LoadDataWrapper ( ) : System.Threading.Tasks.Task

Method Details

Initialize() public méthode

public Initialize ( ICloudSourceContext context ) : void
context ICloudSourceContext
Résultat void

InvalidateProjectOrAccount() public méthode

public InvalidateProjectOrAccount ( ) : void
Résultat void

LoadDataOverride() protected abstract méthode

Override this function to load and display the data in the control.
protected abstract LoadDataOverride ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

OnIsExpandedChanged() protected méthode

protected OnIsExpandedChanged ( bool newValue ) : void
newValue bool
Résultat void

Refresh() public méthode

public Refresh ( ) : void
Résultat void