Header menu logo FSharp.Formatting

FsiEvaluator Type

A wrapper for F# interactive service that is used to evaluate inline snippets

Constructors

Constructor Description

FsiEvaluator(?options, ?fsiObj, ?addHtmlPrinter, ?discardStdOut, ?disableFsiObj, ?onError)

Full Usage: FsiEvaluator(?options, ?fsiObj, ?addHtmlPrinter, ?discardStdOut, ?disableFsiObj, ?onError)

Parameters:
    ?options : string array
    ?fsiObj : obj
    ?addHtmlPrinter : bool
    ?discardStdOut : bool
    ?disableFsiObj : bool
    ?onError : string -> unit

Returns: FsiEvaluator
?options : string array
?fsiObj : obj
?addHtmlPrinter : bool
?discardStdOut : bool
?disableFsiObj : bool
?onError : string -> unit
Returns: FsiEvaluator

Instance members

Instance member Description

this.EvaluationFailed

Full Usage: this.EvaluationFailed

Returns: IEvent<FsiEvaluationFailedInfo>

This event is fired whenever an evaluation of an expression fails

Returns: IEvent<FsiEvaluationFailedInfo>

this.RegisterTransformation

Full Usage: this.RegisterTransformation

Parameters:

Register a function that formats (some) values that are produced by the evaluator. The specified function should return 'Some' when it knows how to format a value and it should return formatted

f : obj * Type * int -> MarkdownParagraph list option

Type something to start searching.