3 writes to _builder
Microsoft.Extensions.Hosting.Testing (3)
FakeHostBuilder.cs (3)
27
_builder
= builder;
47
_builder
= _builder.ConfigureServices(services => services.AddFakeRedaction());
58
_builder
= _builder.UseServiceProviderFactory(new DefaultServiceProviderFactory(serviceProviderOptions));
11 references to _builder
Microsoft.Extensions.Hosting.Testing (11)
FakeHostBuilder.cs (11)
36
_ =
_builder
.ConfigureServices(services =>
47
_builder =
_builder
.ConfigureServices(services => services.AddFakeRedaction());
58
_builder =
_builder
.UseServiceProviderFactory(new DefaultServiceProviderFactory(serviceProviderOptions));
64
return
_builder
.ConfigureHostConfiguration(configureDelegate);
69
return
_builder
.ConfigureAppConfiguration(configureDelegate);
74
return
_builder
.ConfigureServices(configureDelegate);
80
return
_builder
.UseServiceProviderFactory(factory);
86
return
_builder
.UseServiceProviderFactory(factory);
89
public IHostBuilder ConfigureContainer<TContainerBuilder>(Action<HostBuilderContext, TContainerBuilder> configureDelegate) =>
_builder
.ConfigureContainer(configureDelegate);
91
public IHost Build() => new FakeHost(
_builder
.Build(), _options);
93
public IDictionary<object, object> Properties =>
_builder
.Properties;