public void Intercept <T>(Action <IInterceptorConfigurator <T> > configureAction) where T : class { var binder = new InterceptionBinder(typeof(T), x => { var interceptor = PipeSegment.Interceptor(x, configureAction); _disposables.Add(interceptor); return(interceptor); }); binder.Bind(_pipe); }