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