/// <inheritdoc />
 public void Visit(IKeyboardHotkey hotkey)
 {
     hotkey?.PerformAction();
 }
示例#2
0
 public void SetUp()
 {
     this.visitor    = new KeyboardHotkeyVisitor();
     this.fakeHotkey = A.Fake <IKeyboardHotkey>();
 }