C# 클래스 Microsoft.R.Host.Client.Program

상속: IRCallbacks
파일 보기 프로젝트 열기: Microsoft/RTVS

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
Console_CancelKeyPress ( object sender, ConsoleCancelEventArgs e ) : void
Main ( string args ) : void
ReadLineAsync ( string prompt, CancellationToken ct ) : Task

메소드 상세

Busy() 공개 메소드

public Busy ( bool which, CancellationToken ct ) : Task
which bool
ct System.Threading.CancellationToken
리턴 Task

Connected() 공개 메소드

public Connected ( string rVersion ) : Task
rVersion string
리턴 Task

DirectoryChanged() 공개 메소드

public DirectoryChanged ( ) : void
리턴 void

Disconnected() 공개 메소드

public Disconnected ( ) : Task
리턴 Task

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Locator() 공개 메소드

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

PackagesInstalled() 공개 메소드

public PackagesInstalled ( ) : void
리턴 void

PackagesRemoved() 공개 메소드

public PackagesRemoved ( ) : void
리턴 void

Plot() 공개 메소드

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

PlotDeviceCreate() 공개 메소드

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

PlotDeviceDestroy() 공개 메소드

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

ReadConsole() 공개 메소드

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
리턴 Task

SaveFileAsync() 공개 메소드

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

ShowDialog() 공개 메소드

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
리턴 Task

ShowFile() 공개 메소드

public ShowFile ( string fileName, string tabName, bool deleteFile, CancellationToken cancellationToken ) : Task
fileName string
tabName string
deleteFile bool
cancellationToken System.Threading.CancellationToken
리턴 Task

ShowMessage() 공개 메소드

public ShowMessage ( string s, CancellationToken ct ) : Task
s string
ct System.Threading.CancellationToken
리턴 Task

Shutdown() 공개 메소드

public Shutdown ( bool savedRData ) : Task
savedRData bool
리턴 Task

ViewLibrary() 공개 메소드

public ViewLibrary ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
리턴 Task

ViewObject() 공개 메소드

public ViewObject ( string x, string title, CancellationToken cancellationToken ) : Task
x string
title string
cancellationToken System.Threading.CancellationToken
리턴 Task

WebBrowser() 공개 메소드

public WebBrowser ( string url, CancellationToken ct ) : Task
url string
ct System.Threading.CancellationToken
리턴 Task

WriteConsoleEx() 공개 메소드

public WriteConsoleEx ( string buf, OutputType otype, CancellationToken ct ) : Task
buf string
otype OutputType
ct System.Threading.CancellationToken
리턴 Task

YesNoCancel() 공개 메소드

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
리턴 Task