C# Class Microsoft.R.Components.InteractiveWorkflow.Implementation.RInteractiveEvaluator

Inheritance: IInteractiveEvaluator
ファイルを表示 Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
AbortExecution ( ) : void
CanExecuteCode ( string text ) : bool
Dispose ( ) : void
ExecuteCodeAsync ( string text ) : Task
FormatClipboard ( ) : string
GetPrompt ( ) : string
InitializeAsync ( ) : Task
RInteractiveEvaluator ( IRSessionProvider sessionProvider, IRSession session, IRHistory history, IConnectionManager connections, ICoreShell coreShell, IRSettings settings, IConsole console ) : System
ResetAsync ( bool initialize = true ) : Task

Private Methods

Method Description
InitializeAsync ( bool isResetting ) : Task
SessionOnAfterRequest ( object sender, RAfterRequestEventArgs e ) : void
SessionOnBeforeRequest ( object sender, RBeforeRequestEventArgs e ) : void
SessionOnDisconnected ( object sender, EventArgs args ) : void
SessionOnOutput ( object sender, Microsoft.R.Host.Client.ROutputEventArgs args ) : void
TrimExcessiveLineBreaks ( string message ) : string

Prevents multiple line breaks in REPL when various components prepend and append extra line breaks to the error message. Limits output to 2 line breaks per message.

VisualElement_SizeChanged ( object sender, System e ) : void
Write ( string message ) : void
WriteErrorLine ( string message ) : void
WriteRHostDisconnectedError ( RHostDisconnectedException exception ) : void

Method Details

AbortExecution() public method

public AbortExecution ( ) : void
return void

CanExecuteCode() public method

public CanExecuteCode ( string text ) : bool
text string
return bool

Dispose() public method

public Dispose ( ) : void
return void

ExecuteCodeAsync() public method

public ExecuteCodeAsync ( string text ) : Task
text string
return Task

FormatClipboard() public method

public FormatClipboard ( ) : string
return string

GetPrompt() public method

public GetPrompt ( ) : string
return string

InitializeAsync() public method

public InitializeAsync ( ) : Task
return Task

RInteractiveEvaluator() public method

public RInteractiveEvaluator ( IRSessionProvider sessionProvider, IRSession session, IRHistory history, IConnectionManager connections, ICoreShell coreShell, IRSettings settings, IConsole console ) : System
sessionProvider IRSessionProvider
session IRSession
history IRHistory
connections IConnectionManager
coreShell ICoreShell
settings IRSettings
console IConsole
return System

ResetAsync() public method

public ResetAsync ( bool initialize = true ) : Task
initialize bool
return Task