1 write to _hostingEnvironment
Microsoft.AspNetCore.Hosting (1)
WebHostBuilder.cs (1)
40_hostingEnvironment = new HostingEnvironment();
8 references to _hostingEnvironment
Microsoft.AspNetCore.Hosting (8)
WebHostBuilder.cs (8)
263((IWebHostEnvironment)_hostingEnvironment).Initialize(contentRootPath, _options); 264_context.HostingEnvironment = _hostingEnvironment; 268services.AddSingleton<IWebHostEnvironment>(_hostingEnvironment); 269services.AddSingleton<IHostEnvironment>(_hostingEnvironment); 271services.AddSingleton<AspNetCore.Hosting.IHostingEnvironment>(_hostingEnvironment); 272services.AddSingleton<Extensions.Hosting.IHostingEnvironment>(_hostingEnvironment); 277.SetBasePath(_hostingEnvironment.ContentRootPath) 319var startupType = StartupLoader.FindStartupType(startupAssemblyName, _hostingEnvironment.EnvironmentName);