public bool HasInterceptor(InterceptorApplication interceptor) { return _interceptors.Contains(interceptor); }
public void AddInterceptor(Type interceptorType) { AssertHasNoActiveInstances(); InterceptorApplication interceptor = new InterceptorApplication(interceptorType); if (!HasInterceptor(interceptor)) { _interceptors.Add(interceptor); } }