public static void AddClientIntercepted(this ContainerBuilderWrapper builder, params Type[] interceptorServiceTypes) { builder.RegisterTypes(interceptorServiceTypes).As <IInterceptor>().SingleInstance(); builder.RegisterType <InterceptorProvider>().As <IInterceptorProvider>().SingleInstance(); }