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