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)
48
pipeline.
AddStep
("step1", async (context) =>
70
pipeline.
AddStep
("step1", async (context) =>
76
pipeline.
AddStep
("step2", async (context) =>
82
pipeline.
AddStep
("step3", async (context) =>
107
pipeline.
AddStep
("step1", async (context) =>
113
pipeline.
AddStep
("step2", async (context) =>
119
pipeline.
AddStep
("step3", async (context) =>
141
pipeline.
AddStep
("step1", async (context) =>
147
pipeline.
AddStep
("step2", async (context) =>
153
pipeline.
AddStep
("step3", async (context) =>
175
pipeline.
AddStep
("step1", async (context) =>
181
pipeline.
AddStep
("step2", async (context) =>
187
pipeline.
AddStep
("step3", async (context) =>
217
pipeline.
AddStep
("level1-step1", async (context) =>
223
pipeline.
AddStep
("level1-step2", async (context) =>
229
pipeline.
AddStep
("level2-step1", (context) =>
235
pipeline.
AddStep
("level2-step2", (context) =>
241
pipeline.
AddStep
("level3-step1", (context) =>
286
pipeline.
AddStep
("regular-step", async (context) =>
350
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask);
352
var ex = Assert.Throws<InvalidOperationException>(() => pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask));
366
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask, dependsOn: "unknown-step");
384
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask, requiredBy: "unknown-step");
437
pipeline.
AddStep
("failing-step", async (context) =>
463
pipeline.
AddStep
("a", async (context) =>
469
pipeline.
AddStep
("b", async (context) =>
475
pipeline.
AddStep
("c", async (context) =>
481
pipeline.
AddStep
("d", async (context) =>
487
pipeline.
AddStep
("e", async (context) =>
521
pipeline.
AddStep
("step1", async (context) =>
527
pipeline.
AddStep
("step2", async (context) =>
533
pipeline.
AddStep
("step3", async (context) =>
560
pipeline.
AddStep
("step1", async (context) =>
566
pipeline.
AddStep
("step2", async (context) =>
572
pipeline.
AddStep
("step3", async (context) =>
598
pipeline.
AddStep
("step1", async (context) =>
617
pipeline.
AddStep
("step1", async (context) =>
622
pipeline.
AddStep
("step2", async (context) =>
638
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask, dependsOn: 123));
649
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask, requiredBy: 123));
659
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask);
662
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask));
709
pipeline.
AddStep
("failing-step", async (context) =>
740
pipeline.
AddStep
("failing-dependency", async (context) =>
747
pipeline.
AddStep
("dependent-step", async (context) =>
822
pipeline.
AddStep
("step1", async (context) =>
829
pipeline.
AddStep
("step2", async (context) =>
854
pipeline.
AddStep
("failing-step", async (context) =>
890
pipeline.
AddStep
("A", async (context) =>
896
pipeline.
AddStep
("B", async (context) =>
902
pipeline.
AddStep
("C", async (context) =>
908
pipeline.
AddStep
("D", async (context) =>
1139
pipeline.
AddStep
("logging-step", (context) =>
1174
pipeline.
AddStep
("step1", async (context) =>
1186
pipeline.
AddStep
("step2", (context) =>
1232
pipeline.
AddStep
("failing-step", async (context) =>
1275
pipeline.
AddStep
($"step{stepNumber}", (context) =>
1341
pipeline.
AddStep
("logging-step", (context) =>
1413
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask);
1414
pipeline.
AddStep
("step2", async (context) => await Task.CompletedTask);
1453
pipeline.
AddStep
("step1", async (context) =>
1459
pipeline.
AddStep
("step2", async (context) =>
1717
pipeline.
AddStep
("direct-step", async (context) => await Task.CompletedTask);
1836
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask);
1837
pipeline.
AddStep
("step2", async (context) => await Task.CompletedTask);
1838
pipeline.
AddStep
("step3", async (context) => await Task.CompletedTask);
1862
pipeline.
AddStep
("step1", async (context) =>
1868
pipeline.
AddStep
("step2", async (context) =>
1874
pipeline.
AddStep
("step3", async (context) =>
1880
pipeline.
AddStep
("step4", async (context) =>
1886
pipeline.
AddStep
("step5", async (context) =>
1892
pipeline.
AddStep
("step6", async (context) =>
1933
pipeline.
AddStep
("step1", async (context) =>
1939
pipeline.
AddStep
("independent-step", async (context) =>
1945
pipeline.
AddStep
("step3", async (context) =>
1979
pipeline.
AddStep
("provision-resource1", (context) =>
1988
pipeline.
AddStep
("provision-resource2", (context) =>
1997
pipeline.
AddStep
("provision-infra", (context) =>
2006
pipeline.
AddStep
("my-deploy-step", (context) =>