Пример #1
0
 public static IKeyCommand MapOnAllUp(this IHotkey key, ISequenceUnit target,
                                      Predicate <IKeyEventArgs> canExecute = null)
 {
     return(Keyboard.MapOnHitAndAllUp(key, target, canExecute));
 }
Пример #2
0
 public IKeyboardCommandTrigger AllUp(ISequenceUnit sequenceUnit, string stateTree = KeyStateTrees.Default)
 {
     return(Event(sequenceUnit, KeyEvent.AllUp, stateTree));
 }
Пример #3
0
 public ISequence Then(ISequenceUnit sequencable)
 {
     return(new Sequence(this, sequencable.ToCombination()));
 }
Пример #4
0
 public Combination(Key triggerKey, ISequenceUnit sequenceUnit) : this(triggerKey, sequenceUnit.ToCombination().AllKeys)
 {
 }
Пример #5
0
 public ISequence Then(ISequenceUnit sequencable) => new Combination(this).Then(sequencable);