1 write to Reporter
dotnet-user-secrets (1)
Internal\CommandContext.cs (1)
20Reporter = reporter;
14 references to Reporter
dotnet-user-secrets (9)
Internal\InitCommand.cs (1)
70UserSecretsCreator.CreateUserSecretsId(context.Reporter, ProjectPath, WorkingDirectory, OverrideId);
Internal\ListCommand.cs (5)
43context.Reporter.Output(Resources.Error_No_Secrets_Found); 49context.Reporter.Output(Resources.FormatMessage_Secret_Value_Format(secret.Key, secret.Value)); 62context.Reporter.Output("//BEGIN"); 63context.Reporter.Output(jObject.ToString(Formatting.Indented)); 64context.Reporter.Output("//END");
Internal\RemoveCommand.cs (1)
38context.Reporter.Warn(Resources.FormatError_Missing_Secret(_keyName));
Internal\SetCommand.cs (2)
81context.Reporter.Output(Resources.FormatMessage_Saved_Secrets(provider.CurrentData.Count)); 102context.Reporter.Output(Resources.FormatMessage_Saved_Secret(_keyName));
Microsoft.Extensions.SecretManager.Tools.Tests (5)
InitCommandTest.cs (5)
41var idResolver = new ProjectIdResolver(MakeCommandContext().Reporter, projectDir); 55var idResolver = new ProjectIdResolver(MakeCommandContext().Reporter, projectDir); 69var idResolver = new ProjectIdResolver(MakeCommandContext().Reporter, projectDir); 83var idResolver = new ProjectIdResolver(MakeCommandContext().Reporter, projectDir); 126var idResolver = new ProjectIdResolver(MakeCommandContext().Reporter, projectDir);