Class RuntimeModelExtensions
Extension methods essential to working with types associated with the runtime model.
Inheritance
System.Object
RuntimeModelExtensions
Namespace: EPiServer
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public static class RuntimeModelExtensions : Object
Methods
GetOriginalType(Object)
Gets the System.Type of the current object, ensuring that the eventual type that could be generated by a proxy interceptor is ignored.
Declaration
public static Type GetOriginalType(this object subject)
Parameters
Type | Name | Description |
---|---|---|
System.Object | subject | The instance that you want to get the type for. |
Returns
Type | Description |
---|---|
System.Type | The type of the current instance. |