internal KeyHistory GetKeyHistory(KeyHistoryId keyHistoryId) { int id = keyHistoryId.GetId(); if (id < keyHistories.Count) { return(keyHistories[id]); } else { return(null); } }
public void RegisterKeyHistory(KeyHistoryId keyHistoryId) { keyCombos.Add(keyManager.GetKeyHistory(keyHistoryId)); }