C# Class EventStore.VSTools.Views.DelegateCommand

Inheritance: ICommand
Mostra file Open project: AlexeyRaga/esvstools

Public Methods

Method Description
CanExecute ( object parameter ) : bool
DelegateCommand ( Action action ) : System
DelegateCommand ( bool>.Func canRun, Action action ) : System
Execute ( object parameter ) : void
UpdateStatus ( ) : void

Method Details

CanExecute() public method

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

DelegateCommand() public method

public DelegateCommand ( Action action ) : System
action Action
return System

DelegateCommand() public method

public DelegateCommand ( bool>.Func canRun, Action action ) : System
canRun bool>.Func
action Action
return System

Execute() public method

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

UpdateStatus() public method

public UpdateStatus ( ) : void
return void