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