Convenience method to figure out the underlying type for the object regardless of it is a Proxied object or the real object.

Namespace:  NHibernate.Proxy
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function GetClass ( _
	obj As Object _
) As Type
C#
public static Type GetClass(
	Object obj
)
Visual C++
public:
static Type^ GetClass(
	Object^ obj
)
JavaScript
NHibernate.Proxy.NHibernateProxyHelper.getClass = function(obj);

Parameters

obj
Type: System..::.Object
The object to get the type of.

Return Value

The Underlying Type for the object regardless of if it is a Proxy.

See Also