Table of Contents

Class ProxyHelper

Namespace
Volo.Abp.DynamicProxy
Assembly
Volo.Abp.Core.dll
public static class ProxyHelper
Inheritance
ProxyHelper
Inherited Members

Methods

GetUnProxiedType(object)

public static Type GetUnProxiedType(object obj)

Parameters

obj object

Returns

Type

IsProxy(object)

Checks if given object is a dynamic proxy.

public static bool IsProxy(object obj)

Parameters

obj object

Returns

bool

UnProxy(object)

Returns dynamic proxy target object if this is a proxied object, otherwise returns the given object. It supports Castle Dynamic Proxies.

public static object UnProxy(object obj)

Parameters

obj object

Returns

object