C# Класс GenericCommandDemo.ActionCommand

Наследование: ICommand
Показать файл Открыть проект

Открытые методы

Метод Описание
ActionCommand ( System.Action execute ) : System
ActionCommand ( System.Action execute, Func canExecute ) : System
ActionCommand ( Action execute ) : System
ActionCommand ( Action execute, bool>.Func canExecute ) : System
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void

Описание методов

ActionCommand() публичный Метод

public ActionCommand ( System.Action execute ) : System
execute System.Action
Результат System

ActionCommand() публичный Метод

public ActionCommand ( System.Action execute, Func canExecute ) : System
execute System.Action
canExecute Func
Результат System

ActionCommand() публичный Метод

public ActionCommand ( Action execute ) : System
execute Action
Результат System

ActionCommand() публичный Метод

public ActionCommand ( Action execute, bool>.Func canExecute ) : System
execute Action
canExecute bool>.Func
Результат System

CanExecute() публичный Метод

public CanExecute ( object parameter ) : bool
parameter object
Результат bool

Execute() публичный Метод

public Execute ( object parameter ) : void
parameter object
Результат void