C# Class ChatterBox.Client.Presentation.Shared.MVVM.DelegateCommand

Inheritance: ICommand
显示文件 Open project: openpeer/ChatterBox Class Usage Examples

Public Methods

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

Method Details

CanExecute() public method

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

DelegateCommand() public method

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

DelegateCommand() public method

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

Execute() public method

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

RaiseCanExecuteChanged() public method

public RaiseCanExecuteChanged ( ) : void
return void