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