Click or drag to resize

ScriptEngineAccessContext Property

Allows script code to access non-public host resources.

Namespace:  Microsoft.ClearScript
Assembly:  ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.4
Syntax
public Type AccessContext { get; set; }

Property Value

Type: Type
Remarks
By setting this property to a type you declare that script code running in the current script engine is to be treated as if it were part of that type's implementation. Doing so does not expose any host resources to script code, but it affects which host resources are importable and which members of exposed resources are accessible.
See Also