public void Install(IWindsorContainer container, IConfigurationStore store) { container.AutoRegisterHandlersFromAssemblyOf <HandlerInstaller>(); }
private static IHandlerActivator GetCastleWindsorHandlerActivator() { _windsorContainer = CastleIoCRegistration.RegisterServicesIntoIoC(); _windsorContainer.AutoRegisterHandlersFromAssemblyOf <EmailEnqueuedToBeSentEventMessageHandler>(); return(new CastleWindsorContainerAdapter(_windsorContainer)); }