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)
46
pipeline.
AddStep
("step1", async (context) =>
68
pipeline.
AddStep
("step1", async (context) =>
74
pipeline.
AddStep
("step2", async (context) =>
80
pipeline.
AddStep
("step3", async (context) =>
105
pipeline.
AddStep
("step1", async (context) =>
111
pipeline.
AddStep
("step2", async (context) =>
117
pipeline.
AddStep
("step3", async (context) =>
139
pipeline.
AddStep
("step1", async (context) =>
145
pipeline.
AddStep
("step2", async (context) =>
151
pipeline.
AddStep
("step3", async (context) =>
173
pipeline.
AddStep
("step1", async (context) =>
179
pipeline.
AddStep
("step2", async (context) =>
185
pipeline.
AddStep
("step3", async (context) =>
215
pipeline.
AddStep
("level1-step1", async (context) =>
221
pipeline.
AddStep
("level1-step2", async (context) =>
227
pipeline.
AddStep
("level2-step1", (context) =>
233
pipeline.
AddStep
("level2-step2", (context) =>
239
pipeline.
AddStep
("level3-step1", (context) =>
284
pipeline.
AddStep
("regular-step", async (context) =>
348
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask);
350
var ex = Assert.Throws<InvalidOperationException>(() => pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask));
364
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask, dependsOn: "unknown-step");
382
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask, requiredBy: "unknown-step");
435
pipeline.
AddStep
("failing-step", async (context) =>
461
pipeline.
AddStep
("a", async (context) =>
467
pipeline.
AddStep
("b", async (context) =>
473
pipeline.
AddStep
("c", async (context) =>
479
pipeline.
AddStep
("d", async (context) =>
485
pipeline.
AddStep
("e", async (context) =>
519
pipeline.
AddStep
("step1", async (context) =>
525
pipeline.
AddStep
("step2", async (context) =>
531
pipeline.
AddStep
("step3", async (context) =>
558
pipeline.
AddStep
("step1", async (context) =>
564
pipeline.
AddStep
("step2", async (context) =>
570
pipeline.
AddStep
("step3", async (context) =>
596
pipeline.
AddStep
("step1", async (context) =>
615
pipeline.
AddStep
("step1", async (context) =>
620
pipeline.
AddStep
("step2", async (context) =>
636
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask, dependsOn: 123));
647
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask, requiredBy: 123));
657
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask);
660
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask));
707
pipeline.
AddStep
("failing-step", async (context) =>
738
pipeline.
AddStep
("failing-dependency", async (context) =>
745
pipeline.
AddStep
("dependent-step", async (context) =>
820
pipeline.
AddStep
("step1", async (context) =>
827
pipeline.
AddStep
("step2", async (context) =>
852
pipeline.
AddStep
("failing-step", async (context) =>
888
pipeline.
AddStep
("A", async (context) =>
894
pipeline.
AddStep
("B", async (context) =>
900
pipeline.
AddStep
("C", async (context) =>
906
pipeline.
AddStep
("D", async (context) =>
1137
pipeline.
AddStep
("logging-step", (context) =>
1172
pipeline.
AddStep
("step1", async (context) =>
1184
pipeline.
AddStep
("step2", (context) =>
1230
pipeline.
AddStep
("failing-step", async (context) =>
1273
pipeline.
AddStep
($"step{stepNumber}", (context) =>
1339
pipeline.
AddStep
("logging-step", (context) =>
1411
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask);
1412
pipeline.
AddStep
("step2", async (context) => await Task.CompletedTask);
1451
pipeline.
AddStep
("step1", async (context) =>
1457
pipeline.
AddStep
("step2", async (context) =>
1715
pipeline.
AddStep
("direct-step", async (context) => await Task.CompletedTask);
1834
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask);
1835
pipeline.
AddStep
("step2", async (context) => await Task.CompletedTask);
1836
pipeline.
AddStep
("step3", async (context) => await Task.CompletedTask);
1860
pipeline.
AddStep
("step1", async (context) =>
1866
pipeline.
AddStep
("step2", async (context) =>
1872
pipeline.
AddStep
("step3", async (context) =>
1878
pipeline.
AddStep
("step4", async (context) =>
1884
pipeline.
AddStep
("step5", async (context) =>
1890
pipeline.
AddStep
("step6", async (context) =>
1931
pipeline.
AddStep
("step1", async (context) =>
1937
pipeline.
AddStep
("independent-step", async (context) =>
1943
pipeline.
AddStep
("step3", async (context) =>
1977
pipeline.
AddStep
("provision-resource1", (context) =>
1986
pipeline.
AddStep
("provision-resource2", (context) =>
1995
pipeline.
AddStep
("provision-infra", (context) =>
2004
pipeline.
AddStep
("my-deploy-step", (context) =>
2059
pipeline.
AddStep
("after-param-prompting", (context) =>
2065
pipeline.
AddStep
("after-deploy-prereq", (context) =>