13 references to AddKeyedScoped
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateGenerator\RequestDelegateCreationTests.KeyServices.cs (2)
164
serviceCollection.
AddKeyedScoped
<TestService>("service2");
192
serviceCollection.
AddKeyedScoped
<TestService>("service2");
Microsoft.AspNetCore.SignalR.Tests (11)
HubConnectionHandlerTests.cs (11)
4948
provider.
AddKeyedScoped
<Service1>("service1");
4949
provider.
AddKeyedScoped
<Service1>("service2");
4971
provider.
AddKeyedScoped
<Service1>("service1");
4972
provider.
AddKeyedScoped
<Service1>("service2");
4994
provider.
AddKeyedScoped
<Service1>("service1");
4995
provider.
AddKeyedScoped
<Service1>("service2");
5018
provider.
AddKeyedScoped
<Service1>("service1");
5019
provider.
AddKeyedScoped
<Service1>("service2");
5041
provider.
AddKeyedScoped
<Service1>("service1");
5042
provider.
AddKeyedScoped
<Service1>("service2");
5078
provider.
AddKeyedScoped
<Service1>("service1");