C# Class Microsoft.R.Host.Client.Program

Inheritance: IRCallbacks
Afficher le fichier Open project: Microsoft/RTVS

Méthodes publiques

Méthode Description
Busy ( bool which, CancellationToken ct ) : Task
Connected ( string rVersion ) : Task
DirectoryChanged ( ) : void
Disconnected ( ) : Task
Dispose ( ) : void
Locator ( System.Guid deviceId, CancellationToken ct ) : Task
PackagesInstalled ( ) : void
PackagesRemoved ( ) : void
Plot ( PlotMessage plot, CancellationToken ct ) : Task
PlotDeviceCreate ( System.Guid deviceId, CancellationToken ct ) : Task
PlotDeviceDestroy ( System.Guid deviceId, CancellationToken ct ) : Task
ReadConsole ( IReadOnlyList contexts, string prompt, int len, bool addToHistory, CancellationToken ct ) : Task
SaveFileAsync ( string remotePath, string localPath, byte data, CancellationToken cancellationToken ) : Task
ShowDialog ( IReadOnlyList contexts, string s, MessageButtons buttons, CancellationToken ct ) : Task

Called when R wants to display generic Windows MessageBox. Graph app may call Win32 API directly rather than going via R API callbacks.

ShowFile ( string fileName, string tabName, bool deleteFile, CancellationToken cancellationToken ) : Task
ShowMessage ( string s, CancellationToken ct ) : Task
Shutdown ( bool savedRData ) : Task
ViewLibrary ( CancellationToken cancellationToken ) : Task
ViewObject ( string x, string title, CancellationToken cancellationToken ) : Task
WebBrowser ( string url, CancellationToken ct ) : Task
WriteConsoleEx ( string buf, OutputType otype, CancellationToken ct ) : Task
YesNoCancel ( IReadOnlyList contexts, string s, CancellationToken ct ) : Task

Called as a result of R calling R API 'YesNoCancel' callback

Private Methods

Méthode Description
Console_CancelKeyPress ( object sender, ConsoleCancelEventArgs e ) : void
Main ( string args ) : void
ReadLineAsync ( string prompt, CancellationToken ct ) : Task

Method Details

Busy() public méthode

public Busy ( bool which, CancellationToken ct ) : Task
which bool
ct System.Threading.CancellationToken
Résultat Task

Connected() public méthode

public Connected ( string rVersion ) : Task
rVersion string
Résultat Task

DirectoryChanged() public méthode

public DirectoryChanged ( ) : void
Résultat void

Disconnected() public méthode

public Disconnected ( ) : Task
Résultat Task

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Locator() public méthode

public Locator ( System.Guid deviceId, CancellationToken ct ) : Task
deviceId System.Guid
ct System.Threading.CancellationToken
Résultat Task

PackagesInstalled() public méthode

public PackagesInstalled ( ) : void
Résultat void

PackagesRemoved() public méthode

public PackagesRemoved ( ) : void
Résultat void

Plot() public méthode

public Plot ( PlotMessage plot, CancellationToken ct ) : Task
plot PlotMessage
ct System.Threading.CancellationToken
Résultat Task

PlotDeviceCreate() public méthode

public PlotDeviceCreate ( System.Guid deviceId, CancellationToken ct ) : Task
deviceId System.Guid
ct System.Threading.CancellationToken
Résultat Task

PlotDeviceDestroy() public méthode

public PlotDeviceDestroy ( System.Guid deviceId, CancellationToken ct ) : Task
deviceId System.Guid
ct System.Threading.CancellationToken
Résultat Task

ReadConsole() public méthode

public ReadConsole ( IReadOnlyList contexts, string prompt, int len, bool addToHistory, CancellationToken ct ) : Task
contexts IReadOnlyList
prompt string
len int
addToHistory bool
ct System.Threading.CancellationToken
Résultat Task

SaveFileAsync() public méthode

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

ShowDialog() public méthode

Called when R wants to display generic Windows MessageBox. Graph app may call Win32 API directly rather than going via R API callbacks.
public ShowDialog ( IReadOnlyList contexts, string s, MessageButtons buttons, CancellationToken ct ) : Task
contexts IReadOnlyList
s string
buttons MessageButtons
ct System.Threading.CancellationToken
Résultat Task

ShowFile() public méthode

public ShowFile ( string fileName, string tabName, bool deleteFile, CancellationToken cancellationToken ) : Task
fileName string
tabName string
deleteFile bool
cancellationToken System.Threading.CancellationToken
Résultat Task

ShowMessage() public méthode

public ShowMessage ( string s, CancellationToken ct ) : Task
s string
ct System.Threading.CancellationToken
Résultat Task

Shutdown() public méthode

public Shutdown ( bool savedRData ) : Task
savedRData bool
Résultat Task

ViewLibrary() public méthode

public ViewLibrary ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
Résultat Task

ViewObject() public méthode

public ViewObject ( string x, string title, CancellationToken cancellationToken ) : Task
x string
title string
cancellationToken System.Threading.CancellationToken
Résultat Task

WebBrowser() public méthode

public WebBrowser ( string url, CancellationToken ct ) : Task
url string
ct System.Threading.CancellationToken
Résultat Task

WriteConsoleEx() public méthode

public WriteConsoleEx ( string buf, OutputType otype, CancellationToken ct ) : Task
buf string
otype OutputType
ct System.Threading.CancellationToken
Résultat Task

YesNoCancel() public méthode

Called as a result of R calling R API 'YesNoCancel' callback
public YesNoCancel ( IReadOnlyList contexts, string s, CancellationToken ct ) : Task
contexts IReadOnlyList
s string
ct System.Threading.CancellationToken
Résultat Task