This project is read-only.

DefaultOrchardEventBus initialization

Topics: General
May 5, 2011 at 9: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 2:10 PM

I think I've figured this one out: