C# Class Catel.ICommandManagerExtensions

Extension methods for the ICommandManager.
Datei anzeigen Open project: Catel/Catel

Public Methods

Method 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 method

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.
return void

FindCommandsByGesture() public static method

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.
return ICommand>.Dictionary