C# Class GitHub.Primitives.RelayCommand

Inheritance: ICommand
显示文件 Open project: github/VisualStudio Class Usage Examples

Public Methods

Method Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
RelayCommand ( Action execute, bool>.Func canExecute = null ) : GitHub.Extensions

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, bool>.Func canExecute = null ) : GitHub.Extensions
execute Action
canExecute bool>.Func
return GitHub.Extensions