3 implementations of IConsole
dotnet-watch.Tests (2)
ConsoleReporterTests.cs (1)
37private class TestConsole : IConsole
TestUtilities\TestConsole.cs (1)
8internal class TestConsole : IConsole
Microsoft.DotNet.HotReload.Watch (1)
UI\PhysicalConsole.cs (1)
12internal sealed class PhysicalConsole : IConsole
9 references to IConsole
dotnet-watch (3)
Program.cs (3)
14IConsole console, 71private static Program? TryCreate(IReadOnlyList<string> args, IConsole console, EnvironmentOptions environmentOptions, bool verbose, out int errorCode) 87internal static Program? TryCreate(CommandLineOptions options, IConsole console, EnvironmentOptions environmentOptions, LoggerFactory loggerFactory, IProcessOutputReporter processOutputReporter, out int errorCode)
dotnet-watch.Tests (1)
ConsoleReporterTests.cs (1)
53event Action<ConsoleKeyInfo> IConsole.KeyPressed
Microsoft.DotNet.HotReload.Watch (5)
HotReload\HotReloadDotNetWatcher.cs (2)
18private readonly IConsole _console; 27public HotReloadDotNetWatcher(DotNetWatchContext context, IConsole console, IRuntimeProcessLauncherFactory? runtimeProcessLauncherFactory)
UI\ConsoleInputReader.cs (1)
6internal sealed class ConsoleInputReader(IConsole console, bool quiet, bool suppressEmojis)
UI\ConsoleReporter.cs (1)
12internal sealed class ConsoleReporter(IConsole console, bool verbose, bool quiet, bool suppressEmojis) : IReporter, IProcessOutputReporter
UI\ShutdownHandler.cs (1)
15public ShutdownHandler(IConsole console, ILogger logger)