4 writes to EnvironmentOptions
dotnet-watch (1)
Program.cs (1)
219EnvironmentOptions = environmentOptions,
dotnet-watch.Tests (2)
Watch\BuildEvaluatorTests.cs (1)
30EnvironmentOptions = environmentOptions,
Watch\NoRestoreTests.cs (1)
27EnvironmentOptions = environmentOptions,
Microsoft.DotNet.HotReload.Watch.Aspire (1)
DotNetWatchLauncher.cs (1)
59EnvironmentOptions = environmentOptions,
26 references to EnvironmentOptions
dotnet-watch (8)
Watch\BuildEvaluator.cs (4)
43new BuildReporter(_context.BuildLogger, _context.Options, _context.EnvironmentOptions)); 47if (!_context.EnvironmentOptions.SuppressMSBuildIncrementalism && 67if (_context.EnvironmentOptions.SuppressMSBuildIncrementalism) 106_context.EnvironmentOptions,
Watch\DotNetWatcher.cs (4)
19if (context.EnvironmentOptions.SuppressMSBuildIncrementalism) 54Executable = context.EnvironmentOptions.MuxerPath, 55WorkingDirectory = context.EnvironmentOptions.WorkingDirectory, 91using var fileSetWatcher = new FileWatcher(context.Logger, context.EnvironmentOptions);
Microsoft.DotNet.HotReload.Watch (18)
AppModels\WebApplicationAppModel.cs (6)
45return new WebAssemblyHotReloadClient(clientLogger, agentLogger, browserRefreshServer, capabilities, targetFramework, context.EnvironmentOptions.TestFlags.HasFlag(TestFlags.MockBrowser)); 61dotnetPath: context.EnvironmentOptions.MuxerPath, 62autoReloadWebSocketHostName: context.EnvironmentOptions.AutoReloadWebSocketHostName, 63autoReloadWebSocketPort: context.EnvironmentOptions.AutoReloadWebSocketPort, 64suppressTimeouts: context.EnvironmentOptions.TestFlags != TestFlags.None); 72if (context.EnvironmentOptions.SuppressBrowserRefresh)
HotReload\HotReloadDotNetWatcher.cs (11)
34var consoleInput = new ConsoleInputReader(_console, context.Options.Quiet, context.EnvironmentOptions.SuppressEmojis); 36var noPrompt = context.EnvironmentOptions.RestartOnRudeEdit; 48context.EnvironmentOptions)); 68using var fileWatcher = new FileWatcher(_context.Logger, _context.EnvironmentOptions); 117var scopedCssFileHandler = new ScopedCssFileHandler(_context.Logger, _context.BuildLogger, projectMap, _context.BrowserRefreshServerFactory, _context.Options, _context.EnvironmentOptions); 566var buildReporter = new BuildReporter(_context.Logger, _context.Options, _context.EnvironmentOptions); 837_context.EnvironmentOptions, 851_context.EnvironmentOptions, 859List<OutputLine>? capturedOutput = _context.EnvironmentOptions.TestFlags != TestFlags.None ? [] : null; 863Executable = _context.EnvironmentOptions.MuxerPath, 899var workingDirectory = _context.EnvironmentOptions.WorkingDirectory;
Process\ProjectLauncher.cs (1)
27=> context.EnvironmentOptions;