Exemple #1
0
 public bool ContainsKey(string key)
 {
     key = key.ToLowerInvariant();
     return(AllKeys.Any(v => v.ToLowerInvariant() == key));
 }
Exemple #2
0
 public static bool IsAnyKeyPressed()
 {
     return(AllKeys.Any(key => IsKeyPressed(key)));
 }
 public bool HasKeys()
 {
     return(AllKeys.Any());
 }
        public bool ContainsKey(string key)
        {
            Verify.NotNull(key, nameof(key));

            return(AllKeys.Any(x => KeyMatches(x, key)));
        }