C# Class Zetbox.ConfigEditor.ViewModels.SimpleCommandViewModel

Inheritance: CommandViewModel
Exibir arquivo Open project: daszat/zetbox

Public Methods

Method Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
SimpleCommandViewModel ( string label, string toolTip, System.Action execute ) : System
SimpleCommandViewModel ( string label, string toolTip, System.Action execute, Func canExecute ) : 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

SimpleCommandViewModel() public method

public SimpleCommandViewModel ( string label, string toolTip, System.Action execute ) : System
label string
toolTip string
execute System.Action
return System

SimpleCommandViewModel() public method

public SimpleCommandViewModel ( string label, string toolTip, System.Action execute, Func canExecute ) : System
label string
toolTip string
execute System.Action
canExecute Func
return System