C# Class RazorSpy.Styles.Commands.RelayCommand

Inheritance: ICommand
显示文件 Open project: RazorSpy/RazorSpy

Public Methods

Method Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
RelayCommand ( System.Action act, bool canExecute ) : System
RelayCommand ( Action act, bool canExecute ) : System

Private Methods

Method Description
OnCanExecuteChanged ( ) : void

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 ( System.Action act, bool canExecute ) : System
act System.Action
canExecute bool
return System

RelayCommand() public method

public RelayCommand ( Action act, bool canExecute ) : System
act Action
canExecute bool
return System