Click or drag to resize

InteractiveScriptGlobals Class



Defines global members that common REPL (Read Eval Print Loop) hosts make available in the interactive session.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.Scripting.HostingInteractiveScriptGlobals

Namespace:  Microsoft.CodeAnalysis.Scripting.Hosting
Assembly:  Microsoft.CodeAnalysis.Scripting (in Microsoft.CodeAnalysis.Scripting.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public class InteractiveScriptGlobals

The InteractiveScriptGlobals type exposes the following members.

Constructors
  NameDescription
Public methodInteractiveScriptGlobals
Initializes a new instance of the InteractiveScriptGlobals class
Top
Properties
  NameDescription
Public propertyArgs
Arguments given to the script.
Public propertyPrintOptions
Public propertyReferencePaths
Public propertySourcePaths
Top
Methods
  NameDescription
Public methodPrint
Pretty-prints an object.
Top
Remarks
It is recommended for hosts to expose the members defined by this class and implement the same semantics, so that they can run scripts written against standard hosts. Specialized hosts that target niche scenarios might choose to not provide this functionality.
See Also