1 instantiation of TestKeyedService
BasicTestApp (1)
PropertyInjection\TestKeyedService.cs (1)
12return new()
3 references to TestKeyedService
BasicTestApp (3)
Program.cs (2)
45builder.Services.AddKeyedSingleton("keyed-service-1", TestKeyedService.Create("value-1")); 46builder.Services.AddKeyedSingleton(TestServiceKey.ServiceB, TestKeyedService.Create("value-2"));
PropertyInjection\TestKeyedService.cs (1)
10public static TestKeyedService Create(object value)