Open.Core.Keyboard.IsKey C# (CSharp) Метод

IsKey() публичный статический Метод

Determines whether the specified code matches the given event.
public static IsKey ( jQueryApi.jQueryEvent e, Key keyCode ) : bool
e jQueryApi.jQueryEvent The jQuery keyboard event.
keyCode Key The code to match.
Результат bool
        public static bool IsKey(jQueryEvent e, Key keyCode)
        {
            return (bool)Script.Literal("e.which === {0}", (int)keyCode);
        }