2 implementations of IConsole
dotnet-user-secrets (1)
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
13
public class PhysicalConsole :
IConsole
Microsoft.Extensions.SecretManager.Tools.Tests (1)
src\Tools\Shared\TestHelpers\TestConsole.cs (1)
14
public class TestConsole :
IConsole
10 references to IConsole
dotnet-user-secrets (10)
CommandLineOptions.cs (1)
20
public static CommandLineOptions Parse(string[] args,
IConsole
console)
Internal\CommandContext.cs (2)
17
IConsole
console)
24
public
IConsole
Console { get; }
Internal\SetCommand.cs (1)
14
public static void Configure(CommandLineApplication command, CommandLineOptions options,
IConsole
console)
Program.cs (2)
12
private readonly
IConsole
_console;
24
public Program(
IConsole
console, string workingDirectory)
src\Tools\Shared\CommandLine\ConsoleReporter.cs (3)
17
public ConsoleReporter(
IConsole
console)
21
public ConsoleReporter(
IConsole
console, bool verbose, bool quiet)
30
protected
IConsole
Console { get; }
src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
23
public static
IConsole
Singleton { get; } = new PhysicalConsole();