Interface Interception documentation

Feb 3, 2009 at 2:04 AM
I'm looking through the Unity documentation (v1.2) for interface interception and have come across this snippet of code.   Can anyone tell me why this uses the TransparentProxyInterceptor instead of the InterfaceInterceptor?

The following example configures an interface interceptor.

    IUnityContainer container = new UnityContainer();
    container.Configure<Interception>().SetInterceptorFor<Interface>(new TransparentProxyInterceptor());

Feb 4, 2009 at 1:55 AM
Thanks for reporting.  It's a bug in the documentation.  Logged it here -

Sarah Urmeneta
Global Technology & Solutions
Avanade, Inc.