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)
79 references to AddStep
Aspire.Hosting.Tests (79)
Pipelines\DistributedApplicationPipelineTests.cs (79)
48pipeline.AddStep("step1", async (context) => 70pipeline.AddStep("step1", async (context) => 76pipeline.AddStep("step2", async (context) => 82pipeline.AddStep("step3", async (context) => 107pipeline.AddStep("step1", async (context) => 113pipeline.AddStep("step2", async (context) => 119pipeline.AddStep("step3", async (context) => 141pipeline.AddStep("step1", async (context) => 147pipeline.AddStep("step2", async (context) => 153pipeline.AddStep("step3", async (context) => 175pipeline.AddStep("step1", async (context) => 181pipeline.AddStep("step2", async (context) => 187pipeline.AddStep("step3", async (context) => 217pipeline.AddStep("level1-step1", async (context) => 223pipeline.AddStep("level1-step2", async (context) => 229pipeline.AddStep("level2-step1", (context) => 235pipeline.AddStep("level2-step2", (context) => 241pipeline.AddStep("level3-step1", (context) => 286pipeline.AddStep("regular-step", async (context) => 350pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 352var ex = Assert.Throws<InvalidOperationException>(() => pipeline.AddStep("step1", async (context) => await Task.CompletedTask)); 366pipeline.AddStep("step1", async (context) => await Task.CompletedTask, dependsOn: "unknown-step"); 384pipeline.AddStep("step1", async (context) => await Task.CompletedTask, requiredBy: "unknown-step"); 437pipeline.AddStep("failing-step", async (context) => 463pipeline.AddStep("a", async (context) => 469pipeline.AddStep("b", async (context) => 475pipeline.AddStep("c", async (context) => 481pipeline.AddStep("d", async (context) => 487pipeline.AddStep("e", async (context) => 521pipeline.AddStep("step1", async (context) => 527pipeline.AddStep("step2", async (context) => 533pipeline.AddStep("step3", async (context) => 560pipeline.AddStep("step1", async (context) => 566pipeline.AddStep("step2", async (context) => 572pipeline.AddStep("step3", async (context) => 598pipeline.AddStep("step1", async (context) => 617pipeline.AddStep("step1", async (context) => 622pipeline.AddStep("step2", async (context) => 638pipeline.AddStep("step1", async (context) => await Task.CompletedTask, dependsOn: 123)); 649pipeline.AddStep("step1", async (context) => await Task.CompletedTask, requiredBy: 123)); 659pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 662pipeline.AddStep("step1", async (context) => await Task.CompletedTask)); 709pipeline.AddStep("failing-step", async (context) => 740pipeline.AddStep("failing-dependency", async (context) => 747pipeline.AddStep("dependent-step", async (context) => 822pipeline.AddStep("step1", async (context) => 829pipeline.AddStep("step2", async (context) => 854pipeline.AddStep("failing-step", async (context) => 890pipeline.AddStep("A", async (context) => 896pipeline.AddStep("B", async (context) => 902pipeline.AddStep("C", async (context) => 908pipeline.AddStep("D", async (context) => 1139pipeline.AddStep("logging-step", (context) => 1174pipeline.AddStep("step1", async (context) => 1186pipeline.AddStep("step2", (context) => 1232pipeline.AddStep("failing-step", async (context) => 1275pipeline.AddStep($"step{stepNumber}", (context) => 1341pipeline.AddStep("logging-step", (context) => 1413pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 1414pipeline.AddStep("step2", async (context) => await Task.CompletedTask); 1453pipeline.AddStep("step1", async (context) => 1459pipeline.AddStep("step2", async (context) => 1717pipeline.AddStep("direct-step", async (context) => await Task.CompletedTask); 1836pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 1837pipeline.AddStep("step2", async (context) => await Task.CompletedTask); 1838pipeline.AddStep("step3", async (context) => await Task.CompletedTask); 1862pipeline.AddStep("step1", async (context) => 1868pipeline.AddStep("step2", async (context) => 1874pipeline.AddStep("step3", async (context) => 1880pipeline.AddStep("step4", async (context) => 1886pipeline.AddStep("step5", async (context) => 1892pipeline.AddStep("step6", async (context) => 1933pipeline.AddStep("step1", async (context) => 1939pipeline.AddStep("independent-step", async (context) => 1945pipeline.AddStep("step3", async (context) => 1979pipeline.AddStep("provision-resource1", (context) => 1988pipeline.AddStep("provision-resource2", (context) => 1997pipeline.AddStep("provision-infra", (context) => 2006pipeline.AddStep("my-deploy-step", (context) =>