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