Table of contents
TOC
Collapse the table of content
Expand the table of content

Interactive.InteractiveSession Class (F#)

Den Delimarsky|Last Updated: 8/18/2017
|
2 Contributors

Operations supported by the currently executing F# Interactive session.

Namespace/Module Path: Microsoft.FSharp.Compiler.Interactive

Assembly: FSharp.Compiler.Interactive.Settings (in FSharp.Compiler.Interactive.Settings.dll)

Syntax

[<Sealed>]
type InteractiveSession =
class
member this.AddPrintTransformer : InteractiveSession -> ('T -> obj) -> unit
member this.AddPrinter : InteractiveSession -> ('T -> string) -> unit
member this.CommandLineArgs :  string []
member this.EventLoop :  IEventLoop
member this.FloatingPointFormat :  string
member this.FormatProvider :  IFormatProvider
member this.PrintDepth :  int
member this.PrintLength :  int
member this.PrintSize :  int
member this.PrintWidth :  int
member this.ShowDeclarationValues :  bool
member this.ShowIEnumerable :  bool
member this.ShowProperties :  bool
member this.CommandLineArgs : string [] with set :  string []
member this.EventLoop : IEventLoop with set :  IEventLoop
member this.FloatingPointFormat : string with set :  string
member this.FormatProvider : IFormatProvider with set :  IFormatProvider
member this.PrintDepth : int with set :  int
member this.PrintLength : int with set :  int
member this.PrintSize : int with set :  int
member this.PrintWidth : int with set :  int
member this.ShowDeclarationValues : bool with set :  bool
member this.ShowIEnumerable : bool with set :  bool
member this.ShowProperties : bool with set :  bool
end

Instance Members

MemberDescription
AddPrinterRegisters a printer that controls the output of the interactive session.
AddPrintTransformerRegisters a print transformer that controls the output of the interactive session.
CommandLineArgsThe command line arguments after ignoring the arguments relevant to the interactive environment and replacing the first argument with the name of the last script file, if any.
EventLoopGets or sets the current event loop being used to process interactions.
FloatingPointFormatGets or sets the floating point format used in the output of the interactive session.
FormatProviderGets or sets the format provider used in the output of the interactive session.
PrintDepthGets or sets the print depth of the interactive session.
PrintLengthGets or sets the total print length of the interactive session.
PrintSizeGets or sets the total print size of the interactive session.
PrintWidthGets or sets the print width of the interactive session.
ShowDeclarationValuesWhen set to false, disables the display of declaration values in the output of the interactive session.
ShowIEnumerableWhen set to false, disables the display of sequences in the output of the interactive session.
ShowPropertiesWhen set to false, disables the display of properties of evaluated objects in the output of the interactive session.

Platforms

Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

Version Information

F# Runtime

Supported in: 2.0, 4.0

See Also

Microsoft.FSharp.Compiler.Interactive Namespace (F#)

© 2018 Microsoft