GitUI.RevisionGrid.GetHotkeyCommand C# (CSharp) Method

GetHotkeyCommand() private method

duplicated from GitExtensionsForm
private GetHotkeyCommand ( int commandCode ) : HotkeyCommand
commandCode int
return HotkeyCommand
        private HotkeyCommand GetHotkeyCommand(int commandCode)
        {
            if (Hotkeys == null)
                return null;

            return Hotkeys.FirstOrDefault(h => h.CommandCode == commandCode);
        }
RevisionGrid