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