Interface IEventReceiverWithHooks
When implemented, the source generator will add Hook() and Unhook() methods that need to be called to register the listeners contained in the class/struct/record.
Assembly: EventBusSourceGenerator.dll
Declaration
public interface IEventReceiverWithHooks