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)
49pipeline.AddStep("step1", async (context) => 71pipeline.AddStep("step1", async (context) => 77pipeline.AddStep("step2", async (context) => 83pipeline.AddStep("step3", async (context) => 108pipeline.AddStep("step1", async (context) => 114pipeline.AddStep("step2", async (context) => 120pipeline.AddStep("step3", async (context) => 142pipeline.AddStep("step1", async (context) => 148pipeline.AddStep("step2", async (context) => 154pipeline.AddStep("step3", async (context) => 176pipeline.AddStep("step1", async (context) => 182pipeline.AddStep("step2", async (context) => 188pipeline.AddStep("step3", async (context) => 218pipeline.AddStep("level1-step1", async (context) => 224pipeline.AddStep("level1-step2", async (context) => 230pipeline.AddStep("level2-step1", (context) => 236pipeline.AddStep("level2-step2", (context) => 242pipeline.AddStep("level3-step1", (context) => 287pipeline.AddStep("regular-step", async (context) => 351pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 353var ex = Assert.Throws<InvalidOperationException>(() => pipeline.AddStep("step1", async (context) => await Task.CompletedTask)); 367pipeline.AddStep("step1", async (context) => await Task.CompletedTask, dependsOn: "unknown-step"); 385pipeline.AddStep("step1", async (context) => await Task.CompletedTask, requiredBy: "unknown-step"); 438pipeline.AddStep("failing-step", async (context) => 464pipeline.AddStep("a", async (context) => 470pipeline.AddStep("b", async (context) => 476pipeline.AddStep("c", async (context) => 482pipeline.AddStep("d", async (context) => 488pipeline.AddStep("e", async (context) => 522pipeline.AddStep("step1", async (context) => 528pipeline.AddStep("step2", async (context) => 534pipeline.AddStep("step3", async (context) => 561pipeline.AddStep("step1", async (context) => 567pipeline.AddStep("step2", async (context) => 573pipeline.AddStep("step3", async (context) => 599pipeline.AddStep("step1", async (context) => 618pipeline.AddStep("step1", async (context) => 623pipeline.AddStep("step2", async (context) => 639pipeline.AddStep("step1", async (context) => await Task.CompletedTask, dependsOn: 123)); 650pipeline.AddStep("step1", async (context) => await Task.CompletedTask, requiredBy: 123)); 660pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 663pipeline.AddStep("step1", async (context) => await Task.CompletedTask)); 710pipeline.AddStep("failing-step", async (context) => 741pipeline.AddStep("failing-dependency", async (context) => 748pipeline.AddStep("dependent-step", async (context) => 823pipeline.AddStep("step1", async (context) => 830pipeline.AddStep("step2", async (context) => 855pipeline.AddStep("failing-step", async (context) => 891pipeline.AddStep("A", async (context) => 897pipeline.AddStep("B", async (context) => 903pipeline.AddStep("C", async (context) => 909pipeline.AddStep("D", async (context) => 1140pipeline.AddStep("logging-step", (context) => 1175pipeline.AddStep("step1", async (context) => 1187pipeline.AddStep("step2", (context) => 1233pipeline.AddStep("failing-step", async (context) => 1276pipeline.AddStep($"step{stepNumber}", (context) => 1342pipeline.AddStep("logging-step", (context) => 1414pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 1415pipeline.AddStep("step2", async (context) => await Task.CompletedTask); 1454pipeline.AddStep("step1", async (context) => 1460pipeline.AddStep("step2", async (context) => 1718pipeline.AddStep("direct-step", async (context) => await Task.CompletedTask); 1837pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 1838pipeline.AddStep("step2", async (context) => await Task.CompletedTask); 1839pipeline.AddStep("step3", async (context) => await Task.CompletedTask); 1863pipeline.AddStep("step1", async (context) => 1869pipeline.AddStep("step2", async (context) => 1875pipeline.AddStep("step3", async (context) => 1881pipeline.AddStep("step4", async (context) => 1887pipeline.AddStep("step5", async (context) => 1893pipeline.AddStep("step6", async (context) => 1934pipeline.AddStep("step1", async (context) => 1940pipeline.AddStep("independent-step", async (context) => 1946pipeline.AddStep("step3", async (context) => 1980pipeline.AddStep("provision-resource1", (context) => 1989pipeline.AddStep("provision-resource2", (context) => 1998pipeline.AddStep("provision-infra", (context) => 2007pipeline.AddStep("my-deploy-step", (context) => 2062pipeline.AddStep("after-param-prompting", (context) => 2068pipeline.AddStep("after-deploy-prereq", (context) =>