1 interface inheriting from IFakeOpenGenericService
Microsoft.Extensions.DependencyInjection.AutoActivation.Tests (1)
Fakes\IFakeService.cs (1)
6public interface IFakeService : IFakeOpenGenericService<PocoClass>
1 implementation of IFakeOpenGenericService
Microsoft.Extensions.DependencyInjection.AutoActivation.Tests (1)
Fakes\FakeOpenGenericService.cs (1)
8public class FakeOpenGenericService<TVal> : IFakeOpenGenericService<TVal>
14 references to IFakeOpenGenericService
Microsoft.Extensions.DependencyInjection.AutoActivation.Tests (14)
AcceptanceTest.cs (7)
416.AddSingleton(typeof(IFakeOpenGenericService<PocoClass>), typeof(FakeService)) 417.AddSingleton(typeof(IFakeOpenGenericService<>), typeof(FakeOpenGenericService<>)) 418.ActivateSingleton<IEnumerable<IFakeOpenGenericService<PocoClass>>>() 419.ActivateSingleton<IFakeOpenGenericService<DifferentPocoClass>>()) 438.AddSingleton(typeof(IFakeOpenGenericService<PocoClass>), typeof(FakeService)) 439.AddSingleton<IFakeOpenGenericService<PocoClass>, FakeOpenGenericService<PocoClass>>() 440.ActivateSingleton<IEnumerable<IFakeOpenGenericService<PocoClass>>>())
AcceptanceTest.Keyed.cs (7)
394.AddKeyedSingleton(typeof(IFakeOpenGenericService<PocoClass>), serviceKey, typeof(FakeService)) 395.AddKeyedSingleton(typeof(IFakeOpenGenericService<>), serviceKey, typeof(FakeOpenGenericService<>)) 396.ActivateKeyedSingleton<IEnumerable<IFakeOpenGenericService<PocoClass>>>(serviceKey) 397.ActivateKeyedSingleton<IFakeOpenGenericService<DifferentPocoClass>>(serviceKey)) 417.AddKeyedSingleton(typeof(IFakeOpenGenericService<PocoClass>), serviceKey, typeof(FakeService)) 418.AddKeyedSingleton<IFakeOpenGenericService<PocoClass>, FakeOpenGenericService<PocoClass>>(serviceKey) 419.ActivateKeyedSingleton<IEnumerable<IFakeOpenGenericService<PocoClass>>>(serviceKey))