C# Class ProgressDialogEx.MyLongRunningCommand

Inheritance: ICommand
Datei anzeigen Open project: rdingwall/wpf-mvvm-task-progress-dialog Class Usage Examples

Public Methods

Method Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
MyLongRunningCommand ( IProgressDialogService dialogService ) : System

Private Methods

Method Description
DoWork ( CancellationToken cancellationToken, IProgress progress ) : Task

Method Details

CanExecute() public method

public CanExecute ( object parameter ) : bool
parameter object
return bool

Execute() public method

public Execute ( object parameter ) : void
parameter object
return void

MyLongRunningCommand() public method

public MyLongRunningCommand ( IProgressDialogService dialogService ) : System
dialogService IProgressDialogService
return System