C# Класс WPF.JoshSmith.Input.CommandGroup

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

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

Метод Описание
CanExecute ( object parameter ) : bool

Returns true if all of the commands in the group can execute.

CommandGroup ( ) : System

Initializes a new instance.

Execute ( object parameter ) : void

Executes each command in the group sequentially.

Защищенные методы

Метод Описание
OnCanExecuteChanged ( ) : void

Subclasses can invoke this method to raise the CanExecuteChanged event.

Приватные методы

Метод Описание
OnChildCommandCanExecuteChanged ( object sender, EventArgs e ) : void
OnCommandsCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

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

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

Returns true if all of the commands in the group can execute.
public CanExecute ( object parameter ) : bool
parameter object
Результат bool

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

Initializes a new instance.
public CommandGroup ( ) : System
Результат System

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

Executes each command in the group sequentially.
public Execute ( object parameter ) : void
parameter object
Результат void

OnCanExecuteChanged() защищенный Метод

Subclasses can invoke this method to raise the CanExecuteChanged event.
protected OnCanExecuteChanged ( ) : void
Результат void