Implemented interface member:
method
AddStep
Aspire.Hosting.Pipelines.IDistributedApplicationPipeline.AddStep(System.String, System.Func<Aspire.Hosting.ApplicationModel.DeployingContext, System.Threading.Tasks.Task>, System.Object, System.Object)
63 references to AddStep
Aspire.Hosting.Tests (63)
Pipelines\DistributedApplicationPipelineTests.cs (63)
38pipeline.AddStep("step1", async (context) => 57pipeline.AddStep("step1", async (context) => 63pipeline.AddStep("step2", async (context) => 69pipeline.AddStep("step3", async (context) => 91pipeline.AddStep("step1", async (context) => 97pipeline.AddStep("step2", async (context) => 103pipeline.AddStep("step3", async (context) => 122pipeline.AddStep("step1", async (context) => 128pipeline.AddStep("step2", async (context) => 134pipeline.AddStep("step3", async (context) => 153pipeline.AddStep("step1", async (context) => 159pipeline.AddStep("step2", async (context) => 165pipeline.AddStep("step3", async (context) => 193pipeline.AddStep("level1-step1", async (context) => 200pipeline.AddStep("level1-step2", async (context) => 207pipeline.AddStep("level2-step1", async (context) => 213pipeline.AddStep("level2-step2", async (context) => 219pipeline.AddStep("level3-step1", async (context) => 258pipeline.AddStep("regular-step", async (context) => 316pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 318var ex = Assert.Throws<InvalidOperationException>(() => pipeline.AddStep("step1", async (context) => await Task.CompletedTask)); 329pipeline.AddStep("step1", async (context) => await Task.CompletedTask, dependsOn: "unknown-step"); 344pipeline.AddStep("step1", async (context) => await Task.CompletedTask, requiredBy: "unknown-step"); 391pipeline.AddStep("failing-step", async (context) => 414pipeline.AddStep("a", async (context) => 420pipeline.AddStep("b", async (context) => 426pipeline.AddStep("c", async (context) => 432pipeline.AddStep("d", async (context) => 438pipeline.AddStep("e", async (context) => 469pipeline.AddStep("step1", async (context) => 475pipeline.AddStep("step2", async (context) => 481pipeline.AddStep("step3", async (context) => 505pipeline.AddStep("step1", async (context) => 511pipeline.AddStep("step2", async (context) => 517pipeline.AddStep("step3", async (context) => 540pipeline.AddStep("step1", async (context) => 556pipeline.AddStep("step1", async (context) => 561pipeline.AddStep("step2", async (context) => 577pipeline.AddStep("step1", async (context) => await Task.CompletedTask, dependsOn: 123)); 588pipeline.AddStep("step1", async (context) => await Task.CompletedTask, requiredBy: 123)); 598pipeline.AddStep("step1", async (context) => await Task.CompletedTask); 601pipeline.AddStep("step1", async (context) => await Task.CompletedTask)); 639pipeline.AddStep("failing-step1", async (context) => 645pipeline.AddStep("failing-step2", async (context) => 668pipeline.AddStep("successful-step", async (context) => 674pipeline.AddStep("failing-step1", async (context) => 680pipeline.AddStep("failing-step2", async (context) => 704pipeline.AddStep("failing-step1", async (context) => 710pipeline.AddStep("failing-step2", async (context) => 716pipeline.AddStep("next-level-step", async (context) => 735pipeline.AddStep("failing-step1", async (context) => 741pipeline.AddStep("failing-step2", async (context) => 747pipeline.AddStep("failing-step3", async (context) => 768pipeline.AddStep("invalid-op-step", async (context) => 774pipeline.AddStep("not-supported-step", async (context) => 780pipeline.AddStep("argument-step", async (context) => 803pipeline.AddStep("failing-step", async (context) => 825pipeline.AddStep("success1", async (context) => 831pipeline.AddStep("fail1", async (context) => 838pipeline.AddStep("success2", async (context) => 844pipeline.AddStep("fail2", async (context) => 913pipeline.AddStep("test-step", async (context) => await Task.CompletedTask); 961pipeline.AddStep("direct-step", async (context) => await Task.CompletedTask);