We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9f2abf6 + d51a2dd commit eb9a4f1Copy full SHA for eb9a4f1
2 files changed
DockerizedTesting.RabbitMQ/RabbitMqFixture.cs
@@ -68,11 +68,11 @@ protected override async Task<bool> IsContainerRunning(int[] ports)
68
69
}
70
71
- return true;
+ return await Task.FromResult(true);
72
73
catch
74
{
75
- return false;
+ return await Task.FromResult(false);
76
77
78
Examples/ExampleProject/Program.cs
@@ -15,8 +15,8 @@ public static void Main(string[] args)
15
webBuilder.Configure(a =>
16
17
a.UseRouting();
18
- a.UseEndpoints(r => r.MapGet("/",
19
- r => r.Response.WriteAsync("Hello world!")));
+ a.UseEndpoints(r => r.MapGet("/", new RequestDelegate(
+ c => c.Response.WriteAsync("Hello world!"))));
20
});
21
}).Build().Run();
22
0 commit comments