Exemple #1
0
        public static IScriptCommand IfKeyGesture(KeyGesture gesture,
                                                  IScriptCommand nextCommand = null, IScriptCommand otherwiseCommand = null)
        {
            string keyGestureVariable = "{IfKeyGesture-Gesture}";

            return
                (ScriptCommands.Assign(keyGestureVariable, gesture, false,
                                       HubScriptCommands.IfKeyGesture(keyGestureVariable, nextCommand, otherwiseCommand)));
        }