IEventHandlerOfTEventData.cs 550 B

123456789101112131415
  1. namespace Abp.Events.Bus.Handlers
  2. {
  3. /// <summary>
  4. /// Defines an interface of a class that handles events of type <see cref="IEventHandler{TEventData}"/>.
  5. /// </summary>
  6. /// <typeparam name="TEventData">Event type to handle</typeparam>
  7. public interface IEventHandler<in TEventData> : IEventHandler
  8. {
  9. /// <summary>
  10. /// Handler handles the event by implementing this method.
  11. /// </summary>
  12. /// <param name="eventData">Event data</param>
  13. void HandleEvent(TEventData eventData);
  14. }
  15. }