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