Base:
method
Execute
Microsoft.DotNet.Cli.CommandBase.Execute()
25 references to Execute
dotnet (1)
Commands\Tool\Restore\ToolRestoreCommandParser.cs (1)
44command.SetAction((parseResult) => new ToolRestoreCommand(parseResult).Execute());
dotnet.Tests (24)
CommandTests\Tool\Restore\ToolRestoreCommandTests.cs (11)
135toolRestoreCommand.Execute().Should().Be(0); 174toolRestoreCommand.Execute().Should().Be(0); 238Action a = () => toolRestoreCommand.Execute(); 268int executeResult = toolRestoreCommand.Execute(); 309toolRestoreCommand.Execute().Should().Be(1); 451toolRestoreCommand.Execute().Should().Be(0); 478toolRestoreCommand.Execute(); 480toolRestoreCommand.Execute(); 506toolRestoreCommand.Execute(); 509toolRestoreCommand.Execute(); 529toolRestoreCommand.Execute().Should().Be(0);
CommandTests\Tool\Restore\ToolRestoreCommandWithMultipleNugetConfigTests.cs (1)
136toolRestoreCommand.Execute().Should()
CommandTests\Tool\Update\ToolUpdateLocalCommandTests.cs (12)
165_toolRestoreCommand.Execute(); 176_toolRestoreCommand.Execute(); 184).Execute(); 198_toolRestoreCommand.Execute(); 256_toolRestoreCommand.Execute(); 276_toolRestoreCommand.Execute(); 296_toolRestoreCommand.Execute(); 318_toolRestoreCommand.Execute(); 335_toolRestoreCommand.Execute(); 348_toolRestoreCommand.Execute(); 367_toolRestoreCommand.Execute(); 388_toolRestoreCommand.Execute();