Base:
method
Execute
Microsoft.DotNet.Cli.CommandBase.Execute()
11 references to Execute
dotnet (1)
Commands\Workload\Config\WorkloadConfigCommandParser.cs (1)
39new WorkloadConfigCommand(parseResult).Execute();
dotnet.Tests (10)
CommandTests\Workload\Install\GivenDotnetWorkloadInstall.cs (3)
133new WorkloadConfigCommand(Parser.Parse(["dotnet", "workload", "config", "--update-mode", "manifests"]), workloadResolverFactory: resolverFactory).Execute().Should().Be(0); 223new WorkloadConfigCommand(Parser.Parse(["dotnet", "workload", "config", "--update-mode", "manifests"]), workloadResolverFactory: resolverFactory).Execute().Should().Be(0); 255new WorkloadConfigCommand(Parser.Parse(["dotnet", "workload", "config", "--update-mode", "manifests"]), workloadResolverFactory: resolverFactory).Execute().Should().Be(0);
CommandTests\Workload\Install\GivenWorkloadManifestUpdater.cs (4)
48configCommand.Execute().Should().Be(0); 63configCommand.Execute().Should().Be(0); 655workloadResolverFactory: new MockWorkloadResolverFactory(testDir, "6.0.100", resolver1)).Execute().Should().Be(0); 663workloadResolverFactory: new MockWorkloadResolverFactory(testDir, "6.0.200", resolver2)).Execute().Should().Be(0);
CommandTests\Workload\Update\GivenDotnetWorkloadUpdate.cs (3)
243new WorkloadConfigCommand(Parser.Parse(["dotnet", "workload", "config", "--update-mode", "manifests"]), workloadResolverFactory: workloadResolverFactory).Execute().Should().Be(0); 255new WorkloadConfigCommand(Parser.Parse(["dotnet", "workload", "config", "--update-mode", "manifests"]), workloadResolverFactory: workloadResolverFactory).Execute().Should().Be(0); 541configCommand.Execute().Should().Be(0);