C# Class Extensible.Dashboard.Contracts.Common.RelayCommand

Inheritance: ICommand
Show file Open project: pwlodek/CodeGallery

Public Methods

Method Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
RelayCommand ( Action executeMethod ) : System
RelayCommand ( Action executeMethod, Predicate canExecuteMethod ) : System

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 executeMethod ) : System
executeMethod Action
return System

RelayCommand() public method

public RelayCommand ( Action executeMethod, Predicate canExecuteMethod ) : System
executeMethod Action
canExecuteMethod Predicate
return System