C# Class Catrobat.IDE.Core.ViewModels.AsyncRelayCommand

Inheritance: ICommand
Show file Open project: Catrobat/CatrobatForWindows

Public Methods

Method Description
AsyncRelayCommand ( Func execute, System.Action finished ) : System
AsyncRelayCommand ( Func execute, System.Action finished, Func canExecute ) : System
AsyncRelayCommand ( Task>.Func execute, System.Action finished ) : System
AsyncRelayCommand ( Task>.Func execute, System.Action finished, bool>.Func canExecute ) : System
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
ExecuteAsync ( object parameter ) : System.Threading.Tasks.Task
RaiseCanExecuteChanged ( ) : void

Method Details

AsyncRelayCommand() public method

public AsyncRelayCommand ( Func execute, System.Action finished ) : System
execute Func
finished System.Action
return System

AsyncRelayCommand() public method

public AsyncRelayCommand ( Func execute, System.Action finished, Func canExecute ) : System
execute Func
finished System.Action
canExecute Func
return System

AsyncRelayCommand() public method

public AsyncRelayCommand ( Task>.Func execute, System.Action finished ) : System
execute Task>.Func
finished System.Action
return System

AsyncRelayCommand() public method

public AsyncRelayCommand ( Task>.Func execute, System.Action finished, bool>.Func canExecute ) : System
execute Task>.Func
finished System.Action
canExecute bool>.Func
return System

CanExecute() public method

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

Execute() public method

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

ExecuteAsync() public method

public ExecuteAsync ( object parameter ) : System.Threading.Tasks.Task
parameter object
return System.Threading.Tasks.Task

RaiseCanExecuteChanged() public method

public RaiseCanExecuteChanged ( ) : void
return void