Anvil
Anvil.Services.EventService Class Reference

Public Member Functions

 EventService (IEnumerable< IEventFactory > eventFactories)
 
void ClearObjectSubscriptions (NwObject? nwObject)
 
TEvent ProcessEvent< TEvent > (EventCallbackType eventCallbackType, TEvent eventData)
 
void Subscribe< TEvent, TFactory > (NwObject? nwObject, Action< TEvent > handler, EventCallbackType eventCallbackType=EventCallbackType.Before)
 
void Subscribe< TEvent, TFactory, TRegData > (NwObject? nwObject, TRegData registrationData, Action< TEvent > handler, EventCallbackType eventCallbackType=EventCallbackType.Before)
 
void SubscribeAll< TEvent, TFactory > (Action< TEvent > handler, EventCallbackType eventCallbackType=EventCallbackType.Before)
 
void SubscribeAll< TEvent, TFactory, TRegData > (TRegData registrationData, Action< TEvent > handler, EventCallbackType eventCallbackType=EventCallbackType.Before)
 
void Unsubscribe< TEvent, TFactory > (NwObject? nwObject, Action< TEvent > handler, EventCallbackType eventCallbackType=EventCallbackType.Before)
 
void UnsubscribeAll< TEvent, TFactory > (Action< TEvent > handler, EventCallbackType eventCallbackType=EventCallbackType.Before)
 

The documentation for this class was generated from the following file: