Jun 24, 2013 at 1:20 PM
Edited Jun 24, 2013 at 2:23 PM
I use registration by Convention to create all objects using unity (No configuration, just attributes). This works fine.
I have also a InterfaceInterceptor with a custom Behaviour which works for a single Interface.
DiagnosisBehaviour d = new DiagnosisBehaviour();
new Interceptor(new InterfaceInterceptor()));
It it possible to create a InterfaceInterceptor for all Types found in the RegisterTypes method?
I could only get it to work when I defined each interface for each InterfaceInterceptor .
Thanks in advance for your help