C# Class Example_Ambilight_full.TakeAsIs.UI.ActionCommand

Inheritance: ICommand
Show file Open project: DarthAffe/CUE.NET

Public Methods

Method Description
ActionCommand ( System.Action command, Func canExecute = null ) : System
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
RaiseCanExecuteChanged ( ) : void

Method Details

ActionCommand() public method

public ActionCommand ( System.Action command, Func canExecute = null ) : System
command System.Action
canExecute Func
return System

CanExecute() public method

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

Execute() public method

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

RaiseCanExecuteChanged() public method

public RaiseCanExecuteChanged ( ) : void
return void