WebHostBuilderExtensions.ConfigureTestServices(IWebHostBuilder, Action<IServiceCollection>) WebHostBuilderExtensions.ConfigureTestServices(IWebHostBuilder, Action<IServiceCollection>) WebHostBuilderExtensions.ConfigureTestServices(IWebHostBuilder, Action<IServiceCollection>) Method

Definition

public static Microsoft.AspNetCore.Hosting.IWebHostBuilder ConfigureTestServices (this Microsoft.AspNetCore.Hosting.IWebHostBuilder webHostBuilder, Action<Microsoft.Extensions.DependencyInjection.IServiceCollection> servicesConfiguration);
static member ConfigureTestServices : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.Extensions.DependencyInjection.IServiceCollection> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function ConfigureTestServices (webHostBuilder As IWebHostBuilder, servicesConfiguration As Action(Of IServiceCollection)) As IWebHostBuilder

Parameters

servicesConfiguration
Action<IServiceCollection>

Returns

Applies to