Export (0) Print
Expand All

Interactive.InteractiveSession Class (F#)

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)

[<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

Member

Description

AddPrinter

Registers a printer that controls the output of the interactive session.

AddPrintTransformer

Registers a print transformer that controls the output of the interactive session.

CommandLineArgs

The 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.

EventLoop

Gets or sets the current event loop being used to process interactions.

FloatingPointFormat

Gets or sets the floating point format used in the output of the interactive session.

FormatProvider

Gets or sets the format provider used in the output of the interactive session.

PrintDepth

Gets or sets the print depth of the interactive session.

PrintLength

Gets or sets the total print length of the interactive session.

PrintSize

Gets or sets the total print size of the interactive session.

PrintWidth

Gets or sets the print width of the interactive session.

ShowDeclarationValues

When set to false, disables the display of declaration values in the output of the interactive session.

ShowIEnumerable

When set to false, disables the display of sequences in the output of the interactive session.

ShowProperties

When set to false, disables the display of properties of evaluated objects in the output of the interactive session.

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

F# Runtime

Supported in: 2.0, 4.0

Silverlight

Supported in: 2, 3

Show:
© 2014 Microsoft