Hi

Can anyone spot anything wrong with this:

<code>
            IWindsorContainer container = new WindsorContainer();
            container.Register(
                    Component.For<LoggingInterceptor>(),
                    AllTypes.Of<Controller>()
                        .FromAssembly(Assembly.GetExecutingAssembly())
                            .Configure(c => c.Interceptors(new
InterceptorReference(typeof(LoggingInterceptor)))),
                    AllTypes.Of<SmartDispatcherController>()
                        .FromAssembly(Assembly.GetExecutingAssembly())
                            .Configure(c => c.Interceptors(new
InterceptorReference(typeof(LoggingInterceptor))))
                    );
</code>

All the controllers are loaded ok - but the interceptors never happen...

w://

-- 
Cheers,

w://

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to castle-project-users@googlegroups.com
To unsubscribe from this group, send email to 
castle-project-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to