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