3 instantiations of RemoteExecutionResult
Microsoft.CodeAnalysis.InteractiveHost (3)
Interactive\Core\InteractiveHost.LazyRemoteService.cs (1)
76
result = new
RemoteExecutionResult
(
Interactive\Core\InteractiveHost.Service.cs (1)
424
completionSource.TrySetResult(new
RemoteExecutionResult
(success, newSourcePaths, newReferencePaths, newWorkingDirectory, initResult));
Interactive\Core\RemoteExecutionResult.cs (1)
21
=> new
RemoteExecutionResult
(
26 references to RemoteExecutionResult
Microsoft.CodeAnalysis.InteractiveHost (26)
Interactive\Core\InteractiveHost.cs (9)
70
internal event Action<InteractiveHostPlatformInfo, InteractiveHostOptions,
RemoteExecutionResult
>? ProcessInitialized;
270
private async Task<
RemoteExecutionResult
> ExecuteRemoteAsync(string targetName, params object?[] arguments)
271
=> (await InvokeRemoteAsync<
RemoteExecutionResult
.Data>(targetName, arguments).ConfigureAwait(false))?.Deserialize() ?? default;
284
private static async Task<
RemoteExecutionResult
> ExecuteRemoteAsync(RemoteService remoteService, string targetName, params object?[] arguments)
285
=> (await InvokeRemoteAsync<
RemoteExecutionResult
.Data>(remoteService, targetName, arguments).ConfigureAwait(false))?.Deserialize() ?? default;
331
public async Task<
RemoteExecutionResult
> ResetAsync(InteractiveHostOptions options)
363
public Task<
RemoteExecutionResult
> ExecuteAsync(string code)
378
public Task<
RemoteExecutionResult
> ExecuteFileAsync(string path)
401
public Task<
RemoteExecutionResult
> SetPathsAsync(ImmutableArray<string> referenceSearchPaths, ImmutableArray<string> sourceSearchPaths, string baseDirectory)
Interactive\Core\InteractiveHost.InitializedRemoteService.cs (2)
12
public readonly
RemoteExecutionResult
InitializationResult;
14
public InitializedRemoteService(RemoteService service,
RemoteExecutionResult
initializationResult)
Interactive\Core\InteractiveHost.LazyRemoteService.cs (1)
72
RemoteExecutionResult
result;
Interactive\Core\InteractiveHost.Service.cs (13)
241
public async Task<
RemoteExecutionResult
.Data> SetPathsAsync(
246
var completionSource = new TaskCompletionSource<
RemoteExecutionResult
>();
257
TaskCompletionSource<
RemoteExecutionResult
> completionSource,
289
public async Task<
RemoteExecutionResult
.Data> InitializeContextAsync(string? initializationFilePath, bool isRestarting)
291
var completionSource = new TaskCompletionSource<
RemoteExecutionResult
>();
346
public async Task<
RemoteExecutionResult
.Data> ExecuteAsync(string text)
348
var completionSource = new TaskCompletionSource<
RemoteExecutionResult
>();
357
private async Task<EvaluationState> ExecuteAsync(TaskCompletionSource<
RemoteExecutionResult
> completionSource, Task<EvaluationState> lastTask, string text)
404
public async Task<
RemoteExecutionResult
.Data> ExecuteFileAsync(string path)
406
var completionSource = new TaskCompletionSource<
RemoteExecutionResult
>();
416
private EvaluationState CompleteExecution(EvaluationState state, TaskCompletionSource<
RemoteExecutionResult
> completionSource, bool success, RemoteInitializationResult? initResult = null)
496
TaskCompletionSource<
RemoteExecutionResult
> completionSource,
677
TaskCompletionSource<
RemoteExecutionResult
> completionSource,
Interactive\Core\RemoteExecutionResult.cs (1)
20
public
RemoteExecutionResult
Deserialize()