C# Class Standalone.RelayCommand

Inheritance: ICommand
显示文件 Open project: offbyoneBB/mp-onlinevideos2 Class Usage Examples

Public Methods

Method Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
RelayCommand ( Action execute, Predicate canExecute = null ) : System

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

RelayCommand() public method

public RelayCommand ( Action execute, Predicate canExecute = null ) : System
execute Action
canExecute Predicate
return System