C# Class VersionrUI.Commands.DelegateCommand

Inheritance: ICommand
Show file Open project: eatplayhate/versionr Class Usage Examples

Public Methods

Method Description
CanExecute ( object parameter ) : bool
DelegateCommand ( System.Action exec, Func canExec = null ) : 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 exec, Func canExec = null ) : System
exec System.Action
canExec Func
return System

Execute() public method

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

RaiseCanExecuteChanged() public method

public RaiseCanExecuteChanged ( ) : void
return void