Base:
method
Execute
Microsoft.DotNet.Cli.CommandBase.Execute()
18 references to Execute
dotnet (2)
Commands\Workload\Restore\WorkloadRestoreCommand.cs (1)
49
new WorkloadUpdateCommand(_result, recorder: recorder, isRestoring: true).
Execute
();
Commands\Workload\Update\WorkloadUpdateCommandParser.cs (1)
66
command.SetAction((parseResult) => new WorkloadUpdateCommand(parseResult).
Execute
());
dotnet.Tests (16)
CommandTests\Workload\Update\GivenDotnetWorkloadUpdate.cs (16)
104
update.
Execute
();
170
updateCommand.
Execute
();
256
updateCommand.
Execute
();
280
command.
Execute
();
330
updateCommand.
Execute
();
394
command.
Execute
();
406
var exceptionThrown = Assert.Throws<GracefulException>(() => command.
Execute
());
425
command.
Execute
();
446
command.
Execute
();
462
command.
Execute
();
476
command.
Execute
();
504
command.
Execute
();
515
updateCommand.
Execute
();
542
updateCommand.
Execute
()
571
updateCommand.
Execute
()
607
var exception = Assert.Throws<GracefulException>(() => updateCommand.
Execute
());