Delegate EventHandler<TEvent>
Represents a method that handles events of a specific type
public delegate void EventHandler<TEvent>(ref readonly TEvent @event)
Parameters
eventTEventThe event to handle
Type Parameters
TEventThe type of event to handle