Base:
method
Execute
Microsoft.DotNet.Cli.CommandBase.Execute()
25 references to Execute
dotnet (1)
Commands\Tool\Restore\ToolRestoreCommandParser.cs (1)
44
command.SetAction((parseResult) => new ToolRestoreCommand(parseResult).
Execute
());
dotnet.Tests (24)
CommandTests\Tool\Restore\ToolRestoreCommandTests.cs (11)
135
toolRestoreCommand.
Execute
().Should().Be(0);
174
toolRestoreCommand.
Execute
().Should().Be(0);
238
Action a = () => toolRestoreCommand.
Execute
();
268
int executeResult = toolRestoreCommand.
Execute
();
309
toolRestoreCommand.
Execute
().Should().Be(1);
451
toolRestoreCommand.
Execute
().Should().Be(0);
478
toolRestoreCommand.
Execute
();
480
toolRestoreCommand.
Execute
();
506
toolRestoreCommand.
Execute
();
509
toolRestoreCommand.
Execute
();
529
toolRestoreCommand.
Execute
().Should().Be(0);
CommandTests\Tool\Restore\ToolRestoreCommandWithMultipleNugetConfigTests.cs (1)
136
toolRestoreCommand.
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
();