Skip to content

Commit c4e7773

Browse files
actions-usermauroservienti
authored andcommitted
MarkdownSnippets documentation changes
1 parent 92f23c9 commit c4e7773

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/scatter-gather.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory)
1212
app.UseRouting();
1313
app.UseEndpoints(builder => builder.MapScatterGather(template: "api/scatter-gather", new ScatterGatherOptions()
1414
{
15-
Gatherers = new List<Gatherer>
15+
Gatherers = new List<IGatherer>
1616
{
1717
new HttpGatherer(key: "ASamplesSource", destinationUrl: "https://a.web.server/api/samples/ASamplesSource"),
1818
new HttpGatherer(key: "AnotherSamplesSource", destinationUrl: "https://another.web.server/api/samples/AnotherSamplesSource")
@@ -38,7 +38,7 @@ public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory)
3838
{
3939
app.UseEndpoints(builder => builder.MapScatterGather(template: "api/scatter-gather", new ScatterGatherOptions()
4040
{
41-
Gatherers = new List<Gatherer>
41+
Gatherers = new List<IGatherer>
4242
{
4343
new HttpGatherer("ASamplesSource", "https://a.web.server/api/samples/ASamplesSource")
4444
{
@@ -92,7 +92,7 @@ public class CustomHttpGatherer : HttpGatherer
9292
{
9393
public CustomHttpGatherer(string key, string destination) : base(key, destination) { }
9494

95-
public override Task<IEnumerable<object>> Gather(HttpContext context)
95+
public override Task<IEnumerable<JsonNode>> Gather(HttpContext context)
9696
{
9797

9898
return base.Gather(context);

0 commit comments

Comments
 (0)