C# Class PeerCastStation.WPF.Commons.Command

Inheritance: ICommand
显示文件 Open project: kumaryu/peercaststation Class Usage Examples

Public Methods

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

Method Details

CanExecute() public method

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

Command() public method

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

Command() public method

public Command ( 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

OnCanExecuteChanged() public method

public OnCanExecuteChanged ( ) : void
return void