C# 클래스 Catel.ICommandManagerExtensions

Extension methods for the ICommandManager.
파일 보기 프로젝트 열기: Catel/Catel

공개 메소드들

메소드 설명
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.

메소드 상세

CreateCommandWithGesture() 공개 정적인 메소드

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.
리턴 void

FindCommandsByGesture() 공개 정적인 메소드

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.
리턴 ICommand>.Dictionary