Implemented interface member:
method
AddStep
Aspire.Hosting.Pipelines.IDistributedApplicationPipeline.AddStep(System.String, System.Func<Aspire.Hosting.Pipelines.PipelineStepContext, System.Threading.Tasks.Task>, System.Object, System.Object)
81 references to AddStep
Aspire.Hosting.Tests (81)
Pipelines\DistributedApplicationPipelineTests.cs (81)
46pipeline.AddStep("step1", async (context) => 68pipeline.AddStep("step1", async (context) => 74pipeline.AddStep("step2", async (context) => 80pipeline.AddStep("step3", async (context) => 105pipeline.AddStep("step1", async (context) => 111pipeline.AddStep("step2", async (context) => 117pipeline.AddStep("step3", async (context) => 139pipeline.AddStep("step1", async (context) => 145pipeline.AddStep("step2", async (context) => 151pipeline.AddStep("step3", async (context) => 173pipeline.AddStep("step1", async (context) => 179pipeline.AddStep("step2", async (context) => 185pipeline.AddStep("step3", async (context) => 215pipeline.AddStep("level1-step1", async (context) => 221pipeline.AddStep("level1-step2", async (context) => 227pipeline.AddStep("level2-step1", (context) => 233pipeline.AddStep("level2-step2", (context) => 239pipeline.AddStep("level3-step1", (context) => 284pipeline.AddStep("regular-step", async (context) => 348pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 350var ex = Assert.Throws<InvalidOperationException>(() => pipeline.AddStep("step1", async (context) => await Task.CompletedTask)); 364pipeline.AddStep("step1", async (context) => await Task.CompletedTask, dependsOn: "unknown-step"); 382pipeline.AddStep("step1", async (context) => await Task.CompletedTask, requiredBy: "unknown-step"); 435pipeline.AddStep("failing-step", async (context) => 461pipeline.AddStep("a", async (context) => 467pipeline.AddStep("b", async (context) => 473pipeline.AddStep("c", async (context) => 479pipeline.AddStep("d", async (context) => 485pipeline.AddStep("e", async (context) => 519pipeline.AddStep("step1", async (context) => 525pipeline.AddStep("step2", async (context) => 531pipeline.AddStep("step3", async (context) => 558pipeline.AddStep("step1", async (context) => 564pipeline.AddStep("step2", async (context) => 570pipeline.AddStep("step3", async (context) => 596pipeline.AddStep("step1", async (context) => 615pipeline.AddStep("step1", async (context) => 620pipeline.AddStep("step2", async (context) => 636pipeline.AddStep("step1", async (context) => await Task.CompletedTask, dependsOn: 123)); 647pipeline.AddStep("step1", async (context) => await Task.CompletedTask, requiredBy: 123)); 657pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 660pipeline.AddStep("step1", async (context) => await Task.CompletedTask)); 707pipeline.AddStep("failing-step", async (context) => 738pipeline.AddStep("failing-dependency", async (context) => 745pipeline.AddStep("dependent-step", async (context) => 820pipeline.AddStep("step1", async (context) => 827pipeline.AddStep("step2", async (context) => 852pipeline.AddStep("failing-step", async (context) => 888pipeline.AddStep("A", async (context) => 894pipeline.AddStep("B", async (context) => 900pipeline.AddStep("C", async (context) => 906pipeline.AddStep("D", async (context) => 1137pipeline.AddStep("logging-step", (context) => 1172pipeline.AddStep("step1", async (context) => 1184pipeline.AddStep("step2", (context) => 1230pipeline.AddStep("failing-step", async (context) => 1273pipeline.AddStep($"step{stepNumber}", (context) => 1339pipeline.AddStep("logging-step", (context) => 1411pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 1412pipeline.AddStep("step2", async (context) => await Task.CompletedTask); 1451pipeline.AddStep("step1", async (context) => 1457pipeline.AddStep("step2", async (context) => 1715pipeline.AddStep("direct-step", async (context) => await Task.CompletedTask); 1834pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 1835pipeline.AddStep("step2", async (context) => await Task.CompletedTask); 1836pipeline.AddStep("step3", async (context) => await Task.CompletedTask); 1860pipeline.AddStep("step1", async (context) => 1866pipeline.AddStep("step2", async (context) => 1872pipeline.AddStep("step3", async (context) => 1878pipeline.AddStep("step4", async (context) => 1884pipeline.AddStep("step5", async (context) => 1890pipeline.AddStep("step6", async (context) => 1931pipeline.AddStep("step1", async (context) => 1937pipeline.AddStep("independent-step", async (context) => 1943pipeline.AddStep("step3", async (context) => 1977pipeline.AddStep("provision-resource1", (context) => 1986pipeline.AddStep("provision-resource2", (context) => 1995pipeline.AddStep("provision-infra", (context) => 2004pipeline.AddStep("my-deploy-step", (context) => 2059pipeline.AddStep("after-param-prompting", (context) => 2065pipeline.AddStep("after-deploy-prereq", (context) =>