6 instantiations of InteractiveHostOptions
InteractiveHost.UnitTests (5)
InteractiveHostDesktopTests.cs (5)
708await Host.ResetAsync(new InteractiveHostOptions(Host.OptionsOpt!.HostPath, rspFile.Path, culture: CultureInfo.InvariantCulture, Host.OptionsOpt!.Platform)); 746await Host.ResetAsync(new InteractiveHostOptions(Host.OptionsOpt!.HostPath, rspFile.Path, culture: CultureInfo.InvariantCulture, Host.OptionsOpt!.Platform)); 771await Host.ResetAsync(new InteractiveHostOptions(Host.OptionsOpt!.HostPath, rspFile.Path, CultureInfo.InvariantCulture, Host.OptionsOpt!.Platform)); 822await Host.ResetAsync(new InteractiveHostOptions(Host.OptionsOpt!.HostPath, rspFile.Path, CultureInfo.InvariantCulture, Host.OptionsOpt!.Platform)); 849await Host.ResetAsync(new InteractiveHostOptions(Host.OptionsOpt!.HostPath, rspFile.Path, CultureInfo.InvariantCulture, Host.OptionsOpt!.Platform));
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHostOptions.cs (1)
62return new InteractiveHostOptions(hostPath, initializationFilePath, culture, platform);
23 references to InteractiveHostOptions
InteractiveHost.UnitTests (6)
AbstractInteractiveHostTests.cs (2)
79await Host.ResetAsync(InteractiveHostOptions.CreateFromDirectory(TestUtils.HostRootPath, initializationFileName, CultureInfo.InvariantCulture, DefaultPlatform)); 159await Host.ResetAsync(InteractiveHostOptions.CreateFromDirectory(TestUtils.HostRootPath, initializationFileName: null, CultureInfo.InvariantCulture, InteractiveHostPlatform.Desktop64));
InteractiveHostDesktopTests.cs (2)
1004await Host.ResetAsync(InteractiveHostOptions.CreateFromDirectory(TestUtils.HostRootPath, initializationFileName: null, CultureInfo.InvariantCulture, InteractiveHostPlatform.Desktop32)); 1012var result = await Host.ResetAsync(InteractiveHostOptions.CreateFromDirectory(TestUtils.HostRootPath, initializationFileName: null, CultureInfo.InvariantCulture, InteractiveHostPlatform.Core));
StressTests.cs (2)
32var options = InteractiveHostOptions.CreateFromDirectory(TestUtils.HostRootPath, initializationFileName: null, CultureInfo.InvariantCulture, InteractiveHostPlatform.Desktop64);
Microsoft.CodeAnalysis.EditorFeatures (5)
Interactive\InteractiveSession.cs (5)
70private InteractiveHostOptions? _hostOptions; 120private void ProcessInitialized(InteractiveHostPlatformInfo platformInfo, InteractiveHostOptions options, RemoteExecutionResult result) 338internal async Task<bool> ResetAsync(InteractiveHostOptions options) 359public InteractiveHostOptions GetHostOptions(bool initialize, InteractiveHostPlatform? platform) 360=> InteractiveHostOptions.CreateFromDirectory(
Microsoft.CodeAnalysis.EditorFeatures.Wpf (3)
Interactive\InteractiveEvaluator.cs (3)
114private void ProcessInitialized(InteractiveHostPlatformInfo platformInfo, InteractiveHostOptions options, RemoteExecutionResult result) 148/// Invoked before the process is reset. The argument is the value of <see cref="InteractiveHostOptions.Platform"/>. 222var options = _session.GetHostOptions(initialize, resetOptions.Platform);
Microsoft.CodeAnalysis.InteractiveHost (9)
Interactive\Core\InteractiveHost.cs (4)
71internal event Action<InteractiveHostPlatformInfo, InteractiveHostOptions, RemoteExecutionResult>? ProcessInitialized; 189private LazyRemoteService CreateRemoteService(InteractiveHostOptions options, bool skipInitialization) 325public InteractiveHostOptions? OptionsOpt 332public async Task<RemoteExecutionResult> ResetAsync(InteractiveHostOptions options)
Interactive\Core\InteractiveHost.LazyRemoteService.cs (2)
30public readonly InteractiveHostOptions Options; 35public LazyRemoteService(InteractiveHost host, InteractiveHostOptions options, int instanceId, bool skipInitialization)
Interactive\Core\InteractiveHost.RemoteService.cs (2)
28public readonly InteractiveHostOptions Options; 40internal RemoteService(InteractiveHost host, Process process, int processId, JsonRpc jsonRpc, InteractiveHostPlatformInfo platformInfo, InteractiveHostOptions options)
Interactive\Core\InteractiveHostOptions.cs (1)
50public static InteractiveHostOptions CreateFromDirectory(