Click or drag to resize

Extensions Methods

The Extensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodToHostType(Type) Converts a type to a host type for use with script code currently running on the calling thread.
Public Extension MethodToHostType(Type, ScriptEngine) Converts a type to a host type for use with script code running in the specified script engine.
Public Extension MethodToRestrictedHostObject(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.
Public Extension MethodToRestrictedHostObject(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.
Public Extension MethodToRestrictedHostObjectT(T) Converts an object to a host object with the specified type restriction, for use with script code currently running on the calling thread.
Public Extension MethodToRestrictedHostObjectT(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.
Top
See Also