C# 클래스 Microsoft.R.Host.Client.Test.Mocks.RSessionMock

상속: IRSession
파일 보기 프로젝트 열기: Microsoft/RTVS 1 사용 예제들

공개 메소드들

메소드 설명
BeginInteractionAsync ( bool isVisible = true, CancellationToken cancellationToken = default(CancellationToken) ) : Task
BlobReadAllAsync ( ulong blobId, CancellationToken cancellationToken = default(CancellationToken) ) : Task
BlobReadAsync ( ulong blobId, long position, long count, CancellationToken cancellationToken = default(CancellationToken) ) : Task
BlobWriteAsync ( ulong blobId, byte data, long position, CancellationToken cancellationToken = default(CancellationToken) ) : Task
CancelAllAsync ( CancellationToken сancellationToken = default(CancellationToken) ) : Task
CreateBlobAsync ( CancellationToken ct = default(CancellationToken) ) : Task
DestroyBlobsAsync ( IEnumerable blobIds, CancellationToken ct = default(CancellationToken) ) : Task
DisableMutatedOnReadConsole ( ) : IDisposable
Dispose ( ) : void
EnsureHostStartedAsync ( RHostStartupInfo startupInfo, IRSessionCallback callback, int timeout = 3000, CancellationToken cancellationToken = default(CancellationToken) ) : Task
EvaluateAsync ( string expression, REvaluationKind kind, CancellationToken ct = default(CancellationToken) ) : Task
FlushLog ( ) : void
GetBlobSizeAsync ( ulong blobId, CancellationToken cancellationToken = default(CancellationToken) ) : Task
RestartHostAsync ( ) : Task
SetBlobSizeAsync ( ulong blobId, long size, CancellationToken cancellationToken = default(CancellationToken) ) : Task
StartHostAsync ( RHostStartupInfo startupInfo, IRSessionCallback callback, int timeout = 3000, CancellationToken cancellationToken = default(CancellationToken) ) : Task
StopHostAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task

메소드 상세

BeginInteractionAsync() 공개 메소드

public BeginInteractionAsync ( bool isVisible = true, CancellationToken cancellationToken = default(CancellationToken) ) : Task
isVisible bool
cancellationToken System.Threading.CancellationToken
리턴 Task

BlobReadAllAsync() 공개 메소드

public BlobReadAllAsync ( ulong blobId, CancellationToken cancellationToken = default(CancellationToken) ) : Task
blobId ulong
cancellationToken System.Threading.CancellationToken
리턴 Task

BlobReadAsync() 공개 메소드

public BlobReadAsync ( ulong blobId, long position, long count, CancellationToken cancellationToken = default(CancellationToken) ) : Task
blobId ulong
position long
count long
cancellationToken System.Threading.CancellationToken
리턴 Task

BlobWriteAsync() 공개 메소드

public BlobWriteAsync ( ulong blobId, byte data, long position, CancellationToken cancellationToken = default(CancellationToken) ) : Task
blobId ulong
data byte
position long
cancellationToken System.Threading.CancellationToken
리턴 Task

CancelAllAsync() 공개 메소드

public CancelAllAsync ( CancellationToken сancellationToken = default(CancellationToken) ) : Task
сancellationToken System.Threading.CancellationToken
리턴 Task

CreateBlobAsync() 공개 메소드

public CreateBlobAsync ( CancellationToken ct = default(CancellationToken) ) : Task
ct System.Threading.CancellationToken
리턴 Task

DestroyBlobsAsync() 공개 메소드

public DestroyBlobsAsync ( IEnumerable blobIds, CancellationToken ct = default(CancellationToken) ) : Task
blobIds IEnumerable
ct System.Threading.CancellationToken
리턴 Task

DisableMutatedOnReadConsole() 공개 메소드

public DisableMutatedOnReadConsole ( ) : IDisposable
리턴 IDisposable

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EnsureHostStartedAsync() 공개 메소드

public EnsureHostStartedAsync ( RHostStartupInfo startupInfo, IRSessionCallback callback, int timeout = 3000, CancellationToken cancellationToken = default(CancellationToken) ) : Task
startupInfo RHostStartupInfo
callback IRSessionCallback
timeout int
cancellationToken System.Threading.CancellationToken
리턴 Task

EvaluateAsync() 공개 메소드

public EvaluateAsync ( string expression, REvaluationKind kind, CancellationToken ct = default(CancellationToken) ) : Task
expression string
kind REvaluationKind
ct System.Threading.CancellationToken
리턴 Task

FlushLog() 공개 메소드

public FlushLog ( ) : void
리턴 void

GetBlobSizeAsync() 공개 메소드

public GetBlobSizeAsync ( ulong blobId, CancellationToken cancellationToken = default(CancellationToken) ) : Task
blobId ulong
cancellationToken System.Threading.CancellationToken
리턴 Task

RestartHostAsync() 공개 메소드

public RestartHostAsync ( ) : Task
리턴 Task

SetBlobSizeAsync() 공개 메소드

public SetBlobSizeAsync ( ulong blobId, long size, CancellationToken cancellationToken = default(CancellationToken) ) : Task
blobId ulong
size long
cancellationToken System.Threading.CancellationToken
리턴 Task

StartHostAsync() 공개 메소드

public StartHostAsync ( RHostStartupInfo startupInfo, IRSessionCallback callback, int timeout = 3000, CancellationToken cancellationToken = default(CancellationToken) ) : Task
startupInfo RHostStartupInfo
callback IRSessionCallback
timeout int
cancellationToken System.Threading.CancellationToken
리턴 Task

StopHostAsync() 공개 메소드

public StopHostAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
cancellationToken System.Threading.CancellationToken
리턴 Task