1 instantiation of TestServerOptions
Microsoft.AspNetCore.TestHost (1)
TestServer.cs (1)
71
: this(services, featureCollection, Options.Create(new
TestServerOptions
()))
4 references to TestServerOptions
Microsoft.AspNetCore.TestHost (4)
TestServer.cs (3)
35
public TestServer(IServiceProvider services, IOptions<
TestServerOptions
> optionsAccessor)
46
public TestServer(IServiceProvider services, IFeatureCollection featureCollection, IOptions<
TestServerOptions
> optionsAccessor)
50
var
options = optionsAccessor?.Value ?? throw new ArgumentNullException(nameof(optionsAccessor));
WebHostBuilderExtensions.cs (1)
39
public static IWebHostBuilder UseTestServer(this IWebHostBuilder builder, Action<
TestServerOptions
> configureOptions)