Base:
method
Execute
Microsoft.DotNet.Cli.CommandBase.Execute()
22 references to Execute
dotnet (2)
Commands\Tool\Install\ToolInstallCommand.cs (1)
46
return (_toolInstallLocalCommand ?? new ToolInstallLocalCommand(_parseResult)).
Execute
();
Commands\Tool\Update\ToolUpdateLocalCommand.cs (1)
73
_toolInstallLocalCommand.Value.
Execute
();
dotnet.Tests (20)
CommandTests\Tool\Install\ToolInstallCommandTests.cs (2)
48
new ToolInstallLocalCommand(parseResult, runtimeJsonPathForTests: ridGraphPath).
Execute
().Should().Be(0);
53
new ToolInstallLocalCommand(parseResult, runtimeJsonPathForTests: ridGraphPath).
Execute
().Should().Be(0);
CommandTests\Tool\Install\ToolInstallLocalCommandTests.cs (18)
115
toolInstallCommand.
Execute
().Should().Be(0);
125
toolInstallLocalCommand.
Execute
().Should().Be(0);
147
toolInstallLocalCommand.
Execute
().Should().Be(0);
167
Action a = () => toolInstallLocalCommand.
Execute
();
195
installLocalCommand.
Execute
().Should().Be(0);
215
installLocalCommand.
Execute
().Should().Be(0);
236
installLocalCommand.
Execute
().Should().Be(0);
259
toolInstallLocalCommand.
Execute
().Should().Be(0);
284
Action a = () => installLocalCommand.
Execute
();
304
Action a = () => toolInstallLocalCommand.
Execute
();
330
toolInstallLocalCommand.
Execute
().Should().Be(0);
374
installLocalCommand.
Execute
().Should().Be(0);
393
installLocalCommand.
Execute
().Should().Be(0);
412
installLocalCommand.
Execute
().Should().Be(0);
449
installLocalCommand.
Execute
().Should().Be(0);
471
installLocalCommand.
Execute
().Should().Be(0);
496
installLocalCommand.
Execute
().Should().Be(0);
518
installLocalCommand.
Execute
().Should().Be(0);