Exemplo n.º 1
0
        internal KeyHistory GetKeyHistory(KeyHistoryId keyHistoryId)
        {
            int id = keyHistoryId.GetId();

            if (id < keyHistories.Count)
            {
                return(keyHistories[id]);
            }
            else
            {
                return(null);
            }
        }
Exemplo n.º 2
0
 public void RegisterKeyHistory(KeyHistoryId keyHistoryId)
 {
     keyCombos.Add(keyManager.GetKeyHistory(keyHistoryId));
 }