Click or drag to resize

ScriptEngineAccessContext Property

Allows script code to access non-host resources.

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

Property Value

Type

Implements

IScriptEngineAccessContext
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