net9.0
namespace Microsoft.Extensions.Hosting.Testing
{
    public sealed class FakeHost : IHost, IDisposable
    {
        [AsyncStateMachine(typeof(<StartAsync>d__10))]
        public Task! StartAsync(CancellationToken cancellationToken = default);
    }
}
.NET 8.09.0
.NET Framework 4.6.24.74.7.14.7.24.84.8.1
Information specific to net9.0
Assembly

Microsoft.Extensions.Hosting.Testing , Version=9.1.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs a package reference to Microsoft.Extensions.Hosting.Testing.

Package Microsoft.Extensions.Hosting.Testing net9.0
Preview EXTEXP0016: This API is marked as experimental.(more details)
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API

10/31/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙