public ExtendedTypeInterceptionStrategy(ExtendedInterception interception)
        {
            if (null == interception)
            {
                throw new ArgumentNullException("interception");
            }

            Interception = interception;
        }
        protected override void ConfigureContainer(IUnityContainer container)
        {
            var interception = new ExtendedInterception();
            if (!string.IsNullOrEmpty(Interceptor))
            {
                var type = Type.GetType(Interceptor);
                if (null == type)
                {
                    throw new ConfigurationErrorsException(string.Format("The {0} is not a valid Interceptor.",
                        Interceptor));
                }

                if (!typeof (IInterceptor).IsAssignableFrom(type))
                {
                    throw new ConfigurationErrorsException(string.Format("The {0} is not a valid Interceptor.",
                        Interceptor));
                }
                interception.Interceptor = (IInterceptor) Activator.CreateInstance(type);
            }

            container.AddExtension(interception);
        }