3 implementations of Output
dotnet-user-secrets (2)
src\Tools\Shared\CommandLine\ConsoleReporter.cs (1)
57
public virtual void
Output
(string message)
src\Tools\Shared\CommandLine\NullReporter.cs (1)
20
public void
Output
(string message)
Microsoft.Extensions.SecretManager.Tools.Tests (1)
src\Tools\Shared\TestHelpers\TestReporter.cs (1)
22
public void
Output
(string message)
9 references to Output
dotnet-user-secrets (9)
Internal\ListCommand.cs (5)
43
context.Reporter.
Output
(Resources.Error_No_Secrets_Found);
49
context.Reporter.
Output
(Resources.FormatMessage_Secret_Value_Format(secret.Key, secret.Value));
62
context.Reporter.
Output
("//BEGIN");
63
context.Reporter.
Output
(jObject.ToString(Formatting.Indented));
64
context.Reporter.
Output
("//END");
Internal\SetCommand.cs (2)
81
context.Reporter.
Output
(Resources.FormatMessage_Saved_Secrets(provider.CurrentData.Count));
102
context.Reporter.
Output
(Resources.FormatMessage_Saved_Secret(_keyName));
src\Tools\Shared\SecretsHelpers\UserSecretsCreator.cs (2)
39
reporter.
Output
(SecretsHelpersResources.FormatMessage_ProjectAlreadyInitialized(projectPath));
75
reporter.
Output
(SecretsHelpersResources.FormatMessage_SetUserSecretsIdForProject(newSecretsId, projectPath));