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)
41pipeline.AddStep("step1", async (context) => 60pipeline.AddStep("step1", async (context) => 66pipeline.AddStep("step2", async (context) => 72pipeline.AddStep("step3", async (context) => 94pipeline.AddStep("step1", async (context) => 100pipeline.AddStep("step2", async (context) => 106pipeline.AddStep("step3", async (context) => 125pipeline.AddStep("step1", async (context) => 131pipeline.AddStep("step2", async (context) => 137pipeline.AddStep("step3", async (context) => 156pipeline.AddStep("step1", async (context) => 162pipeline.AddStep("step2", async (context) => 168pipeline.AddStep("step3", async (context) => 195pipeline.AddStep("level1-step1", async (context) => 201pipeline.AddStep("level1-step2", async (context) => 207pipeline.AddStep("level2-step1", (context) => 213pipeline.AddStep("level2-step2", (context) => 219pipeline.AddStep("level3-step1", (context) => 261pipeline.AddStep("regular-step", async (context) => 319pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 321var ex = Assert.Throws<InvalidOperationException>(() => pipeline.AddStep("step1", async (context) => await Task.CompletedTask)); 332pipeline.AddStep("step1", async (context) => await Task.CompletedTask, dependsOn: "unknown-step"); 347pipeline.AddStep("step1", async (context) => await Task.CompletedTask, requiredBy: "unknown-step"); 394pipeline.AddStep("failing-step", async (context) => 417pipeline.AddStep("a", async (context) => 423pipeline.AddStep("b", async (context) => 429pipeline.AddStep("c", async (context) => 435pipeline.AddStep("d", async (context) => 441pipeline.AddStep("e", async (context) => 472pipeline.AddStep("step1", async (context) => 478pipeline.AddStep("step2", async (context) => 484pipeline.AddStep("step3", async (context) => 508pipeline.AddStep("step1", async (context) => 514pipeline.AddStep("step2", async (context) => 520pipeline.AddStep("step3", async (context) => 543pipeline.AddStep("step1", async (context) => 559pipeline.AddStep("step1", async (context) => 564pipeline.AddStep("step2", async (context) => 580pipeline.AddStep("step1", async (context) => await Task.CompletedTask, dependsOn: 123)); 591pipeline.AddStep("step1", async (context) => await Task.CompletedTask, requiredBy: 123)); 601pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 604pipeline.AddStep("step1", async (context) => await Task.CompletedTask)); 645pipeline.AddStep("failing-step", async (context) => 673pipeline.AddStep("failing-dependency", async (context) => 680pipeline.AddStep("dependent-step", async (context) => 749pipeline.AddStep("step1", async (context) => 756pipeline.AddStep("step2", async (context) => 783pipeline.AddStep("failing-step", async (context) => 827pipeline.AddStep("A", async (context) => 833pipeline.AddStep("B", async (context) => 839pipeline.AddStep("C", async (context) => 845pipeline.AddStep("D", async (context) => 1063pipeline.AddStep("logging-step", (context) => 1128pipeline.AddStep("step1", async (context) => 1140pipeline.AddStep("step2", (context) => 1239pipeline.AddStep("failing-step", async (context) => 1304pipeline.AddStep($"step{stepNumber}", (context) => 1403pipeline.AddStep("logging-step", (context) => 1478pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 1479pipeline.AddStep("step2", async (context) => await Task.CompletedTask); 1512pipeline.AddStep("step1", async (context) => 1518pipeline.AddStep("step2", async (context) => 1755pipeline.AddStep("direct-step", async (context) => await Task.CompletedTask); 1868pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 1869pipeline.AddStep("step2", async (context) => await Task.CompletedTask); 1870pipeline.AddStep("step3", async (context) => await Task.CompletedTask); 1891pipeline.AddStep("step1", async (context) => 1897pipeline.AddStep("step2", async (context) => 1903pipeline.AddStep("step3", async (context) => 1909pipeline.AddStep("step4", async (context) => 1915pipeline.AddStep("step5", async (context) => 1921pipeline.AddStep("step6", async (context) => 1959pipeline.AddStep("step1", async (context) => 1965pipeline.AddStep("independent-step", async (context) => 1971pipeline.AddStep("step3", async (context) => 2002pipeline.AddStep("provision-resource1", (context) => 2011pipeline.AddStep("provision-resource2", (context) => 2020pipeline.AddStep("provision-infra", (context) => 2029pipeline.AddStep("my-deploy-step", (context) =>