11 references to GetHostingEnvironment
Microsoft.AspNetCore.Mvc.Test (11)
MvcServiceCollectionExtensionsTest.cs (11)
49
services.AddSingleton<IWebHostEnvironment>(
GetHostingEnvironment
());
87
services.AddSingleton<IWebHostEnvironment>(
GetHostingEnvironment
());
102
services.AddSingleton<IWebHostEnvironment>(
GetHostingEnvironment
());
118
services.AddSingleton<IWebHostEnvironment>(
GetHostingEnvironment
());
133
services.AddSingleton<IWebHostEnvironment>(
GetHostingEnvironment
());
168
services.AddSingleton<IWebHostEnvironment>(
GetHostingEnvironment
());
185
services.AddSingleton<IWebHostEnvironment>(
GetHostingEnvironment
());
204
services.AddSingleton<IWebHostEnvironment>(
GetHostingEnvironment
());
221
services.AddSingleton<IWebHostEnvironment>(
GetHostingEnvironment
());
398
var hostEnvironment =
GetHostingEnvironment
();
460
services.AddSingleton<IWebHostEnvironment>(
GetHostingEnvironment
());