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