Esempio n. 1
0
 /// <inheritdoc />
 protected override void DispatchInternal(IHotkeyVisitor hotkeyVisitor)
 {
     if (hotkeyVisitor is IKeyboardHotkeyVisitor keyboardHotkeyVisitor)
     {
         keyboardHotkeyVisitor.Visit(this);
     }
 }
Esempio n. 2
0
 /// <inheritdoc />
 protected override void DispatchInternal(IHotkeyVisitor hotkeyVisitor)
 {
     if (hotkeyVisitor is IMouseHookHotkeyVisitor mouseHookHotkeyVisitor)
     {
         mouseHookHotkeyVisitor.Visit(this);
     }
 }
 public void Dispatch(IHotkeyVisitor visitor)
 {
     // Ignore
 }
Esempio n. 4
0
 protected abstract void DispatchInternal(IHotkeyVisitor hotkeyVisitor);
Esempio n. 5
0
 public void Dispatch(IHotkeyVisitor hotkeyVisitor)
 {
     logger.DebugExt($"Hotkey dispatched: {this.HumanReadableAction}");
     this.DispatchInternal(hotkeyVisitor);
 }
Esempio n. 6
0
 /// <inheritdoc />
 protected override void DispatchInternal(IHotkeyVisitor hotkeyVisitor)
 {
     throw new NotImplementedException();
 }
Esempio n. 7
0
 protected override void DispatchInternal(IHotkeyVisitor hotkeyVisitor)
 {
     this.Dispatched = true;
 }