예제 #1
0
 protected static Hotkey Hotkey(TriggerKey keys, Func <SingleAction, Task> action = null, Func <bool> context = null, Func <SingleAction, Task> release = null, int priority = 0, bool block = true, bool wild = true, bool parallel = false)
 {
     return(Hotkeys.Hotkey.Create(keys, action == null ? null : HAction.Single(action), context, release == null ? null : HAction.Single(release), priority, block, wild, parallel));
 }
예제 #2
0
 protected static Hotkey Hotkey(TriggerKey keys, HAction action = null, Func <bool> context = null, HAction release = null, int priority = 0, bool block = true, bool wild = true, bool parallel = false)
 {
     return(Hotkeys.Hotkey.Create(keys, action, context, release, priority, block, wild, parallel));
 }