| 123456789101112131415 |
- using Castle.DynamicProxy;
- namespace Abp.Reflection
- {
- public static class ProxyHelper
- {
- /// <summary>
- /// Returns dynamic proxy target object if this is a proxied object, otherwise returns the given object.
- /// </summary>
- public static object UnProxy(object obj)
- {
- return ProxyUtil.GetUnproxiedInstance(obj);
- }
- }
- }
|