DefaultOrchardEventBus initialization

Topics: General
May 5, 2011 at 8:22 PM

Could someone help me understand how this class is initialized by AutoFac?



" public DefaultOrchardEventBus(Func<IEnumerable<IEventHandler>> eventHandlers) {"


How does it resolve the eventHandlers parameter? As far as I can see this resolves to an IRegistrationSource derived class but I can't see how it's wired up.



May 6, 2011 at 1:10 PM

I think I've figured this one out: