1 implementation of IService
DependencyInjectionApp (1)
Program.cs (1)
50
class Service<T> :
IService
<T>
2 references to IService
DependencyInjectionApp (2)
Program.cs (2)
21
services.AddSingleton(typeof(
IService
<>), typeof(Service<>));
30
context.RequestServices.GetService<
IService
<IAnotherService>>();