AvalonStudio.Extensibility.Commands.CommandKeyGestureService.CommandKeyGestureService C# (CSharp) Method

CommandKeyGestureService() private method

private CommandKeyGestureService ( [ keyboardShortcuts, [ excludeKeyboardShortcuts, ICommandService commandService ) : System.ComponentModel.Composition
keyboardShortcuts [
excludeKeyboardShortcuts [
commandService ICommandService
return System.ComponentModel.Composition
		public CommandKeyGestureService(
			[ImportMany] CommandKeyboardShortcut[] keyboardShortcuts,
			[ImportMany] ExcludeCommandKeyboardShortcut[] excludeKeyboardShortcuts,
			ICommandService commandService)
		{
			_keyboardShortcuts = keyboardShortcuts
				.Except(excludeKeyboardShortcuts.Select(x => x.KeyboardShortcut))
				.OrderBy(x => x.SortOrder)
				.ToArray();
			_commandService = commandService;
		}