C# 클래스 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.
상속: TreeHierarchy
파일 보기 프로젝트 열기: GoogleCloudPlatform/google-cloud-visualstudio

공개 메소드들

메소드 설명
Initialize ( ICloudSourceContext context ) : void
InvalidateProjectOrAccount ( ) : void
Refresh ( ) : void

보호된 메소드들

메소드 설명
LoadDataOverride ( ) : System.Threading.Tasks.Task

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

OnIsExpandedChanged ( bool newValue ) : void

비공개 메소드들

메소드 설명
LoadDataWrapper ( ) : System.Threading.Tasks.Task

메소드 상세

Initialize() 공개 메소드

public Initialize ( ICloudSourceContext context ) : void
context ICloudSourceContext
리턴 void

InvalidateProjectOrAccount() 공개 메소드

public InvalidateProjectOrAccount ( ) : void
리턴 void

LoadDataOverride() 보호된 추상적인 메소드

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

OnIsExpandedChanged() 보호된 메소드

protected OnIsExpandedChanged ( bool newValue ) : void
newValue bool
리턴 void

Refresh() 공개 메소드

public Refresh ( ) : void
리턴 void