Пример #1
0
        internal KeyHistory GetKeyHistory(KeyHistoryId keyHistoryId)
        {
            int id = keyHistoryId.GetId();

            if (id < keyHistories.Count)
            {
                return(keyHistories[id]);
            }
            else
            {
                return(null);
            }
        }
Пример #2
0
 public void RegisterKeyHistory(KeyHistoryId keyHistoryId)
 {
     keyCombos.Add(keyManager.GetKeyHistory(keyHistoryId));
 }