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)
92 references to AddStep
Aspire.Hosting.Tests (92)
Pipelines\DistributedApplicationPipelineTests.cs (92)
46
pipeline.
AddStep
("step1", async (context) =>
65
pipeline.
AddStep
("step1", async (context) =>
71
pipeline.
AddStep
("step2", async (context) =>
77
pipeline.
AddStep
("step3", async (context) =>
99
pipeline.
AddStep
("step1", async (context) =>
105
pipeline.
AddStep
("step2", async (context) =>
111
pipeline.
AddStep
("step3", async (context) =>
130
pipeline.
AddStep
("step1", async (context) =>
136
pipeline.
AddStep
("step2", async (context) =>
142
pipeline.
AddStep
("step3", async (context) =>
161
pipeline.
AddStep
("step1", async (context) =>
167
pipeline.
AddStep
("step2", async (context) =>
173
pipeline.
AddStep
("step3", async (context) =>
200
pipeline.
AddStep
("level1-step1", async (context) =>
206
pipeline.
AddStep
("level1-step2", async (context) =>
212
pipeline.
AddStep
("level2-step1", (context) =>
218
pipeline.
AddStep
("level2-step2", (context) =>
224
pipeline.
AddStep
("level3-step1", (context) =>
266
pipeline.
AddStep
("regular-step", async (context) =>
324
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask);
326
var ex = Assert.Throws<InvalidOperationException>(() => pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask));
337
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask, dependsOn: "unknown-step");
352
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask, requiredBy: "unknown-step");
399
pipeline.
AddStep
("failing-step", async (context) =>
422
pipeline.
AddStep
("a", async (context) =>
428
pipeline.
AddStep
("b", async (context) =>
434
pipeline.
AddStep
("c", async (context) =>
440
pipeline.
AddStep
("d", async (context) =>
446
pipeline.
AddStep
("e", async (context) =>
477
pipeline.
AddStep
("step1", async (context) =>
483
pipeline.
AddStep
("step2", async (context) =>
489
pipeline.
AddStep
("step3", async (context) =>
513
pipeline.
AddStep
("step1", async (context) =>
519
pipeline.
AddStep
("step2", async (context) =>
525
pipeline.
AddStep
("step3", async (context) =>
548
pipeline.
AddStep
("step1", async (context) =>
564
pipeline.
AddStep
("step1", async (context) =>
569
pipeline.
AddStep
("step2", async (context) =>
585
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask, dependsOn: 123));
596
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask, requiredBy: 123));
606
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask);
609
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask));
650
pipeline.
AddStep
("failing-step", async (context) =>
678
pipeline.
AddStep
("failing-dependency", async (context) =>
685
pipeline.
AddStep
("dependent-step", async (context) =>
754
pipeline.
AddStep
("step1", async (context) =>
761
pipeline.
AddStep
("step2", async (context) =>
785
pipeline.
AddStep
("failing-step", (context) =>
792
pipeline.
AddStep
("independent-step", async (context) =>
816
pipeline.
AddStep
("failing-step", (context) =>
823
pipeline.
AddStep
("long-running-step", async (context) =>
848
pipeline.
AddStep
("failing-step", (context) =>
855
pipeline.
AddStep
("dependent-step", async (context) =>
862
pipeline.
AddStep
("independent-step", async (context) =>
884
pipeline.
AddStep
("failing-step", async (context) =>
914
pipeline.
AddStep
("failing-step", _ => Task.FromException(expected));
936
pipeline.
AddStep
("A", async (context) =>
942
pipeline.
AddStep
("B", async (context) =>
948
pipeline.
AddStep
("C", async (context) =>
954
pipeline.
AddStep
("D", async (context) =>
1167
pipeline.
AddStep
("logging-step", (context) =>
1199
pipeline.
AddStep
("step1", async (context) =>
1211
pipeline.
AddStep
("step2", (context) =>
1254
pipeline.
AddStep
("failing-step", async (context) =>
1294
pipeline.
AddStep
($"step{stepNumber}", (context) =>
1357
pipeline.
AddStep
("logging-step", (context) =>
1426
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask);
1427
pipeline.
AddStep
("step2", async (context) => await Task.CompletedTask);
1468
pipeline.
AddStep
("step1", async (context) =>
1474
pipeline.
AddStep
("step2", async (context) =>
1711
pipeline.
AddStep
("direct-step", async (context) => await Task.CompletedTask);
1824
pipeline.
AddStep
("step1", async (context) => await Task.CompletedTask);
1825
pipeline.
AddStep
("step2", async (context) => await Task.CompletedTask);
1826
pipeline.
AddStep
("step3", async (context) => await Task.CompletedTask);
1847
pipeline.
AddStep
("step1", async (context) =>
1853
pipeline.
AddStep
("step2", async (context) =>
1859
pipeline.
AddStep
("step3", async (context) =>
1865
pipeline.
AddStep
("step4", async (context) =>
1871
pipeline.
AddStep
("step5", async (context) =>
1877
pipeline.
AddStep
("step6", async (context) =>
1915
pipeline.
AddStep
("step1", async (context) =>
1921
pipeline.
AddStep
("independent-step", async (context) =>
1927
pipeline.
AddStep
("step3", async (context) =>
1958
pipeline.
AddStep
("provision-resource1", (context) =>
1967
pipeline.
AddStep
("provision-resource2", (context) =>
1976
pipeline.
AddStep
("provision-infra", (context) =>
1985
pipeline.
AddStep
("my-deploy-step", (context) =>
2084
pipeline.
AddStep
("root", _ => Task.CompletedTask);
2085
pipeline.
AddStep
("child", _ => Task.CompletedTask, dependsOn: "root");
2086
pipeline.
AddStep
("grandchild", _ => Task.CompletedTask, dependsOn: "child");
2239
pipeline.
AddStep
("custom-step", _ => Task.CompletedTask);
2300
pipeline.
AddStep
("should-not-execute", _ =>