C# Class WPF.JoshSmith.Input.CommandGroup

Inheritance: ICommand
Afficher le fichier Open project: Warewolf-ESB/Warewolf

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
OnCanExecuteChanged ( ) : void

Subclasses can invoke this method to raise the CanExecuteChanged event.

Private Methods

Méthode Description
OnChildCommandCanExecuteChanged ( object sender, EventArgs e ) : void
OnCommandsCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Method Details

CanExecute() public méthode

Returns true if all of the commands in the group can execute.
public CanExecute ( object parameter ) : bool
parameter object
Résultat bool

CommandGroup() public méthode

Initializes a new instance.
public CommandGroup ( ) : System
Résultat System

Execute() public méthode

Executes each command in the group sequentially.
public Execute ( object parameter ) : void
parameter object
Résultat void

OnCanExecuteChanged() protected méthode

Subclasses can invoke this method to raise the CanExecuteChanged event.
protected OnCanExecuteChanged ( ) : void
Résultat void