http://docs.castleproject.org/Windsor.Registering-Interceptors-ProxyOptions.ashx
On Monday, March 25, 2013 9:33:03 PM UTC+1, Scott_M wrote: > > I have a service component for which I wish to add two interceptors. > Interceptor one is an authorization interceptor and should always be first > in the interception pipeline. Interceptor two is an auditing interceptor > and should always be run last. How do you rewrite the following IService > Registration to support two interceptors for the specified order? > > container.Register( > Component.For<AuthorizationInterceptor>(), > > Component.For<IService>().ImplementedBy<TestService>().Interceptors(new > InterceptorReference(typeof(AuthorizationInterceptor))).Anywhere > ); > > > > > -- You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/castle-project-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
