main
1using System;
2using Castle.Core.Interceptor;
3
4namespace gorilla.commons.infrastructure.thirdparty.Castle.DynamicProxy
5{
6 public interface ProxyBuilder<TypeToProxy>
7 {
8 ConstraintSelector<TypeToProxy> add_interceptor<Interceptor>(Interceptor interceptor)
9 where Interceptor : IInterceptor;
10
11 ConstraintSelector<TypeToProxy> add_interceptor<Interceptor>() where Interceptor : IInterceptor, new();
12 TypeToProxy create_proxy_for(TypeToProxy target);
13 TypeToProxy create_proxy_for(Func<TypeToProxy> target);
14 }
15}