Hi fellow programmers,
I am using Microsoft Unity 2.0 and the interception extension is not working as expected.
Consider these two lines of code:
MyUnityContainer.Configure<Interception>().SetDefaultInterceptorFor<MyType>(new VirtualMethodInterceptor());
var someObject = MyUnityContainer.BuildUp<MyType>(anObject);
These two lines don't get you the dynamic proxy you'd expect for someObject! How can one make interception work for such a scenario?