C# Class GoogleCloudExtension.ProgressDialog.ProgressDialogWindowViewModel

This class is the view model for the ProgressDialog.
Inheritance: GoogleCloudExtension.Utils.ViewModelBase
Mostrar archivo Open project: GoogleCloudPlatform/google-cloud-visualstudio Class Usage Examples

Public Methods

Method Description
ProgressDialogWindowViewModel ( ProgressDialogWindow owner, ProgressDialogWindow options, System.Threading.Tasks.Task task ) : GoogleCloudExtension.Utils

Private Methods

Method Description
CloseOnTaskCompletion ( ) : void

This method will wait for the task to complete (whether succesfully or not) and then it will close the dialog.

CloseOwner ( ) : void
OnCancelCommand ( ) : void
OnOwnerClosed ( object sender, EventArgs e ) : void

Method Details

ProgressDialogWindowViewModel() public method

public ProgressDialogWindowViewModel ( ProgressDialogWindow owner, ProgressDialogWindow options, System.Threading.Tasks.Task task ) : GoogleCloudExtension.Utils
owner ProgressDialogWindow
options ProgressDialogWindow
task System.Threading.Tasks.Task
return GoogleCloudExtension.Utils