C# Class Catel.ICommandManagerExtensions

Extension methods for the ICommandManager.
Afficher le fichier Open project: Catel/Catel

Méthodes publiques

Méthode Description
CreateCommandWithGesture ( this commandManager, Type containerType, string commandNameFieldName ) : void

Creates a command using a naming convention with the specified gesture.

FindCommandsByGesture ( this commandManager, Catel.Windows.Input.InputGesture inputGesture ) : ICommand>.Dictionary

Finds the commands inside the ICommandManager by gesture.

Method Details

CreateCommandWithGesture() public static méthode

Creates a command using a naming convention with the specified gesture.
The is null. The is null. The is null.
public static CreateCommandWithGesture ( this commandManager, Type containerType, string commandNameFieldName ) : void
commandManager this The command manager.
containerType System.Type Type of the container.
commandNameFieldName string Name of the command name field.
Résultat void

FindCommandsByGesture() public static méthode

Finds the commands inside the ICommandManager by gesture.
The is null. The is null.
public static FindCommandsByGesture ( this commandManager, Catel.Windows.Input.InputGesture inputGesture ) : ICommand>.Dictionary
commandManager this The command manager.
inputGesture Catel.Windows.Input.InputGesture The input gesture.
Résultat ICommand>.Dictionary