diff options
| author | mo k <mo@mokhan.ca> | 2012-05-03 12:44:39 -0600 |
|---|---|---|
| committer | mo k <mo@mokhan.ca> | 2012-05-03 12:44:39 -0600 |
| commit | 2ea2730e65af8e7849c6f36443f87e8731ffd5be (patch) | |
| tree | 3b9455098690e0038d0f04754b4c34a91cd34162 /proxies/ProxyFactory.cs | |
initial checkin.main
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 |
