1 instantiation of EnvironmentOptions
Microsoft.DotNet.HotReload.Watch (1)
Context\EnvironmentOptions.cs (1)
48public static EnvironmentOptions FromEnvironment(string? sdkDirectory, string logMessagePrefix) => new
19 references to EnvironmentOptions
dotnet-watch (6)
Program.cs (5)
22EnvironmentOptions environmentOptions) 44var environmentOptions = EnvironmentOptions.FromEnvironment(sdkRootDirectory, LogMessagePrefix); 72private static Program? TryCreate(IReadOnlyList<string> args, IConsole console, EnvironmentOptions environmentOptions, out int errorCode) 88internal static Program? TryCreate(CommandLineOptions options, IConsole console, EnvironmentOptions environmentOptions, ILoggerFactory loggerFactory, IProcessOutputReporter processOutputReporter, out int errorCode)
Watch\MsBuildFileSetFactory.cs (1)
26EnvironmentOptions environmentOptions)
Microsoft.DotNet.HotReload.Watch (13)
Browser\BrowserLauncher.cs (1)
13internal sealed class BrowserLauncher(ILogger logger, IProcessOutputReporter processOutputReporter, EnvironmentOptions environmentOptions)
Build\BuildReporter.cs (2)
14internal sealed class BuildReporter(ILogger logger, GlobalOptions options, EnvironmentOptions environmentOptions) 18public EnvironmentOptions EnvironmentOptions => environmentOptions;
Build\EvaluationResult.cs (2)
41public static ImmutableDictionary<string, string> GetGlobalBuildProperties(IEnumerable<string> buildArguments, EnvironmentOptions environmentOptions) 62EnvironmentOptions environmentOptions,
Build\LoadedProjectGraph.cs (1)
11internal sealed class LoadedProjectGraph(ProjectGraph graph, ProjectCollection collection, ILogger logger, GlobalOptions globalOptions, EnvironmentOptions environmentOptions)
Build\ProjectGraphFactory.cs (1)
22EnvironmentOptions environmentOptions)
Context\DotNetWatchContext.cs (1)
15public required EnvironmentOptions EnvironmentOptions { get; init; }
Context\EnvironmentOptions.cs (1)
48public static EnvironmentOptions FromEnvironment(string? sdkDirectory, string logMessagePrefix) => new
FileWatcher\FileWatcher.cs (2)
10internal class FileWatcher(ILogger logger, EnvironmentOptions environmentOptions) : IDisposable 209public static async ValueTask WaitForFileChangeAsync(IEnumerable<string> filePaths, ILogger logger, EnvironmentOptions environmentOptions, Action? startedWatching, CancellationToken cancellationToken)
Process\ProcessSpec.cs (1)
36public void RedirectOutput(Action<OutputLine>? outputObserver, IProcessOutputReporter outputReporter, EnvironmentOptions environmentOptions, string projectDisplayName)
Process\ProjectLauncher.cs (1)
26public EnvironmentOptions EnvironmentOptions