Method Register
Register<TEvent>(TRegisterData)
Registers the specified event type using the provided registration metadata.
void Register<TEvent>(TRegisterData data) where TEvent : IEvent, new()
Parameters
dataTRegisterDataThe registration metadata for the factory.
Type Parameters
TEventThe event payload type to register.