Extensions Class |
The Extensions type exposes the following members.
| Name | Description | |
|---|---|---|
| ToHostType(Type) | Converts a type to a host type for use with script code currently running on the calling thread. | |
| ToHostType(Type, ScriptEngine) | Converts a type to a host type for use with script code running in the specified script engine. | |
| ToRestrictedHostObject(Object, Type) | Converts an object to a host object with a type restriction specified as a Type instance, for use with script code currently running on the calling thread. | |
| ToRestrictedHostObject(Object, Type, ScriptEngine) | Converts an object to a host object with a type restriction specified as a Type instance, for use with script code running in the specified script engine. | |
| ToRestrictedHostObjectT(T) | Converts an object to a host object with the specified type restriction, for use with script code currently running on the calling thread. | |
| ToRestrictedHostObjectT(T, ScriptEngine) | Converts an object to a host object with the specified type restriction, for use with script code running in the specified script engine. |