C# Class MetroWizard.Commands.DelegateCommand

Inheritance: ICommand
ファイルを表示 Open project: stevenh77/MetroWizard

Public Methods

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

Method Details

CanExecute() public method

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

DelegateCommand() public method

public DelegateCommand ( Action execute, Predicate canExecute = null ) : System
execute Action
canExecute Predicate
return System

Execute() public method

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

RaiseCanExecuteChanged() public method

public RaiseCanExecuteChanged ( ) : void
return void