ScriptEngine Properties |
The ScriptEngine type exposes the following members.
Name | Description | |
---|---|---|
![]() | AccessContext |
Allows script code to access non-public host resources.
|
![]() | AllowReflection |
Controls whether script code is permitted to use reflection.
|
![]() | ContinuationCallback |
Gets or sets a callback that can be used to halt script execution.
|
![]() ![]() | Current |
Gets the script engine that is invoking a host member on the current thread.
|
![]() | DefaultAccess |
Gets or sets the default script access setting for all members of exposed objects.
|
![]() | DisableExtensionMethods |
Enables or disables extension method support.
|
![]() | DisableFloatNarrowing |
Enables or disables floating point narrowing.
|
![]() | DisableListIndexTypeRestriction |
Enables or disables type restriction for array and list elements retrieved by index.
|
![]() | DisableTypeRestriction |
Enables or disables type restriction for field, property, and method return values.
|
![]() | DocumentSettings |
Gets or sets the script engine's document settings.
|
![]() | EnableAutoHostVariables |
Enables or disables automatic host variable tunneling for by-reference arguments to script functions and delegates.
|
![]() | EnableNullResultWrapping |
Enables or disables null wrapping for field, property, and method return values.
|
![]() | EnforceAnonymousTypeAccess |
Enables or disables access restrictions for anonymous types.
|
![]() | ExposeHostObjectStaticMembers |
Controls whether host objects provide access to the static members of their exposed types to script code.
|
![]() | FileNameExtension |
Gets the script engine's recommended file name extension for script files.
|
![]() | FormatCode |
Enables or disables script code formatting.
|
![]() | Global |
Allows the host to access script resources.
|
![]() | Name |
Gets the name associated with the script engine instance.
|
![]() | Script |
Allows the host to access script resources dynamically.
|
![]() | UndefinedImportValue |
Gets or sets the engine's undefined import value.
|
![]() | UseReflectionBindFallback |
Enables or disables the use of reflection-based method binding as a fallback.
|
![]() | VoidResultValue |
Gets or sets the engine's void result export value.
|