protected override void OnExecute() { EventMessenger.Fire(eventName, args); base.OnExecute(); }
/// <summary> /// Selects a process to user for this application. /// </summary> private void SelectProcess() { _events.Fire(new SelectCharacterEvent()); }
public void FireASingleEvent() { _sut.Bind <TestEvent>(x => x.EventsFired++); _sut.Fire(_event); Assert.Equal(1, _event.EventsFired); }