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)
92 references to AddStep
Aspire.Hosting.Tests (92)
Pipelines\DistributedApplicationPipelineTests.cs (92)
46pipeline.AddStep("step1", async (context) => 65pipeline.AddStep("step1", async (context) => 71pipeline.AddStep("step2", async (context) => 77pipeline.AddStep("step3", async (context) => 99pipeline.AddStep("step1", async (context) => 105pipeline.AddStep("step2", async (context) => 111pipeline.AddStep("step3", async (context) => 130pipeline.AddStep("step1", async (context) => 136pipeline.AddStep("step2", async (context) => 142pipeline.AddStep("step3", async (context) => 161pipeline.AddStep("step1", async (context) => 167pipeline.AddStep("step2", async (context) => 173pipeline.AddStep("step3", async (context) => 200pipeline.AddStep("level1-step1", async (context) => 206pipeline.AddStep("level1-step2", async (context) => 212pipeline.AddStep("level2-step1", (context) => 218pipeline.AddStep("level2-step2", (context) => 224pipeline.AddStep("level3-step1", (context) => 266pipeline.AddStep("regular-step", async (context) => 324pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 326var ex = Assert.Throws<InvalidOperationException>(() => pipeline.AddStep("step1", async (context) => await Task.CompletedTask)); 337pipeline.AddStep("step1", async (context) => await Task.CompletedTask, dependsOn: "unknown-step"); 352pipeline.AddStep("step1", async (context) => await Task.CompletedTask, requiredBy: "unknown-step"); 399pipeline.AddStep("failing-step", async (context) => 422pipeline.AddStep("a", async (context) => 428pipeline.AddStep("b", async (context) => 434pipeline.AddStep("c", async (context) => 440pipeline.AddStep("d", async (context) => 446pipeline.AddStep("e", async (context) => 477pipeline.AddStep("step1", async (context) => 483pipeline.AddStep("step2", async (context) => 489pipeline.AddStep("step3", async (context) => 513pipeline.AddStep("step1", async (context) => 519pipeline.AddStep("step2", async (context) => 525pipeline.AddStep("step3", async (context) => 548pipeline.AddStep("step1", async (context) => 564pipeline.AddStep("step1", async (context) => 569pipeline.AddStep("step2", async (context) => 585pipeline.AddStep("step1", async (context) => await Task.CompletedTask, dependsOn: 123)); 596pipeline.AddStep("step1", async (context) => await Task.CompletedTask, requiredBy: 123)); 606pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 609pipeline.AddStep("step1", async (context) => await Task.CompletedTask)); 650pipeline.AddStep("failing-step", async (context) => 678pipeline.AddStep("failing-dependency", async (context) => 685pipeline.AddStep("dependent-step", async (context) => 754pipeline.AddStep("step1", async (context) => 761pipeline.AddStep("step2", async (context) => 785pipeline.AddStep("failing-step", (context) => 792pipeline.AddStep("independent-step", async (context) => 816pipeline.AddStep("failing-step", (context) => 823pipeline.AddStep("long-running-step", async (context) => 848pipeline.AddStep("failing-step", (context) => 855pipeline.AddStep("dependent-step", async (context) => 862pipeline.AddStep("independent-step", async (context) => 884pipeline.AddStep("failing-step", async (context) => 914pipeline.AddStep("failing-step", _ => Task.FromException(expected)); 936pipeline.AddStep("A", async (context) => 942pipeline.AddStep("B", async (context) => 948pipeline.AddStep("C", async (context) => 954pipeline.AddStep("D", async (context) => 1167pipeline.AddStep("logging-step", (context) => 1199pipeline.AddStep("step1", async (context) => 1211pipeline.AddStep("step2", (context) => 1254pipeline.AddStep("failing-step", async (context) => 1294pipeline.AddStep($"step{stepNumber}", (context) => 1357pipeline.AddStep("logging-step", (context) => 1426pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 1427pipeline.AddStep("step2", async (context) => await Task.CompletedTask); 1468pipeline.AddStep("step1", async (context) => 1474pipeline.AddStep("step2", async (context) => 1711pipeline.AddStep("direct-step", async (context) => await Task.CompletedTask); 1824pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 1825pipeline.AddStep("step2", async (context) => await Task.CompletedTask); 1826pipeline.AddStep("step3", async (context) => await Task.CompletedTask); 1847pipeline.AddStep("step1", async (context) => 1853pipeline.AddStep("step2", async (context) => 1859pipeline.AddStep("step3", async (context) => 1865pipeline.AddStep("step4", async (context) => 1871pipeline.AddStep("step5", async (context) => 1877pipeline.AddStep("step6", async (context) => 1915pipeline.AddStep("step1", async (context) => 1921pipeline.AddStep("independent-step", async (context) => 1927pipeline.AddStep("step3", async (context) => 1958pipeline.AddStep("provision-resource1", (context) => 1967pipeline.AddStep("provision-resource2", (context) => 1976pipeline.AddStep("provision-infra", (context) => 1985pipeline.AddStep("my-deploy-step", (context) => 2084pipeline.AddStep("root", _ => Task.CompletedTask); 2085pipeline.AddStep("child", _ => Task.CompletedTask, dependsOn: "root"); 2086pipeline.AddStep("grandchild", _ => Task.CompletedTask, dependsOn: "child"); 2239pipeline.AddStep("custom-step", _ => Task.CompletedTask); 2300pipeline.AddStep("should-not-execute", _ =>