Click or drag to resize

Extensions Class

Defines extension methods for use with all script engines.
Inheritance Hierarchy
SystemObject
  Microsoft.ClearScriptExtensions

Namespace:  Microsoft.ClearScript
Assembly:  ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.4
Syntax
public static class Extensions
Methods
  NameDescription
Public methodStatic memberToHostType(Type)
Converts a type to a host type for use with script code currently running on the calling thread.
Public methodStatic memberToHostType(Type, ScriptEngine)
Converts a type to a host type for use with script code running in the specified script engine.
Public methodStatic memberToRestrictedHostObjectT(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 methodStatic memberToRestrictedHostObjectT(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