Interface Interception documentation

Feb 3, 2009 at 1: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.AddNewExtension<Interception>();
    container.Configure<Interception>().SetInterceptorFor<Interface>(new TransparentProxyInterceptor());

Feb 4, 2009 at 12:55 AM
Thanks for reporting.  It's a bug in the documentation.  Logged it here - http://www.codeplex.com/unity/WorkItem/View.aspx?WorkItemId=3737.


Sarah Urmeneta
Global Technology & Solutions
Avanade, Inc.
entlib.support@avanade.com