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