2 implementations of IReporter
dotnet-user-jwts (2)
src\aspnetcore\src\Tools\Shared\CommandLine\ConsoleReporter.cs (1)
13public class ConsoleReporter : IReporter
src\aspnetcore\src\Tools\Shared\CommandLine\NullReporter.cs (1)
10public class NullReporter : IReporter
26 references to IReporter
dotnet-user-jwts (26)
Commands\ClearCommand.cs (1)
51private static int Execute(IReporter reporter, string project, string userSecretsId, bool force, string appsettingsFile)
Commands\CreateCommand.cs (2)
108IReporter reporter, 240IReporter reporter,
Commands\KeyCommand.cs (1)
58private static int Execute(IReporter reporter, string projectPath, bool isFileBasedApp, string scheme, string issuer, bool reset, bool force)
Commands\ListCommand.cs (3)
37private static int Execute(IReporter reporter, string projectPath, bool isFileBasedApp, bool showTokens, string outputFormat) 58private static void PrintJwtsJson(IReporter reporter, JwtStore jwtStore) 70private static void PrintJwtsDefault(IReporter reporter, string project, string userSecretsId, JwtStore jwtStore, bool showTokens)
Commands\PrintCommand.cs (1)
45private static int Execute(IReporter reporter, string projectPath, bool isFileBasedApp, string id, bool showAll, string outputFormat)
Commands\ProjectCommandLineApplication.cs (2)
17public IReporter Reporter { get; private set; } 19public ProjectCommandLineApplication(IReporter reporter, bool throwOnUnexpectedArg = true, bool continueAfterUnexpectedArg = false, bool treatUnmatchedOptionsAsArguments = false)
Commands\RemoveCommand.cs (1)
54private static int Execute(IReporter reporter, string project, string userSecretsId, string id, string appsettingsFile)
Helpers\ConsoleTable.cs (2)
16private readonly IReporter _reporter; 18public ConsoleTable(IReporter reporter)
Helpers\DevJwtCliHelpers.cs (8)
32public static bool GetProjectAndSecretsId(string projectPath, bool isFileBasedApp, IReporter reporter, out string project, out string userSecretsId) 49public static bool TryResolveProjectOrFile(string projectPath, bool isFileBasedApp, IReporter reporter, out string project) 68static string ResolveProject(string projectPath, IReporter reporter) 80static string ResolveFileBasedApp(string filePath, IReporter reporter) 105public static bool GetAppSettingsFile(string projectPath, string appsettingsFileOption, IReporter reporter, out string appsettingsFile) 230public static void PrintJwt(IReporter reporter, Jwt jwt, bool showAll, string outputFormat, JwtSecurityToken fullToken = null) 245static void PrintJwtJson(IReporter reporter, Jwt jwt, bool showAll, JwtSecurityToken fullToken) 250static void PrintJwtDefault(IReporter reporter, Jwt jwt, bool showAll, JwtSecurityToken fullToken)
Program.cs (1)
12private readonly IReporter _reporter;
src\aspnetcore\src\Tools\Shared\CommandLine\NullReporter.cs (1)
15public static IReporter Singleton { get; } = new NullReporter();
src\aspnetcore\src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (2)
21private readonly IReporter _reporter; 25public ProjectIdResolver(IReporter reporter, string workingDirectory)
src\aspnetcore\src\Tools\Shared\SecretsHelpers\UserSecretsCreator.cs (1)
13public static string CreateUserSecretsId(IReporter reporter, string project, string workingDirectory, string overrideId = null)