5 instantiations of CommandContext
dotnet-user-secrets (2)
Program.cs (2)
77initCmd.Execute(new CommandContext(null, reporter, _console), _workingDirectory); 89var context = new Internal.CommandContext(store, reporter, _console);
Microsoft.Extensions.SecretManager.Tools.Tests (3)
InitCommandTest.cs (1)
32private CommandContext MakeCommandContext() => new CommandContext(null, new TestReporter(_output), _console);
SetCommandTest.cs (2)
39command.Execute(new CommandContext(secretStore, new TestReporter(_output), testConsole)); 66command.Execute(new CommandContext(secretStore, new TestReporter(_output), testConsole));
13 references to CommandContext
dotnet-user-secrets (12)
Internal\ClearCommand.cs (1)
21public void Execute(CommandContext context)
Internal\ICommand.cs (1)
12void Execute(CommandContext context);
Internal\InitCommand.cs (4)
35public void Execute(CommandContext context) 40public void Execute(CommandContext context, string workingDirectory) 62public void Execute(CommandContext context, string workingDirectory) 68public void Execute(CommandContext context)
Internal\ListCommand.cs (2)
33public void Execute(CommandContext context) 54private static void ReportJson(CommandContext context)
Internal\RemoveCommand.cs (1)
34public void Execute(CommandContext context)
Internal\SetCommand.cs (2)
61public void Execute(CommandContext context) 98public void Execute(CommandContext context)
Program.cs (1)
89var context = new Internal.CommandContext(store, reporter, _console);
Microsoft.Extensions.SecretManager.Tools.Tests (1)
InitCommandTest.cs (1)
32private CommandContext MakeCommandContext() => new CommandContext(null, new TestReporter(_output), _console);