Class SingleEventSubscriber<TSingleEvent>
Subscriber for a single type of event.
public sealed class SingleEventSubscriber<TSingleEvent> : IEventSubscriber
Type Parameters
TSingleEvent
The type of the single event.
- Inheritance
-
SingleEventSubscriber<TSingleEvent>
- Implements
- Inherited Members
Constructors
- SingleEventSubscriber(Action<TSingleEvent>)
Initializes a new instance of the SingleEventSubscriber<TSingleEvent> class.
Methods
- TryGetEventHandler<TEvent>(out Action<TEvent>)
Tries to get an event handler for an event of type TEvent.