예제 #1
0
 /// <summary>
 /// Executes the event
 /// </summary>
 /// <param name="sender">Sender</param>
 /// <param name="eventArgs">Event arguments</param>
 /// <param name="eventName">Event name</param>
 public void HandleEvent(object sender, TEventArgs eventArgs, string eventName) =>
 EventManagerService.HandleEvent(eventName, sender, eventArgs, _eventHandlers);
예제 #2
0
 /// <summary>
 /// Executes the event Action
 /// </summary>
 /// <param name="eventArgs">Event arguments</param>
 /// <param name="eventName">Event name</param>
 public void HandleEvent(TEventArgs eventArgs, string eventName) =>
 EventManagerService.HandleEvent(eventName, eventArgs, _eventHandlers);