C# Class WpfGists.ViewModel.DelegateCommand

Inheritance: ICommand
显示文件 Open project: pierre3/GistsApi

Public Methods

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

Method Details

CanExecute() public method

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

DelegateCommand() public method

public DelegateCommand ( Action execute ) : System
execute Action
return System

DelegateCommand() public method

public DelegateCommand ( Action execute, Predicate canExecute ) : System
execute Action
canExecute Predicate
return System

Execute() public method

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