1 write to _options
Microsoft.AspNetCore.Hosting (1)
WebHostBuilder.cs (1)
220
_options
= new WebHostOptions(_config);
11 references to _options
Microsoft.AspNetCore.Hosting (11)
WebHostBuilder.cs (11)
141
if (!
_options
.SuppressStatusMessages)
165
_options
,
180
foreach (var assemblyName in
_options
.GetFinalHostingStartupAssemblies())
215
[MemberNotNull(nameof(
_options
))]
222
if (!
_options
.PreventHostingStartup)
228
foreach (var assemblyName in
_options
.GetFinalHostingStartupAssemblies())
259
var contentRootPath = ResolveContentRootPath(
_options
.ContentRootPath, AppContext.BaseDirectory);
262
((IWebHostEnvironment)_hostingEnvironment).Initialize(contentRootPath,
_options
);
266
services.AddSingleton(
_options
);
302
if (!string.IsNullOrEmpty(
_options
.StartupAssembly))
304
ScanAssemblyAndRegisterStartup(services,
_options
.StartupAssembly);