176 references to CreateServiceProvider
Microsoft.AspNetCore.SignalR.Tests (176)
HubConnectionHandlerTests.Activity.cs (8)
26var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 101var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 172var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 231var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 304var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 351var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 403var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 454var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder =>
HubConnectionHandlerTests.ClientResult.cs (13)
18var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => { }, LoggerFactory); 45var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 77var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 104var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 135var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 167var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 201var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => { }, LoggerFactory); 233var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 287var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 359var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 404var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 449var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => { }, LoggerFactory); 486var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => { }, LoggerFactory);
HubConnectionHandlerTests.cs (131)
44var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(s => s.AddSingleton(trackDispose), LoggerFactory); 67var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(s => 98var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(s => s.AddSingleton(state), LoggerFactory); 122var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 148var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 172var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 194var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 220var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 231var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 242var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 698var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 740var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 772var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 798var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 824var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 850var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 914var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 987var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 1014var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 1043var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 1068var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 1094var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 1129var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 1157var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 1182var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 1207var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 1232var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 1257var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 1276var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 1301var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 1334var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 1359var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 1409var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 1882var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 2009var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 2044var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 2089var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 2128var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 2193var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 2229var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 2278var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(loggerFactory: LoggerFactory); 2329var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 2374var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 2416var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 2446var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 2485var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 2509var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 2546var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 2612var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 2643var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 2668var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 2695var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 2741var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 2803var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 2839var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 2867var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 2902var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 3010var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 3069var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 3104var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 3141var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 3176var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 3214var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 3249var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 3284var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 3321var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 3376var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 3432var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 3502var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 3556var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 3589var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 3620var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(); 3643var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(); 3671var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(); 3726var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 3767var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 3798var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 3820var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(s => s.AddSingleton(state), LoggerFactory); 3843var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(s => s.AddSingleton(state), LoggerFactory); 3867var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(loggerFactory: LoggerFactory); 3918var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(loggerFactory: LoggerFactory); 3942var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 3967var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 3994var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(loggerFactory: LoggerFactory); 4014var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(loggerFactory: LoggerFactory); 4033var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(loggerFactory: LoggerFactory); 4052var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 4090var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 4130var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(loggerFactory: LoggerFactory); 4167var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(loggerFactory: LoggerFactory); 4210var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 4251var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 4296var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 4327var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 4354var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(builder => 4383var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 4408IServiceProvider serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(loggerFactory: LoggerFactory); 4473var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider( 4507var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 4537var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 4562var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(); 4593var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(serviceBuilder => 4627var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(null, LoggerFactory); 4652var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 4669var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 4686var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 4705var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 4732var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 4749var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 4771var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 4792var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 4813var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 4838var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 4861var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 4883var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 4903var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 4923var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 4946var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 4969var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 4993var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 5016var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 5039var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 5053var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 5069var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 5080var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 5116var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(s => s.AddSingleton(state), LoggerFactory); 5140var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(s => s.AddSingleton(state), LoggerFactory); 5165var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 5192var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(provider => 5244var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(s => s.AddSingleton(state), LoggerFactory); 5307var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(s => s.AddSingleton(state), LoggerFactory);
HubConnectionHandlerTestUtils\Utils.cs (1)
77var serviceProvider = CreateServiceProvider(addServices, loggerFactory);
HubFilterTests.cs (23)
22var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 42var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 60var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 78var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 98var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 145var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 179var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 227var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 277var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 328var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 387var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 447var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 508var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 529var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 577var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 622var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 653var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 684var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 718var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 759var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 794var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 835var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services => 875var serviceProvider = HubConnectionHandlerTestUtils.CreateServiceProvider(services =>