C# Class WorkflowDesigner.Sdk.DelegateCommand

Inheritance: ICommand
ファイルを表示 Open project: DenisVuyka/SLWorkflowDesigner

Public Methods

Method Description
CanExecute ( object parameter ) : bool
DelegateCommand ( Action method ) : System
DelegateCommand ( Action method, Predicate canExecute ) : System
Execute ( object parameter ) : void
RaiseCanExecuteChanged ( ) : void

Protected Methods

Method Description
OnCanExecuteChanged ( EventArgs e ) : void

Method Details

CanExecute() public method

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

DelegateCommand() public method

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

DelegateCommand() public method

public DelegateCommand ( Action method, Predicate canExecute ) : System
method Action
canExecute Predicate
return System

Execute() public method

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

OnCanExecuteChanged() protected method

protected OnCanExecuteChanged ( EventArgs e ) : void
e System.EventArgs
return void

RaiseCanExecuteChanged() public method

public RaiseCanExecuteChanged ( ) : void
return void