summaryrefslogtreecommitdiff
path: root/proxies/ProxyFactory.cs
blob: f8cec11fb29a9bb039961fc008175d4914aa5986 (plain)
1
2
3
4
5
6
7
8
9
10
namespace proxies
{
    public static class ProxyFactory
    {
        public static T Create<T>(T target, params IInterceptor[] interceptors)
        {
            return new RemotingProxyFactory<T>(target, interceptors).CreateProxy();
        }
    }
}