示例#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);
 }