예제 #1
0
        protected override void OnExecute()
        {
            EventMessenger.Fire(eventName, args);

            base.OnExecute();
        }
예제 #2
0
 /// <summary>
 ///     Selects a process to user for this application.
 /// </summary>
 private void SelectProcess()
 {
     _events.Fire(new SelectCharacterEvent());
 }
예제 #3
0
 public void FireASingleEvent()
 {
     _sut.Bind <TestEvent>(x => x.EventsFired++);
     _sut.Fire(_event);
     Assert.Equal(1, _event.EventsFired);
 }