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