public bool TryGetValue(TKey key, out TValue value) { return(KeyDictionary.TryGetValue(key, out value)); }
public bool Send(Keys key, KeyDictionary mappings, int keyboardLayout) { KeyboardLocale locale = KeyboardLocaleResolver(keyboardLayout); return(mappings.TryGetValue(key, out object mapped) && Send(mapped, locale)); }