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