Exemplo n.º 1
0
        protected override void OnExecute()
        {
            EventMessenger.Fire(eventName, args);

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