summaryrefslogtreecommitdiff
path: root/proxies/ProxyFactory.cs
diff options
context:
space:
mode:
authormo k <mo@mokhan.ca>2012-05-03 12:44:39 -0600
committermo k <mo@mokhan.ca>2012-05-03 12:44:39 -0600
commit2ea2730e65af8e7849c6f36443f87e8731ffd5be (patch)
tree3b9455098690e0038d0f04754b4c34a91cd34162 /proxies/ProxyFactory.cs
initial checkin.main
Diffstat (limited to 'proxies/ProxyFactory.cs')
-rw-r--r--proxies/ProxyFactory.cs10
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