3 implementations of IReporter
dotnet-user-secrets (2)
src\Tools\Shared\CommandLine\ConsoleReporter.cs (1)
13
public class ConsoleReporter :
IReporter
src\Tools\Shared\CommandLine\NullReporter.cs (1)
10
public class NullReporter :
IReporter
Microsoft.Extensions.SecretManager.Tools.Tests (1)
src\Tools\Shared\TestHelpers\TestReporter.cs (1)
8
public class TestReporter :
IReporter
11 references to IReporter
dotnet-user-secrets (11)
Internal\CommandContext.cs (2)
16
IReporter
reporter,
25
public
IReporter
Reporter { get; }
Internal\SecretsStore.cs (1)
26
public SecretsStore(string userSecretsId,
IReporter
reporter)
Program.cs (4)
42
var
reporter = CreateReporter(verbose: true);
73
var
reporter = CreateReporter(options.IsVerbose);
98
private
IReporter
CreateReporter(bool verbose)
101
internal string ResolveId(CommandLineOptions options,
IReporter
reporter)
src\Tools\Shared\CommandLine\NullReporter.cs (1)
15
public static
IReporter
Singleton { get; } = new NullReporter();
src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (2)
20
private readonly
IReporter
_reporter;
24
public ProjectIdResolver(
IReporter
reporter, string workingDirectory)
src\Tools\Shared\SecretsHelpers\UserSecretsCreator.cs (1)
13
public static string CreateUserSecretsId(
IReporter
reporter, string project, string workingDirectory, string overrideId = null)