1 type derived from TestGenericService
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
TestingInfrastructureTests.cs (1)
252private class OverridenGenericService : GenericHostWebSite.TestGenericService
1 instantiation of TestGenericService
GenericHostWebSite (1)
Startup.cs (1)
14services.AddSingleton(new TestGenericService { Message = "true" });
3 references to TestGenericService
GenericHostWebSite (2)
Controllers\TestingController.cs (2)
12public TestingController(TestGenericService service) 17public TestGenericService Service { get; }
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
TestingInfrastructureTests.cs (1)
187builder.ConfigureTestServices(s => s.AddSingleton<GenericHostWebSite.TestGenericService, OverridenGenericService>()));