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