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