9 references to Service2
Microsoft.AspNetCore.SignalR.Tests (9)
HubConnectionHandlerTests.cs (5)
4689
provider.AddSingleton<
Service2
>();
4708
provider.AddSingleton<
Service2
>();
4846
provider.AddSingleton<
Service2
>();
4868
provider.AddSingleton<
Service2
>();
4978
provider.AddScoped<
Service2
>();
HubConnectionHandlerTestUtils\Hubs.cs (4)
1370
public bool MultipleServices([FromService] Service1 service, [FromService]
Service2
service2, [FromService] Service3 service3)
1375
public async Task<int> ServicesAndParams(int value, [FromService] Service1 service, ChannelReader<int> channelReader, [FromService]
Service2
service2, bool value2)
1390
public int ServiceWithAndWithoutAttribute(Service1 service, [FromService]
Service2
service2)
1427
public int KeyedServiceNonKeyedService(
Service2
service2, [FromKeyedServices("service1")] Service1 service)