C# Class ModernWPF.Internal.RelayCommand

Simple relay command for internal use only.
Inheritance: ICommand
显示文件 Open project: soukoku/ModernWPF

Public Methods

Method Description
Execute ( object parameter ) : void
RelayCommand ( System.Action execute ) : System
RelayCommand ( System.Action execute, Func canExecute ) : System

Private Methods

Method Description
CanExecute ( object parameter ) : bool

Method Details

Execute() public method

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

RelayCommand() public method

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

RelayCommand() public method

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