示例#1
0
 public bool TryGetValue(TKey key, out TValue value)
 {
     return(KeyDictionary.TryGetValue(key, out value));
 }
示例#2
0
        public bool Send(Keys key, KeyDictionary mappings, int keyboardLayout)
        {
            KeyboardLocale locale = KeyboardLocaleResolver(keyboardLayout);

            return(mappings.TryGetValue(key, out object mapped) && Send(mapped, locale));
        }