Header menu logo F# Compiler Guide

FsiEvaluationSessionHostConfig Type

Constructors

Constructor Description

FsiEvaluationSessionHostConfig()

Full Usage: FsiEvaluationSessionHostConfig()

Returns: FsiEvaluationSessionHostConfig
Returns: FsiEvaluationSessionHostConfig

Instance members

Instance member Description

this.AddedPrinters

Full Usage: this.AddedPrinters

Returns: Choice<(Type * (obj -> string)), (Type * (obj -> obj))> list
Modifiers: abstract

Called by the evaluation session to ask the host for parameters to format text for output

Returns: Choice<(Type * (obj -> string)), (Type * (obj -> obj))> list

this.EventLoopInvoke

Full Usage: this.EventLoopInvoke

Parameters:
    codeToRun : unit -> 'T

Returns: 'T
Modifiers: abstract
Type parameters: 'T

Request that the given operation be run synchronously on the event loop.

codeToRun : unit -> 'T
Returns: 'T

this.EventLoopRun

Full Usage: this.EventLoopRun

Returns: bool
Modifiers: abstract

Called by the evaluation session to ask the host to enter a dispatch loop like Application.Run(). Only called if --gui option is used (which is the default). Gets called towards the end of startup and every time a ThreadAbort escaped to the backup driver loop. Return true if a 'restart' is required, which is a bit meaningless.

Returns: bool

this.EventLoopScheduleRestart

Full Usage: this.EventLoopScheduleRestart

Modifiers: abstract

Schedule a restart for the event loop.

this.FloatingPointFormat

Full Usage: this.FloatingPointFormat

Returns: string
Modifiers: abstract

Called by the evaluation session to ask the host for parameters to format text for output

Returns: string

this.FormatProvider

Full Usage: this.FormatProvider

Returns: IFormatProvider
Modifiers: abstract

Called by the evaluation session to ask the host for parameters to format text for output

Returns: IFormatProvider

this.GetOptionalConsoleReadLine

Full Usage: this.GetOptionalConsoleReadLine

Parameters:
    probeToSeeIfConsoleWorks : bool

Returns: (unit -> string) option
Modifiers: abstract

Indicate a special console "readline" reader for the evaluation session, if any.

 

A "console" gets used if --readline is specified (the default on Windows + .NET); and --fsi-server is not given (always combine with --readline-), and OptionalConsoleReadLine is given. When a console is used, special rules apply to "peekahead", which allows early typing on the console. Peekahead happens if --peekahead- is not specified (the default). In this case, a prompt is printed early, a background thread is created and the OptionalConsoleReadLine is used to read the first line. If a console is not used, then inReader.Peek() is called early instead.

 

Further lines are read using OptionalConsoleReadLine(). If not provided, lines are read using inReader.ReadLine().

 

probeToSeeIfConsoleWorks : bool
Returns: (unit -> string) option

this.OnEvaluation

Full Usage: this.OnEvaluation

Returns: IEvent<EvaluationEventArgs>

Hook for listening for evaluation bindings

Returns: IEvent<EvaluationEventArgs>

this.PrintDepth

Full Usage: this.PrintDepth

Returns: int
Modifiers: abstract

Called by the evaluation session to ask the host for parameters to format text for output

Returns: int

this.PrintLength

Full Usage: this.PrintLength

Returns: int
Modifiers: abstract

Called by the evaluation session to ask the host for parameters to format text for output

Returns: int

this.PrintSize

Full Usage: this.PrintSize

Returns: int
Modifiers: abstract

Called by the evaluation session to ask the host for parameters to format text for output

Returns: int

this.PrintWidth

Full Usage: this.PrintWidth

Returns: int
Modifiers: abstract

Called by the evaluation session to ask the host for parameters to format text for output

Returns: int

this.ReportUserCommandLineArgs

Full Usage: this.ReportUserCommandLineArgs

Parameters:
    arg0 : string[]

Modifiers: abstract

The evaluation session calls this to report the preferred view of the command line arguments after stripping things like "/use:file.fsx", "-r:Foo.dll" etc.

arg0 : string[]

this.ShowDeclarationValues

Full Usage: this.ShowDeclarationValues

Returns: bool
Modifiers: abstract

Called by the evaluation session to ask the host for parameters to format text for output

Returns: bool

this.ShowIEnumerable

Full Usage: this.ShowIEnumerable

Returns: bool
Modifiers: abstract

Called by the evaluation session to ask the host for parameters to format text for output

Returns: bool

this.ShowProperties

Full Usage: this.ShowProperties

Returns: bool
Modifiers: abstract

Called by the evaluation session to ask the host for parameters to format text for output

Returns: bool

this.StartServer

Full Usage: this.StartServer

Parameters:
    fsiServerName : string

Modifiers: abstract

The evaluation session calls this at an appropriate point in the startup phase if the --fsi-server parameter was given

fsiServerName : string

this.UseFsiAuxLib

Full Usage: this.UseFsiAuxLib

Returns: bool
Modifiers: abstract

Implicitly reference FSharp.Compiler.Interactive.Settings.dll

Returns: bool

Type something to start searching.