1 write to Reporter
dotnet-user-secrets (1)
Internal\CommandContext.cs (1)
20
Reporter
= reporter;
14 references to Reporter
dotnet-user-secrets (9)
Internal\InitCommand.cs (1)
70
UserSecretsCreator.CreateUserSecretsId(context.
Reporter
, ProjectPath, WorkingDirectory, OverrideId);
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\RemoveCommand.cs (1)
38
context.
Reporter
.Warn(Resources.FormatError_Missing_Secret(_keyName));
Internal\SetCommand.cs (2)
81
context.
Reporter
.Output(Resources.FormatMessage_Saved_Secrets(provider.CurrentData.Count));
102
context.
Reporter
.Output(Resources.FormatMessage_Saved_Secret(_keyName));
Microsoft.Extensions.SecretManager.Tools.Tests (5)
InitCommandTest.cs (5)
41
var idResolver = new ProjectIdResolver(MakeCommandContext().
Reporter
, projectDir);
55
var idResolver = new ProjectIdResolver(MakeCommandContext().
Reporter
, projectDir);
69
var idResolver = new ProjectIdResolver(MakeCommandContext().
Reporter
, projectDir);
83
var idResolver = new ProjectIdResolver(MakeCommandContext().
Reporter
, projectDir);
126
var idResolver = new ProjectIdResolver(MakeCommandContext().
Reporter
, projectDir);