IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
CShell.Framework.RelayCommand Class Reference

Used where Caliburn.Micro needs to be interfaced to ICommand. More...

+ Inheritance diagram for CShell.Framework.RelayCommand:
+ Collaboration diagram for CShell.Framework.RelayCommand:

Public Member Functions

 RelayCommand (Action< object > execute)
 
 RelayCommand (Action< object > execute, Predicate< object > canExecute)
 
bool CanExecute (object parameter)
 
void Execute (object parameter)
 
 RelayCommand (Action< object > execute)
 
 RelayCommand (Action< object > execute, Predicate< object > canExecute)
 
bool CanExecute (object parameter)
 
void Execute (object parameter)
 

Properties

EventHandler CanExecuteChanged
 

Private Attributes

readonly Action< object > _execute
 
readonly Predicate< object > _canExecute
 

Detailed Description

Used where Caliburn.Micro needs to be interfaced to ICommand.

Constructor & Destructor Documentation

CShell.Framework.RelayCommand.RelayCommand ( Action< object >  execute)
inline
CShell.Framework.RelayCommand.RelayCommand ( Action< object >  execute,
Predicate< object >  canExecute 
)
inline
CShell.Framework.RelayCommand.RelayCommand ( Action< object >  execute)
inline
CShell.Framework.RelayCommand.RelayCommand ( Action< object >  execute,
Predicate< object >  canExecute 
)
inline

Member Function Documentation

bool CShell.Framework.RelayCommand.CanExecute ( object  parameter)
inline
void CShell.Framework.RelayCommand.Execute ( object  parameter)
inline
bool CShell.Framework.RelayCommand.CanExecute ( object  parameter)
inline
void CShell.Framework.RelayCommand.Execute ( object  parameter)
inline

Member Data Documentation

readonly Action< object > CShell.Framework.RelayCommand._execute
private
readonly Predicate< object > CShell.Framework.RelayCommand._canExecute
private

Property Documentation

EventHandler CShell.Framework.RelayCommand.CanExecuteChanged
addremove

The documentation for this class was generated from the following file: