C# Class Microsoft.VisualStudio.R.Package.Repl.RInteractiveWorkflowOperations

Inheritance: IRInteractiveWorkflowOperations
显示文件 Open project: Microsoft/RTVS Class Usage Examples

Private Properties

Property Type Description
GetSourceExpression string
IsMultiLineCandidate bool
ProcessQueuedInput void

Public Methods

Method Description
ClearPendingInputs ( ) : void
Dispose ( ) : void
EnqueueExpression ( string expression, bool addNewLine ) : void
ExecuteCurrentExpression ( ITextView textView, Action formatDocument ) : void
ExecuteExpression ( string expression ) : void
PositionCaretAtPrompt ( ) : void
RInteractiveWorkflowOperations ( IRInteractiveWorkflow workflow, IDebuggerModeTracker debuggerModeTracker, ICoreShell coreShell ) : System
ReplaceCurrentExpression ( string replaceWith ) : void
ResetAsync ( ) : Task
SourceFileAsync ( string file, bool echo, Encoding encoding = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task
SourceFiles ( IEnumerable files, bool echo ) : void
TryRunShinyApp ( ) : void

Private Methods

Method Description
GetSourceExpression ( string file, bool echo, Encoding encoding = null ) : string
IsMultiLineCandidate ( string text ) : bool
ProcessQueuedInput ( ) : void

Method Details

ClearPendingInputs() public method

public ClearPendingInputs ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

EnqueueExpression() public method

public EnqueueExpression ( string expression, bool addNewLine ) : void
expression string
addNewLine bool
return void

ExecuteCurrentExpression() public method

public ExecuteCurrentExpression ( ITextView textView, Action formatDocument ) : void
textView ITextView
formatDocument Action
return void

ExecuteExpression() public method

public ExecuteExpression ( string expression ) : void
expression string
return void

PositionCaretAtPrompt() public method

public PositionCaretAtPrompt ( ) : void
return void

RInteractiveWorkflowOperations() public method

public RInteractiveWorkflowOperations ( IRInteractiveWorkflow workflow, IDebuggerModeTracker debuggerModeTracker, ICoreShell coreShell ) : System
workflow IRInteractiveWorkflow
debuggerModeTracker IDebuggerModeTracker
coreShell ICoreShell
return System

ReplaceCurrentExpression() public method

public ReplaceCurrentExpression ( string replaceWith ) : void
replaceWith string
return void

ResetAsync() public method

public ResetAsync ( ) : Task
return Task

SourceFileAsync() public method

public SourceFileAsync ( string file, bool echo, Encoding encoding = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task
file string
echo bool
encoding System.Text.Encoding
cancellationToken System.Threading.CancellationToken
return Task

SourceFiles() public method

public SourceFiles ( IEnumerable files, bool echo ) : void
files IEnumerable
echo bool
return void

TryRunShinyApp() public method

public TryRunShinyApp ( ) : void
return void