コード例 #1
0
 public void AddInterceptor(IInterceptorContainer interceptorContainer)
 {
     this.interceptors.Add(interceptorContainer);
 }
コード例 #2
0
 public void AddInterceptor(IInterceptorContainer interceptorContainer)
 {
     this.interceptors.Add(interceptorContainer);
 }
コード例 #3
0
        public Intercept(IDynamicInterceptor interceptor)
        {
            Guard.ArgumentNotNull(interceptor, "interceptor");

            this.interceptorContainer = new ConstantInterceptorContainer(interceptor);
        }
コード例 #4
0
        public Intercept(Type interceptorType)
        {
            Guard.ArgumentNotNull(interceptorType, "interceptorType");

            this.interceptorContainer = new LazyCreatedInterceptorContainer(interceptorType);
        }
コード例 #5
0
        public Intercept(IDynamicInterceptor interceptor)
        {
            Guard.ArgumentNotNull(interceptor, "interceptor");

            this.interceptorContainer = new ConstantInterceptorContainer(interceptor);
        }
コード例 #6
0
        public Intercept(Type interceptorType)
        {
            Guard.ArgumentNotNull(interceptorType, "interceptorType");

            this.interceptorContainer = new LazyCreatedInterceptorContainer(interceptorType);
        }