public static IKeyCommand MapOnAllUp(this IHotkey key, ISequenceUnit target, Predicate <IKeyEventArgs> canExecute = null) { return(Keyboard.MapOnHitAndAllUp(key, target, canExecute)); }
public IKeyboardCommandTrigger AllUp(ISequenceUnit sequenceUnit, string stateTree = KeyStateTrees.Default) { return(Event(sequenceUnit, KeyEvent.AllUp, stateTree)); }
public ISequence Then(ISequenceUnit sequencable) { return(new Sequence(this, sequencable.ToCombination())); }
public Combination(Key triggerKey, ISequenceUnit sequenceUnit) : this(triggerKey, sequenceUnit.ToCombination().AllKeys) { }
public ISequence Then(ISequenceUnit sequencable) => new Combination(this).Then(sequencable);