diff options
Diffstat (limited to 'proxies/ProxyFactory.cs')
| -rw-r--r-- | proxies/ProxyFactory.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/proxies/ProxyFactory.cs b/proxies/ProxyFactory.cs new file mode 100644 index 0000000..f8cec11 --- /dev/null +++ b/proxies/ProxyFactory.cs @@ -0,0 +1,10 @@ +namespace proxies
+{
+ public static class ProxyFactory
+ {
+ public static T Create<T>(T target, params IInterceptor[] interceptors)
+ {
+ return new RemotingProxyFactory<T>(target, interceptors).CreateProxy();
+ }
+ }
+}
\ No newline at end of file |
