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