C# Class Microsoft.R.Host.Client.Test.Script.RHostClientTestApp

Inheritance: IRSessionCallback
Show file Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
CranUrlFromName ( string name ) : string
Locator ( System.Guid deviceId, CancellationToken ct ) : Task
Plot ( PlotMessage plot, CancellationToken ct ) : Task
PlotDeviceCreate ( System.Guid deviceId, CancellationToken ct ) : Task
PlotDeviceDestroy ( System.Guid deviceId, CancellationToken ct ) : Task
ReadUserInput ( string prompt, int maximumLength, CancellationToken ct ) : Task
SaveFileAsync ( string remotePath, string localPath, byte data, CancellationToken cancellationToken ) : Task
ShowErrorMessage ( string message, CancellationToken cancellationToken = default(CancellationToken) ) : Task
ShowHelpAsync ( string url, CancellationToken cancellationToken = default(CancellationToken) ) : Task
ShowMessageAsync ( string message, MessageButtons buttons, CancellationToken cancellationToken ) : Task
ViewFile ( string fileName, string tabName, bool deleteFile, CancellationToken cancellationToken ) : Task
ViewLibraryAsync ( CancellationToken cancellationToken ) : Task
ViewObjectAsync ( string expression, string title, CancellationToken cancellationToken ) : Task

Method Details

CranUrlFromName() public method

public CranUrlFromName ( string name ) : string
name string
return string

Locator() public method

public Locator ( System.Guid deviceId, CancellationToken ct ) : Task
deviceId System.Guid
ct System.Threading.CancellationToken
return Task

Plot() public method

public Plot ( PlotMessage plot, CancellationToken ct ) : Task
plot PlotMessage
ct System.Threading.CancellationToken
return Task

PlotDeviceCreate() public method

public PlotDeviceCreate ( System.Guid deviceId, CancellationToken ct ) : Task
deviceId System.Guid
ct System.Threading.CancellationToken
return Task

PlotDeviceDestroy() public method

public PlotDeviceDestroy ( System.Guid deviceId, CancellationToken ct ) : Task
deviceId System.Guid
ct System.Threading.CancellationToken
return Task

ReadUserInput() public method

public ReadUserInput ( string prompt, int maximumLength, CancellationToken ct ) : Task
prompt string
maximumLength int
ct System.Threading.CancellationToken
return Task

SaveFileAsync() public method

public SaveFileAsync ( string remotePath, string localPath, byte data, CancellationToken cancellationToken ) : Task
remotePath string
localPath string
data byte
cancellationToken System.Threading.CancellationToken
return Task

ShowErrorMessage() public method

public ShowErrorMessage ( string message, CancellationToken cancellationToken = default(CancellationToken) ) : Task
message string
cancellationToken System.Threading.CancellationToken
return Task

ShowHelpAsync() public method

public ShowHelpAsync ( string url, CancellationToken cancellationToken = default(CancellationToken) ) : Task
url string
cancellationToken System.Threading.CancellationToken
return Task

ShowMessageAsync() public method

public ShowMessageAsync ( string message, MessageButtons buttons, CancellationToken cancellationToken ) : Task
message string
buttons MessageButtons
cancellationToken System.Threading.CancellationToken
return Task

ViewFile() public method

public ViewFile ( string fileName, string tabName, bool deleteFile, CancellationToken cancellationToken ) : Task
fileName string
tabName string
deleteFile bool
cancellationToken System.Threading.CancellationToken
return Task

ViewLibraryAsync() public method

public ViewLibraryAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
return Task

ViewObjectAsync() public method

public ViewObjectAsync ( string expression, string title, CancellationToken cancellationToken ) : Task
expression string
title string
cancellationToken System.Threading.CancellationToken
return Task