Method SubscribeAll
SubscribeAll<TEvent, TFactory>(Action<TEvent>, EventCallbackType)
public void SubscribeAll<TEvent, TFactory>(Action<TEvent> handler, EventCallbackType eventCallbackType = EventCallbackType.Before) where TEvent : IEvent, new() where TFactory : IEventFactory<NullRegistrationData>
Parameters
handlerAction<TEvent>eventCallbackTypeEventCallbackType
Type Parameters
TEventTFactory
SubscribeAll<TEvent, TFactory, TRegData>(TRegData, Action<TEvent>, EventCallbackType)
public void SubscribeAll<TEvent, TFactory, TRegData>(TRegData registrationData, Action<TEvent> handler, EventCallbackType eventCallbackType = EventCallbackType.Before) where TEvent : IEvent, new() where TFactory : IEventFactory<TRegData>
Parameters
registrationDataTRegDatahandlerAction<TEvent>eventCallbackTypeEventCallbackType
Type Parameters
TEventTFactoryTRegData