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)
4930
provider.
AddKeyedScoped
<Service1>("service1");
4931
provider.
AddKeyedScoped
<Service1>("service2");
4953
provider.
AddKeyedScoped
<Service1>("service1");
4954
provider.
AddKeyedScoped
<Service1>("service2");
4976
provider.
AddKeyedScoped
<Service1>("service1");
4977
provider.
AddKeyedScoped
<Service1>("service2");
5000
provider.
AddKeyedScoped
<Service1>("service1");
5001
provider.
AddKeyedScoped
<Service1>("service2");
5023
provider.
AddKeyedScoped
<Service1>("service1");
5024
provider.
AddKeyedScoped
<Service1>("service2");
5060
provider.
AddKeyedScoped
<Service1>("service1");