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